From: AUBERT alain Date: Wed, 09 Oct 2013 17:15:13 +0200 Subject: [Buildroot] Booting problem for Beaglebone In-Reply-To: <20131009135501.7a2df2f7@skate> References: <52551F22.9090801@univ-st-etienne.fr> <20131009135501.7a2df2f7@skate> Message-ID: <52557301.8090808@univ-st-etienne.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Thomas , We have already done all steps of the building as you indicated in your mail The 2 partitions are visible in Uboot with correct pararmeters. We have done fatls mmc 0:1 and ext2ls mmc 0:2 to see the contents Moreover, we have done the same operation with buildroot 2012.05 and the beaglebone board works fine It seems that the problem comes from the use of Flattened devices tree in the new version of buildroot You can find the bootlog in the attached file Best regards Alain Le 09/10/2013 13:55, Thomas Petazzoni a ?crit : > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: bootlog Type: application/octet-stream Size: 10226 bytes Desc: not available URL: