146 lines
3.1 KiB
JSON
146 lines
3.1 KiB
JSON
{
|
|
"mmc": { // Media type
|
|
"size": "8G", // Size of SD/eMMC
|
|
"partitions": { // Partition table apply to device
|
|
"spl_1": { "offset": "0x4400", "size": "128k" },
|
|
"spl_2": { "size": "367k" },
|
|
"uboot": { "size": "1m" },
|
|
"env": { "size": "256k" },
|
|
"falcon": { "size": "256k" },
|
|
"logo": { "size": "512k" },
|
|
"kernel": { "size": "16m" },
|
|
"rootfs": { "size": "72m" },
|
|
"hash": { "size": "5m" },
|
|
"user": { "size": "-" },
|
|
},
|
|
},
|
|
"image": {
|
|
"info": { // Header information about image
|
|
"platform": "d211",
|
|
"product": "per1_mmc_secure_boot",
|
|
"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"
|
|
},
|
|
"env": {
|
|
"file": "env.bin",
|
|
"attr": ["required"],
|
|
"ram": "0x41000000"
|
|
},
|
|
"uboot": {
|
|
"file": "u-boot.itb",
|
|
"attr": ["required"],
|
|
"ram": "0x41100000"
|
|
},
|
|
"spl": {
|
|
"file": "u-boot-spl-dtb.aic",
|
|
"attr": ["required", "run"],
|
|
"ram": "0x40000000"
|
|
},
|
|
},
|
|
"target": { // Image components which will be burn to device's partitions
|
|
"spl": {
|
|
"file": "u-boot-spl-dtb.aic",
|
|
"attr": ["required"],
|
|
"part": ["spl_1"]
|
|
},
|
|
"uboot": {
|
|
"file": "u-boot.itb",
|
|
"attr": ["block", "required"],
|
|
"part": ["uboot"]
|
|
},
|
|
"env": {
|
|
"file": "env.bin",
|
|
"attr": ["block", "required"],
|
|
"part": ["env"]
|
|
},
|
|
"logo": {
|
|
"file": "boot_logo.png",
|
|
"attr": ["block", "required"],
|
|
"part": ["logo"]
|
|
},
|
|
"kernel": {
|
|
"file": "kernel.itb",
|
|
"attr": ["block", "required"],
|
|
"part": ["kernel"]
|
|
},
|
|
"rootfs": {
|
|
"file": "rootfs.ext4",
|
|
"attr": ["block", "required"],
|
|
"part": ["rootfs"]
|
|
},
|
|
"hash": {
|
|
"file": "rootfs.hash",
|
|
"attr": ["block", "required"],
|
|
"part": ["hash"]
|
|
},
|
|
"app": {
|
|
"file": "user.ext4",
|
|
"attr": ["block", "optional"],
|
|
"part": ["user"]
|
|
},
|
|
},
|
|
},
|
|
"temporary": { // Pre-proccess to generate image components from raw data
|
|
"hash_table": {
|
|
"rootfs.hash": {
|
|
"file": "rootfs.ext4",
|
|
"dtb": "u-boot.dtb",
|
|
"priv": "keys/rootfs/test_priv.pem",
|
|
"cert": "keys/rootfs/test_cert.pem",
|
|
},
|
|
},
|
|
"uboot_env": {
|
|
"env.bin": {
|
|
"file": "env.txt",
|
|
"size": "0x4000",
|
|
},
|
|
},
|
|
"itb": {
|
|
"kernel.itb": {
|
|
"its": "kernel.its",
|
|
"dtb": "u-boot.dtb",
|
|
"keydir": "keys/kernel",
|
|
},
|
|
"u-boot.itb": {
|
|
"its": "u-boot.its",
|
|
"dtb": "u-boot-spl.dtb",
|
|
"keydir": "keys/u-boot",
|
|
"bin": {
|
|
"src": "u-boot-spl-nodtb.bin",
|
|
"dst": "u-boot-spl-dtb.bin",
|
|
},
|
|
},
|
|
},
|
|
"aicboot": {
|
|
"usbupg-ddr-init.aic": { // No loader, only PreBootProgram to initialize DDR
|
|
"head_ver": "0x00010001",
|
|
"resource": {
|
|
"private": "ddr_init.bin",
|
|
"pbp": "d211.pbp",
|
|
},
|
|
},
|
|
"u-boot-spl-dtb.aic": {
|
|
"head_ver": "0x00010001",
|
|
"loader": {
|
|
"file": "u-boot-spl-dtb.bin",
|
|
"load address": "0x42000000",
|
|
"entry point": "0x42000100",
|
|
},
|
|
"resource": {
|
|
"private": "ddr_init.bin",
|
|
"pbp": "d211.pbp",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|