Files
luban-lite/target/d13x/kunlunpi88-nor/pack/image_cfg.json

73 lines
2.2 KiB
JSON
Raw Normal View History

2023-08-30 16:21:18 +08:00
{
"spi-nor": { // Device, The name should be the same with string in image:info:media:type
2024-04-03 16:40:57 +08:00
"size": "16m", // Size of SPI NOR
2023-08-30 16:21:18 +08:00
"partitions": {
"spl": { "size": "256k" },
2023-11-30 19:48:02 +08:00
"os": { "size": "2m" },
"rodata": { "size": "6m" },
"data": { "size": "7m" }
2023-08-30 16:21:18 +08:00
},
},
"image": {
"info": { // Header information about image
"platform": "d13x",
2023-11-30 19:48:02 +08:00
"product": "kunlunpi88-nor",
2023-08-30 16:21:18 +08:00
"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": {
2023-11-09 20:19:51 +08:00
"file": "d13x_os.itb",
2023-08-30 16:21:18 +08:00
"attr": ["mtd", "required"],
"part": ["os"]
},
"rodata": {
2024-01-27 08:47:24 +08:00
"file": "rodata.fatfs",
2023-08-30 16:21:18 +08:00
"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",
2023-11-30 19:48:02 +08:00
},
"resource": {
"private": "pbp_cfg.bin",
"pbp": "d13x.pbp",
2023-08-30 16:21:18 +08:00
},
},
2023-11-09 20:19:51 +08:00
},
2023-11-30 19:48:02 +08:00
"itb": {
2023-11-09 20:19:51 +08:00
"d13x_os.itb": {
"its": "d13x_os.its"
},
},
2023-08-30 16:21:18 +08:00
},
}