From c1e8a14f2365679da3a2ab2a5d93be7dc0e52531 Mon Sep 17 00:00:00 2001 From: Eric Nelson Date: Fri, 1 Feb 2013 17:18:59 -0700 Subject: nitrogen6x: Update 6x_bootscript for use on SATA drive --- board/boundary/nitrogen6x/6x_bootscript.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'board/boundary/nitrogen6x/6x_bootscript.txt') diff --git a/board/boundary/nitrogen6x/6x_bootscript.txt b/board/boundary/nitrogen6x/6x_bootscript.txt index fe7597686fb..061b3a44b5a 100644 --- a/board/boundary/nitrogen6x/6x_bootscript.txt +++ b/board/boundary/nitrogen6x/6x_bootscript.txt @@ -52,7 +52,12 @@ while test "3" -ne $nextcon ; do done setenv bootargs $bootargs $fbmem +setenv bootargs "$bootargs console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait" -setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 ; -${fs}load mmc ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; echo "Error loading kernel image" - +if test "sata" = "${dtype}" ; then + setenv bootargs "$bootargs root=/dev/sda1" ; +else + setenv "bootargs $bootargs root=/dev/mmcblk0p1" ; +fi +${fs}load ${dtype} ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; +echo "Error loading kernel image" -- cgit v1.2.3