0%

Setup TFTPboot and NFS

Setup TFTPboot and NFS for u-boot-2010.06

boot.cmd
1
2
3
4
5
6
7
8
9
setenv bootdelay 4
setenv baudrate 115200
setenv autoload no
setenv bootfile uImage
setenv serverip 192.168.0.1
setenv ipaddr 192.168.0.2
setenv bootargs console=ttyO0,115200n8 rootdelay=3 rootwait rw mem=364M@0x80000000 mem=324M@0x9F900000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 root=/dev/nfs nfsroot=${serverip}:/development/ti-ezsdk_dm814x-evm_5_04_00_11/targetfs ip=${ipaddr}
setenv bootcmd 'tftpboot;bootm'
boot

After that, run mkimage to build boot.scr from boot.cmd on your host machine:

1
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n 'Execute Boot Script' -d boot.cmd boot.scr

mkimage is an executable that is built with u-boot (./your_u-boot_dir/tools/mkimage)