mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-27 14:38:53 +00:00
v1.0.3
This commit is contained in:
84
target/d21x/demo128-mmc/pack/image_cfg.json
Normal file
84
target/d21x/demo128-mmc/pack/image_cfg.json
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"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": "8m" },
|
||||
"rodata": { "size": "12m" },
|
||||
"data": { "size": "200m" },
|
||||
},
|
||||
},
|
||||
"image": {
|
||||
"info": { // Header information about image
|
||||
"platform": "d21x",
|
||||
"product": "demo128_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": "d21x_os.itb",
|
||||
"attr": ["block", "required"],
|
||||
"part": ["os"]
|
||||
},
|
||||
"res": {
|
||||
"file": "rodata.fatfs",
|
||||
"attr": ["block", "optional"],
|
||||
"part": ["rodata"]
|
||||
},
|
||||
"app": {
|
||||
"file": "data.fatfs.sparse",
|
||||
"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",
|
||||
},
|
||||
},
|
||||
},
|
||||
"itb": {
|
||||
"d21x_os.itb": {
|
||||
"its": "d21x_os.its"
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user