mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
78 lines
2.5 KiB
JSON
78 lines
2.5 KiB
JSON
{
|
|
"spi-nand": { // Device, The name should be the same with string in image:info:media:type
|
|
"size": "128m", // Size of SPI NAND
|
|
"partitions": {
|
|
"bootloader": { "size": "1m" },
|
|
"os": { "size": "1m" },
|
|
"rodata": { "size": "6m" },
|
|
"data": { "size": "28m" },
|
|
},
|
|
},
|
|
"image": {
|
|
"info": { // Header information about image
|
|
"platform": "d13x",
|
|
"product": "per1-nand",
|
|
"version": "1.0.0",
|
|
"media": {
|
|
"type": "spi-nand",
|
|
"device_id": 0,
|
|
"array_organization": [
|
|
{ "page": "2k", "block": "128k", "oob": "64"},
|
|
// { "page": "4k", "block": "256k", "oob": "128"},
|
|
],
|
|
}
|
|
},
|
|
"updater": { // Image writer which is downloaded to RAM by USB
|
|
"spl": {
|
|
"file": "bootloader.aic",
|
|
"attr": ["required", "run"],
|
|
"ram": "0x30100000"
|
|
},
|
|
},
|
|
"target": { // Image components which will be burn to device's partitions
|
|
"spl": {
|
|
"file": "bootloader.aic",
|
|
"attr": ["mtd", "required"],
|
|
"part": ["bootloader"]
|
|
},
|
|
"os": {
|
|
"file": "os.aic",
|
|
"attr": ["mtd", "required"],
|
|
"part": ["os"]
|
|
},
|
|
"rodata": {
|
|
"file": "rodata.fatfs",
|
|
"attr": ["mtd", "optional"],
|
|
"part": ["rodata"]
|
|
},
|
|
"data": {
|
|
"file": "page_2k_block_128k_oob_64_data.uffs",
|
|
"attr": ["uffs", "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": "0x30100000",
|
|
"entry point": "0x30100100",
|
|
"run in dram": "false",
|
|
},
|
|
},
|
|
"os.aic": {
|
|
"head_ver": "0x00010001",
|
|
"loader": {
|
|
"file": "d13x.bin",
|
|
"load address": "0x30040000",
|
|
"entry point": "0x30040100",
|
|
"run in dram": "false",
|
|
}
|
|
},
|
|
},
|
|
},
|
|
}
|