Skip to contentSkip to conversation

linux-yocto: consolidated pull request

PATCH New [email protected] 1 participant 4 messages Feb 9, 2019

lore
Share & tools
lore
#0 lore raw

cover linux-yocto: consolidated pull request

From: Bruce Ashfield <[email protected]>

Hi all,

Sending out my queued patches for linux-yocto. These are mostly for ARC support, but there are also -stable updates pushed for 4.4/4.9 if anyone is using those kernels. SRCREV patches for maintained branches will follow for those changes.

Cheers,

Bruce

The following changes since commit c4f1276721a6e2ea5c4b5e536711072e037a2d7b:

arch-armv7*.inc: Add Cortex vfpv4-d16 support (2019-02-08 23:15:32 +0000)

are available in the Git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Alexey Brodkin (1):
linux-yocto: Add dependency on libgcc for ARC

Bruce Ashfield (2):
linux-yocto: tweak console boot check
linux-yocto: add baseline ARC support

 .../linux/linux-yocto-rt_4.19.bb               |  4 ++--
 .../linux/linux-yocto-tiny_4.19.bb             |  6 +++---
 meta/recipes-kernel/linux/linux-yocto.inc      |  4 ++++
 meta/recipes-kernel/linux/linux-yocto_4.19.bb  | 18 +++++++++---------
 4 files changed, 18 insertions(+), 14 deletions(-)
Signature · 1 line
2.19.1
#1 lore raw

PATCH 1/3 linux-yocto: tweak console boot check

From: Bruce Ashfield <[email protected]>

boot/main: don't check console device file on fs when booting with
initrd/initramfs

In case of initrd/initramfs /dev/console might not exist that early as devtmpfs is mounted a bit later by /init process so disable this check in that case.

---
 .../linux/linux-yocto-rt_4.19.bb               |  4 ++--
 .../linux/linux-yocto-tiny_4.19.bb             |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_4.19.bb  | 18 +++++++++---------
 3 files changed, 14 insertions(+), 14 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb +2 -2
index 79eebb49f5..591981aa31 100644
@@ -11,8 +11,8 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "7759e970a7e106bd37bd62b63ab67bdae54a2152"
-SRCREV_meta ?= "4c0da29403e242f3d429196cf4a03200211e6ff4"
+SRCREV_machine ?= "3059029718900250904b9f587e37ba22fb949ea6"
+SRCREV_meta ?= "5d93f38b0eed56071261895aefecfca287595536"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.19;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb +3 -3
index 69d0a6136d..bb2ea2d991 100644
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "64017daf053fdb31049248e45f42e0abd55117d3"
-SRCREV_machine ?= "ad24af0809e17882e33fb4bd77426e691f47b46d"
-SRCREV_meta ?= "4c0da29403e242f3d429196cf4a03200211e6ff4"
+SRCREV_machine_qemuarm ?= "6cc861e796ab19a6827cf9996e7755f1875d553e"
+SRCREV_machine ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
+SRCREV_meta ?= "5d93f38b0eed56071261895aefecfca287595536"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.19.bb +9 -9
index 11f7e15bad..13d6eb0ea0 100644
@@ -11,15 +11,15 @@ KBRANCH_qemux86  ?= "v4.19/standard/base"
 KBRANCH_qemux86-64 ?= "v4.19/standard/base"
 KBRANCH_qemumips64 ?= "v4.19/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "21a0a68be12c2e549fcc63c3253f22123dc46b72"
-SRCREV_machine_qemuarm64 ?= "ad24af0809e17882e33fb4bd77426e691f47b46d"
-SRCREV_machine_qemumips ?= "27542dfa0e04bf9d8453a172fce459176787fd97"
-SRCREV_machine_qemuppc ?= "ad24af0809e17882e33fb4bd77426e691f47b46d"
-SRCREV_machine_qemux86 ?= "ad24af0809e17882e33fb4bd77426e691f47b46d"
-SRCREV_machine_qemux86-64 ?= "ad24af0809e17882e33fb4bd77426e691f47b46d"
-SRCREV_machine_qemumips64 ?= "5abad938eff63706ca30fdf09b31f1c7b36f5308"
-SRCREV_machine ?= "ad24af0809e17882e33fb4bd77426e691f47b46d"
-SRCREV_meta ?= "4c0da29403e242f3d429196cf4a03200211e6ff4"
+SRCREV_machine_qemuarm ?= "0d83500d7377b68aeb42387350bb41dd7dc04315"
+SRCREV_machine_qemuarm64 ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
+SRCREV_machine_qemumips ?= "0169796412b83d8835f3f9b81d19efe008199fdd"
+SRCREV_machine_qemuppc ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
+SRCREV_machine_qemux86 ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
+SRCREV_machine_qemux86-64 ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
+SRCREV_machine_qemumips64 ?= "fc7a2bf24e0e39b6a260f8650a3c8d497b8cdcfd"
+SRCREV_machine ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
+SRCREV_meta ?= "5d93f38b0eed56071261895aefecfca287595536"
 
 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-4.19;destsuffix=${KMETA}"
Signature · 1 line
2.19.1
#2 lore raw

PATCH 2/3 linux-yocto: Add dependency on libgcc for ARC

In reply to [email protected]

From: Alexey Brodkin <[email protected]>

As of now in case of ARC there's no in-kernel implementation of basic libgcc functions used for millicode, multiplication, division etc instead we simply link with libgcc.a which provides everything used by the compiler.

---
 meta/recipes-kernel/linux/linux-yocto.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-kernel/linux/linux-yocto.inc +4 -0
index 1ebfb606da..f191946f2a 100644
@@ -26,6 +26,10 @@ DEPENDS_append_nios2 = " libgcc"
 KERNEL_CC_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
 KERNEL_LD_append_nios2 = " ${TOOLCHAIN_OPTIONS}"
 
+DEPENDS_append_arc = " libgcc"
+KERNEL_CC_append_arc = " ${TOOLCHAIN_OPTIONS}"
+KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}"
+
 KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc"
 
 KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"
Signature · 1 line
2.19.1
#3 lore raw

PATCH 3/3 linux-yocto: add baseline ARC support

In reply to [email protected]

From: Bruce Ashfield <[email protected]>

Adding both the required toolchain options (libgcc) and baseline BSP definitions for arc support.

Author: Alexey Brodkin <[email protected]>
Date: Fri Feb 8 18:32:21 2019 +0300

linux-yocto: Add dependency on libgcc for ARC

As of now in case of ARC there's no in-kernel implementation of basic libgcc functions used for millicode, multiplication, division etc instead we simply link with libgcc.a which provides everything used by the compiler.

Author: Alexey Brodkin <[email protected]>
Date: Fri Feb 8 17:29:40 2019 +0300

ARC: Add nsimhs- and hsdk-standard configs

With ARC support ramping-up in upstream OE we're ready to build more complicated distributions and linux-yocto is a nice and configurable base for that.

This commit adds support of 1 simulated board (nSIM) and the mast affordable and powerful to date development board (HSDK).

Once Qemu port for ARC is functional (it's being actively developed now) we'll switch from nSIM to Qemu.

Still it would be really good to keep nSIM support in linux-yocto for now as it allows for simpler testing as compared to real HW.

---
 meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_4.19.bb      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb +1 -1
index 591981aa31..345073bceb 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "3059029718900250904b9f587e37ba22fb949ea6"
-SRCREV_meta ?= "5d93f38b0eed56071261895aefecfca287595536"
+SRCREV_meta ?= "8d7d003531151ba0a0e0cdb3cefa0bf9b0e84b55"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.19;destsuffix=${KMETA}"
meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb +1 -1
index bb2ea2d991..df8ecb6cee 100644
@@ -17,7 +17,7 @@ KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine_qemuarm ?= "6cc861e796ab19a6827cf9996e7755f1875d553e"
 SRCREV_machine ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
-SRCREV_meta ?= "5d93f38b0eed56071261895aefecfca287595536"
+SRCREV_meta ?= "8d7d003531151ba0a0e0cdb3cefa0bf9b0e84b55"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_4.19.bb +1 -1
index 13d6eb0ea0..48949d3f9b 100644
@@ -19,7 +19,7 @@ SRCREV_machine_qemux86 ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
 SRCREV_machine_qemux86-64 ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
 SRCREV_machine_qemumips64 ?= "fc7a2bf24e0e39b6a260f8650a3c8d497b8cdcfd"
 SRCREV_machine ?= "11e0e616ed095bb8012e1b4a231254c9656a0193"
-SRCREV_meta ?= "5d93f38b0eed56071261895aefecfca287595536"
+SRCREV_meta ?= "8d7d003531151ba0a0e0cdb3cefa0bf9b0e84b55"
 
 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-4.19;destsuffix=${KMETA}"
Signature · 1 line
2.19.1