All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds
@ 2020-12-10 13:57 Jon Mason
  2020-12-10 13:57 ` [PATCH 2/3] arm-bsp: Fix Juno kernel config warnings Jon Mason
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jon Mason @ 2020-12-10 13:57 UTC (permalink / raw)
  To: meta-arm

Keeping with what is being done on the master branch, switch to using
linux-yocto for the 5.3 kernel.

Change-Id: Ic327c6ea6e22d6fc0dd41dfb30755c677e5defff
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 meta-arm-bsp/conf/layer.conf                      |  2 +-
 meta-arm-bsp/conf/machine/a5ds.conf               |  5 +++--
 .../recipes-kernel/linux/linux-stable_%.bbappend  |  3 ---
 .../recipes-kernel/linux/linux-yocto_5.3.bb       | 15 +++++++++++++++
 4 files changed, 19 insertions(+), 6 deletions(-)
 delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
 create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb

diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf
index 0b6985c..1a54ddc 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 openembedded-layer meta-arm meta-kernel"
+LAYERDEPENDS_meta-arm-bsp = "core openembedded-layer meta-arm"
 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 e7180e9..331d298 100644
--- a/meta-arm-bsp/conf/machine/a5ds.conf
+++ b/meta-arm-bsp/conf/machine/a5ds.conf
@@ -6,9 +6,10 @@
 
 require conf/machine/include/tune-cortexa5.inc
 
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-stable"
-PREFERRED_VERSION_linux-stable ?= "5.3%"
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+PREFERRED_VERSION_linux-yocto ?= "5.3%"
 KBUILD_DEFCONFIG = "multi_v7_defconfig"
+KCONFIG_MODE = "--alldefconfig"
 
 EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
 
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
deleted file mode 100644
index db850ea..0000000
--- a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
-# Add support for Arm Platforms (boards or simulators)
-
-require linux-arm-platforms.inc
diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb
new file mode 100644
index 0000000..9d5e9ce
--- /dev/null
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb
@@ -0,0 +1,15 @@
+KBRANCH = "v5.3/base"
+
+require recipes-kernel/linux/linux-yocto.inc
+
+SRCREV_machine = "d4f3318ed8fab6316cb7a269b8f42306632a3876"
+SRCREV_meta = "8d0ed83a864cc91eef4d2abbc90f13d4ecd1c213"
+
+SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
+           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
+
+LINUX_VERSION = "5.3.18"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
+
+PV = "${LINUX_VERSION}+git${SRCPV}"
+KMETA = "kernel-meta"
-- 
2.17.1


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

* [PATCH 2/3] arm-bsp: Fix Juno kernel config warnings
  2020-12-10 13:57 [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds Jon Mason
@ 2020-12-10 13:57 ` Jon Mason
  2020-12-10 13:57 ` [PATCH 3/3] arm-bsp: Fix FVP kernel warning Jon Mason
  2020-12-10 14:06 ` [meta-arm] [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds Jon Mason
  2 siblings, 0 replies; 4+ messages in thread
From: Jon Mason @ 2020-12-10 13:57 UTC (permalink / raw)
  To: meta-arm

Juno kernel compilation is displaying warnings due to missing
dependencies.  Add the missing dependencies and the warnings go away.

Change-Id: I78471cdfa826c8a528d13f344fb88c1baa55d3b1
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .../arm-platforms-kmeta/bsp/arm-platforms/juno/juno-pci.cfg      | 1 +
 .../arm-platforms-kmeta/bsp/arm-platforms/juno/juno-sound.cfg    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-pci.cfg b/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-pci.cfg
index 295d190..c36ab4e 100644
--- a/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-pci.cfg
+++ b/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-pci.cfg
@@ -1,5 +1,6 @@
 CONFIG_PCI=y
 CONFIG_PCI_MSI=y
+CONFIG_PCI_IOV=y
 CONFIG_PCI_REALLOC_ENABLE_AUTO=y
 CONFIG_PCI_PRI=y
 CONFIG_PCI_PASID=y
diff --git a/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-sound.cfg b/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-sound.cfg
index 399c77d..d3419ef 100644
--- a/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-sound.cfg
+++ b/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/juno/juno-sound.cfg
@@ -2,6 +2,7 @@ CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_SEQUENCER=y
 CONFIG_SND_SEQ_DUMMY=y
+CONFIG_SND_OSSEMUL=y
 CONFIG_SND_MIXER_OSS=y
 CONFIG_SND_PCM_OSS=y
 CONFIG_SND_SEQUENCER_OSS=y
-- 
2.17.1


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

* [PATCH 3/3] arm-bsp: Fix FVP kernel warning
  2020-12-10 13:57 [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds Jon Mason
  2020-12-10 13:57 ` [PATCH 2/3] arm-bsp: Fix Juno kernel config warnings Jon Mason
@ 2020-12-10 13:57 ` Jon Mason
  2020-12-10 14:06 ` [meta-arm] [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds Jon Mason
  2 siblings, 0 replies; 4+ messages in thread
From: Jon Mason @ 2020-12-10 13:57 UTC (permalink / raw)
  To: meta-arm

ARM_TIMER_SP804 config entry is not being found.  Add COMPILE_TEST to
allow for it to show up.

Change-Id: Ie10dc80dfe32334549680d7154c5c62fee9ef492
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
 .../arm-platforms-kmeta/bsp/arm-platforms/fvp/fvp-timer.cfg      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/fvp/fvp-timer.cfg b/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/fvp/fvp-timer.cfg
index 144977f..b33c65c 100644
--- a/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/fvp/fvp-timer.cfg
+++ b/meta-arm-bsp/recipes-kernel/linux/arm-platforms-kmeta/bsp/arm-platforms/fvp/fvp-timer.cfg
@@ -1,3 +1,4 @@
 # Dual timer module
+CONFIG_COMPILE_TEST=y
 CONFIG_ARM_TIMER_SP804=y
 CONFIG_CLK_SP810=y
-- 
2.17.1


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

* Re: [meta-arm] [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds
  2020-12-10 13:57 [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds Jon Mason
  2020-12-10 13:57 ` [PATCH 2/3] arm-bsp: Fix Juno kernel config warnings Jon Mason
  2020-12-10 13:57 ` [PATCH 3/3] arm-bsp: Fix FVP kernel warning Jon Mason
@ 2020-12-10 14:06 ` Jon Mason
  2 siblings, 0 replies; 4+ messages in thread
From: Jon Mason @ 2020-12-10 14:06 UTC (permalink / raw)
  To: Jon Mason; +Cc: meta-arm

On Thu, Dec 10, 2020 at 08:57:19AM -0500, Jon Mason wrote:
> Keeping with what is being done on the master branch, switch to using
> linux-yocto for the 5.3 kernel.
> 
> Change-Id: Ic327c6ea6e22d6fc0dd41dfb30755c677e5defff
> Signed-off-by: Jon Mason <jon.mason@arm.com>

Series added to dunfell branch

> ---
>  meta-arm-bsp/conf/layer.conf                      |  2 +-
>  meta-arm-bsp/conf/machine/a5ds.conf               |  5 +++--
>  .../recipes-kernel/linux/linux-stable_%.bbappend  |  3 ---
>  .../recipes-kernel/linux/linux-yocto_5.3.bb       | 15 +++++++++++++++
>  4 files changed, 19 insertions(+), 6 deletions(-)
>  delete mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
>  create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb
> 
> diff --git a/meta-arm-bsp/conf/layer.conf b/meta-arm-bsp/conf/layer.conf
> index 0b6985c..1a54ddc 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 openembedded-layer meta-arm meta-kernel"
> +LAYERDEPENDS_meta-arm-bsp = "core openembedded-layer meta-arm"
>  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 e7180e9..331d298 100644
> --- a/meta-arm-bsp/conf/machine/a5ds.conf
> +++ b/meta-arm-bsp/conf/machine/a5ds.conf
> @@ -6,9 +6,10 @@
>  
>  require conf/machine/include/tune-cortexa5.inc
>  
> -PREFERRED_PROVIDER_virtual/kernel ?= "linux-stable"
> -PREFERRED_VERSION_linux-stable ?= "5.3%"
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> +PREFERRED_VERSION_linux-yocto ?= "5.3%"
>  KBUILD_DEFCONFIG = "multi_v7_defconfig"
> +KCONFIG_MODE = "--alldefconfig"
>  
>  EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
>  
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend b/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
> deleted file mode 100644
> index db850ea..0000000
> --- a/meta-arm-bsp/recipes-kernel/linux/linux-stable_%.bbappend
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -# Add support for Arm Platforms (boards or simulators)
> -
> -require linux-arm-platforms.inc
> diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb
> new file mode 100644
> index 0000000..9d5e9ce
> --- /dev/null
> +++ b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_5.3.bb
> @@ -0,0 +1,15 @@
> +KBRANCH = "v5.3/base"
> +
> +require recipes-kernel/linux/linux-yocto.inc
> +
> +SRCREV_machine = "d4f3318ed8fab6316cb7a269b8f42306632a3876"
> +SRCREV_meta = "8d0ed83a864cc91eef4d2abbc90f13d4ecd1c213"
> +
> +SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
> +           git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}"
> +
> +LINUX_VERSION = "5.3.18"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
> +
> +PV = "${LINUX_VERSION}+git${SRCPV}"
> +KMETA = "kernel-meta"
> -- 
> 2.17.1
> 

> 
> 
> 


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

end of thread, other threads:[~2020-12-10 14:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 13:57 [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds Jon Mason
2020-12-10 13:57 ` [PATCH 2/3] arm-bsp: Fix Juno kernel config warnings Jon Mason
2020-12-10 13:57 ` [PATCH 3/3] arm-bsp: Fix FVP kernel warning Jon Mason
2020-12-10 14:06 ` [meta-arm] [PATCH 1/3] arm-bsp: switch to linux-yocto for a5ds 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.