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] Booting problem for Beaglebone
Date: Wed, 9 Oct 2013 13:55:01 +0200	[thread overview]
Message-ID: <20131009135501.7a2df2f7@skate> (raw)
In-Reply-To: <52551F22.9090801@univ-st-etienne.fr>

Dear AUBERT alain,

On Wed, 09 Oct 2013 11:17:22 +0200, AUBERT alain wrote:

> We use Beaglebone board and the lastest version of buildroot 2013.08.1.
> 
> We launch/make toolchain/ and/make/ without change options in 
> menuconfig, linux-menuconfig, ...

Well, if you don't use a beaglebone configuration, how can you expect
things to work? If you have a classic BeagleBone (i.e the white
BeagleBone, not the newer black one), you should do:

	make clean
	make beaglebone_defconfig
	make

Also not that running "make toolchain" prior to running "make" is not
needed.

> We program the SD card .
> When the beaglebone board powers up,  the default configuration of Uboot 
> takes the kernel at /boot/uImage but the default filesystem generated by 
> buildroot  doesn't include the /boot directory.
> So, we change in menuconfig,  the option "Install kernel image to /boot 
> in target"
> 
> Then, the kernel is well loaded but the kernel tries to mount the root 
> filesystem, it doesn't find
> /dev/mmcblk0p2. The message is:
> "Waiting for root device /dev/mmcblk0p2 ..."
> 
> It seems that the only block peripherals detected were ram and loop but 
> not mmcblk

The kernel boot arguments (defined at the bootloader level) tell the
kernel that the root filesystem is in the second partition of the SD
card. Which apparently isn't the case since this device never shows up.
You should make your SD card has two partitions, the first one with the
bootloader, and the second one with the root filesystem.

Also, can you post the complete boot log, so that we can see in more
details what's going on?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  parent reply	other threads:[~2013-10-09 11:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09  9:17 [Buildroot] Booting problem for Beaglebone AUBERT alain
2013-10-09  9:37 ` Stephan Hoffmann
2013-10-09 11:55 ` Thomas Petazzoni [this message]
2013-10-09 15:15   ` AUBERT alain
2013-10-09 15:36     ` Thomas Petazzoni
2013-10-10  7:41       ` AUBERT alain
2013-12-23 15:08         ` Pierre Ficheux
2013-12-23 16:45           ` Thomas Petazzoni
2013-12-23 16:51             ` Pierre Ficheux
2013-12-23 21:47               ` Thomas Petazzoni

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=20131009135501.7a2df2f7@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