So, the sequence of instructions would be as follows:

1. > Parition the *sd-card* with a 4MB hole: 
sudo sfdisk ${DISK} <<-__EOF__ 
4M,,L,* 
__EOF__ 

2. Format *sd-card *as ext4: 
sudo mkfs.ext4 -L rootfs ${DISK}1 

3. Copy *MLO* and *u-boot.img* to sd-card:
sudo mkdir -p /media/rootfs/opt/backup/uboot/ 
sudo cp -v ./u-boot/MLO /media/rootfs/opt/backup/uboot/ 
sudo cp -v ./u-boot/u-boot.img /media/rootfs/opt/backup/uboot/

Question: From where should I execute these commands ?
There is no *u-boot* in */boot* folder on BBB !

On Thursday, August 27, 2020 at 3:51:13 PM UTC+2, RobertCNelson wrote: 

>
> You can use 'dd' to extract them from the original drive.. 
>
> Or the really simple solution, just back them up somewhere on your 
> drive, like i do here: 
>
>
> https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-BackupBootloader
>  
>
> sudo mkdir -p /media/rootfs/opt/backup/uboot/ 
> sudo cp -v ./u-boot/MLO /media/rootfs/opt/backup/uboot/ 
> sudo cp -v ./u-boot/u-boot.img /media/rootfs/opt/backup/uboot/ 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/2f9d354d-6e15-48d2-8f5e-c95b563c344bo%40googlegroups.com.

Reply via email to