mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
![Tobias Müller](/assets/img/avatar_default.png)
Search for the kernel and DTBs in a folder named PRODUCTNAME (found in the IVM) at the TFTP server instead of the u-boot boardname. Signed-off-by: Tobias Müller <Tobias.Mueller@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by: Heiko Schocher <hs@denx.de>
11 lines
644 B
Plaintext
11 lines
644 B
Plaintext
altbootcmd=run ${subbootcmds}
|
|
bootcmd=run ${subbootcmds}
|
|
configure=run set_uimage; setenv tftppath ${IVM_Symbol} ; km_setboardid && saveenv && reset
|
|
subbootcmds=tftpfdt tftpkernel nfsargs add_default boot
|
|
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch}
|
|
tftpfdt=if run set_fdthigh || test ${arch} != arm; then if tftpboot ${fdt_addr_r} ${tftppath}/fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb; then; else tftpboot ${fdt_addr_r} ${tftppath}/${hostname}.dtb; fi; else true; fi
|
|
tftpkernel=tftpboot ${load_addr_r} ${tftppath}/${uimage}
|
|
toolchain=/opt/eldk
|
|
rootfssize=0
|
|
set_uimage=printenv uimage || setenv uimage uImage
|