当前位置: 首页 > 工具软件 > RK Boot > 使用案例 >

boot.src 编译生成

匡凌
2023-12-01

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 0
fatload mmc 0 0x81000000 uImage
bootm 0x81000000



 

 类似资料: