我看了相关文档,是不是用在头文件中添加几个宏定义,再用make命令编译就好了,附ucl程序:
<CMD type="boot" body="BootStrap" file ="u-boot-1.bin" >Read from DDR script from U-Boot to init DDR Memory.</CMD>
<CMD type="load" file="uImage" address="0x70800000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Kernel.</CMD>
<CMD type="load" file="initramfs.cpio.gz.uboot" address="0x70B00000"
loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" >Doing Initramfs.</CMD>
<CMD type="jump" > Jumping to OS image. </CMD> |