SD Boot scenario

Hi all,
I understood meaning of sdboot like this we have to flash os content to sdcard then attach sdcard to device and change the environment variable from the uboot prompt.so after that device load os from the sdcard.

how can I achieve sdboot scenario?

Is it right or I get something wrong? Please correct me if I am wrong.

Thank you.
BR,
Kanji Viroja

One can use the format_sd.sh script we provide with our images, to format the SD card which can be used with update procedure as well as for booting.

Assuming /dev/mmcblk0 is the /dev node pertaining to the SD card

./format_sd.sh -f -d /dev/mmcblk0

“-f” option will additionally copy the rootfs into the second partition.

From uboot, one can then boot from the SD card by executing “run sdboot” command.

If you would like this to be the default, add “run sdboot” as the first option to the “bootcmd” uboot environment variable which by default would be “run ubiboot” for booting from NAND flash.

Also note that the script would put the relevant binaries in the first partition of the SD card which can be used for the update process.

Thank you sanchayan.maity. I will do that. :slight_smile: