mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 14:28:52 +09:00
![Andreas Huber](/assets/img/avatar_default.png)
'actual_bank' is not used anymore, instead boot_bank is used. Signed-off-by: Andreas Huber <andreas.huber@keymile.com>
13 lines
691 B
Plaintext
13 lines
691 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}
|
|
tftpkernel=tftpboot ${load_addr_r} ${hostname}/${uimage}
|
|
tftpramfs=tftpboot ${rootfsaddr} ${hostname}/rootfsImage
|
|
set_uimage=printenv uimage || setenv uimage uImage
|