Skip to contentSkip to conversation

Update linux libc header to 5.10

PATCH New Yogesh Siraswar 1 participant 4 messages May 27, 2021

lore
Share & tools
lore
#0 lore raw

cover Update linux libc header to 5.10

Updating the linux libc header to 5.10 on dunfell requires some components to be upgraded to later version or back-port the fix from the upstream.

Gowtham Tammana (1):
external-arm-toolchain: update linux-libc-headers to 5.10

Praneeth Bajjuri (1):
switch-config: update to the latest version for kernel 5.10 fixes

Yogesh Siraswar (1):
strace: update bbappend against 5.10 kernel

 .../conf/distro/include/toolchain-arm.inc            |  2 +-
 .../meta/external-arm-toolchain.bbappend             |  8 ++++----
 .../recipes-devtools/strace/strace_5.5.bbappend      | 12 ++++++++++++
 .../recipes-bsp/switch-config/switch-config_git.bb   |  6 +++---
 4 files changed, 20 insertions(+), 8 deletions(-)
 create mode 100644 meta-arago-distro/recipes-devtools/strace/strace_5.5.bbappend
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/3 external-arm-toolchain: update linux-libc-headers to 5.10

From: Gowtham Tammana <[email protected]>

Update linux libc version from 5.4 to 5.10

---
 meta-arago-distro/conf/distro/include/toolchain-arm.inc   | 2 +-
 .../recipes-core/meta/external-arm-toolchain.bbappend     | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-arm.inc +1 -1
index 58efc004..dba14dcf 100644
@@ -50,7 +50,7 @@ SDKGCCVERSION ?= "arm-9.2%"
 SDKGDBVERSION ?= "9.1%"
 SDKBINUVERSION ?= "2.34%"
 SDKGLIBCVERSION ?= "2.31%"
-SDKLINUXLIBCVERSION ?= "5.4%"
+SDKLINUXLIBCVERSION ?= "5.10%"
 
 PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
 PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_SYS} ?= "${SDKGCCVERSION}"
meta-arago-distro/recipes-core/meta/external-arm-toolchain.bbappend +4 -4
index 0dfb3f52..5716ea13 100644
@@ -3,15 +3,15 @@
 # on linux-libc-headers creates circular dependencies now. Mostly
 # duplication of code from corresponding recipe.
 
-BRANCH = "ti-linux-5.4.y"
-SRCREV = "1661da3fddf4cc3f62796ecfb5c572f1e5361bdf"
+BRANCH = "ti-linux-5.10.y"
+SRCREV = "bdfd5b0c1ee5617c9a94bacad0d818920d95b486"
 
 KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
 KERNEL_GIT_PROTOCOL = "git"
 SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH}"
 
-PKGV_linux-libc-headers-dev = "5.4"
-PKGV_linux-libc-headers = "5.4"
+PKGV_linux-libc-headers-dev = "5.10"
+PKGV_linux-libc-headers = "5.10"
 
 inherit kernel-arch pkgconfig multilib_header
 
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/3 switch-config: update to the latest version for kernel 5.10 fixes

In reply to Yogesh Siraswar

From: Praneeth Bajjuri <[email protected]>

update to the latest version to fix build for kernel without switchioctl

---
 .../recipes-bsp/switch-config/switch-config_git.bb          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-arago-extras/recipes-bsp/switch-config/switch-config_git.bb +3 -3
index 07368461..dca4bfe1 100644
@@ -3,13 +3,13 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75"
 
 PV = "2.0"
-PR = "r4"
+PR = "r5"
 
 BRANCH ?= "v4.1"
 BRANCH_aarch64 ?= "am65x-v1.0"
 
-SRCREV = "15e8be3b1249ac4193031127565eec5b64ecaff1"
-SRCREV_aarch64 = "3b31ce5fe8bd5a3560b89f2a709fb3e3b877326d"
+SRCREV = "412dce4e65cfe5af729be38fd1b4c1d59e9a8828"
+SRCREV_aarch64 = "0f52dcb3c4e3678e96427d546d6c2e1fabc2ad91"
 
 SRC_URI = "git://git.ti.com/switch-config/switch-config.git;protocol=git;branch=${BRANCH}"
 
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/3 strace: update bbappend against 5.10 kernel

In reply to Yogesh Siraswar

strace 5.5 on dunfell is not compatible with 5.10 kernel. Instead of cherry picking the fixes that doesn't apply cleanly, its cleaner to use strace 5.10.

---
 .../recipes-devtools/strace/strace_5.5.bbappend      | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-arago-distro/recipes-devtools/strace/strace_5.5.bbappend
meta-arago-distro/recipes-devtools/strace/strace_5.5.bbappend new file +12 -0
new file mode 100644
index 00000000..e1864ec4
@@ -0,0 +1,12 @@
+
+PV = "5.10"
+PR = "arago0"
+
+SRC_URI[sha256sum] = "fe3982ea4cd9aeb3b4ba35f6279f0b577a37175d3282be24b9a5537b56b8f01c"
+SRC_URI[md5sum] = "5f9f87f9afa282e7512f67a129287d6c"
+
+EXTRA_OECONF += "--disable-gcc-Werror"
+
+RDEPENDS_${PN}-ptest_append_libc-glibc = "\
+     locale-base-en-us.iso-8859-1 \
+"
Signature · 1 line
2.17.1