I’m experimenting with replacing initramfs-tools with dracut to include systemd into initramfs so I can decrypt my NVMe with FIDO2 key. I got some success with original iMX8M CPU module but following similar steps on A311D results with blank screen.
Side note - I haven’t yet published post describing entire procedure wanting to have working, reliable solution. If there is interest I might publish my steps so others can try to reproduce.
Because u-boot on A311D cannot initialize internal screen and only Linux can display something, I cannot debug anything. I’ve noticed that there is an issue related to that problem:
but there wasn’t any activity after its creation. At the same time scripts building u-boot for A311D (and other modules) were extracted to separate repository
although there are still files in old repository mention that chip:
I’ve upgraded to latest available u-boot to 2024-08-01
https://source.mnt.re/reform/reform-a311d-uboot/-/jobs/artifacts/2024-08-01/raw/meson-g12b-bananapi-cm4-mnt-reform2-flash.bin\?job\=build SHA1:9f762b7d3dc447ee6d4e5e5f28f7cc682a6c226f
but it didn’t help with this particular problem.
Is there anything someone without much hardware knowledge do? I tried reading files with reform in their names from upstream u-boot repository, but haven’t understood much. OTOH if there are some patches to try, I might compile u-boot and give it a try.
There was similar discussion for original iMX8M CPU in 2021:
https://community.mnt.re/t/u-boot-and-internal-screen/