[Buildroot] BeagleBoard-xM, booting 2.6.37, root=/dev/mmcblk0p2, kernel hangs

Torsten Mohr tmohr at s.netic.de
Wed Mar 23 22:19:35 UTC 2011


Hello,

i first investigated the file:

file rootfs.ext2
rootfs.ext2: Linux rev 0.0 ext2 filesystem data

That is why i used "dd" to copy it.  Also, when i mount it at /dev/sdc2 on the 
host PC, i can see a perfect root file system on it.


Best regards,
Torsten.


Am Mittwoch, 23. März 2011, 22:43:12 schrieb Steve Calfee:
> On 03/23/11 14:00, Torsten Mohr wrote:
> > Hello,
> > 
> > i've set up a micro SD card with VFAT on partition 1, EXT2 on partition
> > 2.
> > 
> > Partition 2 is buildroot's output/images/rootfs.ext2, copied with "dd" to
> > the micro SD card.
> 
> Hi Torsten,
> 
> Are you sure you are doing the copy correctly?
> 
> sudo tar -xzf rootfs.tar.gz -C media/destination
> 
> Always works for me.
> 
> > On partition 1 i have u-boot and i start the kernel like this:
> > mmc init
> > mmc rescan 0
> > run loaduimage
> > bootm 0x82000000
> > 
> > Then i see the kernel boot log and i see it hanging:
> > 
> > [    1.215850] twl_rtc twl_rtc: setting system clock to 2000-01-01
> > 00:05:25 UTC (946685125)
> > [    1.226806] Waiting for root device /dev/mmcblk0p2...
> > [    1.369873] mmc0: host does not support reading read-only switch.
> > assuming write-enable.
> > [    1.389953] mmc0: new SDHC card at address e624
> > --->  no more output
> > 
> > 
> > I use buildroot-2011.02, the kernel is 2.6.37.
> > 
> > In the kernel configuration i have set:
> > 
> > TI OMAP Multimedia Card Interface support (MMC_OMAP)
> > TI OMAP High Speed Multimedia Card Interface support (MMC_OMAP_HS)
> > 
> > 
> > Can anybody give me a hint why the kernel does not continue to boot?
> 
> Thats a tough call with this little info. Here is part of my xm bootlog:
> 
> [    4.287384] mmc0: host does not support reading read-only switch.
> assuming wr
> ite-enable.
> [    4.298645] mmc0: new high speed SDHC card at address 1234
> [    4.307037] mmcblk0: mmc0:1234 SA04G 3.67 GiB
> [    4.318267]  mmcblk0: p1 p2 p3
> [    4.512725] usb 1-2.1: new high speed USB device using ehci-omap and
> address
> 3
> [    4.638244] usb 1-2.1: New USB device found, idVendor=0424,
> idProduct=ec00
> [    4.645538] usb 1-2.1: New USB device strings: Mfr=0, Product=0,
> SerialNumber
> =0
> [    4.658721] smsc95xx v1.0.4
> [    4.749145] smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at
> usb-ehci-omap.0-
> 2.1, smsc95xx USB 2.0 Ethernet, 8e:bc:ee:cc:8a:9b
> 
> Regards, Steve




More information about the buildroot mailing list