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 
<https://github.com/PacktPublishing/Mastering-Embedded-Linux-Programming-Second-Edition>
 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).

Thanks.

On Friday, August 21, 2020 at 5:11:29 PM UTC+2, RobertCNelson wrote:
>
> On Fri, Aug 21, 2020 at 9:29 AM Pavel Yermolenko <[email protected] 
> <javascript:>> wrote: 
> > 
> > Here is my sd-card: 
> > 
> > debian@beaglebone:~$ lsblk 
> > NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT 
> > mmcblk1      179:0    0  3.6G  0 disk 
> > └─mmcblk1p1  179:1    0  3.6G  0 part / 
> > mmcblk1boot0 179:8    0    2M  1 disk 
> > mmcblk1boot1 179:16   0    2M  1 disk 
> > mmcblk1rpmb  179:24   0  512K  0 disk 
> > mmcblk0      179:32   0 14.9G  0 disk 
> > ├─mmcblk0p1  179:33   0   64M  0 part 
> > └─mmcblk0p2  179:34   0    1G  0 part 
> > 
> > I executed script without modifs: 
> > debian@beaglebone:/opt/scripts/tools$ sudo ./generate_extlinux.sh 
> > [sudo] password for debian: 
> > debian@beaglebone:/opt/scripts/tools$ 
> > 
> > But nothing changed on sd-card. 
> > I still see u-boot.img and MLO in /boot. 
>
> Shakes head, i haven't tested for the old "dual partition" setup in 
> years.. I killed it back in 2014 and moved to a single ext4 partition 
> ever since. 
>
> Sorry, it's just never tested.. 
>
> 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/259dd07a-d786-4f8f-8953-84764eef4edeo%40googlegroups.com.

Reply via email to