File: Don-t-attempt-to-build-final-firmware-images.patch

package info (click to toggle)
u-boot 2025.01-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 330,740 kB
  • sloc: ansic: 2,627,855; python: 60,773; sh: 41,641; asm: 21,854; makefile: 15,048; perl: 12,447; cs: 6,763; cpp: 1,868; yacc: 1,100; lex: 747; awk: 57; tcl: 32; sed: 24
file content (120 lines) | stat: -rw-r--r-- 2,855 bytes parent folder | download
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
From: Martyn Welch <martyn.welch@collabora.com>
Date: Mon, 5 Feb 2024 12:36:21 +0000
Subject: sitara: Don't attempt to build final firmware images

The final firmware images require access to firmware not yet present in
linux-firmware. In certain instances it will be either desirable or
required to sign the elements that are included in the final firmware
images with device specific keys, which won't be present at build time.

Build and package the firmware elements that are required to form the
firmware images at a later date.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
---
 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 4 ++++
 arch/arm/dts/k3-am625-r5-beagleplay.dts      | 2 ++
 arch/arm/dts/k3-am625-sk-binman.dtsi         | 8 ++++++++
 arch/arm/dts/k3-binman.dtsi                  | 4 ++++
 4 files changed, 18 insertions(+)

diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
index a067b0b..50438c3 100644
--- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
@@ -65,6 +65,8 @@
 
 #ifdef CONFIG_TARGET_AM625_A53_BEAGLEPLAY
 
+#if 0
+
 #define SPL_NODTB "spl/u-boot-spl-nodtb.bin"
 #define SPL_AM625_BEAGLEPLAY_DTB "spl/dts/ti/k3-am625-beagleplay.dtb"
 #define UBOOT_NODTB "u-boot-nodtb.bin"
@@ -275,6 +277,8 @@
 
 #endif
 
+#endif
+
 &main_bcdma {
 	reg = <0x00 0x485c0100 0x00 0x100>,
 	      <0x00 0x4c000000 0x00 0x20000>,
diff --git a/arch/arm/dts/k3-am625-r5-beagleplay.dts b/arch/arm/dts/k3-am625-r5-beagleplay.dts
index 9e0a6ed..cc21b82 100644
--- a/arch/arm/dts/k3-am625-r5-beagleplay.dts
+++ b/arch/arm/dts/k3-am625-r5-beagleplay.dts
@@ -77,6 +77,7 @@
 	ti,sci = <&dm_tifs>;
 };
 
+#if 0
 &binman {
 	tiboot3-am62x-gp-evm.bin {
 		filename = "tiboot3-am62x-gp-evm.bin";
@@ -131,3 +132,4 @@
 		};
 	};
 };
+#endif
diff --git a/arch/arm/dts/k3-am625-sk-binman.dtsi b/arch/arm/dts/k3-am625-sk-binman.dtsi
index 534eb14..5986acb 100644
--- a/arch/arm/dts/k3-am625-sk-binman.dtsi
+++ b/arch/arm/dts/k3-am625-sk-binman.dtsi
@@ -7,6 +7,8 @@
 
 #ifdef CONFIG_TARGET_AM625_R5_EVM
 
+#if 0
+
 &binman {
 	tiboot3-am62x-hs-evm.bin {
 		filename = "tiboot3-am62x-hs-evm.bin";
@@ -150,11 +152,15 @@
 
 #endif
 
+#endif
+
 #ifdef CONFIG_TARGET_AM625_A53_EVM
 
 #define SPL_AM625_SK_DTB "spl/dts/ti/k3-am625-sk.dtb"
 #define AM625_SK_DTB "u-boot.dtb"
 
+#if 0
+
 &binman {
 	ti-dm {
 		filename = "ti-dm.bin";
@@ -484,3 +490,5 @@
 };
 
 #endif
+
+#endif
diff --git a/arch/arm/dts/k3-binman.dtsi b/arch/arm/dts/k3-binman.dtsi
index 5163161..b853758 100644
--- a/arch/arm/dts/k3-binman.dtsi
+++ b/arch/arm/dts/k3-binman.dtsi
@@ -5,6 +5,7 @@
 
 #include "k3-security.h"
 
+
 / {
 	binman: binman {
 		multiple-images;
@@ -27,6 +28,7 @@
 	};
 };
 
+#if 0
 #ifndef CONFIG_ARM64
 
 &binman {
@@ -492,3 +494,5 @@
 };
 
 #endif
+
+#endif