From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SaA5n-0005Hq-3B for barebox@lists.infradead.org; Thu, 31 May 2012 18:27:27 +0000 Date: Thu, 31 May 2012 20:27:24 +0200 From: Sascha Hauer Message-ID: <20120531182724.GA30400@pengutronix.de> References: <4FBD05B8.40001@crane-soft.de> <20120524195543.GB30400@pengutronix.de> <4FBF5268.1040900@crane-soft.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4FBF5268.1040900@crane-soft.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Booting PhyTec PCM043/IMX35 from USB/SD-Card To: "Peter Kuennemann@Crane-Soft" Cc: barebox@lists.infradead.org Hi Peter, On Fri, May 25, 2012 at 11:35:36AM +0200, Peter Kuennemann@Crane-Soft wrote: > > > To have kernel in flash and rootfs on MMC i tried bootargs as: > > ... root=/dev/mmcblk0p1 rootfstype=ext2 rootflags=noatime rw noinitrd rootwait .. > > and it boots the kernel properly from flash up to: > ... > mmcblk0: mmc0:a95c SD01G 968 MiB <== Recognized the sd card > mmcblk0: p1 <== and partion 1 > ... > 1f00 256 mtdblock0 (driver?) > 1f01 128 mtdblock1 (driver?) > 1f02 2048 mtdblock2 (driver?) > 1f03 30336 mtdblock3 (driver?) > 1f04 1048576 mtdblock4 (driver?) > b300 992000 mmcblk0 driver: mmcblk > b301 991585 mmcblk0p1 <=== Something missing here? > No filesystem could mount root, tried: ext2 <=== > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1) <=== > > The mmc does contain a ext2 filesystem with the proper rootfs copied from > the jffs2.image that I mounted under Ubuntu as loop device. The kernel has ext2 fs > support compiled in. > > The rootfs on the mmc is properly accessible when booting kernel and flash footfs > on the very same platform. Has this been solved in the mean time? The above looks correct, I have no idea what's wrong. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox