blob: 9315500aff3ae3b3e0e9e76ad51377476da4b7a7 [file] [log] [blame]
Holger Brunckb648bfc2011-07-04 21:52:52 +00001addramfs=setenv bootargs "${bootargs} mem=${rootfsaddr} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}"
2actual_bank=-1
3altbootcmd=run ${subbootcmds}
4bootcmd=run ${subbootcmds}
5subbootcmds=tftpfdt tftpkernel setrootfsaddr tftpramfs flashargs add_default addpanic addramfs boot
6nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
7configure=km_setboardid && run setramfspram && saveenv && reset
8setramfspram=setexpr value 0 + ${rootfssize} && setexpr value 0x${value} / 0x400 && setexpr value 0x${value} + ${pram} && setenv pram 0x${value}
9rootfsfile=${hostname}/rootfsImage
10setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
11tftpkernel=tftpboot ${load_addr_r} ${hostname}/uImage
12tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage