On Thu, Aug 27, 2020 at 12:58 AM Pavel Yermolenko <[email protected]> wrote:
>
> Actually I have to start from scratch because as I mentioned before BBB fails 
> to boot from eMMC and the SD card is empty.

No you don't, this is your decision.  Grab a spare microSD and copy a
console image to it, then you can boot with the spare microSD and fix
the eMMC's extlinux.conf..

> Well I will once again regenerate the image in eMMC and once again format the 
> SD card in ext4.
> At this critical stage, I had an empty SD card, formatted in ext4 with a 
> single "rootfs" partition.
> So the next step (if my understanding is correct) was to create a boot 
> partition on the SD card, where I could then transfer MLO and u-boot.img.
> You say I should edit exlinux.conf.
> Ok i will do it as you suggest
> And then?
> What should I do with this exlinux.conf in order to create a boot partition 
> on the SD card.
> BTW execution of generate_extlinux.sh (which creates exlinux.conf on eMMC) 
> corrupts eMMC: after execution of generate_extlinux.sh eMMC becomes 
> "unbootable".

It's not unbootable, your using the eMMC, change the
root=/dev/mmcblk0p1 to root=/dev/mmcblk1p1

It's hard-coded to the microSD because I spent about a minute writing
generate_extlinux.sh to show 'how' it could be done..

https://github.com/RobertCNelson/boot-scripts/blob/master/tools/generate_extlinux.sh#L16

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/CAOCHtYjVi44vXGOA5jGrOpW1g-Uu--%2B6YaBTX1vGvOokkuL76g%40mail.gmail.com.

Reply via email to