{ "spi-nand": { // Device, The name should be the same with string in image:info:media:type "size": "128m", // Size of SPI NAND "partitions": { "spl": { "size": "1m" }, "os": { "size": "8m" }, "rodata": { "size": "12m" }, "data": { "size": "50m" }, }, }, "image": { "info": { // Header information about image "platform": "d21x", "product": "demo128_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 "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": ["mtd", "required"], "part": ["spl"] }, "os": { "file": "d21x_os.itb", "attr": ["mtd", "required"], "part": ["os"] }, "res": { "file": "app.fatfs", "attr": ["mtd", "optional"], "part": ["rodata"] }, "app": { "file": "data.fatfs", "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" }, }, }, }