Holger Brunck | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 1 | altbootcmd=run ${subbootcmds} |
| 2 | bootcmd=run ${subbootcmds} |
Holger Brunck | 83ce745 | 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 | e7bec9b | 2011-07-04 21:52:52 +0000 | [diff] [blame] | 4 | subbootcmds=tftpfdt tftpkernel nfsargs add_default boot |
Holger Brunck | 1649df0 | 2011-12-14 06:11:50 +0000 | [diff] [blame] | 5 | nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch} |
Tobias Müller | c8072a0 | 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 | 1649df0 | 2011-12-14 06:11:50 +0000 | [diff] [blame] | 8 | toolchain=/opt/eldk |
Andreas Huber | 28c63c7 | 2011-09-13 23:06:11 +0000 | [diff] [blame] | 9 | rootfssize=0 |
Andreas Huber | 2ffe111 | 2013-01-21 03:55:21 +0000 | [diff] [blame] | 10 | set_uimage=printenv uimage || setenv uimage uImage |
Holger Brunck | fb379f7 | 2020-01-10 12:55:41 +0100 | [diff] [blame] | 11 | set_tftppath=if test ${hostname} = kmcoge5un; then setenv tftppath CI5UN; else if test ${hostname} = kmcoge5ne; then setenv tftppath CI5NE; else setenv tftppath ${IVM_Symbol}; fi; fi |
Matteo Ghidoni | 35de032 | 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 |