We have a requirement where we need a custom carrier board with some extra I/O. we want to boot from on module SD card from Jetson Nano devkit. Can we make custom BSP for Nano and NX boot from SD card instead of the module emmc?
I know that Jetson nano can not be able to totally boot from external storage. The emmc inside the module is still required. My requirement is build a custom BSP for custom carrier board which uses SD card (SD card supported module from devkit) to boot
My requirement is use on module SD card (module from devkit) to boot and use customized the BSP for that. or to simply say I want to flash my custom BSP on nano devkit
OK,
bit confused here, you mean to say write the SD card image using Etcher tool then put the SD card on module, then do the changes to the boot order?
Is it possible to put the device in recovery mode and flash using flash script? the way we use for emmc method?
Thanks for that, I got it now. My one more doubt is after these boatloader changes. how to flash the image? we have to build it for SD card? or same image which built for eMMC can be flashed? what is the flash/image write procedure for custom BSP on SD card?
If you mean you want to customize it and let the next device can have that function without changing things, then you need to rebuild the uboot source and change the boot order there.
Something which might help clarify: When booting, and when serial console is attached, it allows you to interrupt U-Boot. If you interrupt early by hitting any key on the keyboard, then you end up in the U-Boot console, and can tell it to continue booting with the command “boot”. You can also make changes to the boot environment, either temporarily for testing, or permanently. The point in boot where you would interrupt has output like this:
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@2490000
Hit any key to stop autoboot: 0
When there check the output of these:
help
help boot
printenv
printenv boot_targets
help setenv
help saveenv
If you happen to be logging your serial console when you run the above, then you get something you can browse. Environment variables are often expanded like a macro during boot, and you could change those variables. In particular, you could change either which devices are searched for boot content, or the order of search.