Advertisement
Guest User

olinuxino-A20-micro-nfs

a guest
Aug 5th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.51 KB | None | 0 0
  1. setenv bootargs ' '
  2. setenv nfsargs 'setenv bootargs console=ttyS0,115200 root=/dev/nfs nfsroot=${serverip}:/home/nfs/arch mac_addr=${ethaddr}  ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::eth0:::'
  3. setenv bootcmd 'dhcp; run nfsargs;  nfs 0x43000000 ${serverip}:/home/nfs/arch/script.bin;  nfs 0x48000000$ ${serverip}:/home/nfs/arch/uImage; bootm 0x48000000'
  4.  
  5. setenv serverip 10.0.0.109 (in my case nfs server)
  6. setenv ethaddr 00:4e:56:a1:45:01 (the mac i choose)
  7. saveenv
  8. "/home/nfs/arch" is the path in my nfs server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement