blob: 4c7f1bebd5ac85b0dacb33c8bdddb323d3cc1058 [file] [log] [blame]
Simon Glassc44aa612023-06-23 13:22:04 +01001.. SPDX-License-Identifier: GPL-2.0+
2
3Multiple kernels, ramdisks and FDT blobs with FPGA
4==================================================
5
6This example makes use of the 'loadables' field::
7
8 /dts-v1/;
9
10 / {
11 description = "Configuration to load fpga before Kernel";
12 #address-cells = <1>;
13
14 images {
15 fdt-1 {
16 description = "zc706";
17 data = /incbin/("/tftpboot/devicetree.dtb");
18 type = "flat_dt";
19 arch = "arm";
20 compression = "none";
21 load = <0x10000000>;
22 hash-1 {
Sean Anderson72a09cc2023-12-02 14:33:14 -050023 algo = "sha256";
Simon Glassc44aa612023-06-23 13:22:04 +010024 };
25 };
26
27 fpga {
28 description = "FPGA";
29 data = /incbin/("/tftpboot/download.bit");
30 type = "fpga";
31 arch = "arm";
32 compression = "none";
33 load = <0x30000000>;
34 compatible = "u-boot,fpga-legacy"
35 hash-1 {
Sean Anderson72a09cc2023-12-02 14:33:14 -050036 algo = "sha256";
Simon Glassc44aa612023-06-23 13:22:04 +010037 };
38 };
39
40 linux_kernel {
41 description = "Linux";
42 data = /incbin/("/tftpboot/zImage");
43 type = "kernel";
44 arch = "arm";
45 os = "linux";
46 compression = "none";
47 load = <0x8000>;
48 entry = <0x8000>;
49 hash-1 {
Sean Anderson72a09cc2023-12-02 14:33:14 -050050 algo = "sha256";
Simon Glassc44aa612023-06-23 13:22:04 +010051 };
52 };
53 };
54
55 configurations {
56 default = "config-2";
57 config-1 {
58 description = "Linux";
59 kernel = "linux_kernel";
60 fdt = "fdt-1";
61 };
62
63 config-2 {
64 description = "Linux with fpga";
65 kernel = "linux_kernel";
66 fdt = "fdt-1";
67 loadables = "fpga";
68 };
69 };
70 };