BeagleBone black board giving kernel panic with custom image

Hi all,

We are trying to boot BeagleBone black board using custom image built using ubuntu OS 18.04
We have followed below link to build kernel and u-boot for beaglebone black.
Build U-Boot and Linux Kernel for Beaglebone and Beaglebone Black | Longer Vision Technology

And copied the output images to SD Card by doing following partitions

  1. BOOT
    MLO
    u-boot.img
    uEnv.txt
    uImage
    am335x-boneblack.dtb

  2. ROOT
    debian-9.3-minimal-armhf-2017-12-09.tar.xz (extracted and copied to the ROOT partition)

It is able to flash eMMC via Sd card but failing to boot and giving kernel panic.
Bootup messages and uEnv.txt files are attached for reference.
Please let us know if we are missing anything.
uEnv.txt (2.1 KB)
BBB_Bootup_Messages.txt (27.5 KB)

Thanks,
Devika R

Hi @Devika looking at your boot log…

Can you please confirm… microSD is “plugged in”???

Checking running system
==> Copying: [/dev/mmcblk1] -> [/dev/mmcblk0]
==> lsblk:
----------------------------------------
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk1      179:0    0  3.6G  0 disk 
`-mmcblk1p1  179:1    0  3.6G  0 part /
mmcblk1boot0 179:8    0    2M  1 disk 
mmcblk1boot1 179:16   0    2M  1 disk 
mmcblk1rpmb  179:24   0  512K  0 disk 
----------------------------------------
==> df -h | grep rootfs:
----------------------------------------
!==> Error: [/dev/mmcblk0] does not exist
writing to [/dev/mmcblk0] failed...

If your microSD is plugged in, sadly the microSD or the microSD cage is damaged… Please first look inside the cage to see if there are any bent pins?? (they are very very delicate…)

Regards,

Hi @RobertCNelson ,

Yes, microSD is plugged in.
However it is working fine if i try to flash demo images to eMMC via SD card.
We are facing issue with respect to custom image built.

Thanks,
Devika R

Well it’s not currently detecting teh microSD, so either the microSD is bad (try another one…) or the microSD cage has an issue…

Regards,