sghazagh
Posts: 8
Joined: Wed Sep 19, 2012 9:27 pm

RPi Zero W Kernel Compile

Wed Mar 29, 2017 4:38 am

Hi all,
I have compiled kernel thousand times for my RPi2 and RPi3 with all my customization and I have been successful all the times.

I just have received my Rpi Zero Wifi and tried to make a custom kernel.
I tried Linux kernel 4.4.y, in specific 4.4.50, and also 4.9.y (4.9.17) and after successful compile, I tried to boot my RPi Zero W but the board stuck at boot and says : "Kernel is not tainted"

I have use "bcmrpi_defconfig" for default configuration similar to RPi 1/RPi compute module as RPi Zero/W also is Armv6 architecture. But I do not know what is wrong and why I cannot boot with my kernel.

Any help will be appreciated?!!!

P.S: Only addition to kernel compile is "LOCALVERSION" variable to have my own name for lib/modules and custom logo which already have been tested on RPI2/3. I also have used all lib/firmware available in latest Raspbian image.

sghazagh
Posts: 8
Joined: Wed Sep 19, 2012 9:27 pm

Re: RPi Zero W Kernel Compile

Wed Mar 29, 2017 6:47 am

Here is the actual kernel message:

Kernel Panic - not syncing: Attemted to kill init! exitcode=0x00000004

CPU:0 PID:1 CommL init Not Tainted 4.9.17-RPI-Linux #2
Hardware name: BCM2835
.
.
.
---[end Kernel Panic - not syncing: Attemted to kill init! exitcode=0x00000004

random: crng init done]

Return to “General discussion”