PDA

View Full Version : my custom bootargs inside - just for info



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

ManikM
25-06-2011, 01:46 PM
what this is saying is that when i switch my machine on, the default boot is FLASH mem, and if i leave it for a few seconds, it loads the original firmware...

if i hit the up arrow on my remote, it takes me through the menus on the VFD display...which i have edited, so choice 1 is

"Boot Flash"

choice 2 is SDA2 AAF (and u can see its going of to a partition on my hdd called SDA2 to boot the e2 image ive installed there)

choice 3 is SDA3 HDF (same but for a different images ive installed on SDA3

etc etc

SDA1 is the BIG area ive created for recordings (this is when u have to format the disk, if u want e2 running off the internal HDD)

SDA is internal HDD
SDB is USB