Files
luban-lite-t3e-pro/target/d13x/demo68-nor/pack/image_cfg.json
刘可亮 d2ad584632 V1.0.5
2024-06-28 17:34:51 +08:00

89 lines
2.7 KiB
JSON

{
"spi-nor": { // Device, The name should be the same with string in image:info:media:type
"size": "16m", // Size of SPI NOR
"partitions": {
"spl": { "size": "256k" },
"env": { "size": "128k" },
"env_r": { "size": "128k" },
"os": { "size": "1m" },
"os_r": { "size": "1m" },
"rodata": { "size": "3m" },
"rodata_r": { "size": "3m" },
"data": { "size": "7m" }
},
},
"image": {
"info": { // Header information about image
"platform": "d13x",
"product": "demo68-nor",
"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": "0x30080000"
},
},
"target": { // Image components which will be burn to device's partitions
"spl": {
"file": "bootloader.aic",
"attr": ["mtd", "required"],
"part": ["spl"]
},
"env": {
"file": "env.bin",
"attr": ["mtd", "optional"],
"part": ["env","env_r"]
},
"os": {
"file": "d13x_os.itb",
"attr": ["mtd", "required"],
"part": ["os"]
},
"rodata": {
"file": "rodata.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": "0x30080000",
"entry point": "0x30080100",
},
"resource": {
"private": "pbp_cfg.bin",
"pbp": "d13x.pbp",
},
},
},
"itb": {
"d13x_os.itb": {
"its": "d13x_os.its"
},
},
"uboot_env": {
"env.bin": {
"file": "env.txt",
"size": "4096",
"redundant": "enable",
},
},
},
}