forked from jameswalmsley/bitthunder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.its
69 lines (59 loc) · 1.12 KB
/
example.its
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
* Simple BootThunder FIT source file.
*/
/dts-v1/;
/ {
description = "Simple image BitThunder kernel";
#address-cells = <1>;
images {
btkernel: kernel@1 {
description = "Vanilla BitThunder kernel";
data = /incbin/("./kernel.img");
type = "kernel";
arch = "arm";
os = "bitthunder";
compression = "none";
load = <0x18000000>;
entry = <0x18008000>;
hash@1 {
algo = "crc32";
};
hash@2 {
algo = "sha1";
};
hash@3 {
algo = "md5";
};
};
fpga: fpga@2 {
description = "FPGA bitstream";
data = /incbin/("./fpga.bin");
compression = "none";
type = "bitstream";
hash@1 {
algo = "crc32";
};
hash@2 {
algo = "sha1";
};
hash@3 {
algo = "md5";
};
};
};
configurations {
default = "config@1";
config@1 {
description = "Boot BitThunder kernel with default fpga";
kernel = "kernel@1";
fpga = "fpga@2";
fpga_device = "/dev/xdevcfg";
};
config@2 {
description = "Boot BitThunder kernel with alternative fpga";
kernel = "kernel@1";
fpga = "fpga@2";
fpga_device = "/dev/xdevcfg";
};
};
};