Hello,
I see below three configs related to raspberry-pi board. Can someone here confirm which is the default config to be used to build a kernel for type-b?
arch/arm/configs/bcmrpi_cutdown_defconfig
arch/arm/configs/bcmrpi_emergency_defconfig
arch/arm/configs/bcmrpi_defconfig
Regards,
Subash
-
- Posts: 4
- Joined: Fri Sep 07, 2012 4:45 am
- Location: Bangalore, India
- Licaon_Kter
- Posts: 240
- Joined: Wed Sep 05, 2012 10:12 am
- Location: Between the keyboard and the chair.
Re: Default kernel config required
arch/arm/configs/bcmrpi_defconfig is
but, this is the minimal set, you need to enable many other options as needed
but, this is the minimal set, you need to enable many other options as needed
BFQ+BFS or RT on a RPi? 4'real: https://github.com/licaon-kter/ (source and compiled!)
Re: Default kernel config required
Does 2012-08-16-wheezy-raspbian kernel's .config available ?Licaon_Kter wrote:arch/arm/configs/bcmrpi_defconfig is
but, this is the minimal set, you need to enable many other options as needed
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6033
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Default kernel config required
Just boot it up and:joe2act wrote:Does 2012-08-16-wheezy-raspbian kernel's .config available ?
Code: Select all
zcat /proc/config.gz
Re: Default kernel config required
dom wrote:Just boot it up and:joe2act wrote:Does 2012-08-16-wheezy-raspbian kernel's .config available ?Code: Select all
zcat /proc/config.gz
Thanks. That is cool.
Code: Select all
$ zcat /proc/config.gz > current-rpi-defconfig
$ cat current-rpi-defconfig
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.2.27 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_SCHED_CLOCK=y
.......
Re: Default kernel config required
This bit of information is a true gem.
It and the following allowed me to finally build a kernel with the modules I need.
http://mitchtech.net/raspberry-pi-kernel-compile/
The new kernel is 5325476 bytes. The one from wheezy-2012-10-28 is 2695192.
I added only one module.
Any suggestions as to why this is so? I presumed the .config from the SD card would reflect the kernel contents.
Thanks,
Peter
It and the following allowed me to finally build a kernel with the modules I need.
http://mitchtech.net/raspberry-pi-kernel-compile/
The new kernel is 5325476 bytes. The one from wheezy-2012-10-28 is 2695192.
I added only one module.
Any suggestions as to why this is so? I presumed the .config from the SD card would reflect the kernel contents.
Thanks,
Peter
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6033
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Default kernel config required
The smaller kernel is the zImage (just rename it to kernel.img). It is compressed.
Re: Default kernel config required
Anybody have a link to help determine what other options are needed? I was successful in building 3.6.11+ and it runs but now my SPI test program doesn't work. I used default config and pressed ENTER for all new configuration options to accept defaults, but I suspect there's more to it than that. Is there a list of what's needed for the "B" raspberry pi anywhere?Licaon_Kter wrote:arch/arm/configs/bcmrpi_defconfig is
but, this is the minimal set, you need to enable many other options as needed