Kernel Panic - help!


I’m trying to patch 3.15.6-bone5 to run on a BeagleBone black.

I’m working from the base flasher image downloaded from

That image boots, however after flashing a new kernel built by doing:

git clone []( cd bb-kernel/ git checkout origin/am33x-v3.15 -b tmp ./

I get the following kernel panic:

mmc1: BKOPS_EN bit is not set [ 3.960600] mmc1: new high speed MMC card at address 0001 [ 3.967666] mmcblk1: mmc1:0001 MMC02G 1.78 GiB [ 3.972656] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB [ 3.979151] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB [ 3.988642] mmcblk1: unknown partition table [ 3.995322] mmcblk1boot1: unknown partition table [ 4.001842] mmcblk1boot0: unknown partition table grep: /proc/cmdline: No such file or directory [ 4.207489] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200 [ 4.207489] [ 4.217087] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 3.15.6-bone5 #1 [ 4.224430] [<c00113f5>] (unwind_backtrace) from [<c000fa37>] (show_stack+0xb/0xc) [ 4.232375] [<c000fa37>] (show_stack) from [<c054d20d>] (panic+0x65/0x170) [ 4.239598] [<c054d20d>] (panic) from [<c003090b>] (do_exit+0x693/0x694) [ 4.246628] [<c003090b>] (do_exit) from [<c0030951>] (do_group_exit+0x29/0x60) [ 4.254206] [<c0030951>] (do_group_exit) from [<c0030995>] (__wake_up_parent+0x1/0x18) [ 4.262509] drm_kms_helper: panic occurred, switching back to text console [ 4.269729] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200

I did not make any changes to the kernel and left menuconfig as it was, this is simply a rebuild of 3.15

Can anyone point me in the right direction?


Cool! Didn't know we could disable: /proc/cmdline

You should bisect it for me and figure out what config we are missing.


Happy to, how do I do that? :wink: