blob: 8a8d2875587fc0f7c940c33dd01e1a6cb251148d [file] [log] [blame]
Andreas Huber28c63c72011-09-13 23:06:11 +00001addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}"
Holger Bruncke7bec9b2011-07-04 21:52:52 +00002actual_bank=-1
3altbootcmd=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}
Andreas Huber2ffe1112013-01-21 03:55:21 +000010tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
Holger Bruncke7bec9b2011-07-04 21:52:52 +000011tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
Andreas Huber2ffe1112013-01-21 03:55:21 +000012set_uimage=printenv uimage || setenv uimage uImage