summaryrefslogtreecommitdiff
path: root/board/boundary/nitrogen6x/6x_bootscript.txt
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2013-02-01 17:18:59 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2013-02-03 11:42:40 -0700
commitc1e8a14f2365679da3a2ab2a5d93be7dc0e52531 (patch)
treee4fa0ae39035674c4d5ade23033ce4a5e32bfcd5 /board/boundary/nitrogen6x/6x_bootscript.txt
parentf3edd864b4944be3170dba9adab8b535637dfb24 (diff)
nitrogen6x: Update 6x_bootscript for use on SATA drive
Diffstat (limited to 'board/boundary/nitrogen6x/6x_bootscript.txt')
-rw-r--r--board/boundary/nitrogen6x/6x_bootscript.txt11
1 files changed, 8 insertions, 3 deletions
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"