uboot使用脚本

使用mkimage命令

# mkimage -A ARM -O linux -T script -C none -n "script" -d *.sh *.img
# tftp xxx *.img
# source xxx

脚本中可以设置env变量值

posted @ 2016-07-25 23:58  thomas_blog  阅读(414)  评论(0编辑  收藏  举报