Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel config and recommended books
Date: Wed, 28 Sep 2011 00:04:50 +0200	[thread overview]
Message-ID: <20110928000450.2d3a2f6b@skate> (raw)
In-Reply-To: <CAHvj1qY9ZzmuTzcE0W4V4dpErO-0FT4dXphAjA2VC6AFgT3oVw@mail.gmail.com>

Le Thu, 22 Sep 2011 22:29:45 +0100,
bruce bushby <bruce.bushby@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)

> console=ttyS2,115200n8

          ttyO2

> So my question relates to the kernel ".config" .... before running
> make I don't have a kernel ".config" ... after running make I have:
> ./output/build/linux-3.0.4/.config
> 
> 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
> exists.

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
   configuration.

> 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
http://www.kroah.com/lkn/.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

      reply	other threads:[~2011-09-27 22:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 21:29 [Buildroot] Kernel config and recommended books bruce bushby
2011-09-27 22:04 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110928000450.2d3a2f6b@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox