I experienced the same issue but I think I have a/the solution if both our problems originate from the same cause.
My setup: rock5b, 32GiB (the Aracetech delivered ones), 4TiB Lexar 790 NVME.
With both a EMMC 64GiB inserted and NVME the system would hardly boot.
Changing to any of the available fixed and PD protocol supported power adapters did not work.
Removing the EMMC or the NVME made the rock5b start but as my test on reliability is compiling Bareos from sources (both current and next) that would result in segfaults, or linker errors or even more strange errors with nothing working anymore till next reboot.
Today I found out that RADXA has (silently?) released new SPI firmware;
- rock-5b-spi-image-gd1cf491-20240523-debug.img
And after installing this; I did not have any issue anymore during the compiles. So this might be the solution.
Next step is to add both EMMC and NVME adapter (now only using NVME) and see if it boots.
I will keep you posted.
Here is where you can find the debug and other versions for the SPI firmware:
https://wiki.radxa.com/Rock5/install/spi
@RADXA; is there any changelog of what has changed?
Kind regards,
Pascal