Holger Brunck | b648bfc | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 1 | altbootcmd=run ${subbootcmds} |
| 2 | bootcmd=run ${subbootcmds} |
Holger Brunck | d4348a8 | 2020-01-10 12:55:42 +0100 | [diff] [blame] | 3 | configure=run set_uimage; run set_tftppath; km_setboardid && run try_import_nfs_path && saveenv && reset |
Holger Brunck | b648bfc | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 4 | subbootcmds=tftpfdt tftpkernel nfsargs add_default boot |
Holger Brunck | d26982c | 2011-12-14 06:11:50 +0000 | [diff] [blame] | 5 | nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch} |
Tobias Müller | ef3f2f0 | 2015-11-13 16:15:22 +0100 | [diff] [blame] | 6 | 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 |
| 7 | tftpkernel=tftpboot ${load_addr_r} ${tftppath}/${uimage} |
Holger Brunck | d26982c | 2011-12-14 06:11:50 +0000 | [diff] [blame] | 8 | toolchain=/opt/eldk |
Andreas Huber | 2a7714c | 2011-09-13 23:06:11 +0000 | [diff] [blame] | 9 | rootfssize=0 |
Andreas Huber | d42a3b7 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 10 | set_uimage=printenv uimage || setenv uimage uImage |
Holger Brunck | 88383fd | 2022-08-15 08:35:11 +0200 | [diff] [blame] | 11 | set_tftppath=if test ${hostname} = kmcoge5ne; then setenv tftppath CI5NE; else setenv tftppath ${IVM_Symbol}; fi |
Matteo Ghidoni | aef04a8 | 2020-10-29 13:48:01 +0100 | [diff] [blame] | 12 | try_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 |