#asahi · 2022-11-01 13:47
WhyNotHugocat /proc/cmdline is initrd=\initramfs-linux-asahi.img rw rd.log=kmsg printk.devkmsg=on#asahi · 2022-11-01 13:47
WhyNotHugoJust "Trying to unpack rootfs image as initramfs..."#asahi · 2022-11-01 13:46
marcandid those options actually reach /proc/cmdline?#asahi · 2022-11-01 13:43
marcanalso how does the initramfs know what your root device is supposed to be without a root= option?#asahi · 2022-11-01 13:42
marcandmesg|grep initramfs shows nothing?#asahi · 2022-11-01 13:41
WhyNotHugoStill nothing logged from the initramfs. Kernel command line: initrd=\initramfs-linux-asahi.img rw rd.log=kmsg printk.devkmsg=on#asahi · 2022-11-01 13:34
bcrumbright#asahi · 2022-11-01 13:34
j`eyif it's some generic arm related thing, then yeah i guess it makes sense on the alarm forum#asahi · 2022-11-01 13:33
bcrumbi mean you can but if they see you are arm they close the thread#asahi · 2022-11-01 13:33
bcrumbon arch linux forums you can't ask questions if you're not not arm#asahi · 2022-11-01 13:33
j`eybcrumb: in what sense?#asahi · 2022-11-01 13:32
bcrumbbtw, we should theoretically be part of the archlinuxarm forums right?#asahi · 2022-11-01 13:29
marcanyou need to add those kernel options#asahi · 2022-11-01 13:29
marcanWhyNotHugo: rd.log=kmsg printk.devkmsg=on#asahi · 2022-11-01 13:25
bcrumbj`ey: thanks#asahi · 2022-11-01 13:24
bcrumbnvm my conn dropped #asahi · 2022-11-01 13:24
WhyNotHugomarcan: I don't see that output tho. Nor anyting from the initramfs.#asahi · 2022-11-01 13:24
j`eybcrumb_: you can check proc/cpuinfo, that prints the features that linux knows the CPU has#asahi · 2022-11-01 13:23
bcrumb_anybody know how I can find out the exact specification of arm hardware on my device e.g. armv8 or something like that?#asahi · 2022-11-01 13:20
marcan...#asahi · 2022-11-01 13:20
marcan[ 0.658991] printk: init: 3 output lines suppressed due to ratelimiting#asahi · 2022-11-01 13:20
marcan[ 0.645064] initramfs: :: running late hook [asahi]#asahi · 2022-11-01 13:20
marcanargh, no, it's just dumb#asahi · 2022-11-01 13:19
marcanbecause I see the latehook getting called but not its output and I think this is why#asahi · 2022-11-01 13:19
marcanI'm trying to figure out what#asahi · 2022-11-01 13:19
marcanbut rdlogger is broken because I think some daemon holds stdio open#asahi · 2022-11-01 13:18
marcanyou need to enable debugging for that#asahi · 2022-11-01 13:18
marcanno, it wouldn't#asahi · 2022-11-01 13:17
WhyNotHugoNeither dmesg nor journalctl show any output that matches "Asahi". Pretty sure output from the hook should show up there.#asahi · 2022-11-01 13:15
marcanI'm trying to figure out debugging, but I get the feeling rdlogger is kind of broken, so give me a sec#asahi · 2022-11-01 13:15
marcanboth matter but the latehook clearly isn't working for you, so start there#asahi · 2022-11-01 13:14
marcanthat's not /boot/vendorfw, it's /vendorfw in the initramfs#asahi · 2022-11-01 13:13
WhyNotHugoOh, it's the run_latehook that matters here.#asahi · 2022-11-01 13:12
WhyNotHugoDoesn't this mean that the script exits if /boot/vendorfw exists? https://github.com/AsahiLinux/asahi-scripts/blob/c6dce3ddf4af34f72787e6e5a499b888ac9e80b8/initcpio/hooks/asahi#L5-L8#asahi · 2022-11-01 13:07
WhyNotHugoThat was my next question :)#asahi · 2022-11-01 13:07
marcanyou need to extract the firmware.tar, not copy it#asahi · 2022-11-01 13:06
marcanthat's called manifest.txt but it's not necessary anyway#asahi · 2022-11-01 13:06
WhyNotHugoThere's no /boot/vendorfw/.vendorfw.manifest tho.#asahi · 2022-11-01 13:02
marcanthat works too, but then you have to unload/reload brcmfmac#asahi · 2022-11-01 13:02
marcanonce it's fixed you can umount the tmpfs after a regular boot (firmware will already be loaded anyway) and wipe it#asahi · 2022-11-01 13:02
WhyNotHugoI'lll mount a tmpfs there#asahi · 2022-11-01 13:01
marcanjust please don't leave it like that#asahi · 2022-11-01 13:01
marcanyou need to unpack firmware.tar into there#asahi · 2022-11-01 13:01
marcanah, sure, temporarily you can do that#asahi · 2022-11-01 13:01
WhyNotHugoOkay#asahi · 2022-11-01 13:01
WhyNotHugoI meant as a workaround tho, to at least get network on the device while debugging it#asahi · 2022-11-01 13:01
marcanyour setup is broken, don't break it further such that then you'll have problems down the road please#asahi · 2022-11-01 13:01
marcanwhich is to not put that stuff in your rootfs to begin with#asahi · 2022-11-01 13:00
marcanno, and that defeats the whole purpose of that initramfs#asahi · 2022-11-01 13:00
WhyNotHugoIf I copy /boot/vendorfw/* into /lib/firmware/vendor/, should it work all the same?