#
✕ nick:bcrumb
#asahi · 2022-11-28 18:42
bcrumbAlso I still need to fix up that one commit that I was doing on Github, didn't get around to it because was playing with some other stuff.
#asahi · 2022-11-28 18:41
bcrumbThe important note: So I think that firmware is properly removed on my system when downgrading, I think, I will check out the scripts further and see if I have some leftover files or something (??). I did it multiple times while testing and it never led post downgrade to issues. What potential side effect could untaring the data into vendor, and then in future say initramfs mounting on vendor have?
#asahi · 2022-11-28 18:39
bcrumbAfter reading up on systemd stuff I do think that no systemd in hooks is preferable based on philosophy but if nothing works I'll need a systemd unit.
#asahi · 2022-11-28 18:37
bcrumb*flashing underscore
#asahi · 2022-11-28 18:36
bcrumbI've tried looking around for that freeze and can't find anything , and when running without early debug I just land to a flashing tilde, I still need to check more combos out and see what is going on, also typing into empty space a few times
#asahi · 2022-11-28 18:34
bcrumbAnd then, when upgrading packages to 2-2 it does not want to load firmware, I'm playing around now and seeing what is going on with the former before moving on to this latter
#asahi · 2022-11-28 18:33
bcrumbAnd this was since I set linux, meaning from the type i encrypted it with cryptsetup
#asahi · 2022-11-28 18:33
bcrumbYeah, so it's weird. The problem that I am having with my LUKS setup is that when trying to run hooks (http://ix.io/4h7u) (wo encrypt too) is that boot freezes at i2c deferred probe pending, but systemd-encrypt does not run into such issues.
#asahi · 2022-11-28 18:25
bcrumbj`ey: thanks, will test out now
#asahi · 2022-11-28 18:25
bcrumbmarcan: yeah back read the messages
#asahi · 2022-11-28 17:55
bcrumbdo i need the kernel image in initramfs if i concatenate it to stage 2?
#asahi · 2022-11-27 23:59
bcrumberr i mean asahi unit
#asahi · 2022-11-27 23:59
bcrumbasahi hook next... i've read that shell scripts should work so C file stuff falls away i think
#asahi · 2022-11-27 23:59
bcrumbeverything in readme
#asahi · 2022-11-27 23:59
bcrumbthis now has systemd support
#asahi · 2022-11-27 23:59
bcrumbhttps://codeberg.org/bcrumb/charge-ctl-m1
#asahi · 2022-11-27 23:59
bcrumbin prep for writing asahi hook i've updated charge-ctl-m1, binary is now ccm1 per default when building
#asahi · 2022-11-26 21:14
bcrumb(err pre udevd)
#asahi · 2022-11-26 21:12
bcrumbi will make a writeup to confirm im right, but i suppose prehook is post local-fs.target and post systemd-udevd.service, and posthook is as stated after initrd-fs.target
#asahi · 2022-11-26 21:09
bcrumbso, the units executable
#asahi · 2022-11-26 21:09
bcrumband i suppose the unit would have to be written as a C binary
#asahi · 2022-11-26 21:02
bcrumbhttps://www.freedesktop.org/software/systemd/man/bootup.html
#asahi · 2022-11-26 20:50
bcrumbreading more into seems doable even i think
#asahi · 2022-11-26 20:36
bcrumbunit
#asahi · 2022-11-26 20:36
bcrumbcuz im looking to actually write this sysd unti
#asahi · 2022-11-26 20:08
bcrumbso my hooks are HOOKS=(base asahi systemd...) so since 20220918 runs that vendor thing in an earlyhook and systemd takes off only after, i suppose the update-vendor-firmware call before installs all firmware which has allowed my OS to load up until now
#asahi · 2022-11-26 19:57
bcrumband in the latehook too
#asahi · 2022-11-26 19:57
bcrumbmaybe because the older script (20220918.2-1) runs this in the earlyhook
#asahi · 2022-11-26 19:55
bcrumbjust that i don't understand why this is booting then, cause scripts 2-1 (20220918.2-1) is also using new-root as target root
#asahi · 2022-11-26 19:53
bcrumbit might just be that this is the issue
#asahi · 2022-11-26 19:53
bcrumb 14:30 <marcan> and /new_root is called /sysroot in the systemd world
#asahi · 2022-11-26 19:35
bcrumbbut kernel is fully updated with systemd in kernel hooks... so at this point i am not sure WHY this is booting properly
#asahi · 2022-11-26 19:34
bcrumbeven upgrading fwextract to 2-2 does not break things, but new firmware doesn't load i think
#asahi · 2022-11-26 19:34
bcrumbok so yeah, it's asahi scripts doing it, with the latest 2-2 update it seems
#asahi · 2022-11-26 18:53
bcrumbdoesn't seem to be the kernel...
#asahi · 2022-11-26 14:10
bcrumbI suppose I will go through the kernel images first
#asahi · 2022-11-26 14:08
bcrumbOr combination, since they are made to work together I guess
#asahi · 2022-11-26 14:07
bcrumbI've generated a successfull image, it's either linux-asahi{-headers}, asahi-fwextract, or asahi-scripts
#asahi · 2022-11-26 13:32
bcrumbi can rebuild the older versions now I suppose so let me do that
#asahi · 2022-11-26 13:31
bcrumbright
#asahi · 2022-11-26 13:29
bcrumbthere is a brcm file though in firmware
#asahi · 2022-11-26 13:28
bcrumbbut the thing is working
#asahi · 2022-11-26 13:28
bcrumb🤔 so vendor is still completely empty
#asahi · 2022-11-26 13:26
bcrumbif someone has any ideas btw what i should log while this is working, i guess firmware first
#asahi · 2022-11-26 13:26
bcrumbnow i need to find out what packages are at fault for this, and upgrade
#asahi · 2022-11-26 13:26
bcrumbfirmware loaded
#asahi · 2022-11-26 13:26
bcrumbok, no, nevermind, so the image i claimed above was a sysd image i made yesterday, i just used the proper old image and it worked
#asahi · 2022-11-26 13:20
bcrumbremade the initramfs and also used the original kernel args
#asahi · 2022-11-26 13:20
bcrumbyes
#asahi · 2022-11-26 13:18
bcrumbin fact, yeah, it does not load firmware even with my old m1n1 that used to work, so another package should be responsible for this

plus ›