starfive-dubhe-fpga.h 981 B

12345678910111213141516171819202122232425
  1. #ifndef __CONFIG_H
  2. #define __CONFIG_H
  3. #define CFG_EXTRA_ENV_SETTINGS \
  4. "ipaddr=192.168.152.100\0" \
  5. "netmask=255.255.255.0\0" \
  6. "serverip=192.168.153.221\0" \
  7. "gatewayip=192.168.152.1\0" \
  8. "rootpath=/tftpboot/nfs\0" \
  9. "dubhe_boot=booti 0xa1000000 - 0xa0000000;\0" \
  10. "tftp_boot=tftp 0xa1000000 Image; tftp 0xa0000000 dubhe_fpga.dtb;" \
  11. "run dubhe_boot;\0" \
  12. "set_tty=setenv bootargs ${bootargs} " \
  13. "console=ttySIF0,115200 earlycon=sbi\0" \
  14. "set_ip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:" \
  15. "${gatewayip}:${netmask}:${hostname}:eth0:off\0" \
  16. "bootargs_nfs=setenv bootargs root=/dev/nfs rw rootwait " \
  17. "nfsroot=${serverip}:${rootpath},rw,tcp,v3," \
  18. "hard,sec=sys,local_lock=none," \
  19. "rsize=65536,wsize=65536," \
  20. "timeo=600,retrans=5\0" \
  21. "nfs_boot=run bootargs_nfs set_tty set_ip;" \
  22. "run tftp_boot;\0"
  23. #endif /* __CONFIG_H */