Andreas Huber | 2a7714c | 2011-09-13 23:06:11 +0000 | [diff] [blame] | 1 | addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}" |
Andreas Huber | d3379e2 | 2013-07-04 15:37:34 +0200 | [diff] [blame] | 2 | boot_bank=-1 |
Holger Brunck | b648bfc | 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 | d42a3b7 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 7 | configure=run set_uimage; km_setboardid && saveenv && reset |
Holger Brunck | b648bfc | 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 | b1c2a7a | 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 | d42a3b7 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 11 | tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage} |
Holger Brunck | b648bfc | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 12 | tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage |
Andreas Huber | d42a3b7 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 13 | set_uimage=printenv uimage || setenv uimage uImage |