blob: 1bdff2f908f8d5e7edb2501333b5c8dfdc190cde [file] [log] [blame]
Holger Bruncke7bec9b2011-07-04 21:52:52 +00001altbootcmd=run ${subbootcmds}
2bootcmd=run ${subbootcmds}
Holger Brunck83ce7452020-01-10 12:55:42 +01003configure=run set_uimage; run set_tftppath; km_setboardid && run try_import_nfs_path && saveenv && reset
Holger Bruncke7bec9b2011-07-04 21:52:52 +00004subbootcmds=tftpfdt tftpkernel nfsargs add_default boot
Holger Brunck1649df02011-12-14 06:11:50 +00005nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch}
Tobias Müllerc8072a02015-11-13 16:15:22 +01006tftpfdt=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
7tftpkernel=tftpboot ${load_addr_r} ${tftppath}/${uimage}
Holger Brunck1649df02011-12-14 06:11:50 +00008toolchain=/opt/eldk
Andreas Huber28c63c72011-09-13 23:06:11 +00009rootfssize=0
Andreas Huber2ffe1112013-01-21 03:55:21 +000010set_uimage=printenv uimage || setenv uimage uImage
Holger Brunck75e1bde2022-08-15 08:35:11 +020011set_tftppath=if test ${hostname} = kmcoge5ne; then setenv tftppath CI5NE; else setenv tftppath ${IVM_Symbol}; fi
Matteo Ghidoni35de0322020-10-29 13:48:01 +010012try_import_nfs_path=if tftpboot ${load_addr_r} ${tftppath}/nfs-path.txt; then env import -t ${load_addr_r} ${filesize}; else echo no auto nfs path imported; echo you can set nfsargs in /tftpboot/${tftppath}/nfs-path.txt and rerun develop; fi