boot.src 编译生成

来源:互联网 发布:js提示return非法 编辑:程序博客网 时间:2024/05/21 09:02

Execute the following command to build boot.scr from boot.cmd

mkimage is an executable that is built with u-boot (.//tools/mkimage)

mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n ‘Execute Boot Script’ -d boot.cmd boot.scr


mkimage在uboot中的tools可以编译出来;

boot.cmd 可以参考(uboot启动参数配置):

setenv bootargs 'mem=128M mem=472M@0xC0000000 vmalloc=580M console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext3 rw ip=192.168.1.230:192.168.1.221:192.168.0.1:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBEE00000'mmc rescan 0fatload mmc 0 0x81000000 uImagebootm 0x81000000
0 0