U-boot
U-boot ・メモリーカードのテキストファイルから環境変数を読み込む
テキストファイル(uEnv.txt)
test1=a
test2=b
読み込み
bootenv=uEnv.txt
loadaddr=0x00200000
mmcdev=0
U-Boot> fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
reading uEnv.txt
17 bytes read in 22410 ms (0 Bytes/s)
U-Boot> env import -t $loadaddr $filesize
U-Boot> printenv test1
test1=a
U-Boot> printenv test2
test2=b