请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:66AK2H12 如何在 K2H 板上引导和运行(不闪烁)?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
要从 U-Boot 使用主机 PC 的 NFS 引导到 Linux、需要满足以下先决条件。
步骤
现在、请按照步骤操作。
//Load default environment variables # env default -f -a //If device(EVM) IP address is set through dhcp # setenv autoload no # dhcp //If device(EVM) IP address has to be set manually # setenv ipaddr 192.168.2.250 # setenv gatewayip 192.168.2.1 # setenv netmask 255.255.255.0 //set tftp serer ip # setenv serverip 192.168.2.252 # setenv bootcmd 'tftpboot 0x82000000 zImage-k2hk-evm;tftpboot 0x87000000 skern-k2hk.bin;mon_install 0x87000000;tftpboot 0x88000000 keystone-k2hk-evm.dtb;bootz 0x82000000 - 0x88000000' # setenv bootargs 'earlyprintk debug console=ttyS0,115200n8 ip=192.168.2.25:::::eth0:off rootwait=1 root=/dev/nfs nfsroot=192.168.2.21:/home/tidev/ti-processor-sdk-linux-k2hk-evm-06.03.00.106/targetNFS,v3,tcp rw' # saveenv //make local variables into environment variables # ping ${serverip} # boot
谢谢、
Ranjeet