Skip to content

Instantly share code, notes, and snippets.

@cdcs
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdcs/76c4dd49c2d574bd68cc to your computer and use it in GitHub Desktop.
Save cdcs/76c4dd49c2d574bd68cc to your computer and use it in GitHub Desktop.
### BBB : Configuration
ipaddr=192.168.0.202
serverip=192.168.0.2
netmask=255.255.255.0
### XKY-OS : Configuration
baseaddr=0x81000000
application=/XKYAPP2
### Boot BBB from network
nfsargs=setenv bootargs console=${console} root=/dev/nfs nfsroot=${serverip}:${rootpath} rw ip=${ipaddr}:${serverip}:${serverip}:${netmask}::eth0:off
xkyboot=run nfsargs; tftp ${baseaddr} ${application}; bootm ${baseaddr}
uenvcmd=run xkyboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment