2023/06/16 09:36
1、制作SD启动盘
dd pack-sd-writer.bin to SD card
2. Format SD card in windows
3. Put 'config' file and binary files to SD card
2、插入SD卡到开发板
设置启动为SD0卡启动
binary files:
可以用nuwriter unpack 编译好的pack文件,然后拷贝到启动盘里面
config文件(把下面内容拷贝到名字为config的空文件中,保存后拷贝到启动盘里面)
[TARGET]
//1. NUC972 2.NUC980 3.MA35D1
3
[TYPE]
//NUC972, NUC980: 1. nand-normal 2. nand-pack
1
[PACK]
//Format: file name
[FLASH]
//MA35D1: 1. NAND 2. SPI-NAND 3. eMMC
3
[Data0]
//Format: file name, offset
img0.bin, 0x0
[Data1]
//Format: file name, offset
img1.bin, 0x400
[Data2]
//Format: file name, offset
img2.bin, 0x20000
[Data3]
//Format: file name, offset
img3.bin, 0x30000
[Data4]
//Format: file name, offset
img4.bin, 0x40000
[Data5]
//Format: file name, offset
img5.bin, 0xC0000
[Data6]
//Format: file name, offset
img6.bin, 0x2C0000
[Data7]
//Format: file name, offset
img7.bin, 0x300000
[Data8]
//Format: file name, offset
img8.bin, 0x2000000
[UserDefine]
EraseAll=1, Verify=1
[NAND_FLASH]
//ECC: 0. T24, 1. T4, 2. T8, 3. T12, 4. T15, 5, IGNORE
PageSize=2048, PagePerBlock=64, BlockPerFlash=8192, SpareSize=64, ECC=2