Andreas Huber | 28c63c7 | 2011-09-13 23:06:11 +0000 | [diff] [blame] | 1 | addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}" |
Andreas Huber | e0d1111 | 2013-07-04 15:37:34 +0200 | [diff] [blame] | 2 | boot_bank=-1 |
Holger Brunck | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 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} |
Gerlando Falauto | 18a74ec | 2014-01-27 16:58:28 +0100 | [diff] [blame] | 10 | tftpfdt=if run set_fdthigh || test ${arch} != arm; then tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb; else true; fi |
Andreas Huber | 2ffe111 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 11 | tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage} |
Holger Brunck | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 12 | tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage |
Andreas Huber | 2ffe111 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 13 | set_uimage=printenv uimage || setenv uimage uImage |