5 if [ x
$1 = xflash
]; then
10 if [ x
$1 = xnet
]; then
15 if [ x
$ip = xdhcp
]; then
16 bootargs
="$bootargs ip=dhcp"
18 bootargs
="$bootargs ip=$eth0.ipaddr:$eth0.serverip:$eth0.gateway:$eth0.netmask:::"
21 if [ x
$root = xflash
]; then
22 bootargs
="$bootargs root=$rootpart rootfstype=jffs2"
24 bootargs
="$bootargs root=/dev/nfs nfsroot=$eth0.serverip:$nfsroot,v3,tcp"
27 bootargs
="$bootargs mtdparts=physmap-flash.0:$mtdparts"
29 if [ $kernel = net
]; then
30 if [ x
$ip = xdhcp
]; then
33 tftp
$uimage uImage ||
exit 1
36 bootm
/dev
/nor0.kernel