boot-scripts
boot-scripts copied to clipboard
Do the current generation of boot-scripts/tools/eMMC scripts also clone the uboot partition?
Just want to clarify that cloning the SD card to the eMMC will also update the uboot partition with whatever version is on the SD card.
It is my understanding that the eMMC boot loader is always used unless the button on the beaglebone is pressed to change the boot order. Thus if updating the boot loader, for my customers using SD cards, I believe they will need to go ahead and flash the eMMC to get the boot loader changes.
@BrianAdams when we create the initial sdcard image, we copy a backup MLO/u-boot.img onto the card: https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L1266-L1275
The dd values are also stored in teh soc.sh file here: https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L244-L271
When flashing the eMMC with a fresh sdcard image, we use the soc.sh file to grab the dd info and file locations: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v3.sh#L466-L468
^^ that's for offical images...
For users just running the script on their own, such as following the eewiki.net directions, we need to double check that MLO/u-boot.img exist: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/bbb-eMMC-flasher-eewiki-ext4.sh#L457-L461
Regards,