#
✕ nick:marcan
#asahi-dev · 2022-07-12 05:04
marcansven: *shrug*
#asahi-dev · 2022-07-12 05:04
marcan(because it takes ~1 second for the trackpad to init)
#asahi-dev · 2022-07-12 05:04
marcanjannau: I think the trackpad in practice works because the init is slow enough that by the time it requests the firmware the root FS is mounted
#asahi-dev · 2022-07-12 05:04
marcanyup...
#asahi-dev · 2022-07-12 05:01
marcansven: bluetooth works on the funky revision in the M2pro :)
#asahi-dev · 2022-07-12 04:56
marcanI *think* with the m1n1 changes and other things this will finally work on M2 (with proper keyboard detection even)
#asahi-dev · 2022-07-12 04:55
marcanmaking another kernel...
#asahi-dev · 2022-07-12 04:24
marcanyes
#asahi-dev · 2022-07-12 04:20
marcanprobably a null deref or something when USB storage devices are connected and not ready
#asahi-dev · 2022-07-12 04:20
marcankettenis: might want to look at this ^
#asahi-dev · 2022-07-12 04:20
marcanah wait, this is because it's a storage device that's not ready? bug then I guess (I have a multithing connected that includes card readers)
#asahi-dev · 2022-07-12 04:19
marcanelr: 000000000001d5d0 lr : 0000000000028440 (reloc)
#asahi-dev · 2022-07-12 04:19
marcan"Synchronous Abort" handler, esr 0x96000005
#asahi-dev · 2022-07-12 04:19
marcan Request Sense returned 02 3A 00
#asahi-dev · 2022-07-12 04:19
marcanscanning bus usb@502280000 for devices... Device NOT ready
#asahi-dev · 2022-07-12 04:19
marcanu-boot explodes with USB devices connected
#asahi-dev · 2022-07-12 04:19
marcanruh roh, different issue now
#asahi-dev · 2022-07-12 04:14
marcanohh calamares needs a rebuild
#asahi-dev · 2022-07-12 04:07
marcanok, boots now and the trackpad works but... the first time setup stuff failed? got me stuck in an empty login screen, heh
#asahi-dev · 2022-07-12 03:38
marcanasahi-fwextract just does what the installer does to extract them in the first place, because the installer isn't complete yet and I didn't want to have to tell people to go back to the installer just for this
#asahi-dev · 2022-07-12 03:37
marcanupdate-vendorfw puts the firmwares in the right place after an external entity (installer) updates them, e.g. due to a stub upgrade
#asahi-dev · 2022-07-12 03:36
marcanasahi-fwextract *recreates* the source file for that copy, it has actual logic
#asahi-dev · 2022-07-12 03:36
marcanthat one just copies firmwares
#asahi-dev · 2022-07-12 03:36
marcanchadmed: update-vendorfw *already* runs on boot
#asahi-dev · 2022-07-12 03:35
marcansince it was by name
#asahi-dev · 2022-07-12 03:35
marcanso the m1n1 reset does not work
#asahi-dev · 2022-07-12 03:34
marcanit's called ANS now, not ANS2.
#asahi-dev · 2022-07-12 03:34
marcanoh wait, I bet I know
#asahi-dev · 2022-07-12 03:33
marcanmaybe udelay(1) is not enough?
#asahi-dev · 2022-07-12 03:33
marcanjannau: m1n1 should already reset NVMe on shutdown, why would we need to do it twice?
#asahi-dev · 2022-07-12 03:32
marcan*no longer
#asahi-dev · 2022-07-12 03:32
marcanonce we extract all firmwares it will not longer be needed
#asahi-dev · 2022-07-12 03:32
marcanasahi-fwextract isn't really intended to keep existing in the long term
#asahi-dev · 2022-07-12 03:31
marcanthey are different things
#asahi-dev · 2022-07-11 21:22
marcanso I'm not sure
#asahi-dev · 2022-07-11 21:22
marcanbut I've been chainloading like that and it worked for me, I think?
#asahi-dev · 2022-07-11 21:22
marcanit's possible I broke it with the m1n1 rtkit power stuff in stage1, and it's broken for new installs on m1 too
#asahi-dev · 2022-07-11 21:21
marcananyway, good night :)
#asahi-dev · 2022-07-11 21:21
marcan(replace with your ID)
#asahi-dev · 2022-07-11 21:21
marcanmake -C .. CHAINLOADING=1 && python tools/chainload.py -r ../build/m1n1.bin && cat ../build/m1n1.bin <(echo -ne 'chosen.asahi,efi-system-partition=a17b7e46-e950-bb4f-bc82-8ab1047a058e\nchainload=a17b7e46-e950-bb4f-bc82-8ab1047a058e;m1n1/boot.bin\n') >| /tmp/m1n1-chainload.bin && python tools/chainload.py -r /tmp/m1n1-chainload.bin
#asahi-dev · 2022-07-11 21:20
marcantry actually chainloading
#asahi-dev · 2022-07-11 21:19
marcanI see 1 second from 0 to the error, either that's the 1 second timeout, or it isn't actually waiting 1 second
#asahi-dev · 2022-07-11 21:19
marcanis it supposed to go 1...0... boot, or is it supposed to boot immediately at 0?
#asahi-dev · 2022-07-11 21:17
marcanconfigs/etc are in the PKGBUILDs repo
#asahi-dev · 2022-07-11 21:16
marcanrelease u-boot does not
#asahi-dev · 2022-07-11 21:15
marcanI may need to punt on this for a few days, I'm not sure I'll have time before the trip
#asahi-dev · 2022-07-11 21:15
marcanfeel free to try to debug it if you have time...
#asahi-dev · 2022-07-11 21:11
marcanI need sleep
#asahi-dev · 2022-07-11 21:11
marcanoh well, I tried
#asahi-dev · 2022-07-11 21:11
marcandidn't we increase those?

plus ›