Skip to contentSkip to conversation

linux: Manage the kernel patches using the BSP system

PATCH In review Ryan Eatmon 2 participants 4 messages Jul 19, 2024 – Jul 28, 2024 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux: Manage the kernel patches using the BSP system

Applying the patches to all kernels is not going to work. Each kernel might need different patches to address reproducibility issues.

---
v2: Fix BSP tag for bsp-ti-6_6

 meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +8 -4
index f24fbe51..1831ba66 100644
@@ -13,8 +13,12 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
 KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
 KERNEL_DTBVENDORED = "1"
 
-SRC_URI:append = " \
-file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
-file://0001-vt-conmakehash-improve-reproducibility.patch \
-file://0001-pnmtologo-use-relocatable-file-name.patch \
+KERNEL_PATCHES = ""
+
+KERNEL_PATCHES:bsp-ti-6_6 = " \
+    file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
+    file://0001-vt-conmakehash-improve-reproducibility.patch \
+    file://0001-pnmtologo-use-relocatable-file-name.patch \
 "
+
+SRC_URI:append = " ${KERNEL_PATCHES} "
Signature · 1 line
2.17.1
#1 lore raw
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

Applying the patches to all kernels is not going to work. Each kernel might need different patches to address reproducibility issues.

Can you also backport this to scarthgap, as these patches fon't apply cleanly to bb.org and currently break Beagle builds. Thanks.

Quoted 30 lines

---
v2: Fix BSP tag for bsp-ti-6_6

 meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +8 -4
index f24fbe51..1831ba66 100644
@@ -13,8 +13,12 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
 KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
 KERNEL_DTBVENDORED = "1"
 
-SRC_URI:append = " \
-file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
-file://0001-vt-conmakehash-improve-reproducibility.patch \
-file://0001-pnmtologo-use-relocatable-file-name.patch \
+KERNEL_PATCHES = ""
+
+KERNEL_PATCHES:bsp-ti-6_6 = " \
+    file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
+    file://0001-vt-conmakehash-improve-reproducibility.patch \
+    file://0001-pnmtologo-use-relocatable-file-name.patch \
 "
+
+SRC_URI:append = " ${KERNEL_PATCHES} "
Signature · 1 line
2.17.1
#2 lore raw
Quoted 6 lines · Denys Dmytriyenko
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

Applying the patches to all kernels is not going to work. Each kernel might need different patches to address reproducibility issues.

Can you also backport this to scarthgap, as these patches fon't apply cleanly to bb.org and currently break Beagle builds. Thanks.

It is staged in next waiting for a CICD run.

Quoted 31 lines
Quoted 31 lines

---
v2: Fix BSP tag for bsp-ti-6_6

  meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 12 ++++++++----
  1 file changed, 8 insertions(+), 4 deletions(-)
meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +8 -4
index f24fbe51..1831ba66 100644
@@ -13,8 +13,12 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"
  KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
  KERNEL_DTBVENDORED = "1"
 
-SRC_URI:append = " \
-file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
-file://0001-vt-conmakehash-improve-reproducibility.patch \
-file://0001-pnmtologo-use-relocatable-file-name.patch \
+KERNEL_PATCHES = ""
+
+KERNEL_PATCHES:bsp-ti-6_6 = " \
+    file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
+    file://0001-vt-conmakehash-improve-reproducibility.patch \
+    file://0001-pnmtologo-use-relocatable-file-name.patch \
  "
+
+SRC_URI:append = " ${KERNEL_PATCHES} "
Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 10 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 6 lines · Denys Dmytriyenko
Quoted 2 lines · Ryan Eatmon via lists.yoctoproject.org

Applying the patches to all kernels is not going to work.  Each kernel might need different patches to address reproducibility issues.

Can you also backport this to scarthgap, as these patches fon't apply cleanly to bb.org and currently break Beagle builds. Thanks.

It is staged in next waiting for a CICD run.

Finally promoted. It is now on scarthgap.

Quoted 43 lines
Quoted 24 lines
Quoted 24 lines

---
v2: Fix BSP tag for bsp-ti-6_6

  meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 12 ++++++++----

  1 file changed, 8 insertions(+), 4 deletions(-)
meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +0 -0
index f24fbe51..1831ba66 100644
@@ -13,8 +13,12 @@ EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}"

  KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb"
  KERNEL_DTBVENDORED = "1"

meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +4 -4
-SRC_URI:append = " \
-file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
-file://0001-vt-conmakehash-improve-reproducibility.patch \
-file://0001-pnmtologo-use-relocatable-file-name.patch \
+KERNEL_PATCHES = ""
+
+KERNEL_PATCHES:bsp-ti-6_6 = " \
+    
Quoted 8 lines
Quoted 8 lines

file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
+    file://0001-vt-conmakehash-improve-reproducibility.patch \
+    file://0001-pnmtologo-use-relocatable-file-name.patch \
  "

meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +2 -0
+
+SRC_URI:append = " ${KERNEL_PATCHES} "
Signature · 1 line
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17906): https://lists.yoctoproject.org/g/meta-ti/message/17906
Mute This Topic: https://lists.yoctoproject.org/mt/107436568/6551054
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS