mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
89 lines
2.7 KiB
JSON
89 lines
2.7 KiB
JSON
{
|
|
"spi-nor": { // Media type
|
|
"size": "16m", // Size of NOR
|
|
"partitions": {
|
|
"spl": { "size": "256k" },
|
|
"os": { "size": "2m" },
|
|
"rodata": { "size": "4m" },
|
|
"data": { "size": "6m" },
|
|
}
|
|
},
|
|
"image": {
|
|
"info": { // Header information about image
|
|
"platform": "d21x",
|
|
"product": "demo88_nor",
|
|
"version": "1.0.0",
|
|
"media": {
|
|
"type": "spi-nor",
|
|
"device_id": 0,
|
|
}
|
|
},
|
|
"updater": { // Image writer which is downloaded to RAM by USB
|
|
"ddr": {
|
|
"file": "usbupg-ddr-init.aic",
|
|
"attr": ["required", "run"],
|
|
"ram": "0x00103000"
|
|
},
|
|
"spl": {
|
|
"file": "bootloader.aic",
|
|
"attr": ["required", "run"],
|
|
"ram": "0x41000000"
|
|
},
|
|
},
|
|
"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"]
|
|
},
|
|
"res": {
|
|
"file": "app.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": {
|
|
"usbupg-ddr-init.aic": { // No loader, only PreBootProgram to initialize DDR
|
|
"head_ver": "0x00010001",
|
|
"resource": {
|
|
"private": "ddr_init.bin",
|
|
"pbp": "d21x.pbp",
|
|
},
|
|
},
|
|
"bootloader.aic": {
|
|
"head_ver": "0x00010001",
|
|
"loader": {
|
|
"file": "bootloader.bin",
|
|
"load address": "0x42000000",
|
|
"entry point": "0x42000100",
|
|
},
|
|
"resource": {
|
|
"private": "ddr_init.bin",
|
|
"pbp": "d21x.pbp",
|
|
},
|
|
},
|
|
"os.aic": {
|
|
"head_ver": "0x00010001",
|
|
"loader": {
|
|
"file": "d21x.bin",
|
|
"load address": "0x40000000",
|
|
"entry point": "0x40000100",
|
|
"run in dram": "false",
|
|
}
|
|
},
|
|
},
|
|
},
|
|
}
|