diff mbox

[v4,10/10] vexpress64: juno: use /dev/sda2

Message ID 1444407488-32646-11-git-send-email-ryan.harkin@linaro.org
State Accepted
Commit 492f24e886a032c56e16647e69e536edb2be8e5d
Headers show

Commit Message

Ryan Harkin Oct. 9, 2015, 4:18 p.m. UTC
This patch changes the default "root=" parameter to "/dev/sda2".

Many linux based distros use /dev/sda1 for their boot partition; this is
often not a rootfs that can be used by the "root=" parameter.

Linaro images use /dev/sda1 as a boot partition, although this of a
different nature to a distro image.  Linaro uses /dev/sda2 for the rootfs
partition.

Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/configs/vexpress_aemv8a.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Oct. 12, 2015, 3:18 p.m. UTC | #1
On Fri, Oct 09, 2015 at 05:18:08PM +0100, Ryan Harkin wrote:

> This patch changes the default "root=" parameter to "/dev/sda2".
> 
> Many linux based distros use /dev/sda1 for their boot partition; this is
> often not a rootfs that can be used by the "root=" parameter.
> 
> Linaro images use /dev/sda1 as a boot partition, although this of a
> different nature to a distro image.  Linaro uses /dev/sda2 for the rootfs
> partition.
> 
> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index 259f6ac..ef3014d 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -200,7 +200,7 @@ 
 
 /* Assume we boot with root on the first partition of a USB stick */
 #define CONFIG_BOOTARGS		"console=ttyAMA0,115200n8 " \
-				"root=/dev/sda1 rw " \
+				"root=/dev/sda2 rw " \
 				"rootwait "\
 				"earlyprintk=pl011,0x7ff80000 debug "\
 				"user_debug=31 "\