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