mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
89 lines
2.9 KiB
JSON
89 lines
2.9 KiB
JSON
|
|
{
|
||
|
|
"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" },
|
||
|
|
"os": { "size": "4m" },
|
||
|
|
"rodata": { "size": "4m" },
|
||
|
|
"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",
|
||
|
|
}
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|