develop-common.txt 1.1 KB

123456789101112
  1. altbootcmd=run ${subbootcmds}
  2. bootcmd=run ${subbootcmds}
  3. configure=run set_uimage; run set_tftppath; km_setboardid && run try_import_nfs_path && saveenv && reset
  4. subbootcmds=tftpfdt tftpkernel nfsargs add_default boot
  5. nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${toolchain}/${arch}
  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}
  8. toolchain=/opt/eldk
  9. rootfssize=0
  10. set_uimage=printenv uimage || setenv uimage uImage
  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
  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