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] BR 2012.rc1 :: wrong bootfiles?!
Date: Fri, 9 Mar 2012 17:36:37 +0100	[thread overview]
Message-ID: <20120309173637.3cfeeffa@skate> (raw)
In-Reply-To: <CAPEB33xU1mBdbCzAAF3Dp+Df9K1BQ=H2XH6dGdS7g6k_k+hbGw@mail.gmail.com>

Le Fri, 9 Mar 2012 14:21:09 +0000,
MERCADIER Johann <johann.mercadier@imerir.com> a ?crit :

>    I would like to mention a recurrent problem I have and which is
> the same since the 2011.11 version of BR.
>    When I successfully built a project I got uImage, MLO and
> u-boot.bin as part of the boot process. Any of these files make me
> able to boot the card. At the moment I use MLO and u-boot.bin couple
> from an ubuntu distro and I manually compile my own kernel image. In
> this way that's work. I've already try to use the uImage generated by
> BR with loader from the ubuntu distro and the card didn't start at
> all. What then could be so different? Does someone else has to face
> the same issue?

Hum. I am not sure you realize that uImage is the kernel image, and
this image highly depends on 1/ the kernel version and 2/ the kernel
configuration.

So yes, if you give a completely wrong kernel configuration to
Buildroot, or tell Buildroot to build a kernel version that does not
work on your hardware, then the kernel image generated by Buildroot
will not work.

You seem to think that Buildroot does a lot of black magic behind the
back. Basically, what Buildroot does with your kernel is:

 1/ Download the kernel sources tarball according to the version you
 have specified

 2/ Extract this tarball

 3/ Apply the kernel configuration you have provided

 4/ Build the kernel by running 'make' (i.e, the normal build process
 of the Linux kernel)

 5/ Copy the uImage to output/images/

That's it. So if the kernel generated by Buildroot does not work for
you, there is 99.9999999% chances that your kernel version and/or
configuration is wrong, and only 0.00000001% chances that Buildroot is
at fault.

Best 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:[~2012-03-09 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 14:21 [Buildroot] BR 2012.rc1 :: wrong bootfiles?! MERCADIER Johann
2012-03-09 16:36 ` 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=20120309173637.3cfeeffa@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