From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from lvps83-169-36-49.dedicated.hosteurope.de ([83.169.36.49] helo=knowtrek.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UuOsd-0003Ah-VQ for barebox@lists.infradead.org; Wed, 03 Jul 2013 15:22:05 +0000 Received: from [192.168.10.59] (p4FC11430.dip0.t-ipconnect.de [79.193.20.48]) by knowtrek.com (Postfix) with ESMTPSA id 4B63AC170007 for ; Wed, 3 Jul 2013 17:21:38 +0200 (CEST) Message-ID: <51D44181.6090503@knowtrek.com> Date: Wed, 03 Jul 2013 17:21:37 +0200 From: Adam Furmanczuk MIME-Version: 1.0 References: <51B0B2D6.3030407@knowtrek.com> In-Reply-To: <51B0B2D6.3030407@knowtrek.com> 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: set root variable for uImage? To: barebox@lists.infradead.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I restate this question from my previous thread "how to flash and set root variable". Thanks very much to Sascha and Alexander for introducing into barebox building and flashing. I have a basic scenario. Want to boot uImage and then hand over to the root partition. With u-Boot this was very easy: setenv bootargs "console=tty0 console=ttymxc0,115200n8 root=/dev/mmcblk0p3 rootfstype=ext4 rootwait ro" With barebox however, when I boot the uImage, it complains about not setting correct "root=".: [ 1.718527] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 1.726226] Please append a correct "root=" boot option; here are the available partitions: Now what i do in Barbox is the following; (hint enter to go into console) barebox@myhost:/ mkdir /media2 barebox@myhost:/ mount /dev/disk0.1 fat /media2 barebox@myhost:/ bootm /media2/uImage root=/dev/mmcblk0p3 rootfstype=ext4 I get the error with block (0,0). How can I change this? Thank you very much for help. Adam -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlHUQYEACgkQefEEI87R1DeRcgCfWcfsNWtj9vEjM+sTmoY/IafD hssAnRnylX3HQAuvPM/T1TduYZlrz2W2 =Wn6A -----END PGP SIGNATURE----- _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox