Hello,
I have built a basic reference image for the BBB using Yocto/ Poky. It
boots normally from the SD card. I then try to copy it over to the eMMC.
My steps:
Check the eMMC size with fdisk -l (get no of sectors and sector size):
7405568 sectors, 512 bytes wide sector.
dd sc contents to the emmc: dd if=/dev/mmcblk0 of=/dev/mmcblk1 bs=512
count=7405568
mount the boot partition on the emmc: mkdir /tmp/test && mount
/dev/mmcblk1p1 /tmp/test
edit the config: vi /tmp/test/extlinux/extlinux.conf. It looks like
this:
defaultYocto
label Yocto
kernel /zImage
fdtdir /
append root=/dev/mmcblk0p2 rootwait console=ttyS0,115200
Note: I have adjusted the root entry in the extlinux.conf, as the
default one obtained via "sudo dd
if=core-image-minimal-beaglebone-yocto.wic of=/dev/<media>" consisted of
partition ID identification based entry.
After the change SD card still booted, so now I changed the root dev
from /dev/mmcblk0p2 to /dev/mmcblk1p2 (SD → emmc).
After reboot. I only get “#####”, don’t even see the u-boot SPL output.
SD card boot log that works: https://pastebin.com/DkkSsucA
What am I missing? Similar operation worked when doing this with a
Buildroot generated image. I would appreciate all help!
--
Łukasz Przeniosło
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61977): https://lists.yoctoproject.org/g/yocto/message/61977
Mute This Topic: https://lists.yoctoproject.org/mt/103258896/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-