Advertisement
RobertBerger

phyboard-mira-imx6-3-6 /env/boot/net

Jul 17th, 2022
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. cat /env/boot/net
  2. #!/bin/sh
  3.  
  4. path="/mnt/nfs/boot"
  5.  
  6. #global.bootm.image="${path}/${global.user}-linux-${global.hostname}"
  7. global.bootm.image="${path}/zImage"
  8.  
  9. #..oftree="${path}/${global.user}-oftree-${global.hostname}"
  10. oftree="${path}/zImage-imx6q-phytec-mira-rdk-nand.dtb"
  11. if [ -f "${oftree}" ]; then
  12. global.bootm.oftree="$oftree"
  13. fi
  14.  
  15. #nfsroot="/home/${global.user}/nfsroot/${global.hostname}"
  16. nfsroot="${global.net.server}:/opt/poky/mira-rootfs"
  17.  
  18. ip_route_get -b ${global.net.server} global.linux.bootargs.dyn.ip
  19.  
  20. #.global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,vers=3,tcp"
  21. global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot,v3,tcp"
  22. #global.linux.bootargs.dyn.root="root=/dev/nfs nfsroot=$nfsroot"
  23.  
  24. [ -e /env/config-expansions ] && /env/config-expansions
  25.  
  26. if [ -e /env/expansions/dt-overlays ] ; then
  27. global overlays.path="/mnt/nfs/overlays"
  28. /env/expansions/dt-overlays
  29. fi
  30. barebox@PHYTEC phyCORE-i.MX6 Quad with NAND:/
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement