ManikM
25-06-2011, 01:41 PM
hdd=vfd "Check USB";if usb reset;set root /dev/sda;then if fatload usb 0:1 a4000000 hdd;then set root /dev/sdb;fi;fi;
e2=vfd "Boot Enigma2";set bootargs "console=ttyAS1,115200 root=$root$fs rw rootdelay=10 ip=$ipaddr:$serverip:$gatewayip:$ netmask mem=128m init=/bin/devinit coprocessor_mem=4m@0x10000000,4m@ 0x10400000 nwhwconf=$nwhwnet";bootm a5000000
flash=vfd "Boot Flash";set bootargs "console=ttyAS1,115200 root=/dev/mtdblock3 rootfstype=squashfs $ipaddrcfg::$serverip:$netmask:HD Box::off nwhwconf=$nwhwnet bigphysarea=4060 stmmaceth=msglvl:0,watchdog:4000, rxsize:16"; bootm a0300000
gatewayip=192.168.0.1
ethaddr=00xxxxxxxxx
hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr
bootcmd=bootmenu $menutimeout $default
bootdesc_0= FLASH
bootcmd_0=run hwnfconf;run ipconf; run bootargs_0;bootm a0300000
bootargs_0=setenv bootargs console=ttyAS1,115200 root=/dev/mtdblock3 rootfstype=squashfs ip=$netcfg nwhwconf=$nwhwnet bigphysarea=4060 stmmaceth=msglvl:0,watchdog:4000, rxsize:16 loglevel=0
bootdesc_1=SDA2 AAF
bootcmd_1=ide reset; sleep 3; ext2load ide 0:2 a5000000 /boot/uImage; run bootargs_1; bootm a5000000
bootargs_1=set bootargs console=ttyAS1,115200 root=/dev/sda2 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_2=SDA3 HDF
bootcmd_2=ide reset; sleep 3; ext2load ide 0:3 a5000000 /boot/uImage; run bootargs_2; bootm a5000000
bootargs_2=set bootargs console=ttyAS1,115200 root=/dev/sda3 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_3= USB1
bootcmd_3=usb reset; sleep 3; ext2load usb 0:1 a5000000 /boot/uImage; run bootargs_3; bootm a5000000
bootargs_3=set bootargs console=ttyAS1,115200 root=/dev/sdb1 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_4= USB2
bootcmd_4=usb reset; sleep 3; ext2load usb 0:2 a5000000 /boot/uImage; run bootargs_4; bootm a5000000
bootargs_4=set bootargs console=ttyAS1,115200 root=/dev/sdb2 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_5= USB3
bootcmd_5=usb reset; sleep 3; ext2load usb 0:3 a5000000 /boot/uImage; run bootargs_5; bootm a5000000
bootargs_5=set bootargs console=ttyAS1,115200 root=/dev/sdb3 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_6= USB4
bootcmd_6=usb reset; sleep 3; ext2load usb 0:4 a5000000 /boot/uImage; run bootargs_6; bootm a5000000
bootargs_6=set bootargs console=ttyAS1,115200 root=/dev/sdb4 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_7= E2-FLASH
bootcmd_7=run bootargs_7;bootm a0040000
bootargs_7=set bootargs console=ttyAS1,115200 root=/dev/mtdblock2 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinitdefault=0
menutimeout=2000
ipaddr=192.168.0.7
serverip=192.168.0.1
gateway=192.168.0.1
netmask=255.255.255.0
dnsip=194.168.4.100
e2=vfd "Boot Enigma2";set bootargs "console=ttyAS1,115200 root=$root$fs rw rootdelay=10 ip=$ipaddr:$serverip:$gatewayip:$ netmask mem=128m init=/bin/devinit coprocessor_mem=4m@0x10000000,4m@ 0x10400000 nwhwconf=$nwhwnet";bootm a5000000
flash=vfd "Boot Flash";set bootargs "console=ttyAS1,115200 root=/dev/mtdblock3 rootfstype=squashfs $ipaddrcfg::$serverip:$netmask:HD Box::off nwhwconf=$nwhwnet bigphysarea=4060 stmmaceth=msglvl:0,watchdog:4000, rxsize:16"; bootm a0300000
gatewayip=192.168.0.1
ethaddr=00xxxxxxxxx
hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr
bootcmd=bootmenu $menutimeout $default
bootdesc_0= FLASH
bootcmd_0=run hwnfconf;run ipconf; run bootargs_0;bootm a0300000
bootargs_0=setenv bootargs console=ttyAS1,115200 root=/dev/mtdblock3 rootfstype=squashfs ip=$netcfg nwhwconf=$nwhwnet bigphysarea=4060 stmmaceth=msglvl:0,watchdog:4000, rxsize:16 loglevel=0
bootdesc_1=SDA2 AAF
bootcmd_1=ide reset; sleep 3; ext2load ide 0:2 a5000000 /boot/uImage; run bootargs_1; bootm a5000000
bootargs_1=set bootargs console=ttyAS1,115200 root=/dev/sda2 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_2=SDA3 HDF
bootcmd_2=ide reset; sleep 3; ext2load ide 0:3 a5000000 /boot/uImage; run bootargs_2; bootm a5000000
bootargs_2=set bootargs console=ttyAS1,115200 root=/dev/sda3 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_3= USB1
bootcmd_3=usb reset; sleep 3; ext2load usb 0:1 a5000000 /boot/uImage; run bootargs_3; bootm a5000000
bootargs_3=set bootargs console=ttyAS1,115200 root=/dev/sdb1 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_4= USB2
bootcmd_4=usb reset; sleep 3; ext2load usb 0:2 a5000000 /boot/uImage; run bootargs_4; bootm a5000000
bootargs_4=set bootargs console=ttyAS1,115200 root=/dev/sdb2 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_5= USB3
bootcmd_5=usb reset; sleep 3; ext2load usb 0:3 a5000000 /boot/uImage; run bootargs_5; bootm a5000000
bootargs_5=set bootargs console=ttyAS1,115200 root=/dev/sdb3 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_6= USB4
bootcmd_6=usb reset; sleep 3; ext2load usb 0:4 a5000000 /boot/uImage; run bootargs_6; bootm a5000000
bootargs_6=set bootargs console=ttyAS1,115200 root=/dev/sdb4 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=5 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinit
bootdesc_7= E2-FLASH
bootcmd_7=run bootargs_7;bootm a0040000
bootargs_7=set bootargs console=ttyAS1,115200 root=/dev/mtdblock2 rw mem=128m ip=${ipaddr}:${serverip}:${gatewa yip}:${netmask}:at7000:eth0:off coprocessor_mem=4m@0x10000000,4m@ 0x10400000 rootdelay=0 nwhwconf=device:eth0,hwaddr:${eth addr} init=/bin/devinitdefault=0
menutimeout=2000
ipaddr=192.168.0.7
serverip=192.168.0.1
gateway=192.168.0.1
netmask=255.255.255.0
dnsip=194.168.4.100