[Buildroot] Kernel config and recommended books
thomas.petazzoni at free-electrons.com
Tue Sep 27 22:04:50 UTC 2011
Le Thu, 22 Sep 2011 22:29:45 +0100,
bruce bushby <bruce.bushby at gmail.com> a écrit :
> I wanted to ask how I retain a kernel config ".config"? I'm trying to
> build a kernel for an OMAP3 Beagleboard .....so I run "make
> menuconfig" and select the bare basic but I change my login terminal
> to ttyS2 and for a "defconfig" I enter "omap2plus".
^^^^^ must be ttyO2 on OMAP platforms if you use a relatively
recent kernel (I don't remember if it's > 2.6.35 or > 2.6.37)
> So my question relates to the kernel ".config" .... before running
> make I don't have a kernel ".config" ... after running make I have:
> and I think it's this file I need to change:
> [root at dlxarm01 buildroot-2011.08]# grep tty ./output/build/linux-3.0.4/.config
> CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200"
> [root at dlxarm01 buildroot-2011.08]#
> that should be ttyS2....from what I've read on the net. So I take a
No, ttyO2 is correct. The "net" is outdated.
> copy of this file and I run a "make clean" .....but I can't put it
> back because the directory "./output/build/linux-3.0.4/" no longer
Run 'make linux-menuconfig' will automatically open the kernel
menuconfig. Then, if you want to save your kernel configuration:
* Copy the output/build/linux-x.y.z/.config file somewhere
* Edit your Buildroot configuration, and instead of using the
omap2plus defconfig, tell Buildroot to use your own kernel
> and lastly, what is considered the "defacto" book with regards to
> embedded linux kernels?
There is no defacto book, but for the configuration/compilation process
of the kernel, you might want to have a look at
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the buildroot