Jump to content

Recommended Posts

Posted (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 by nemonein
Posted

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?

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines