On Sun, Aug 23, 2020 at 9:52 AM Pavel Yermolenko <[email protected]> wrote:
>
> New image is loaded in eMMC. Works fine.
> Now I want to explore u-boot (i.e. boot from sd-card with no kernel)
>
> Before I used this format-sdcard.sh script that formats sd-card and creates
> two partitions FAT32 (boot) and ext4 (rootfs).
> Then, after building the u-boot I copied u-boot.img and MLO in the boot
> partition of sd-card.
> The book where this approach is described was written in 2017 and obviously
> worked well with v2017 branch of u-boot.
> With my crosstoolchain I couldn't build 2017 branch of u-boot.
> I succeeded with 'master' branch of u-boot (also with another configuration).
> But with u-boot.img and MLO originated from 'master' branch (then copied to
> the boot folder on sd-card) the boot process from sd-card couldn't
> successfully terminate.
> So here is a couple questions (in order to use 'master branch of u-boot):
>
> how format sd-card
> where to copy u-boot.img and MLO (in the root ... or in some partition).
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 configure /boot/extlinux/extlinux.conf
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/CAOCHtYg3FEhOBpOmrnngLbjRxEYPGD-c80JO1oXBPGDQTmMCYg%40mail.gmail.com.