Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Torsten Mohr <tmohr@s.netic.de>
To: buildroot@busybox.net
Subject: [Buildroot] BeagleBoard-xM, booting 2.6.37, root=/dev/mmcblk0p2, kernel hangs
Date: Wed, 23 Mar 2011 23:19:35 +0100	[thread overview]
Message-ID: <201103232319.36024.tmohr@s.netic.de> (raw)
In-Reply-To: <4D8A6970.8080208@gmail.com>

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

  reply	other threads:[~2011-03-23 22:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-23 21:00 [Buildroot] BeagleBoard-xM, booting 2.6.37, root=/dev/mmcblk0p2, kernel hangs Torsten Mohr
2011-03-23 21:33 ` bruce bushby
2011-03-23 22:10   ` Torsten Mohr
2011-03-23 22:53     ` bruce bushby
2011-03-23 23:31       ` Steve Calfee
2011-03-23 23:38         ` bruce bushby
2011-03-23 21:43 ` Steve Calfee
2011-03-23 22:19   ` Torsten Mohr [this message]
2011-03-24 21:19 ` [Buildroot] [beagleboard] " Torsten Mohr

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=201103232319.36024.tmohr@s.netic.de \
    --to=tmohr@s.netic.de \
    --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