2011-09-13 23:06:11 +00:00
|
|
|
addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}"
|
2011-07-04 21:52:52 +00:00
|
|
|
actual_bank=-1
|
|
|
|
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}
|
2011-09-13 23:06:11 +00:00
|
|
|
configure=km_setboardid && saveenv && reset
|
2011-07-04 21:52:52 +00:00
|
|
|
rootfsfile=${hostname}/rootfsImage
|
|
|
|
setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
|
|
|
|
tftpkernel=tftpboot ${load_addr_r} ${hostname}/uImage
|
|
|
|
tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
|