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

usb -f
ethact eth1

if [ $? -ne 0 ]; then
	echo "ERROR: usb ethernet not found"
	exit 1
fi

path="/mnt/tftp"

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"