<Armbian-Discord> <I​gorPec> @rpardini can you guess what would cause this https://armbian.atlassian.net/browse/AR-1400
<Armbian-Discord> <T​enkawa> @IgorPec is this mainline kernel or foundation sources?
<Armbian-Discord> <r​pardini> hey, "cause" what? I've not touched rpi code in a year+
<Armbian-Discord> <I​gorPec> our kernel, previous images worked
<Armbian-Discord> <I​gorPec> fundation kernel
<Armbian-Discord> <r​pardini> lol, yes, but partitioning was changed
<Armbian-Discord> <T​enkawa> you still need the txt files dont you?
<Armbian-Discord> <I​gorPec> ahaa, damn
<Armbian-Discord> <r​pardini> I will take a look
<Armbian-Discord> <r​pardini> I've a 4b lying in a drawer somewhere
<Armbian-Discord> <I​gorPec> if you click JIRA ticket you can see diff
<Armbian-Discord> <I​gorPec> dtb is missing
<Armbian-Discord> <r​pardini> so dtb is not loaded from there
<Armbian-Discord> <r​pardini> so that should make no difference
<Armbian-Discord> <r​pardini> important is contents of /boot/firmware, which is separate fat partition
<Armbian-Discord> <r​pardini> that's why I thought about partitioning, since oleg changed that for his own purposes
<Armbian-Discord> <T​enkawa> these paths work on fat will they
<Armbian-Discord> <T​enkawa> dtb -> dtbs/5.15.74-bcm2711/./bcm2711-rpi-4-b.dtb
<Armbian-Discord> <T​enkawa> 8lrwxrwxrwx 1 root root 42 okt 21 13:18 dtb-5.15.74-bcm2711 -> dtbs/5.15.74-bcm2711/./bcm2711-rpi-4-b.dtb
<Armbian-Discord> <T​enkawa> er wont
<Armbian-Discord> <r​pardini> remember, we use flash-kernel which transports the dtbs, kernel, etc from their standard Debian places to the /boot/firmware fat partition
<Armbian-Discord> <r​pardini> "standard places" being /usr/lib et al
<Armbian-Discord> <T​enkawa> but that extra /./ is suspicious
<Armbian-Discord> <r​pardini> not non-standard /boot/dtb
<Armbian-Discord> <r​pardini> yeah. fact the dtbs are even there suggest something is very wrong
<Armbian-Discord> <I​gorPec> "very wrong" 🙂
<Armbian-Discord> <I​gorPec> dtb package has dtbs
<Armbian-Discord> <I​gorPec> so i would suspect its something related to mount
<Armbian-Discord> <I​gorPec> partitioning? it says efi
<Armbian-Discord> <I​gorPec> what Oleg changed here?
<Armbian-Discord> <r​pardini> not accusing him no, I just though maybe something there related to partitioning
<Armbian-Discord> <r​pardini> indeed /boot/firmware is mostly empty now
<Armbian-Discord> <r​pardini> rpi firmware says his .elf bins are missing, and stops with firmware not found.
<Armbian-Discord> <r​pardini> so not only dtb, but all firmware missing
<Armbian-Discord> <I​gorPec> yes
<Armbian-Discord> <I​gorPec> this is done by flash-kernel scripts?
<Armbian-Discord> <r​pardini> yes, but if partitioning changed... what it does might end up in /dev/null or in the wrong partition
<Armbian-Discord> <r​pardini> I am debugging... long time no see this code
<Armbian-Discord> <I​gorPec> yeah, for me it was almost for the first time 😉
<Armbian-Discord> <I​gorPec> as i haven't check those rpi tricks
<Armbian-Discord> <r​pardini> you did fix the linux-firmware-raspi2 -> linux-firmware-raspi rename
<Armbian-Discord> <I​gorPec> yes, that package name changed.
<Armbian-Discord> <I​gorPec> hmm
<Armbian-Discord> <I​gorPec> no change if raspi2 is used
<Armbian-Discord> <I​gorPec> "Creating EFI partition [ FAT32 /boot/firmware on /dev/loop0p1 label RPICFG ]" this is ok?
<Armbian-Discord> <r​pardini> yes
<Armbian-Discord> <r​pardini> it uses the EFI partition as /boot/firmware, that was I think always like that
<Armbian-Discord> <r​pardini> thing is, flash-kernel is not doing anything and also not giving error
<Armbian-Discord> <r​pardini> still debugging... unfortunately update-initramfs with qemu is extremely slow, will take me a while
<Armbian-Discord> <r​pardini> yeah all indicates flash-kernel changed... so not any of us fault
<Armbian-Discord> <r​pardini> it now refuses to run in chroot by default
<Armbian-Discord> <I​gorPec> what?
<Armbian-Discord> <r​pardini> are you building jammy or kinetic?
<Armbian-Discord> <I​gorPec> i tried both i think
<Armbian-Discord> <I​gorPec> but jammy last time
<Armbian-Discord> <r​pardini> ubuntu changes... https://launchpad.net/ubuntu/+source/flash-kernel/+changelog
<Armbian-Discord> <r​pardini> ubuntu still doing breaking changes in stable/LTS releases 🙂
<Armbian-Discord> <r​pardini> fix is coming
<Armbian-Discord> <r​pardini> so sorry for pre-semi-accusing us of changing stuff 🙏
<Armbian-Discord> <I​gorPec> damn ubuntu
<Armbian-Discord> <I​gorPec> i always had a bad feeling for using this flash utility ....
<Armbian-Discord> <r​pardini> yeah I also don't like it
<Armbian-Discord> <r​pardini> anyway
<Armbian-Discord> <r​pardini> this should fix it
<Armbian-Discord> <r​pardini> https://github.com/armbian/build/pull/4439
<Armbian-Discord> <I​gorPec> Thank you!
<Armbian-Discord> <I​gorPec> do i need to test?
<Armbian-Discord> <r​pardini> someone should rewrite (without making the wheel square) this, it's not complicated what it does; a kernel hook can work just as well and also work in Debian releases
<Armbian-Discord> <r​pardini> well, it's 100% broken, so it won't make it worse for sure 😉
<Armbian-Discord> <I​gorPec> haha
<Armbian-Discord> <I​gorPec> yeah, make a summary of what should be done to get rid of flash-kernel. i might take a look after we are done with releses
<Armbian-Discord> <I​gorPec> to jira
<Armbian-Discord> <I​gorPec> from head, no special research
<Armbian-Discord> <r​pardini> it's mostly the same as we have in postinstall for normal kernels... except instead o linking /boot/image, we need to copy the kernel and some other stuff to /boot/firmware
<Armbian-Discord> <I​gorPec> so we could actually add it to kernel postinst ?
<Armbian-Discord> <r​pardini> I think so, and do away with the whole flash-kernel, just keep it simple
<Armbian-Discord> <r​pardini> it's a hook today, it's setup in /etc/initramfs/post-update.d/flash-kernel
<Armbian-Discord> <r​pardini> just use a simple/our script instead
<Armbian-Discord> <I​gorPec> won't change this today. have to go off grid for few hours, then proceeding with bug hunt
<Armbian-Discord> <r​pardini> yep, I'm not doing it either. rpi4b is already back in drawer. found some TB2's now 😉
<Armbian-Discord> <I​gorPec> oh 🙂 that's even more troublesome
<Armbian-Discord> <T​onymac32> I guess if we use blobs it's fine 🤷‍♂️
<Armbian-Discord> <T​onymac32> Shortages brought a need for multiple RAM suppliers I guess
<Armbian-Discord> <T​onymac32> Mainline ATF simply isn't robust enough
<Armbian-Discord> <r​pardini> Remember that ASUS's original blobs, cheap-RAM worked, but not i2c, spi, or anything else... so it's not fine... I am gonna test the new blobs someone sent soon
Armbian-Discord has quit [Remote host closed the connection]
Armbian-Discord has joined #armbian-broadcom
Armbian-Discord has quit [Remote host closed the connection]
Armbian-Discord has joined #armbian-broadcom
<Armbian-Discord> <T​onymac32> I don't think any of the options are "cheap-RAM", but they certainly had different preferences for initializing
<Armbian-Discord> <T​onymac32> I'm also curious how any of the rest was impacted by the ram blobs...
<Armbian-Discord> <r​pardini> true. I misspoke, it's not cheap, just different.