Files
luban-lite-t3e-pro/target/d21x/demo88-mmc/pack/image_cfg.json

89 lines
2.9 KiB
JSON
Raw Normal View History

2023-08-30 16:21:18 +08:00
{
"mmc": { // Device, The name should be the same with string in image:info:media:type
"size": "8G", // Size of SD/eMMC
"partitions": { // Partition table apply to device
"spl": { "offset": "0x4400", "size": "256k" },
2023-11-09 20:19:51 +08:00
"os": { "size": "8m" },
"rodata": { "size": "12m" },
2023-08-30 16:21:18 +08:00
"data": { "size": "35m" },
},
},
"image": {
"info": { // Header information about image
"platform": "d21x",
"product": "demo88_mmc",
"version": "1.0.0",
"media": {
"type": "mmc",
"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": ["required"],
"part": ["spl"]
},
"os": {
"file": "os.aic",
"attr": ["block", "required"],
"part": ["os"]
},
//"res": {
// "file": "app.fatfs",
// "attr": ["block", "optional"],
// "part": ["rodata"]
//},
//"app": {
// "file": "user.ext4",
// "attr": ["block", "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",
}
},
},
},
}