forked from rrcarlosr/Jetpack
14 lines
813 B
Plaintext
14 lines
813 B
Plaintext
|
addramfs=setenv bootargs "${bootargs} phram.phram=rootfs${boot_bank},${rootfsaddr},${rootfssize}"
|
||
|
boot_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}
|
||
|
configure=run set_uimage; km_setboardid && saveenv && reset
|
||
|
rootfsfile=${hostname}/rootfsImage
|
||
|
setrootfsaddr=setexpr value ${pnvramaddr} - ${rootfssize} && setenv rootfsaddr 0x${value}
|
||
|
tftpfdt=if run set_fdthigh || test ${arch} != arm; then tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb; else true; fi
|
||
|
tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
|
||
|
tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
|
||
|
set_uimage=printenv uimage || setenv uimage uImage
|