CASset=min MALLOC_len=5 Ubootver=5.0.0 autoload=no baudrate=115200 board_dtb=armada-370-n090103.dtb boot_fail=lump bootargs=console=ttyS0,115200 bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none bootargs_root=root=/dev/nfs rw bootcmd=run nexus_boot bootdelay=3 cacheShare=no console=console=ttyS0,115200 disL2Cache=yes disaMvPnp=no disk_expand=if test "$disk" = ide,0; then disk_iface=ide; disk_num=0; elif test "$disk" = ide,1; then disk_iface=ide; disk_num=1; else echo Invalid disk string: ${disk}; fi disk_list=ide,0 ide,1 dtb_addr=0x6000000 eeeEnable=no enaAutoRecovery=yes enaClockGating=no enaFPU=no enaWrAllo=no eth1addr=00:10:75:56:B7:98 eth1mtu=1500 ethact=egiga1 ethaddr=00:10:75:56:B7:98 ethmtu=1500 ethprime=egiga0 fdt_high=0xffffffff fdtaddr=0x1000000 fdtfile=armada_xp_db.dtb gatewayip=192.168.0.1 image_name=uImage initrd_name=uInitrd ipaddr=192.168.192.76 kern_addr=0x2000000 loadaddr=0x02000000 loads_echo=0 mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500 mv_pon_addr=00:50:43:00:00:02 ncip=192.168.192.126 netbsd_en=no netmask=255.255.255.0 netretry=no nexus_boot=test -n ${resetFlag_env} && forced=${resetFlag_env}; for disk in ${disk_list}; do run disk_expand; echo Booting Nexus OS from disk ${disk}...; countfail=0; bootfail=0; user=0; if run nexus_load_flags; then run nexus_rescue_countfail && countfail=1; run nexus_set_root; kern_img=/boot/uImage; dtb_img=/boot/target.dtb; test -n $board_dtb && dtb_img=/boot/$board_dtb; run nexus_load_image || bootfail=1; run nexus_rescue_user && user=1; if run nexus_can_boot; then run nexus_inc_count; run nexus_save_flags; run nexus_bootargs; bootm ${kern_addr} - ${dtb_addr}; bootfail=1; fi; run nexus_boot_rescue; fi; done; bootfail=1; countfail=; user=;run nexus_panic nexus_boot_part=2 nexus_boot_rescue=echo Booting Nexus rescue system from disk ${disk}...; root_part=2; kern_img=/rescue/uImage; dtb_img=/rescue/target.dtb; test -n $board_dtb && dtb_img=/rescue/$board_dtb; if run nexus_load_image; then if test -n ${panic}; then run nexus_uuid; setenv bootargs ${bootargs} root=UUID=${root_uuid}; else run nexus_bootargs; fi; run nexus_rescue_bootargs; bootm ${kern_addr} - ${dtb_addr}; fi nexus_bootargs=run nexus_uuid; setenv bootargs ${console} boot=UUID=${boot_uuid} root=UUID=${root_uuid} nexus_can_boot=test ${bootfail} -eq 0 -a ${countfail} -eq 0 -a ${forced} -eq 0 -a ${user} -eq 0 nexus_inc_count=if test ${boot_count} -eq 0; then setenv boot_count 1; elif test ${boot_count} -eq 1; then setenv boot_count 2; else setenv boot_count ${nexus_max_count}; fi nexus_load_flags=ext2get ${disk_iface} ${disk_num}:${nexus_nv_part} /ubootenv boot_count saved_entry nexus_load_image=ext2load ${disk_iface} ${disk_num}:${root_part} ${dtb_addr} ${dtb_img}; ext2load ${disk_iface} ${disk_num}:${root_part} ${kern_addr} ${kern_img} && iminfo ${kern_addr} nexus_max_count=3 nexus_nv_part=3 nexus_panic=panic=1; for disk in ${disk_list}; do run disk_expand; run nexus_boot_rescue; done nexus_rescue_bootargs=test -n ${bootfail} && setenv bootargs bootfail=${bootfail} ${bootargs}; test -n ${countfail} && setenv bootargs countfail=${countfail} ${bootargs}; test -n ${user} && setenv bootargs user=${user} ${bootargs}; test -n ${forced} && setenv bootargs forced=${forced} ${bootargs} nexus_rescue_countfail=test ${boot_count} -ge ${nexus_max_count} nexus_rescue_user=ext2get ${disk_iface} ${disk_num}:3 /ubootenv rescue && test ${rescue} -eq 1 nexus_save_flags=ext2set ${disk_iface} ${disk_num}:${nexus_nv_part} /ubootenv boot_count ${boot_count} nexus_set_root=if test $saved_entry -eq 1; then root_part=5; else root_part=4; fi nexus_uuid=ext2uuid ${disk_iface} ${disk_num}:${nexus_boot_part}; boot_uuid=${uuid}; ext2uuid ${disk_iface} ${disk_num}:${root_part}; root_uuid=${uuid} pcieTune=no pexMode=rc pre_lump=lump 1 product_serial=NZ320D29 pxe_files_load=:default.arm-armada370-db:default.arm-armadaxp:default.arm pxefile_addr_r=3100000 rcvrip=169.254.100.100 resetFlag_env=0 resetdisk=hdd start; ide reset; run usbstart rootpath=/srv/oneiric sata_delay_reset=0 sata_dma_mode=yes serverip=192.168.192.126 standalone=fsload 0x2000000 $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000; start_lump=lump 3 stderr=serial stdin=nc stdout=nc uboot_capabilities=gpt,lba64 usb0Mode=host usb1Mode=host usb2Mode=device usbActive=1 usbstart=gpio clear 59 vxworks_en=no yuk_ethaddr=00:00:00:EE:51:81