2016-05-17 11:58:44 +00:00
|
|
|
/*
|
|
|
|
* U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
|
|
|
|
* This example makes use of the 'loadables' field
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/ {
|
|
|
|
description = "Configuration to load fpga before Kernel";
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
|
|
|
images {
|
2017-12-04 02:05:08 +00:00
|
|
|
fdt-1 {
|
2016-05-17 11:58:44 +00:00
|
|
|
description = "zc706";
|
|
|
|
data = /incbin/("/tftpboot/devicetree.dtb");
|
|
|
|
type = "flat_dt";
|
|
|
|
arch = "arm";
|
|
|
|
compression = "none";
|
|
|
|
load = <0x10000000>;
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-1 {
|
2016-05-17 11:58:44 +00:00
|
|
|
algo = "md5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-12-04 02:05:08 +00:00
|
|
|
fpga {
|
2016-05-17 11:58:44 +00:00
|
|
|
description = "FPGA";
|
|
|
|
data = /incbin/("/tftpboot/download.bit");
|
|
|
|
type = "fpga";
|
|
|
|
arch = "arm";
|
|
|
|
compression = "none";
|
|
|
|
load = <0x30000000>;
|
2021-03-29 17:05:16 +00:00
|
|
|
compatible = "u-boot,fpga-legacy"
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-1 {
|
2016-05-17 11:58:44 +00:00
|
|
|
algo = "md5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-12-04 02:05:08 +00:00
|
|
|
linux_kernel {
|
2016-05-17 11:58:44 +00:00
|
|
|
description = "Linux";
|
|
|
|
data = /incbin/("/tftpboot/zImage");
|
|
|
|
type = "kernel";
|
|
|
|
arch = "arm";
|
|
|
|
os = "linux";
|
|
|
|
compression = "none";
|
|
|
|
load = <0x8000>;
|
|
|
|
entry = <0x8000>;
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-1 {
|
2016-05-17 11:58:44 +00:00
|
|
|
algo = "md5";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
2017-12-04 02:05:08 +00:00
|
|
|
default = "config-2";
|
|
|
|
config-1 {
|
2016-05-17 11:58:44 +00:00
|
|
|
description = "Linux";
|
2017-12-04 02:05:08 +00:00
|
|
|
kernel = "linux_kernel";
|
|
|
|
fdt = "fdt-1";
|
2016-05-17 11:58:44 +00:00
|
|
|
};
|
|
|
|
|
2017-12-04 02:05:08 +00:00
|
|
|
config-2 {
|
2016-05-17 11:58:44 +00:00
|
|
|
description = "Linux with fpga";
|
2017-12-04 02:05:08 +00:00
|
|
|
kernel = "linux_kernel";
|
|
|
|
fdt = "fdt-1";
|
2021-03-29 17:05:16 +00:00
|
|
|
loadables = "fpga";
|
2016-05-17 11:58:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|