Files
luban-lite-t3e-pro/target/d13x/demo88-nor-xip/pack/image_cfg.json
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

74 lines
2.3 KiB
JSON

{
"spi-nor": { // Device, The name should be the same with string in image:info:media:type
"size": "16m", // Size of SPI NAND
"partitions": {
"spl": { "size": "256k" },
"os": { "size": "1m" },
"rodata": { "size": "6m" },
"data": { "size": "6m" }
},
},
"image": {
"info": { // Header information about image
"platform": "d13x",
"product": "demo88-nor-xip",
"version": "1.0.0",
"media": {
"type": "spi-nor",
"device_id": 0,
}
},
"updater": { // Image writer which is downloaded to RAM by USB
"spl": {
"file": "bootloader.aic",
"attr": ["required", "run"],
"ram": "0x30100000"
},
},
"target": { // Image components which will be burn to device's partitions
"spl": {
"file": "bootloader.aic",
"attr": ["mtd", "required"],
"part": ["spl"]
},
"os": {
"file": "os.aic",
"attr": ["mtd", "required"],
"part": ["os"]
},
"rodata": {
"file": "data.fatfs",
"attr": ["mtd", "optional"],
"part": ["rodata"]
},
"data": {
"file": "data.lfs",
"attr": ["mtd", "optional"],
"part": ["data"]
},
},
},
"temporary": { // Pre-proccess to generate image components from raw data
"aicboot": {
"bootloader.aic": {
"head_ver": "0x00010001",
"loader": {
"file": "bootloader.bin",
"load address": "0x30100000",
"entry point": "0x30100100",
"run in dram": "false",
},
},
"os.aic": {
"head_ver": "0x00010001",
"loader": {
"file": "d13x.bin",
"load address": "0x30040000",
"entry point": "0x30040100",
"run in dram": "false",
}
},
},
},
}