alexm
Posts: 3
Joined: Thu Sep 13, 2012 4:09 pm

Kernel doesn't start after buildroot rebuild

Thu Sep 13, 2012 4:27 pm

Hi,

I use buildroot for build kernel and rootfs [https://github.com/nezticle/RaspberryPi-BuildRoot]. I need do same changes for linux kernel. I do make menuconfig in /output/build/linux-custom directory then copy .config to board/raspberrypi/ and then do make for buildroot. The kernel is compiled and image and rootfs are created. I move boot and rootfs tars to SD card and start RPi but only logo appears, kernel not start and aren't any messages on screen. So where I do mistake and how to change kernel's config inside a buildroot?

Thanks,
Alex.

User avatar
Licaon_Kter
Posts: 240
Joined: Wed Sep 05, 2012 10:12 am
Location: Between the keyboard and the chair.

Re: Kernel doesn't start after buildroot rebuild

Fri Sep 14, 2012 1:45 pm

list of files and where you put them? did you run as sudo the tar command?
BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!)

alexm
Posts: 3
Joined: Thu Sep 13, 2012 4:09 pm

Re: Kernel doesn't start after buildroot rebuild

Fri Sep 14, 2012 6:35 pm

Licaon_Kter wrote:list of files and where you put them?
Files are the same when I built kernel image and rootfs using linux-3.2-raspberrypi.config. All my actions are same too.
Licaon_Kter wrote:did you run as sudo the tar command?
Yes, sure.

I think the kernel's .config file is wrong but I can't understand why.

User avatar
Licaon_Kter
Posts: 240
Joined: Wed Sep 05, 2012 10:12 am
Location: Between the keyboard and the chair.

Re: Kernel doesn't start after buildroot rebuild

Fri Sep 14, 2012 7:26 pm

do attach it
BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!)

alexm
Posts: 3
Joined: Thu Sep 13, 2012 4:09 pm

Re: Kernel doesn't start after buildroot rebuild

Fri Sep 14, 2012 8:53 pm

The problem is solved. I should do "make linux-menuconfig" in buildroot root dir instead "make menuconfig" in output/build/linux-custom/.

Thanks,
Alex.

manu.dasari
Posts: 2
Joined: Wed Oct 03, 2012 11:50 am

Re: Kernel doesn't start after buildroot rebuild

Wed Oct 03, 2012 11:59 am

Hi,

I compiled the kernel with the default configs, after transferring the image to SD card and try to reboot
the kernel panicked due to missing init.

So i added the below configs and recompiled the kernel.
1. CONFIG_BLK_DEV_INITRD=y
2. CONFIG_INITRAMFS_SOURCE="../target_fs"

However this time the kernel did not even boot up, just the raspberry logo comes up.

Please advice on how to proceed.

Thanks & Regards,
Manu

User avatar
Licaon_Kter
Posts: 240
Joined: Wed Sep 05, 2012 10:12 am
Location: Between the keyboard and the chair.

Re: Kernel doesn't start after buildroot rebuild

Wed Oct 03, 2012 3:27 pm

use a good kernel, from a known good image, like Weezy, log in, run:

Code: Select all

zcat /proc/config.gz > config.default
backup it first, then take config.default to your build machine ( or on the same ), put it in your linux kernel tree as .config , run make oldconfig, then edit it as you wish
BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!)

bushra
Posts: 2
Joined: Fri May 19, 2017 9:59 am

Re: Kernel doesn't start after buildroot rebuild

Fri May 19, 2017 10:21 am

my new kernel version 4.9.27 v+. https://www.raspberrypi.org/documentati ... uilding.md followed that link but raspberry pi starts with logo but i does not boot. i had changed config.txt file. i am beginner i don't know what's problem. thank u

Return to “Linux Kernel”

Who is online

Users browsing this forum: No registered users and 1 guest