blob: d79ad2e21b2c83863ca5eb476e5b07e9dbc95b65 [file] [log] [blame]
Andreas Huber28c63c72011-09-13 23:06:11 +00001addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}"
Andreas Hubere0d11112013-07-04 15:37:34 +02002boot_bank=-1
Holger Bruncke7bec9b2011-07-04 21:52:52 +00003altbootcmd=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}
Andreas Huber2ffe1112013-01-21 03:55:21 +00007configure=run set_uimage; km_setboardid && saveenv && reset
Holger Bruncke7bec9b2011-07-04 21:52:52 +00008rootfsfile=${hostname}/rootfsImage
9setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
Gerlando Falauto18a74ec2014-01-27 16:58:28 +010010tftpfdt=if run set_fdthigh || test ${arch} != arm; then tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb; else true; fi
Andreas Huber2ffe1112013-01-21 03:55:21 +000011tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
Holger Bruncke7bec9b2011-07-04 21:52:52 +000012tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
Andreas Huber2ffe1112013-01-21 03:55:21 +000013set_uimage=printenv uimage || setenv uimage uImage