summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/highbank/defaultenv-highbank/boot
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/highbank/defaultenv-highbank/boot')
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/boot/ahci16
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/boot/ahci-boot16
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/boot/mmc16
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/boot/mmc-boot16
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/boot/net13
-rw-r--r--arch/arm/boards/highbank/defaultenv-highbank/boot/net-eth113
6 files changed, 90 insertions, 0 deletions
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/boot/ahci b/arch/arm/boards/highbank/defaultenv-highbank/boot/ahci
new file mode 100644
index 0000000000..46a8c1b321
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/boot/ahci
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+path="/mnt/ahci"
+
+global.bootm.image="${path}/zImage"
+
+. /env/data/oftree
+
+oftree=${path}/oftree
+if [ -f $oftree ]; then
+ global.bootm.oftree="$oftree"
+fi
+
+# The rootdevice may actually be mmcblk1p2 if a card
+# is inserted to the back MMC slot
+global.linux.bootargs.dyn.root="root=/dev/sda2"
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/boot/ahci-boot b/arch/arm/boards/highbank/defaultenv-highbank/boot/ahci-boot
new file mode 100644
index 0000000000..919eac54a7
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/boot/ahci-boot
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+path="/mnt/ahci-boot"
+
+global.bootm.image="${path}/zImage"
+
+. /env/data/oftree
+
+oftree=${path}/oftree
+if [ -f $oftree ]; then
+ global.bootm.oftree="$oftree"
+fi
+
+# The rootdevice may actually be mmcblk1p2 if a card
+# is inserted to the back MMC slot
+global.linux.bootargs.dyn.root="root=/dev/sda2"
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/boot/mmc b/arch/arm/boards/highbank/defaultenv-highbank/boot/mmc
new file mode 100644
index 0000000000..0fff5b4a81
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/boot/mmc
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+path="/mnt/mmc"
+
+global.bootm.image="${path}/zimage"
+
+. /env/data/oftree
+
+oftree=${path}/oftree
+if [ -f $oftree ]; then
+ global.bootm.oftree="$oftree"
+fi
+
+# The rootdevice may actually be mmcblk1p2 if a card
+# is inserted to the back MMC slot
+global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2"
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/boot/mmc-boot b/arch/arm/boards/highbank/defaultenv-highbank/boot/mmc-boot
new file mode 100644
index 0000000000..f3ae301e1b
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/boot/mmc-boot
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+path="/mnt/mmc-boot"
+
+global.bootm.image="${path}/zimage"
+
+. /env/data/oftree
+
+oftree=${path}/oftree
+if [ -f $oftree ]; then
+ global.bootm.oftree="$oftree"
+fi
+
+# The rootdevice may actually be mmcblk1p2 if a card
+# is inserted to the back MMC slot
+global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2"
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/boot/net b/arch/arm/boards/highbank/defaultenv-highbank/boot/net
new file mode 100644
index 0000000000..6a700087fb
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/boot/net
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+ethact eth0
+
+path="/mnt/tftp"
+
+. /env/data/oftree
+
+global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
+#global.bootm.oftree="${path}/${global.user}-oftree-${global.hostname}"
+nfsroot="/home/${global.user}/nfsroot/${global.hostname}"
+bootargs-ip
+global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,v3,tcp"
diff --git a/arch/arm/boards/highbank/defaultenv-highbank/boot/net-eth1 b/arch/arm/boards/highbank/defaultenv-highbank/boot/net-eth1
new file mode 100644
index 0000000000..1c70bdf3f0
--- /dev/null
+++ b/arch/arm/boards/highbank/defaultenv-highbank/boot/net-eth1
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+ethact eth1
+
+path="/mnt/tftp"
+
+. /env/data/oftree
+
+global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
+#global.bootm.oftree="${path}/${global.user}-oftree-${global.hostname}"
+nfsroot="/home/${global.user}/nfsroot/${global.hostname}"
+bootargs-ip
+global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,v3,tcp"