All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels
@ 2020-07-14 12:58 Jon Mason
  2020-07-14 12:58 ` [PATCH 2/4] arm-bsp: Fix tc0 compile Jon Mason
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jon Mason @ 2020-07-14 12:58 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

a5ds is having issues building its stable kernel on master.  Migrate to
meta-kernel to fix the build break.  This has the benefit of meta-arm
not having a unique stable kernel recipe to maintain and support.

Also, change the name of linux-yocto-arm-platforms to be more
generic, as it doesn't accurately reflect where it is currently being
used and can be used by different kernels going forward.

Change-Id: I4e76c7f1ee4b84641279a389820940fac7130df1
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 meta-arm-bsp/conf/layer.conf                  |  2 +-
 meta-arm-bsp/conf/machine/a5ds.conf           |  4 ++--
 ...-platforms.inc => linux-arm-platforms.inc} |  6 +++++
 .../linux/linux-stable_%.bbappend             |  3 +++
 .../linux/linux-upstream-arm-platforms.inc    | 24 -------------------
 .../linux/linux-upstream-arm_5.3.bb           |  8 -------
 6 files changed, 12 insertions(+), 35 deletions(-)
 rename meta-arm-bsp/recipes-kernel/linux/{linux-yocto-arm-platforms.inc => linux-arm-platforms.inc} (91%)
 create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb

diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf
index 7fe0e63..bcf08ad 100644
--- a/meta-arm-bsp/conf/layer.conf
+++ b/meta-arm-bsp/conf/layer.conf
@@ -9,5 +9,5 @@ BBFILE_COLLECTIONS += "meta-arm-bsp"
 BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-arm-bsp = "6"
 
-LAYERDEPENDS_meta-arm-bsp = "core meta-arm"
+LAYERDEPENDS_meta-arm-bsp = "core meta-arm meta-kernel"
 LAYERSERIES_COMPAT_meta-arm-bsp = "warrior zeus dunfell"
diff --git a/meta-arm-bsp/conf/machine/a5ds.conf b/meta-arm-bsp/conf/machine/a5ds.conf
index fa7d88e..e7180e9 100644
--- a/meta-arm-bsp/conf/machine/a5ds.conf
+++ b/meta-arm-bsp/conf/machine/a5ds.conf
@@ -6,8 +6,8 @@
 
 require conf/machine/include/tune-cortexa5.inc
 
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-upstream-arm"
-PREFERRED_VERSION_linux-upstream-arm ?= "5.3%"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-stable"
+PREFERRED_VERSION_linux-stable ?= "5.3%"
 KBUILD_DEFCONFIG = "multi_v7_defconfig"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
similarity index 91%
rename from meta-arm-bsp/recipes-kernel/linux/linux-yocto-arm-platforms.inc
rename to meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
index 3ddebb9..fb37610 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-yocto-arm-platforms.inc
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
@@ -15,6 +15,12 @@ SRC_URI_append_juno = " ${SRC_URI_KMETA}"
 SRC_URI_append_gem5-arm64 = " ${SRC_URI_KMETA}"
 SRCREV_arm-platforms-kmeta = "6147e82375aa9df8f2a162d42ea6406c79c854c5"
 
+#
+# Cortex-A5 DesignStart KMACHINE
+#
+COMPATIBLE_MACHINE_a5ds = "a5ds"
+KMACHINE_a5ds = "a5ds"
+
 #
 # FVP FOUNDATION KMACHINE
 #
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
new file mode 100644
index 0000000..db850ea
--- /dev/null
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
@@ -0,0 +1,3 @@
+# Add support for Arm Platforms (boards or simulators)
+
+require linux-arm-platforms.inc
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc
deleted file mode 100644
index 472cea8..0000000
--- a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "Linux Kernel based on upstream tree"
-SECTION = "kernel"
-LICENSE = "GPLv2"
-SRCREV_FORMAT = "kernel"
-
-require recipes-kernel/linux/linux-yocto.inc
-
-KERNEL_VERSION_SANITY_SKIP = "1"
-
-S = "${WORKDIR}/git"
-
-# Override do_kernel_configme to avoid kernel being assembled into a linux-yocto
-# style kernel
-# https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-tasks-kernel_configme
-do_kernel_configme[noexec] = "1"
-
-# Make sure no branch is defined since here we track a specific version
-KBRANCH = ""
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-
-SRC_URI = "\
-        git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux;protocol=git;nobranch=1 \
-        "
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb b/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb
deleted file mode 100644
index 88a06c4..0000000
--- a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-# Add support for Upstream Kernel for Arm Platforms (boards or simulators)
-
-SUMMARY = "Linux Kernel Upstream, supported by Arm/Linaro"
-
-require recipes-kernel/linux/linux-upstream-arm-platforms.inc
-
-SRCREV = "v${PV}"
-LINUX_VERSION ?= "${PV}"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/4] arm-bsp: Fix tc0 compile
  2020-07-14 12:58 [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
@ 2020-07-14 12:58 ` Jon Mason
  2020-07-14 12:58 ` [PATCH 3/4] arm-bsp: Prepare to migrate linaro kernels to meta-kernel Jon Mason
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Jon Mason @ 2020-07-14 12:58 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

TC0 does not compile on the latest master branch.  Clean-up the recipe
and get it compiling again.

Change-Id: I9eda0db826727ca33cac5a1f0be68024a8827900
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .../recipes-kernel/linux/linux-arm-platforms.inc  | 13 +++++++++++++
 .../recipes-kernel/linux/linux-arm64-ack-tc0.inc  | 15 ---------------
 .../linux/linux-arm64-ack_4.19.bbappend           |  5 ++---
 .../recipes-kernel/linux/linux-arm64-ack_4.19.bb  |  1 -
 4 files changed, 15 insertions(+), 19 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-tc0.inc

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
index fb37610..6f16f49 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
@@ -38,3 +38,16 @@ KMACHINE_fvp-base = "fvp"
 #
 COMPATIBLE_MACHINE_juno = "juno"
 KMACHINE_juno = "juno"
+
+#
+# Total Compute KMACHINE
+#
+COMPATIBLE_MACHINE_tc0 = "tc0"
+KMACHINE_tc0 = "tc0"
+KBUILD_DEFCONFIG_tc0 = "defconfig"
+KCONFIG_MODE_tc0 = "--alldefconfig"
+SRC_URI_append_tc0 = " \
+    file://0001-drm-Add-component-aware-simple-encoder.patch \
+    file://0002-swap-red-and-blue-colors-in-HDLCD-driver.patch \
+    file://defconfig \
+    "
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-tc0.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-tc0.inc
deleted file mode 100644
index a8fe6ff..0000000
--- a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack-tc0.inc
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# TC0 MACHINE specific configurations
-#
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/linux-arm64-ack-4.19:${THISDIR}/files:"
-
-SRC_URI_append = " \
-    file://defconfig \
-    file://0001-drm-Add-component-aware-simple-encoder.patch \
-    file://0002-swap-red-and-blue-colors-in-HDLCD-driver.patch \
-    "
-
-KCONFIG_MODE = "--alldefconfig"
-
-COMPATIBLE_MACHINE = "tc0"
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_4.19.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_4.19.bbappend
index 4df4831..4b1aaa0 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_4.19.bbappend
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm64-ack_4.19.bbappend
@@ -1,6 +1,5 @@
 # Machine specific configurations
 
-MACHINE_ACK_REQUIRE ?= ""
-MACHINE_ACK_REQUIRE_tc0 = "linux-arm64-ack-tc0.inc"
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux-arm64-ack-4.19:${THISDIR}/files:"
 
-require ${MACHINE_ACK_REQUIRE}
+require linux-arm-platforms.inc
diff --git a/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb b/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb
index 99db960..4eb17e2 100644
--- a/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb
+++ b/meta-arm/recipes-kernel/linux/linux-arm64-ack_4.19.bb
@@ -3,7 +3,6 @@
 # Copyright (c) 2020 Arm Limited
 #
 
-
 DESCRIPTION = "Linux Android Common Kernel"
 SECTION = "kernel"
 LICENSE = "GPLv2"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/4] arm-bsp: Prepare to migrate linaro kernels to meta-kernel
  2020-07-14 12:58 [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
  2020-07-14 12:58 ` [PATCH 2/4] arm-bsp: Fix tc0 compile Jon Mason
@ 2020-07-14 12:58 ` Jon Mason
  2020-07-14 12:58 ` [PATCH 4/4] arm-bsp: remove unused bbappend Jon Mason
  2020-07-14 18:58 ` [meta-arm] [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
  3 siblings, 0 replies; 6+ messages in thread
From: Jon Mason @ 2020-07-14 12:58 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

Reorganize and clean-up the Linaro kernel recipes for migration to
meta-kernel.

Change-Id: I4291ae01b5679ee2c110b1deb38c963bde254177
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .../recipes-kernel/linux/linux-linaro-arm.inc | 19 +++++++++++
 .../linux/linux-linaro-arm_4.19.bb            | 33 +++----------------
 .../linux/linux-linaro-arm_4.19.bbappend      | 10 +++++-
 .../linux/linux-linaro-arm_5.4.bb             | 26 ++++-----------
 .../linux/linux-linaro-arm_5.4.bbappend       |  2 +-
 5 files changed, 40 insertions(+), 50 deletions(-)
 create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm.inc

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm.inc b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm.inc
new file mode 100644
index 0000000..1b8d4b2
--- /dev/null
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm.inc
@@ -0,0 +1,19 @@
+# Recipe for building linaro kernel
+
+SUMMARY = "Linux Kernel Upstream, supported by Arm/Linaro"
+SECTION = "kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
+
+inherit kernel
+inherit kernel-yocto
+
+SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;branch=${KBRANCH} \
+           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${KMETA_BRANCH};destsuffix=kernel-meta \
+           file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch"
+
+DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
+DEPENDS += "openssl-native util-linux-native"
+
+LINUX_VERSION ?= "${PV}"
+S = "${WORKDIR}/git"
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bb b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bb
index 089f6cb..df8ba4d 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bb
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bb
@@ -1,32 +1,7 @@
-# Recipe for building linaro provided kernel
+SRCREV ?= "e97e8d868aba53467039dbef3b7436c857433ae3"
+SRCREV_meta ?= "69022e62eb6c7046c84dace4af66ee8a30865865"
 
 KBRANCH ?= "latest-4.19-armlt-19.01"
+KMETA_BRANCH ?= "yocto-4.19"
 
-require recipes-kernel/linux/linux-yocto.inc
-
-
-SRCREV_machine ?= "e97e8d868aba53467039dbef3b7436c857433ae3"
-
-SRCREV_meta ?= "ad6f8b357720ca8167a090713b7746230cf4b314"
-
-SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;name=machine;branch=${KBRANCH}; \
-           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.19;destsuffix=${KMETA} \
-           file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
-          "
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-LINUX_VERSION ?= "4.19.0"
-
-DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
-DEPENDS += "openssl-native util-linux-native"
-
-PV = "${LINUX_VERSION}+git${SRCPV}"
-
-KMETA = "kernel-meta"
-KCONF_BSP_AUDIT_LEVEL = "2"
-
-# Functionality flags
-KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
-KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
-KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "" ,d)}"
+require linux-linaro-arm.inc
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bbappend
index ed6fbc3..b1bc72e 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bbappend
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_4.19.bbappend
@@ -1,3 +1,11 @@
 # Add support for Arm Platforms (boards or simulators)
 
-require linux-yocto-arm-platforms.inc
+require linux-arm-platforms.inc
+
+KCONF_BSP_AUDIT_LEVEL = "2"
+
+# Functionality flags
+KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
+KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}"
+KERNEL_FEATURES_append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "" ,d)}"
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb
index 516573a..feed922 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bb
@@ -1,22 +1,10 @@
-# Add support for Arm Linaro Kernel 5.4 for Arm Platforms (boards or simulators)
+SRCREV ?= "41e8d7be674f98a0f3bef67b16ea2162109fd522"
+SRCREV_meta ?= "e32057eca987b7abbe3eb47ba36f06af8711278a"
 
-SUMMARY = "Linux Kernel Upstream, supported by Arm/Linaro"
-LICENSE = "GPLv2"
-SECTION = "kernel"
+# KBRANCH is set to n1sdp by default as there is no master or 5.4 branch on the repository
+KBRANCH ?= "n1sdp"
+KMETA_BRANCH ?= "yocto-5.4"
 
-require recipes-kernel/linux/linux-yocto.inc
+SRC_URI_append = " file://fix-bfd-link.patch"
 
-COMPATIBLE_MACHINE ?= "invalid"
-
-# KBRANCH is set to n1sdp by default as there is no master branch on the repository
-KBRANCH = "n1sdp"
-
-SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;nobranch=1 \
-           file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
-           file://fix-bfd-link.patch \
-          "
-LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-
-# Refer to commit TAG N1SDP-2020.03.26 since it will not get force pushed
-SRCREV = "137cccb0843e63b031acf67d1ca4f6447b8c417c"
-LINUX_VERSION ?= "${PV}"
+require linux-linaro-arm.inc
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend
index 0f516c7..dcc6e47 100644
--- a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm_5.4.bbappend
@@ -15,7 +15,7 @@ SRC_URI_append_n1sdp = " \
     "
 
 # Referring to commit TAG N1SDP-2020.03.26
-SRCREV_n1sdp  = "137cccb0843e63b031acf67d1ca4f6447b8c417c"
+SRCREV_n1sdp  = "41e8d7be674f98a0f3bef67b16ea2162109fd522"
 SRCREV_dts_n1sdp = "3209a868152f348194cc1f20fd87c759d3a97d45"
 
 # Use intree defconfig
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/4] arm-bsp: remove unused bbappend
  2020-07-14 12:58 [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
  2020-07-14 12:58 ` [PATCH 2/4] arm-bsp: Fix tc0 compile Jon Mason
  2020-07-14 12:58 ` [PATCH 3/4] arm-bsp: Prepare to migrate linaro kernels to meta-kernel Jon Mason
@ 2020-07-14 12:58 ` Jon Mason
  2020-07-14 17:23   ` [meta-arm] " Jon Mason
  2020-07-14 18:58 ` [meta-arm] [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
  3 siblings, 1 reply; 6+ messages in thread
From: Jon Mason @ 2020-07-14 12:58 UTC (permalink / raw)
  To: meta-arm; +Cc: nd

linux-yocto_5.4.bbappend is currently referencing a non-existing file.
It's not breaking the build because no one is using it.  Instead of
fixing it, it is better to remove it and re-add if/when it is used
again.

Change-Id: Icc6d4b2a3d42981dac884600a351c267ac346246
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend | 3 ---
 1 file changed, 3 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
deleted file mode 100644
index ed6fbc3..0000000
--- a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
-# Add support for Arm Platforms (boards or simulators)
-
-require linux-yocto-arm-platforms.inc
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [meta-arm] [PATCH 4/4] arm-bsp: remove unused bbappend
  2020-07-14 12:58 ` [PATCH 4/4] arm-bsp: remove unused bbappend Jon Mason
@ 2020-07-14 17:23   ` Jon Mason
  0 siblings, 0 replies; 6+ messages in thread
From: Jon Mason @ 2020-07-14 17:23 UTC (permalink / raw)
  To: Jon Mason; +Cc: meta-arm, nd

On Tue, Jul 14, 2020 at 08:58:34AM -0400, Jon Mason wrote:
> linux-yocto_5.4.bbappend is currently referencing a non-existing file.
> It's not breaking the build because no one is using it.  Instead of
> fixing it, it is better to remove it and re-add if/when it is used
> again.
> 
> Change-Id: Icc6d4b2a3d42981dac884600a351c267ac346246
> Signed-off-by: Jon Mason <jon.mason@arm.com>

This is now being used by Anders' most recent patch.  Dropping.

Thanks,
Jon

> ---
>  meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend | 3 ---
>  1 file changed, 3 deletions(-)
>  delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
> 
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
> deleted file mode 100644
> index ed6fbc3..0000000
> --- a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.4.bbappend
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -# Add support for Arm Platforms (boards or simulators)
> -
> -require linux-yocto-arm-platforms.inc
> -- 
> 2.17.1
> 

> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [meta-arm] [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels
  2020-07-14 12:58 [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
                   ` (2 preceding siblings ...)
  2020-07-14 12:58 ` [PATCH 4/4] arm-bsp: remove unused bbappend Jon Mason
@ 2020-07-14 18:58 ` Jon Mason
  3 siblings, 0 replies; 6+ messages in thread
From: Jon Mason @ 2020-07-14 18:58 UTC (permalink / raw)
  To: Jon Mason; +Cc: meta-arm, nd

On Tue, Jul 14, 2020 at 08:58:31AM -0400, Jon Mason wrote:
> a5ds is having issues building its stable kernel on master.  Migrate to
> meta-kernel to fix the build break.  This has the benefit of meta-arm
> not having a unique stable kernel recipe to maintain and support.
> 
> Also, change the name of linux-yocto-arm-platforms to be more
> generic, as it doesn't accurately reflect where it is currently being
> used and can be used by different kernels going forward.
> 
> Change-Id: I4e76c7f1ee4b84641279a389820940fac7130df1
> Signed-off-by: Jon Mason <jon.mason@arm.com>

Series pulled into master.

Thanks,
Jon

> ---
>  meta-arm-bsp/conf/layer.conf                  |  2 +-
>  meta-arm-bsp/conf/machine/a5ds.conf           |  4 ++--
>  ...-platforms.inc => linux-arm-platforms.inc} |  6 +++++
>  .../linux/linux-stable_%.bbappend             |  3 +++
>  .../linux/linux-upstream-arm-platforms.inc    | 24 -------------------
>  .../linux/linux-upstream-arm_5.3.bb           |  8 -------
>  6 files changed, 12 insertions(+), 35 deletions(-)
>  rename meta-arm-bsp/recipes-kernel/linux/{linux-yocto-arm-platforms.inc => linux-arm-platforms.inc} (91%)
>  create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
>  delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc
>  delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb
> 
> diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf
> index 7fe0e63..bcf08ad 100644
> --- a/meta-arm-bsp/conf/layer.conf
> +++ b/meta-arm-bsp/conf/layer.conf
> @@ -9,5 +9,5 @@ BBFILE_COLLECTIONS += "meta-arm-bsp"
>  BBFILE_PATTERN_meta-arm-bsp = "^${LAYERDIR}/"
>  BBFILE_PRIORITY_meta-arm-bsp = "6"
>  
> -LAYERDEPENDS_meta-arm-bsp = "core meta-arm"
> +LAYERDEPENDS_meta-arm-bsp = "core meta-arm meta-kernel"
>  LAYERSERIES_COMPAT_meta-arm-bsp = "warrior zeus dunfell"
> diff --git a/meta-arm-bsp/conf/machine/a5ds.conf b/meta-arm-bsp/conf/machine/a5ds.conf
> index fa7d88e..e7180e9 100644
> --- a/meta-arm-bsp/conf/machine/a5ds.conf
> +++ b/meta-arm-bsp/conf/machine/a5ds.conf
> @@ -6,8 +6,8 @@
>  
>  require conf/machine/include/tune-cortexa5.inc
>  
> -PREFERRED_PROVIDER_virtual/kernel ?= "linux-upstream-arm"
> -PREFERRED_VERSION_linux-upstream-arm ?= "5.3%"
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-stable"
> +PREFERRED_VERSION_linux-stable ?= "5.3%"
>  KBUILD_DEFCONFIG = "multi_v7_defconfig"
>  
>  EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
> similarity index 91%
> rename from meta-arm-bsp/recipes-kernel/linux/linux-yocto-arm-platforms.inc
> rename to meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
> index 3ddebb9..fb37610 100644
> --- a/meta-arm-bsp/recipes-kernel/linux/linux-yocto-arm-platforms.inc
> +++ b/meta-arm-bsp/recipes-kernel/linux/linux-arm-platforms.inc
> @@ -15,6 +15,12 @@ SRC_URI_append_juno = " ${SRC_URI_KMETA}"
>  SRC_URI_append_gem5-arm64 = " ${SRC_URI_KMETA}"
>  SRCREV_arm-platforms-kmeta = "6147e82375aa9df8f2a162d42ea6406c79c854c5"
>  
> +#
> +# Cortex-A5 DesignStart KMACHINE
> +#
> +COMPATIBLE_MACHINE_a5ds = "a5ds"
> +KMACHINE_a5ds = "a5ds"
> +
>  #
>  # FVP FOUNDATION KMACHINE
>  #
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
> new file mode 100644
> index 0000000..db850ea
> --- /dev/null
> +++ b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
> @@ -0,0 +1,3 @@
> +# Add support for Arm Platforms (boards or simulators)
> +
> +require linux-arm-platforms.inc
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc b/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc
> deleted file mode 100644
> index 472cea8..0000000
> --- a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm-platforms.inc
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -DESCRIPTION = "Linux Kernel based on upstream tree"
> -SECTION = "kernel"
> -LICENSE = "GPLv2"
> -SRCREV_FORMAT = "kernel"
> -
> -require recipes-kernel/linux/linux-yocto.inc
> -
> -KERNEL_VERSION_SANITY_SKIP = "1"
> -
> -S = "${WORKDIR}/git"
> -
> -# Override do_kernel_configme to avoid kernel being assembled into a linux-yocto
> -# style kernel
> -# https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-tasks-kernel_configme
> -do_kernel_configme[noexec] = "1"
> -
> -# Make sure no branch is defined since here we track a specific version
> -KBRANCH = ""
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
> -
> -SRC_URI = "\
> -        git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux;protocol=git;nobranch=1 \
> -        "
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb b/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb
> deleted file mode 100644
> index 88a06c4..0000000
> --- a/meta-arm-bsp/recipes-kernel/linux/linux-upstream-arm_5.3.bb
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -# Add support for Upstream Kernel for Arm Platforms (boards or simulators)
> -
> -SUMMARY = "Linux Kernel Upstream, supported by Arm/Linaro"
> -
> -require recipes-kernel/linux/linux-upstream-arm-platforms.inc
> -
> -SRCREV = "v${PV}"
> -LINUX_VERSION ?= "${PV}"
> -- 
> 2.17.1
> 

> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-14 18:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 12:58 [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason
2020-07-14 12:58 ` [PATCH 2/4] arm-bsp: Fix tc0 compile Jon Mason
2020-07-14 12:58 ` [PATCH 3/4] arm-bsp: Prepare to migrate linaro kernels to meta-kernel Jon Mason
2020-07-14 12:58 ` [PATCH 4/4] arm-bsp: remove unused bbappend Jon Mason
2020-07-14 17:23   ` [meta-arm] " Jon Mason
2020-07-14 18:58 ` [meta-arm] [PATCH 1/4] arm-bsp: Migrate a5ds to meta-kernel for stable kernels Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.