summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/highbank/env/boot/net-eth1
blob: d9e9804a02c8add76a1deac20d095dc2dd9c1795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

if [ "$1" = menu ]; then
	boot-menu-add-entry "$0" "network (tftp, nfs) (eth1)"
	exit
fi

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"