Skip to content

Commit 13ad254

Browse files
committed
wip
1 parent 92eb6c5 commit 13ad254

21 files changed

Lines changed: 1539 additions & 94 deletions
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 eMMC 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, eMMC, 4",
24+
"mid, 0, 1",
25+
"reserved, 0, 1",
26+
"did, 0, 2",
27+
"page_size, 512, 4",
28+
"block_size, 0x10000, 4",
29+
"total_size, 0x10000000, 4",
30+
"multi_plane, 0, 1",
31+
"reserved, 0, 3",
32+
"spl0_offset, 0x200, 4",
33+
"spl1_offset, 0x00000, 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+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 sdcard 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, SDC, 4",
24+
"mid, 0, 1",
25+
"reserved, 0, 1",
26+
"did, 0, 2",
27+
"page_size, 512, 4",
28+
"block_size, 0x10000, 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+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 spinor 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, NORF, 4",
24+
"mid, 0, 1",
25+
"reserved, 0, 1",
26+
"did, 0, 2",
27+
"page_size, 256, 4",
28+
"block_size, 0x10000, 4",
29+
"total_size, 0x100000, 4",
30+
"multi_plane, 0, 1",
31+
"reserved, 0, 3",
32+
"spl0_offset, 0x20000, 4",
33+
"spl1_offset, 0x70000, 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

Comments
 (0)