Skip to contentSkip to conversation

linux-libc-headers: update to 5.4

PATCH New Denys Dmytriyenko 1 participant 8 messages Jan 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 linux-libc-headers: update to 5.4

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/conf/distro/include/toolchain-gcc.inc           | 4 ++--
 .../{linux-libc-headers_4.19.bb => linux-libc-headers_5.4.bb}     | 8 +++++---
 2 files changed, 7 insertions(+), 5 deletions(-)
 rename meta-arago-distro/recipes-kernel/linux-libc-headers/{linux-libc-headers_4.19.bb => linux-libc-headers_5.4.bb} (67%)
meta-arago-distro/conf/distro/include/toolchain-gcc.inc +2 -2
index cd11262..51ccd9e 100644
@@ -16,7 +16,7 @@ PREFERRED_PROVIDER_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} = "gdb-cross-can
 SDKGCCVERSION ?= "9%"
 SDKBINUVERSION ?= "2.32%"
 SDKGLIBCVERSION ?= "2.30%"
-SDKLINUXLIBCVERSION ?= "4.19%"
+SDKLINUXLIBCVERSION ?= "5.4%"
 
 PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}"
 PREFERRED_VERSION_gcc-crosssdk-initial-${SDK_SYS} ?= "${SDKGCCVERSION}"
@@ -35,7 +35,7 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}"
 GCCVERSION ?= "9%"
 BINUVERSION ?= "2.32%"
 GLIBCVERSION ?= "2.30%"
-LINUXLIBCVERSION ?= "4.19%"
+LINUXLIBCVERSION ?= "5.4%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_binutils ?= "${BINUVERSION}"
meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb renamed from meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.19.bb +5 -3
similarity index 67%
rename from meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.19.bb
rename to meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_5.4.bb
index d62fc06..74b676a 100644
@@ -1,9 +1,11 @@
 require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
 
-PR_append = ".arago1"
+PR_append = ".arago0"
 
-BRANCH = "ti-linux-4.19.y"
-SRCREV = "50ceb3c6e7f2d5f54d66d4999e79d3c4e09796df"
+DEPENDS += "rsync-native"
+
+BRANCH = "ti-linux-5.4.y"
+SRCREV = "c65c87b98f8d1b647c13b5bb36e5ffbad5805ff1"
 
 KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
 KERNEL_GIT_PROTOCOL = "git"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/8 external-arm-toolchain: update linux-libc-headers to 5.4

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/conf/distro/include/toolchain-arm.inc        |  2 +-
 .../recipes-core/meta/external-arm-toolchain.bbappend          | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)
meta-arago-distro/conf/distro/include/toolchain-arm.inc +1 -1
index b9cd55a..3ce56e3 100644
@@ -51,7 +51,7 @@ SDKGCCVERSION ?= "arm-9.2%"
 SDKGDBVERSION ?= "8.3%"
 SDKBINUVERSION ?= "2.32%"
 SDKGLIBCVERSION ?= "2.30%"
-SDKLINUXLIBCVERSION ?= "4.19%"
+SDKLINUXLIBCVERSION ?= "5.4%"
 
 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 +5 -5
index 635b13d..4a57fad 100644
@@ -3,21 +3,21 @@
 # on linux-libc-headers creates circular dependencies now. Mostly
 # duplication of code from corresponding recipe.
 
-BRANCH = "ti-linux-4.19.y"
-SRCREV = "50ceb3c6e7f2d5f54d66d4999e79d3c4e09796df"
+BRANCH = "ti-linux-5.4.y"
+SRCREV = "c65c87b98f8d1b647c13b5bb36e5ffbad5805ff1"
 
 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 = "4.19"
-PKGV_linux-libc-headers = "4.19"
+PKGV_linux-libc-headers-dev = "5.4"
+PKGV_linux-libc-headers = "5.4"
 
 inherit kernel-arch pkgconfig multilib_header
 
 EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCPP="${BUILD_CPP}""
 
-DEPENDS += "bison-native"
+DEPENDS += "bison-native rsync-native"
 
 do_configure_append() {
 	cd ${WORKDIR}/git
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/8 u-boot-k3-r5: rename against 2020.01 u-boot

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 .../u-boot/{u-boot-k3-r5_2019.01.bb => u-boot-k3-r5_2020.01.bb}           | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta-arago-distro/recipes-bsp/u-boot/{u-boot-k3-r5_2019.01.bb => u-boot-k3-r5_2020.01.bb} (100%)
meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb renamed from meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2019.01.bb +0 -0
similarity index 100%
rename from meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2019.01.bb
rename to meta-arago-distro/recipes-bsp/u-boot/u-boot-k3-r5_2020.01.bb
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/8 branding-core: temporarily disable "gpu" machine features due to K5.4

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/conf/distro/include/branding-core.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/conf/distro/include/branding-core.inc +2 -1
index a698ac0..e7a32a2 100644
@@ -12,6 +12,7 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
 # Raise priority for sample IPC FW images
 ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
 
-# Temporarily disable "dsp" and "mmip" machine features for all SOCs
+# Temporarily disable "dsp", "mmip" and "gpu" machine features for all SOCs
 MACHINE_FEATURES := "${@d.getVar('MACHINE_FEATURES', True).replace('dsp', '')}"
 MACHINE_FEATURES := "${@d.getVar('MACHINE_FEATURES', True).replace('mmip', '')}"
+MACHINE_FEATURES := "${@d.getVar('MACHINE_FEATURES', True).replace('gpu', '')}"
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/8 packagegroup-*-addons: disable switch-config, as kernel uapi isn't ready yet

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +4 -4
index b80a770..20d582f 100644
@@ -40,27 +40,27 @@ UTILS_DSP = " \
     ${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 'gdbc6x dsptop', '', d)} \
 "
 
+# switch-config
 UTILS_append_ti33x = " mmc-utils \
                        can-utils \
-                       switch-config \
                        pru-icss \
                        pru-swuart-fw \
                        uio-module-drv-test \
                        uio-test-pruss \
 "
 
+# switch-config
 UTILS_append_ti43x = " mmc-utils \
                        can-utils \
-                       switch-config \
                        libdrm-omap \
                        pru-icss \
                        uio-module-drv-test \
                        uio-test-pruss \
 "
 
+# switch-config
 UTILS_append_omap-a15 = " mmc-utils \
                           parted \
-                          switch-config \
                           libdrm-omap \
                           stream-openmp \
                           pru-icss \
@@ -69,10 +69,10 @@ UTILS_append_omap-a15 = " mmc-utils \
                           uio-module-drv-test \
 "
 
+# switch-config
 UTILS_append_k3 = " mmc-utils \
                     can-utils \
                     parted \
-                    switch-config \
                     irqbalance \
                     jailhouse \
 "
Signature · 1 line
2.7.4
#5 lore raw

PATCH 6/8 packagegroup-*-test: disable timestamping, that needs updating from 4.1

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb +1 -1
index 48ef5c0..f554153 100644
@@ -43,11 +43,11 @@ ARAGO_TEST_append_armv7ve = " \
     cpuburn-neon \
 "
 
+# timestamping
 ARAGO_TI_TEST = " \
     ltp-ddt \
     input-utils \
     cpuloadgen \
-    timestamping \
     uvc-gadget \
     "
 
Signature · 1 line
2.7.4
#6 lore raw

PATCH 7/8 packagegroup-*-addons: disable acontis-atemsys as it breaks against K5.4

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +4 -2
index 20d582f..7cfa4c8 100644
@@ -185,9 +185,11 @@ EXTRA_PACKAGES_append_keystone = " ti-ipc-examples-linux"
 EXTRA_PACKAGES_append_omapl138 = " ti-ipc-examples-linux"
 EXTRA_PACKAGES_append_am65xx = " ti-ipc-examples-linux"
 
-EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps acontis-atemsys"
+# acontis-atemsys
+EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps"
 EXTRA_PACKAGES_append_am437x-evm = " pruss-lld-apps"
-EXTRA_PACKAGES_append_am57xx-evm = " pruss-lld-apps acontis-atemsys"
+# acontis-atemsys
+EXTRA_PACKAGES_append_am57xx-evm = " pruss-lld-apps"
 EXTRA_PACKAGES_append_k2g-evm  = " pruss-lld-apps"
 
 RDEPENDS_${PN} = "\
Signature · 1 line
2.7.4
#7 lore raw

PATCH 8/8 packagegroup-*-addons: disable uio, as module won't build againsnt K5.4

In reply to Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

---
 .../packagegroup-arago-tisdk-addons-sdk-host.bb    |  8 ++++----
 .../packagegroup-arago-tisdk-addons.bb             | 24 +++++++++++-----------
 2 files changed, 16 insertions(+), 16 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb +4 -4
index fc11a17..321c396 100644
@@ -54,9 +54,9 @@ UTILS_append_am65xx = " \
 
 EXTRA_LIBS = ""
 
+# uio-module-drv-src
 EXTRA_LIBS_append_omap-a15 = " \
     cmem-mod-src \
-    uio-module-drv-src \
     big-data-ipc-demo-linux-src \
 "
 
@@ -65,22 +65,22 @@ EXTRA_LIBS_append_omap-a15 = " \
 #    gdbserverproxy-module-drv-src \
 #"
 
+# uio-module-drv-src
 EXTRA_LIBS_append_ti33x = " \
-    uio-module-drv-src \
 "
 
+# uio-module-drv-src
 EXTRA_LIBS_append_ti43x = " \
     cmem-mod-src \
-    uio-module-drv-src \
 "
 
 # Disable ipsecmgr due to libnl and xfrm conflict
 #    ipsecmgr-mod-src
 # Disable hplib-mod-srv due to K4.14 breakage
 #    hplib-mod-src
+# uio-module-drv-src
 EXTRA_LIBS_append_keystone = " \
     cmem-mod-src \
-    uio-module-drv-src \
 "
 
 #EXTRA_LIBS_append_k2hk = " \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb +12 -12
index 7cfa4c8..a1b55ee 100644
@@ -41,32 +41,32 @@ UTILS_DSP = " \
 "
 
 # switch-config
+# uio-module-drv-test
+# uio-test-pruss
 UTILS_append_ti33x = " mmc-utils \
                        can-utils \
                        pru-icss \
                        pru-swuart-fw \
-                       uio-module-drv-test \
-                       uio-test-pruss \
 "
 
 # switch-config
+# uio-module-drv-test
+# uio-test-pruss
 UTILS_append_ti43x = " mmc-utils \
                        can-utils \
                        libdrm-omap \
                        pru-icss \
-                       uio-module-drv-test \
-                       uio-test-pruss \
 "
 
 # switch-config
+# uio-test-pruss
+# uio-module-drv-test
 UTILS_append_omap-a15 = " mmc-utils \
                           parted \
                           libdrm-omap \
                           stream-openmp \
                           pru-icss \
                           ti-ipc-rtos-fw \
-                          uio-test-pruss \
-                          uio-module-drv-test \
 "
 
 # switch-config
@@ -87,8 +87,8 @@ UTILS_append_dra7xx = " can-utils \
                         ${@bb.utils.contains('MACHINE_FEATURES','gpu','glsdk-example-apps','',d)} \
 "
 
+# uio-module-drv-test
 UTILS_append_keystone = " \
-    uio-module-drv-test \
     ti-ipc-rtos-fw \
 "
 
@@ -104,30 +104,30 @@ UTILS_append_k2e = " \
     ${UTILS_DSP} \
 "
 
+# uio-test-pruss
 UTILS_append_k2g = " \
     can-utils \
     pru-icss \
-    uio-test-pruss \
 "
 
 EXTRA_LIBS = ""
+# uio-module-drv
 EXTRA_LIBS_append_omap-a15 = " \
     cmem \
-    uio-module-drv \
 "
 
+# uio-module-drv
 EXTRA_LIBS_append_keystone = " \
     cmem \
-    uio-module-drv \
 "
 
+# uio-module-drv
 EXTRA_LIBS_append_ti43x = " \
     cmem \
-    uio-module-drv \
 "
 
+# uio-module-drv
 EXTRA_LIBS_append_ti33x = " \
-    uio-module-drv \
 "
 
 DEVTOOLS = " \
Signature · 1 line
2.7.4