On Thu, Aug 27, 2020 at 8:46 AM Pavel Yermolenko <[email protected]> wrote:
>
> It's the case.
>
> Then keeping sd-card in BBB (not inserting it in the host, where I built 
> u-boot ?) execute these instructions:
>
> sudo dd if=./u-boot/MLO of=${DISK} count=1 seek=1 bs=128k
> sudo dd if=./u-boot/u-boot.img of=${DISK} count=2 seek=1 bs=384k
>
> Parition the media with a 4MB hole:
> sudo sfdisk ${DISK} <<-__EOF__
> 4M,,L,*
> __EOF__
>
> Format as ext4:
> sudo mkfs.ext4 -L rootfs ${DISK}1
>
> Then find somewhere on BBB these two files MLO and u-boot.img and copy them 
> to the rootfs on sd-card.
> Correct ?

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/CAOCHtYhyXxEutnCNqwO0xX3U_7WvzeC51O%2BQRNs4zm0bP-CRzQ%40mail.gmail.com.

Reply via email to