blob: 1bdff2f908f8d5e7edb2501333b5c8dfdc190cde [file] [log] [blame]
Holger Brunckb648bfc2011-07-04 21:52:52 +00001altbootcmd=run ${subbootcmds}
2bootcmd=run ${subbootcmds}
Holger Brunckd4348a82020-01-10 12:55:42 +01003configure=run set_uimage; run set_tftppath; km_setboardid && run try_import_nfs_path && saveenv && reset
Holger Brunckb648bfc2011-07-04 21:52:52 +00004subbootcmds=tftpfdt tftpkernel nfsargs add_default boot
Holger Brunckd26982c2011-12-14 06:11:50 +00005nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch}
Tobias Mülleref3f2f02015-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 Brunckd26982c2011-12-14 06:11:50 +00008toolchain=/opt/eldk
Andreas Huber2a7714c2011-09-13 23:06:11 +00009rootfssize=0
Andreas Huberd42a3b72013-01-21 03:55:21 +000010set_uimage=printenv uimage || setenv uimage uImage
Holger Brunck88383fd2022-08-15 08:35:11 +020011set_tftppath=if test ${hostname} = kmcoge5ne; then setenv tftppath CI5NE; else setenv tftppath ${IVM_Symbol}; fi
Matteo Ghidoniaef04a82020-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