Part Number: EVMK2H
Tool/software: Linux
I followed another thread here on how to make the board boot from tftpboot and use the targetNFS folder as the filesystem here: e2e.ti.com/.../1883525
This is my printenv output:
TCI6638 EVM # printenv addr_fdt=0x87000000 addr_fs=0x82000000 addr_kern=0x88000000 addr_mon=0x0c5f0000 addr_ubi=0x82000000 addr_uboot=0x87000000 args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1 args_net=setenv bootargs ${bootargs} rootfstype=nfs root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},${nfs_options} ip=192.168.1.10:192.168.1.7:192.168.1.1:255.255.255.0::eth0:off args_ramfs=setenv bootargs ${bootargs} earlyprintk rdinit=/sbin/init rw root=/dev/ram0 initrd=0x802000000,9M args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048 args_uinitrd=setenv bootargs ${bootargs} earlyprintk rdinit=/sbin/init rw root=/dev/ram0 baudrate=115200 boot=net bootcmd=run init_${boot} get_fdt_${boot} get_mon_${boot} get_kern_${boot} run_mon run_kern bootdelay=3 bootfile=uImage burn_ubi=nand erase.part ubifs; nand write ${addr_ubi} ubifs ${filesize} burn_uboot=sf probe; sf erase 0 0x100000; sf write ${addr_uboot} 0 ${filesize} ethact=TCI6638_EMAC ethaddr=b4:99:4c:b2:ff:cc fdt_high=0xffffffff get_fdt_net=tftpboot 0x87000000 /tftpboot/keystone-k2hk-evm.dtb get_fdt_ramfs=dhcp ${addr_fdt} ${tftp_root}/${name_fdt} get_fdt_ubi=ubifsload ${addr_fdt} ${name_fdt} get_fdt_uinitrd=dhcp ${addr_fdt} ${tftp_root}/${name_fdt} get_fs_ramfs=dhcp ${addr_fs} ${tftp_root}/${name_fs} get_fs_uinitrd=dhcp ${addr_fs} ${tftp_root}/${name_uinitrd} get_kern_net=tftpboot 0x88000000 /tftpboot/zImage-k2hk-evm.bin get_kern_ramfs=dhcp ${addr_kern} ${tftp_root}/${name_kern} get_kern_ubi=ubifsload ${addr_kern} ${name_kern} get_kern_uinitrd=dhcp ${addr_kern} ${tftp_root}/${name_kern} get_mon_net=tftpboot 0x0c5f0000 /tftpboot/skern-k2hk.bin get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon} get_mon_ubi=ubifsload ${addr_mon} ${name_mon} get_mon_uinitrd=dhcp ${addr_mon} ${tftp_root}/${name_mon} get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi} get_uboot_net=dhcp ${addr_uboot} ${tftp_root}/${name_uboot} has_mdio=0 init_net=run set_fs_none args_all args_net init_ramfs=run set_fs_none args_all args_ramfs get_fs_ramfs init_ubi=run set_fs_none args_all args_ubi; ubi part ubifs; ubifsmount boot init_uinitrd=run set_fs_uinitrd args_all args_uinitrd get_fs_uinitrd initrd_high=0xffffffff ipaddr=192.168.1.10 mem_lpae=1 mem_reserve=512M mtdparts=mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,129536k(ubifs) name_fdt=keystone-k2hk-evm.dtb name_fs=k2-fw-initrd.cpio.gz name_kern=zImage-k2hk-evm.bin name_mon=skern-k2hk.bin name_ubi=tisdk-server-rootfs-image-k2hk-evm.ubi name_uboot=u-boot-spi-k2hk-evm.gph name_uinitrd=uinitrd.bin nfs_options=v3,tcp,rsize=4096,wsize=4096 nfs_root=/targetNFS no_post=1 run_kern=bootm ${addr_kern} ${addr_uinitrd} ${addr_fdt} run_mon=mon_install ${addr_mon} serverip=192.168.1.7 set_fs_none=setenv addr_uinitrd - set_fs_uinitrd=setenv addr_uinitrd ${addr_fs} stderr=serial stdin=serial stdout=serial tftp_root=/tftpboot ver=U-Boot 2013.01-00004-g0c2f8a2 (Aug 16 2013 - 19:04:15) Environment size: 3075/262140 bytes
This is what I get when I boot:
U-Boot SPL 2013.01-00004-g0c2f8a2 (Aug 16 2013 - 19:04:15) SF: Detected N25Q128A with page size 64 KiB, total 16 MiB U-Boot 2013.01-00004-g0c2f8a2 (Aug 16 2013 - 19:04:15) I2C: ready DRAM: 2 GiB NAND: 512 MiB Net: TCI6638_EMAC, TCI6638_EMAC1 Hit any key to stop autoboot: 0 Using TCI6638_EMAC device TFTP from server 192.168.1.7; our IP address is 192.168.1.10 Filename '/tftpboot/keystone-k2hk-evm.dtb'. Load address: 0x87000000 Loading: ########### 1.1 MiB/s done Bytes transferred = 54059 (d32b hex) Using TCI6638_EMAC device TFTP from server 192.168.1.7; our IP address is 192.168.1.10 Filename '/tftpboot/skern-k2hk.bin'. Load address: 0xc5f0000 Loading: ####### 942.4 KiB/s done Bytes transferred = 32832 (8040 hex) Using TCI6638_EMAC device TFTP from server 192.168.1.7; our IP address is 192.168.1.10 Filename '/tftpboot/zImage-k2hk-evm.bin'. Load address: 0x88000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################### 1.2 MiB/s done Bytes transferred = 3440432 (347f30 hex)
It stops after that, I did chmod 777 and chown nobody for the targetNFS folder just like the script does for tftpboot. How do I get the board to boot from tftpboot and use the targetNFS as the filesystem?