Add support for x86(32bit)
cover Add support for x86(32bit)
From: Quirin Gylstorff <[email protected]>
Add missing entry for x86 32 build. Allow overwrite of derived isar layers. Patch is send upstream to isar.
Quirin Gylstorff (2):
recipes-kernel/linux-xenomai: Add support for DISTRO_ARCH i386 recipes-kernel/linux: Allow overwrite of KERNEL_DEFCONFIG
kas.yml | 4 +++ ...inux-Weak-KERNEL_DEFCONFIG-to-allow-.patch | 29 +++++++++++++++++++ recipes-kernel/linux/linux-xenomai.inc | 4 +-- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 patches/0001-recipes-kernel-linux-Weak-KERNEL_DEFCONFIG-to-allow-.patch
Signature · 1 line
2.20.1
PATCH 1/2 recipes-kernel/linux-xenomai: Add support for DISTRO_ARCH i386
From: Quirin Gylstorff <[email protected]>
--- recipes-kernel/linux/linux-xenomai.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/linux/linux-xenomai.inc +1 -1
@@ -34,7 +34,7 @@ dpkg_runbuild_prepend() { arm64) ARCH=arm64 ;; - amd64) + amd64|i386) ARCH=x86 ;; *)
Signature · 1 line
2.20.1
PATCH 2/2 recipes-kernel/linux: Allow overwrite of KERNEL_DEFCONFIG
In reply to Q. GylstorffFrom: Quirin Gylstorff <[email protected]>
--- kas.yml | 4 +++ ...inux-Weak-KERNEL_DEFCONFIG-to-allow-.patch | 29 +++++++++++++++++++ recipes-kernel/linux/linux-xenomai.inc | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 patches/0001-recipes-kernel-linux-Weak-KERNEL_DEFCONFIG-to-allow-.patch
kas.yml +4 -0
@@ -23,6 +23,10 @@ repos: refspec: 18b3e9a15d1f054f5d1e697c66a8f1f9befc0537 layers: meta: + patches: + weak-kernel-config: + path: patches/0001-recipes-kernel-linux-Weak-KERNEL_DEFCONFIG-to-allow-.patch + repo: xenomai bblayers_conf_header: standard: |
patches/0001-recipes-kernel-linux-Weak-KERNEL_DEFCONFIG-to-allow-.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 8fe37bbc21ae24ae628fdbe64316fd3753385f4c Mon Sep 17 00:00:00 2001 +From: Quirin Gylstorff <[email protected]> +Date: Wed, 15 Jan 2020 15:24:43 +0100 +Subject: [PATCH] recipes-kernel/linux: Weak KERNEL_DEFCONFIG to allow + overwrites +To: [email protected] +Cc: Jan Kiszka <[email protected]> + +Signed-off-by: Quirin Gylstorff <[email protected]> +--- + meta/recipes-kernel/linux/linux-custom.inc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc +index d31da3b..4fb7ca2 100644 +--- a/meta/recipes-kernel/linux/linux-custom.inc ++++ b/meta/recipes-kernel/linux/linux-custom.inc +@@ -39,7 +39,7 @@ KERNEL_LIBC_DEV_DEPLOY ?= "0" + + LINUX_VERSION_EXTENSION ?= "" + +-KERNEL_DEFCONFIG ?= "" ++KERNEL_DEFCONFIG ??= "" + + # Add our template meta-data to the sources + FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:" +-- +2.20.1 +
recipes-kernel/linux/linux-xenomai.inc +1 -1
@@ -11,7 +11,7 @@ require recipes-kernel/linux/linux-custom.inc -KERNEL_DEFCONFIG = "${DISTRO_ARCH}_defconfig" +KERNEL_DEFCONFIG ?= "${DISTRO_ARCH}_defconfig" SRC_URI += "file://${KERNEL_DEFCONFIG}"
Signature · 1 line
2.20.1
Quoted 9 lines · Q. Gylstorff
From: Quirin Gylstorff <[email protected]>
Add missing entry for x86 32 build. Allow overwrite of derived isar layers. Patch is send upstream to isar.
Quirin Gylstorff (2):
recipes-kernel/linux-xenomai: Add support forDISTRO_ARCHi386 recipes-kernel/linux: Allow overwrite ofKERNEL_DEFCONFIG
Quoted 6 lines
kas.yml | 4 +++ ...inux-Weak-KERNEL_DEFCONFIG-to-allow-.patch | 29 +++++++++++++++++++ recipes-kernel/linux/linux-xenomai.inc | 4 +-- 3 files changed, 35 insertions(+), 2 deletions(-)create mode 100644
patches/0001-recipes-kernel-linux-Weak-KERNEL_DEFCONFIG-to-allow-.patch
Thanks, finally applied to next.
I've also pinged upstream Isar on the patch we carry in the second commit.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Don't you need to modify entry_32.S for IPIPE?
Alec
Quoted 2 lines · Alec Ari
Don't you need to modify
entry_32.Sfor IPIPE?
Subject might have been misleading: It only adds support to the image generator to build 32-bit userland. The kernel remains 64-bit. This allows us to model a product scenario on top - and to stress the compat code path in the test lab this way.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux