nemonein Posted yesterday at 02:16 PM Posted yesterday at 02:16 PM (edited) Board : radxa rock 5c lite with NVMe HAT and SPI Flash Module. OS : Armbian 25.11.2 stable 6.1.115-vendor-rk35xx (Debian trixie) Overlays : rock-5a-spi-nor-flash SPI Flash is on /dev/mtdblock0 Boot from SD : OK Boot from SD system on NVMe : OK ---- I want to boot from Flash, so I tried `Install/Update the bootloader on MTD Flash` menu on `armbian-config'. Then I got this message. No SPI image found. I also updated SPI with `rsetup` from Radxa OS, but it does not work(boot from NVMe failed) either. What do I have to do? Edited yesterday at 02:38 PM by nemonein 0 Quote
Werner Posted yesterday at 06:06 PM Posted yesterday at 06:06 PM My guess is that there is some code missing in the board config to make it available. Similar to this: function post_config_uboot_target__extra_configs_for_rock5b_mainline_environment_in_spi() { display_alert "$BOARD" "u-boot configs for ${BOOTBRANCH} u-boot config BRANCH=${BRANCH}" "info" run_host_command_logged scripts/config --set-val CONFIG_ENV_IS_NOWHERE "n" run_host_command_logged scripts/config --set-val CONFIG_ENV_IS_IN_SPI_FLASH "y" run_host_command_logged scripts/config --set-val CONFIG_ENV_SECT_SIZE_AUTO "y" run_host_command_logged scripts/config --set-val CONFIG_ENV_OVERWRITE "y" run_host_command_logged scripts/config --set-val CONFIG_ENV_SIZE "0x20000" run_host_command_logged scripts/config --set-val CONFIG_ENV_OFFSET "0xc00000" } @schwar3kat any chance to have a look? 0 Quote
nemonein Posted 21 hours ago Author Posted 21 hours ago @Werner Thank you for the reply. Unfortunately, I have little knowledge about building. However, I did find the code for rock-5c(rock-5c.conf), it's extremely shorter than the rock-5b. It has only 27 lines. Of course there are no function post_config_uboot_target__extra_configs_for_rock5c_mainline_environment_in_spi() It means rock-5c.conf has not finished yet. Can you guys take a look? 0 Quote
schwar3kat Posted 16 hours ago Posted 16 hours ago 13 hours ago, Werner said: schwar3kat any chance to have a look? I will take a look, but I have no experience with SPI on this board. I may have to try some copy pasta. 0 Quote
schwar3kat Posted 1 hour ago Posted 1 hour ago Where did you get the image "Armbian 25.11.2 stable 6.1.115-vendor-rk35xx"? Do you have the filename? Rock 5c image files look like this "Armbian_25.11.1_Rock-5c_trixie_vendor_6.1.115_minimal..." Is it a minimal or desktop? I can build you an unsupported image using the uBoot config from rock-5b, and you can test if it works, however that is about the limit of what I can do because I don't have an NVME hat or a SPI flash module or the lite version of the radxa rock 5c or experience with the SPI subsystem. If you let me know minimal or desktop, I will build it. The rock-5b SPI uboot compile config suggested by Werner is for the mainline uboot and may not work with the uboot using spl-blobs although I think it might. The NVME hat may not have the same device tree overlay as the built in NVME on the rock-5a. There is no reason to believe that the rock-5a-spi-nor-flash device tree overlay for the rock-5a will work correctly for the rock-5c. However you seem to indicate that the SPI module and NVME is working/accessible using the vendor kernel. This does not mean that they will work with uBoot. This may be relevant https://forum.armbian.com/topic/47090-radxa-rock5c-pentahat-and-emmc Building Armbian yourself is pretty easy if you want to experiment with current and edge mainline kernels. https://docs.armbian.com/Developer-Guide_Overview/ 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.