Skip to contentSkip to conversation

BeagleBone Black wig image does not boot

DISCUSSION [email protected] 1 participant 1 message Apr 1, 2021

lore
Share & tools
lore
#0 lore raw

Hi all,

I successfully compile/create a target image and binaries for a BeagleBone Black:

MACHINE ?= "beaglebone-yocto"

The resulting wic image does not boot, when I write it to a sdcard nor when I write it directly into the internal /dev/mmcblk0. There is no console output despite of some capital "C" sometimes (the internal boot loader-loader failing to find u-boot?). The image looks rather healthy, though:

fdisk p output:

Disk core-image-base-beaglebone-yocto-20210331083925.rootfs.wic: 1 GiB, 1098599424 bytes, 2145702 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa63a46ea

Device Boot Start
End Sectors Size Id Type
core-image-base-beaglebone-yocto-20210331083925.rootfs.wic1 * 8 49065 49058 24M c W95 FAT32 (LBA)
core-image-base-beaglebone-yocto-20210331083925.rootfs.wic2 49072 2145701 2096630 1023.8M 83 Linux

ls -la of the mounted first boot partition:

insidem2m@konsti ~/Y $ ls -la /mnt
total 8648

drwxr-xr-x  3 root root   16384 Jan  1  1970 .
drwxr-xr-x 17 root root    4096 Mar  4 12:06 ..
-rwxr-xr-x  1 root root  107940 Apr  6  2011 MLO
-rwxr-xr-x  1 root root   59303 Apr  6  2011 am335x-bone.dtb
-rwxr-xr-x  1 root root   62629 Apr  6  2011 am335x-boneblack.dtb
-rwxr-xr-x  1 root root   59567 Apr  6  2011 am335x-bonegreen.dtb
drwxr-xr-x  2 root root    2048 Apr  6  2011 extlinux
-rwxr-xr-x  1 root root  892736 Apr  6  2011 u-boot.img
-rwxr-xr-x  1 root root 7645608 Apr  6  2011 zImage

The strange thing is, when I prepare a sdcard (or the internal flash!) with partitions manually, format manually and copy the same kernel and u-boot binaries into the first and the rootfs into the second partition, the system works fine!

Since the complete Image layout looks fine to me, what could be the culprit of that?

Kind Regards
Konsti