#
#asahi-dev · 2023-09-30 18:31
j`eyyou could try the same m1n1-uboot.bin with run_guest.py, that should work
#asahi-dev · 2023-09-30 18:31
svencat build/m1n1.macho Image.gz t8103-j274.dtb > payload.macho; python3 proxyclient/tools/run_guest.py -S payload.macho is my (at this point very old) runhv.sh
#asahi-dev · 2023-09-30 18:31
jonmastersright, that's what I did, but you do it without the raw m1n1?
#asahi-dev · 2023-09-30 18:30
svenoh, I run the full m1n1+kernel inside the hv
#asahi-dev · 2023-09-30 18:30
j`eym1n1 still
#asahi-dev · 2023-09-30 18:30
jonmastersok so here's the thing, if I load a kernel and dtb into hv what patches the dtbs?
#asahi-dev · 2023-09-30 18:30
sven*inside
#asahi-dev · 2023-09-30 18:30
svenand yeah, i usually just run this into the hv as well and always skip uboot as well
#asahi-dev · 2023-09-30 18:29
jonmastersyea
#asahi-dev · 2023-09-30 18:29
svenis the dtb also part of that m1n1-uboot.bin?
#asahi-dev · 2023-09-30 18:29
j`eyright, a normally chainloaded stage2 wont do USB serial, makes sense (when I was doing this, mostly I did it under the hv, so I did have serial output..)
#asahi-dev · 2023-09-30 18:28
sven*instead of
#asahi-dev · 2023-09-30 18:27
svenand I think m1n1 with u-boot, etc. will try to boot into of exposing another proxy on usb
#asahi-dev · 2023-09-30 18:27
sventhat output looks normal, the error at the end happens because chainload.py is usually used to load into another m1n1 without u-boot
#asahi-dev · 2023-09-30 18:26
jonmastersam I missing something?
#asahi-dev · 2023-09-30 18:26
jonmasterswhat I'm waiting to do is build a stage2 u-boot and chainload that
#asahi-dev · 2023-09-30 18:16
jonmastersindeed
#asahi-dev · 2023-09-30 18:16
j`eylooks like the 2nd m1n1 didnt show up, I think that output is from stage1
#asahi-dev · 2023-09-30 18:09
jonmasters* corrected
#asahi-dev · 2023-09-30 18:09
jonmasters(ACM1 because I appear to have some other device on this laptop, so I get ACM1 and ACM2 for the M1)
#asahi-dev · 2023-09-30 18:09
jonmasters(ACM1 because I appear to have some other device on this laptop, so I get ACM0 and ACM1 for the M1)
#asahi-dev · 2023-09-30 18:08
jonmastersI built the u-boot binary by pulling the latest git, then cross compiled setting CROSS_COMPILE with the Fedora aarch64 gcc
#asahi-dev · 2023-09-30 18:08
jonmastershere's the log: https://pastebin.com/G8fLmnMc
#asahi-dev · 2023-09-30 18:08
jonmastersso something is up with the payload
#asahi-dev · 2023-09-30 18:08
jonmastersit loads, but then the host resets
#asahi-dev · 2023-09-30 18:08
jonmastersah I misspoke
#asahi-dev · 2023-09-30 18:06
j`eyif you can post the m1n1 log that would help diagnose it
#asahi-dev · 2023-09-30 18:05
jonmastersI'll try a direct kernel load
#asahi-dev · 2023-09-30 18:05
jonmastersfollowed the instructions to build a stage 2 then chainloaded it
#asahi-dev · 2023-09-30 17:50
j`eycan you check the logs, it should talk about payloads at some point
#asahi-dev · 2023-09-30 17:50
jonmastersyes
#asahi-dev · 2023-09-30 17:50
j`eyjonmasters: did you gzip uboot before you appened it?
#asahi-dev · 2023-09-30 17:49
jonmastersI'm assuming at this point it loaded the new m1n1 with the u-boot payload but is waiting to be told to run it?
#asahi-dev · 2023-09-30 17:49
jonmastersit reconnected, then I got Proxy is alive again and it exited
#asahi-dev · 2023-09-30 17:49
jonmastersthe system reset, chainload said it was waiting to reconnect
#asahi-dev · 2023-09-30 17:49
jonmasters* then did
#asahi-dev · 2023-09-30 17:48
jonmastersI think did a chainload -r with the new image
#asahi-dev · 2023-09-30 17:48
jonmastersI built an m1n1 with an appended u-boot
#asahi-dev · 2023-09-30 17:48
j`eyyou have to use u-boot for that
#asahi-dev · 2023-09-30 17:47
jonmastersi.e. I've got the new Linux kernel already on the system, don't want to do linux.py loading
#asahi-dev · 2023-09-30 17:47
jonmastersafter chainloading a new m1n1, if I just want it to do a normal boot, how do I tell the proxyclient to continue?
#asahi-dev · 2023-09-30 12:54
kaazoomarcan: OK, thanks for the details. I already saw that "no-map" option added when comparing 6.4.10 and 6.5.x tags and wondered ;)
#asahi-dev · 2023-09-30 12:54
marcanquite possible :p (since I added the heap thing)
#asahi-dev · 2023-09-30 12:51
jannegI think you did already both in the isp branch
#asahi-dev · 2023-09-30 12:43
marcanI'll fix this one for the next kernel tag anyway
#asahi-dev · 2023-09-30 12:43
marcanin particular wifi isn't done for t602x machines and I'm in no particular rush to consider them usable until that's done, so if you really want to use them before they're ready you get to deal with the bugs :p
#asahi-dev · 2023-09-30 12:41
marcanuntil machines are considered production-ready there will be dumb stuff like this (this only breaks if you use u-boot, which we rarely do for testing)
#asahi-dev · 2023-09-30 12:40
marcanthe problem with t602x is just the missing no-map;, which we know.
#asahi-dev · 2023-09-30 12:40
marcanyou have that backwards. those values are set by m1n1 and should never be hardcoded, in fact we should remove the existing ones.
#asahi-dev · 2023-09-30 12:38
kaazooUsing the same values as for other models made the GPU driver initialize correctly on my t6020-j414s. Before I had that uat_handoff remap error.

plus ›