Skip to contentSkip to conversation

board: altera: arria10: Add default kernel fitImage for Arria10 QSPI SoCDK

PATCH New [email protected] 1 participant 1 message Sep 1, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: altera: arria10: Add default kernel fitImage for Arria10 QSPI SoCDK

From: Tien Fong Chee <[email protected]>

Add default fitImage file bundling kernel and dtb images for Arria10 QSPI.

---
 board/altera/arria10-socdk/fit_kernel.its | 44 +++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 board/altera/arria10-socdk/fit_kernel.its
board/altera/arria10-socdk/fit_kernel.its new file +44 -0
new file mode 100644
index 0000000000..c9559f3f1f
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: GPL-2.0
+ /*
+ * Copyright (C) 2019 Intel Corporation <www.intel.com>
+ *
+ */
+
+/dts-v1/;
+
+/ {
+	description = "FIT image with kernel and DTB";
+	#address-cells = <1>;
+
+	images {
+		kernel {
+			description = "Linux Kernel";
+			data = /incbin/("../../../Image");
+			type = "kernel";
+			os = "linux";
+			arch = "arm";
+			compression = "none";
+			load = <0x8000>;
+			entry = <0x8000>;
+		};
+
+		fdt {
+			description = "Linux DTB";
+			data = /incbin/("../../../socfpga_arria10_socdk_qspi.dtb");
+			type = "flat_dt";
+			os = "linux";
+			arch = "arm";
+			compression = "none";
+
+		};
+	};
+
+	configurations {
+		default = "conf";
+		conf {
+			description = "Linux boot configuration";
+			kernel = "kernel";
+			fdt = "fdt";
+		};
+	};
+};
Signature · 1 line
2.25.1