On 10/18/24 11:47 PM, Lothar Rubusch wrote:
On Mon, Oct 14, 2024 at 8:42 PM Marek Vasut <[email protected]> wrote:
[...]
diff --git a/board/enclustra/mercury_aa1/fpga.its
b/board/enclustra/mercury_aa1/fpga.its
new file mode 100644
index 0000000000..cb42d61fbd
--- /dev/null
+++ b/board/enclustra/mercury_aa1/fpga.its
@@ -0,0 +1,32 @@
+/dts-v1/;
+
+/ {
+ description = "FIT image with FPGA bistream";
+ #address-cells = <1>;
+
+ images {
+ fpga-periph-1 {
+ description = "FPGA peripheral bitstream";
+ data = /incbin/("../../../bitstream.periph.rbf");
+ type = "fpga";
+ arch = "arm";
+ compression = "none";
+ };
+
+ fpga-core-1 {
+ description = "FPGA core bitstream";
+ data = /incbin/("../../../bitstream.core.rbf");
+ type = "fpga";
+ arch = "arm";
+ compression = "none";
+ };
+ };
+
+ configurations {
+ default = "config-1";
+ config-1 {
+ description = "Boot with FPGA early IO release config";
+ fpga = "fpga-periph-1", "fpga-core-1";
+ };
+ };
+};
Can this be generated using binman instead ?
This would a oportunity for me to learn the binman tool. Great idea! I
need to read a bit more on binman to get a better understanding. I'll
give it a try and let you know. Thank you.
This commit might help:
5fccc2891e28 ("ARM: dts: stm32: Generate u-boot.itb using binman on DH
STM32 DHSOM")