Hi all, I just got my Raspberry Pi 2 boards and am needing to compile and boot a different kernel, I need some modules included in the kernel itself. I've followed the instructions at http://www.raspberrypi.org/documentatio ... uilding.md
But the Pi wouldn't boot. After hunting for a bit I found someone suggesting to use the config from the working install, /proc/config.gz. That compiles, and boots, mostly. It stops while trying to run /etc/init. I've tried with both the rpi-3.19.y and rpi-3.18.y branches from the git repository, but it still panics complaining about /etc/init.
The error it gives is:
Starting init: /etc/init exists but couldn't execute it (error -13)
Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
Overview of what I've tried
Compile kernel using rpi-3.18.y
Compile kernel using rpi-3.19.y
Compile kernel using previous checkins
Adding init=/sbin/init to the cmdline.txt file, the kernel did not see this parameter being added
Using default config file from the kernel
Using default config file from the NOOBS install. I don't remember the version, but it was released 2015-02-16
Using default config: make bcmrpi_defconfig
Using default config: make bcm2709_defconfig
Verify the .config file still matches after the make commands.
Does anybody have any ideas as to what I can try to get a new kernel to work? It seems like people just follow the standard custom kernel steps, just using either the config file from a working Pi 2 or the default kernel (bcm2709_defconfig)
Thanks in advance