Andreas Huber | 28c63c7 | 2011-09-13 23:06:11 +0000 | [diff] [blame] | 1 | addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}" |
Holger Brunck | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 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} |
Andreas Huber | 2ffe111 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 7 | configure=run set_uimage; km_setboardid && saveenv && reset |
Holger Brunck | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 8 | rootfsfile=${hostname}/rootfsImage |
| 9 | setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value} |
Andreas Huber | 2ffe111 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 10 | tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage} |
Holger Brunck | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 11 | tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage |
Andreas Huber | 2ffe111 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 12 | set_uimage=printenv uimage || setenv uimage uImage |