2011-09-13 23:06:11 +00:00
|
|
|
addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}"
|
2013-07-04 13:37:34 +00:00
|
|
|
boot_bank=-1
|
2011-07-04 21:52:52 +00:00
|
|
|
altbootcmd=run ${subbootcmds}
|
|
|
|
bootcmd=run ${subbootcmds}
|
|
|
|
subbootcmds=tftpfdt tftpkernel setrootfsaddr tftpramfs flashargs add_default addpanic addramfs boot
|
|
|
|
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath}
|
2013-01-21 03:55:21 +00:00
|
|
|
configure=run set_uimage; km_setboardid && saveenv && reset
|
2011-07-04 21:52:52 +00:00
|
|
|
rootfsfile=${hostname}/rootfsImage
|
|
|
|
setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
|
2013-01-21 03:55:21 +00:00
|
|
|
tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
|
2011-07-04 21:52:52 +00:00
|
|
|
tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
|
2013-01-21 03:55:21 +00:00
|
|
|
set_uimage=printenv uimage || setenv uimage uImage
|