一 烧写到Nand Flashblog
**1.1 **相关文件说明ip
l BSP版本:nuc970bsp-release-20150519.zipget
l NuWriter版本:2015/04/28-V01,nuvoTon Nu-Writer V1.0cmd
l 烧写文件:flash
u-boot-spl.bin:负责将u-boot.bin从Nand flash搬到DDR中执行。默认执行地址:0x200,可修改。it
u-boot.bin:u-boot程序,默认执行地址:0xE00000,在nand flash中的烧写地址:0x100000。变量
env.txt:u-boot环境变量,在Nand Flash中的烧写地址:0x80000。cli
970image.ub:Linux kernel。加载地址:0x7fc0;执行地址:0x8000;烧写地址:0x200000,可变要与u-boot环境参数一致,bootcmd=nboot 0x7fc0 0 0x200000;bootm 0x7fc0。程序
**1.2 **烧写举例im
1.烧写u-boot-spl.bin
Image Type:uBoot型
Image execute address: 0x200
2. 烧写 u-boot.bin
Image Type:Data型
Image start offset: 0x100000
3. 烧写U-Boot环境变量env.txt
Image Type:Environment型
Image start offset: 0x80000
4. 烧写kernel
Image Type:Data型
Image start offset: 0x200000
5.烧写yaffs2文件系统
1)制做yaffs2文件系统
mkyaffs2 -inband-tags -p 2048 rootfs rootfs_yaffs2.img
2)烧写yaffs2文件系统