On Thursday, August 27, 2020 at 2:32:36 PM UTC+2 RobertCNelson wrote:

> 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.. 
>
 
The problem is I have only one *sd-card*. Once I flash *eMMC *from it, I 
begin to use it for other purposes.
But Ok, I'll buy another one.


> > 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.. 
>

Ok, what next ... keeping in mind that ultimate goal is to transfer *MLO *and 
*u-boot.img* to sd-card ?


>
> 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/4d6ee9a7-bbeb-4af4-bf67-12b7b5a4d969n%40googlegroups.com.

Reply via email to