|
| 1 | +{ |
| 2 | + "_comment": { |
| 3 | + "info": "bootinfo build configuration script", |
| 4 | + "key word": { |
| 5 | + "image": "image definition", |
| 6 | + "module": "image module definition", |
| 7 | + "data": "image item data config" |
| 8 | + } |
| 9 | + }, |
| 10 | + "info": { |
| 11 | + "arch": "RISCV64", |
| 12 | + "description": "spacemit k1x spinand bootinfo image" |
| 13 | + }, |
| 14 | + "image": [ |
| 15 | + { |
| 16 | + "module": "bootinfo", |
| 17 | + "data": [ |
| 18 | + { |
| 19 | + "structure": [ |
| 20 | + "name, header, 0", |
| 21 | + "magic, 0xB00714F0, 4", |
| 22 | + "version, 0x00010001, 4", |
| 23 | + "flash_type, NAND, 4", |
| 24 | + "mid, 0, 1", |
| 25 | + "reserved, 0, 1", |
| 26 | + "did, 0, 2", |
| 27 | + "page_size, 2048, 4", |
| 28 | + "block_size, 0x20000, 4", |
| 29 | + "total_size, 0x10000000, 4", |
| 30 | + "multi_plane, 0, 1", |
| 31 | + "reserved, 0, 3", |
| 32 | + "spl0_offset, 0x20000, 4", |
| 33 | + "spl1_offset, 0x80000, 4", |
| 34 | + "spl_size_limit, 0x36000, 4", |
| 35 | + "partitiontable0_offset, 0, 4", |
| 36 | + "partitiontable1_offset, 0, 4", |
| 37 | + "reserved, 0, 12" |
| 38 | + ] |
| 39 | + }, |
| 40 | + { |
| 41 | + "structure": [ |
| 42 | + "name, crc32_sum, 0", |
| 43 | + "crc, crc32(header), 4", |
| 44 | + "pad, 0, 12" |
| 45 | + ] |
| 46 | + } |
| 47 | + ] |
| 48 | + } |
| 49 | + ] |
| 50 | +} |
0 commit comments