2016-08-30 11 views
1

私はTFTPとNFSを使用してアームボードを使用していますが、スクリーンショットに示されているようにカーネルのロード時にスタックしてしまい、run uenvcmdを入力しなければなりません。 OKです。uEnv.txt内のuenvcmdは自動的に実行できません

# This uEnv.txt file can contain additional environment settings that you 
# want to set in U-Boot at boot time. This can be simple variables such 
# as the serverip or custom variables. The format of this file is: 
# variable=value 
# NOTE: This file will be evaluated after the bootcmd is run and the 
#  bootcmd must be set to load this file if it exists (this is the 
#  default on all newer U-Boot images. This also means that some 
#  variables such as bootdelay cannot be changed by this file since 
#  it is not evaluated until the bootcmd is run. 
autoload=no 
ipaddr=192.168.1.100 
serverip=192.168.1.13 
gatewayip=192.168.1.1 
staticip=${ipaddr}:${serverip}:${gatewayip}:255.255.255.0:::off 
bootpath=/tftpboot 
rootfspath=/opt/ti-processor-sdk-linux-rt-am57xx-evm-03.00.00.04/targetNFS 

#setting for kernel loading 
kernel_addr=0x82000000 
fdt_addr=0x88000000 

nfs_args=setenv bootargs console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=${serverip}:${rootfspath} ip=${staticip} 
load_zimage=tftp ${kernel_addr} ${bootpath}/zImage 
loadfdt=tftp ${fdt_addr} ${bootpath}/am572x-idk.dtb 
boot_zimage=bootz ${kernel_addr} - ${fdt_addr} 
uenvcmd=run load_zimage; run loadfdt; run nfs_args; run boot_zimage 

これらは、ここに貼り付けるには長すぎるuEnv.txt横にuboot.envと呼ばれる奇妙なファイルである、uboot.env

+0

あなたの環境では、 'bootcmd'(と何か関連するもの)は何になっていますか?おそらくこれは、存在しない/ boot/zImageをロードしようとしているものです。また、テキストをテキストとして投稿します。簡単に選択されコピーされた可能性がある端末内のテキストのスクリーンショットは使用不可能である。 – Notlikethat

+0

'uenvcmd = run load_zimage; loadfdtを実行します。 nfs_argsを実行します。 boot_zimage'を実行すると、それは私のuEnv.txtにあります –

+0

@入力が強調表示されているため、画像を表示しないテキストを強調することができません。 –

答えて

0

問題が解決:以下screenshot

は私uEnv.txtあるだけでファイルを削除uboot.env これはSDKのバグです。これをTIに報告します。ありがとう@Notlikethat

関連する問題