diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-10-10 08:31:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-10-10 08:31:06 +0200 |
commit | db9c78d57949cdd4c2c019eba9bd193c3171eb4d (patch) | |
tree | 79234eed17e54e07d38214b0186e05f775f220d9 /arch/arm/boards/highbank/defaultenv-highbank/boot | |
parent | c80ba33cbe1eb2331a0544d0f553d73e091bb322 (diff) | |
parent | 790980bf18af13f5d72a31b49febd7086cf307af (diff) | |
download | barebox-db9c78d57949cdd4c2c019eba9bd193c3171eb4d.tar.gz barebox-db9c78d57949cdd4c2c019eba9bd193c3171eb4d.tar.xz |
Merge branch 'for-next/defenv'
Diffstat (limited to 'arch/arm/boards/highbank/defaultenv-highbank/boot')
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" |