On Thu, Aug 27, 2020 at 8:11 AM Pavel Yermolenko <[email protected]> wrote: > > 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 ?
So just "dd" those two files to the microsd to the same position. 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/CAOCHtYiAbNDiYyePDG%3Db6A%3DKJpx__6stFNVSH_wyA0kWpJPYdw%40mail.gmail.com.
