Re: [oe] Any way to make cryptsetup smaller? I have a small 32M NOR flash and 11M SquashFS rootfs.

2021-08-03 Thread Andrea Adami
Brian, wow, I think we are the last NOR users here in OE. I gave the collie to Marcin: let see if another OpenZaurus arises :) Cheers A.A. On Tue, Aug 3, 2021 at 5:16 AM Khem Raj wrote: > > On Mon, Aug 2, 2021 at 4:14 PM Brian Hutchinson wrote: > > > > > > > > On Mon, Aug 2, 2021 at 7:06 PM K

Re: [oe] [PATCH] layers: set LAYERSERIES_COMPAT with honister

2021-06-24 Thread Andrea Adami
On Mon, Jun 7, 2021 at 10:21 AM Martin Jansa wrote: > > Then I believe layer index should be fixed to support longer values, there > are layers which are compatible with multiple releases and it works fine with > bitbake/oe-core, layer index parsing shouldn't be more strict than the > mechanism

[oe] [meta-oe][PATCH 1/1] rapidjson: remove stale LIB_INSTALL_DIR

2021-06-13 Thread Andrea Adami
cmake.bbclass: Define LIB_SUFFIX Signed-off-by: Andrea Adami --- meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb index 5b5c8b2570

[oe] [meta-initramfs][PATCH 2/2] initramfs-debug-image: support cases where machines override IMAGE_FSTYPES

2021-06-12 Thread Andrea Adami
As done for initramfs-kexecboot-image we need to use python to get the desired value for IMAGE_FSTYPES. Signed-off-by: Andrea Adami --- .../recipes-core/images/initramfs-debug-image.bb | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta-initramfs/recipes

[oe] [meta-initramfs][PATCH 1/2] initramfs-kexecboot-image: support cases where machines override IMAGE_FSTYPES

2021-06-12 Thread Andrea Adami
IMAGE_FSTYPES_collie, thus not producing cpio.gz / cpio.xz. Signed-off-by: Andrea Adami --- .../recipes-core/images/initramfs-kexecboot-image.bb | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-initramfs/recipes-core/images/initramfs-kexecboot-image.bb b/meta

Re: [oe] [meta-initramfs][PATCH] klibc: Add clang's -rtlib to known options

2021-06-11 Thread Andrea Adami
functions e.g. > __stack_chk_guard and __stack_chk_guard which it expects in libc > > Signed-off-by: Khem Raj > Cc: Andrea Adami > --- > .../klibc/files/klcc-cross-accept-clang-options.patch| 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff -

[oe] RFC: meta-oe recipes split

2021-05-13 Thread Andrea Adami
Hi, I was lately diving in OE-related layers used for DVB/STB devices and have noticed how badly anyone has moved from the OE-Classic to what they call OE 2.0. It was not easy. The problem now is the distros have custom layers containing .bbappends or different version of recipes for some good rea

[oe] [meta-handheld][PATCH v2 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-28 Thread Andrea Adami
The Y2038 changes broke the build for older 32bit devices using older kernels. As seen on: https://sourceware.org/glibc/wiki/Y2038ProofnessDesign Re-use the same fix applied for tslib as of commit id 9201611 tslib: Fix build with 4.x kernel headers Signed-off-by: Andrea Adami --- .../zaurusd

[oe] [meta-initramfs][PATCH v2] packagegroup-meta-initramfs: remove klibc utilities and kexec-tools-klibc

2020-04-27 Thread Andrea Adami
27;, 'util-linux-umount', 'util-linux-dmesg','coreutils', 'util-linux-mount', 'cpio', 'util-linux-kill', 'util-linux-losetup'] have failed. Signed-off-by: Andrea Adami --- .../packagegroup-meta-initramfs.bb| 20 +--

Re: [oe] [meta-initramfs][PATCH] meta-initramfs-image: remove klibc utilities

2020-04-27 Thread Andrea Adami
Khem, please disregard this patch as superseded, a new one specific for the packagegroup is coming. Thanks! Andres On Sat, Apr 25, 2020 at 5:28 PM Khem Raj wrote: > > On Sat, Apr 25, 2020 at 6:10 AM Andrea Adami wrote: > > > > On Sat, Apr 25, 2020 at 12:30 AM Khem Raj wro

Re: [oe] [meta-initramfs][PATCH] meta-initramfs-image: remove klibc utilities

2020-04-25 Thread Andrea Adami
On Sat, Apr 25, 2020 at 12:30 AM Khem Raj wrote: > > On Thu, Apr 23, 2020 at 4:55 PM Andrea Adami wrote: > > > > klibc utils have no update-alternatives because these live ideally alone > > in th einitramfs. This image is not minimal having busybox, linux-utils, > &g

[oe] [meta-initramfs][PATCH] meta-initramfs-image: remove klibc utilities

2020-04-23 Thread Andrea Adami
EXCLUDE_FROM_WORLD. Fix: ERROR: meta-initramfs-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox', 'util-linux-umount', 'util-linux-dmesg', 'coreutils', 'util-linux-mount', 'cpio', 'util-linux-kill', 'util-linux-losetup'

[oe] [meta-initramfs][PATCH 1/2] meta-initramfs: put images and initrdscripts in recipes-core

2020-04-21 Thread Andrea Adami
Signed-off-by: Andrea Adami --- .../{recipes-bsp => recipes-core}/images/initramfs-debug-image.bb | 0 .../images/initramfs-kexecboot-image.bb | 0 .../images/initramfs-kexecboot-klibc-image.bb | 0 .../initrdscripts/files/init-debug

[oe] [meta-initramfs][PATCH 2/2] Remove LICENSE = "MIT" from images

2020-04-21 Thread Andrea Adami
As in commit 9d55993 This is the default in the packagegroup and image classes. Signed-off-by: Andrea Adami --- meta-initramfs/recipes-core/images/initramfs-debug-image.bb | 2 -- meta-initramfs/recipes-core/images/meta-initramfs-image.bb | 2 -- 2 files changed, 4 deletions(-) diff --git a

Re: [oe] [meta-handheld][PATCH 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-20 Thread Andrea Adami
On Mon, Apr 20, 2020 at 7:44 PM Khem Raj wrote: > > On Mon, Apr 20, 2020 at 10:07 AM Andrea Adami wrote: > > > > The Y2038 changes broke the build for older 32bit devices using > > older kernels. > > > > As seen on: https://sourceware.org/glibc/wiki/Y2038P

[oe] [meta-initramfs][PATCH] kexecboot(-klibc): update recipe to master on github (5a5e04b)

2020-04-20 Thread Andrea Adami
fix injection of compiler flags (static and debug) Signed-off-by: Andrea Adami --- meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb b/meta-initramfs/recipes-bsp

[oe] [meta-handheld][PATCH 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-20 Thread Andrea Adami
The Y2038 changes broke the build for older 32bit devices using older kernels. As seen on: https://sourceware.org/glibc/wiki/Y2038ProofnessDesign Signed-off-by: Andrea Adami --- .../zaurusd/zaurusd/add_64bit_time_t.patch| 43 +++ recipes-bsp/zaurusd/zaurusd_git.bb

[oe] [meta-handheld][PATCH 4/4] layer.conf: set compatibility for dunfell

2020-04-20 Thread Andrea Adami
Signed-off-by: Andrea Adami --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 31fcb54..d1cb281 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,5 +18,5 @@ BBFILE_PRIORITY_meta-handheld = &q

[oe] [meta-handheld][PATCH 2/4] layer.conf: set compatibility for warrior

2020-04-20 Thread Andrea Adami
Signed-off-by: Andrea Adami --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 1e0069d..0702f69 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,5 +18,5 @@ BBFILE_PRIORITY_meta-handheld = &q

[oe] [meta-handheld][PATCH 3/4] layer.conf: set compatibility for zeus

2020-04-20 Thread Andrea Adami
Signed-off-by: Andrea Adami --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 0702f69..31fcb54 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -18,5 +18,5 @@ BBFILE_PRIORITY_meta-handheld = &q

Re: [oe] [meta-initramfs][PATCH 14/14] kexec-tools-klibc: Refresh patch with no code change

2019-07-23 Thread Andrea Adami
Thank you Khem. I hope to find time to catch-up with next kexec-tools 2.0.20. (Klibc recipe itself would need more love now that upstream is active again) Cheers Acked-by: Andrea Adami -- ___ Openembedded-devel mailing list Openembedded-devel@lists.ope

Re: [oe] [PATCH 8/9] meta-initramfs: add pkg group and image

2019-01-13 Thread Andrea Adami
On Sun, Jan 13, 2019 at 6:53 PM Andrea Adami wrote: > > On Sat, Jan 12, 2019 at 10:33 PM Armin Kuster wrote: > > > > Signed-off-by: Armin Kuster > > --- > > .../images/meta-initramfs-image.bb| 8 + > > .../packagegro

Re: [oe] [PATCH 8/9] meta-initramfs: add pkg group and image

2019-01-13 Thread Andrea Adami
On Sat, Jan 12, 2019 at 10:33 PM Armin Kuster wrote: > > Signed-off-by: Armin Kuster > --- > .../images/meta-initramfs-image.bb| 8 + > .../packagegroup-meta-initramfs.bb| 36 +++ > 2 files changed, 44 insertions(+) > create mode 100644 meta-initramf

Re: [oe] [OE-core] [Openembedded-architecture] Dropping armv5 and armv5e tunes in 2.7

2019-01-04 Thread Andrea Adami
On Fri, Jan 4, 2019 at 12:21 AM Khem Raj wrote: > > Thanks Adrian > > On Thu, Jan 3, 2019 at 2:59 PM Adrian Bunk wrote: > > > > On Thu, Jan 03, 2019 at 02:01:42PM -0800, Khem Raj wrote: > > > Hello All > > > > > > You might have noticed a recent commit in gcc trunk > > > > > > https://gcc.gnu.org

Re: [oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel

2018-12-17 Thread Andrea Adami
On Mon, Dec 17, 2018 at 10:28 PM Andrea Adami wrote: > > On Mon, Dec 17, 2018 at 10:18 PM Andrea Adami wrote: > > > > On Mon, Dec 17, 2018 at 8:23 PM Khem Raj wrote: > > > > > > On Mon, Dec 17, 2018 at 10:15 AM Andrea Adami > > > wrote: > >

Re: [oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel

2018-12-17 Thread Andrea Adami
On Mon, Dec 17, 2018 at 10:18 PM Andrea Adami wrote: > > On Mon, Dec 17, 2018 at 8:23 PM Khem Raj wrote: > > > > On Mon, Dec 17, 2018 at 10:15 AM Andrea Adami > > wrote: > > > > > > Fix: > > > printf.c:2:10: fatal error: limits.h: No such file

Re: [oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel

2018-12-17 Thread Andrea Adami
On Mon, Dec 17, 2018 at 8:23 PM Khem Raj wrote: > > On Mon, Dec 17, 2018 at 10:15 AM Andrea Adami wrote: > > > > Fix: > > printf.c:2:10: fatal error: limits.h: No such file or directory > > | #include > > > > Signed-off-by: Andrea Adami > > --

[oe] [meta-initramfs][PATCH v2] kexec-tools-klibc: implement the --no-dtb option for older mips kernels

2018-12-17 Thread Andrea Adami
Fix borrowed from LEDE-DEV. Signed-off-by: Andrea Adami --- .../140-mips_disable_devicetree_support.patch | 163 ++ .../kexec/kexec-tools-klibc_git.bb| 3 + 2 files changed, 166 insertions(+) create mode 100644 meta-initramfs/recipes-kernel/kexec/kexec-tools

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel

2018-12-17 Thread Andrea Adami
Fix: printf.c:2:10: fatal error: limits.h: No such file or directory | #include Signed-off-by: Andrea Adami --- meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta

Re: [oe] [meta-initramfs][PATCH] kexec-tools-klibc: implement the --no-dtb option for older mips kernels

2018-12-17 Thread Andrea Adami
On Mon, Dec 17, 2018 at 5:59 PM Khem Raj wrote: > > Can you rebase it on master-next please Sure, sorry Cheers Andrea > On Mon, Dec 17, 2018 at 2:35 AM Andrea Adami wrote: > > > > Fix borrowed from LEDE-DEV. > > > > Signed-off-by: A

[oe] [meta-initramfs][PATCH] kexecboot: update to latest master (7409a1e0aaea)

2018-12-17 Thread Andrea Adami
implemening --no-dtb option for older mips/mipsel Signed-off-by: Andrea Adami --- meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb b/meta-initramfs/recipes-bsp

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: implement the --no-dtb option for older mips kernels

2018-12-17 Thread Andrea Adami
Fix borrowed from LEDE-DEV. Signed-off-by: Andrea Adami --- .../140-mips_disable_devicetree_support.patch | 163 ++ .../kexec/kexec-tools-klibc_git.bb| 8 +- 2 files changed, 169 insertions(+), 2 deletions(-) create mode 100644 meta-initramfs/recipes-kernel/kexec

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: update to 2.0.18

2018-12-12 Thread Andrea Adami
Signed-off-by: Andrea Adami --- meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index

[oe] [meta-networking][PATCH] samba: fix build on qemumips64 with musl

2018-12-12 Thread Andrea Adami
There is the same issue as for libldb, the header has conflicting defs for unitptr_t. Fix it as done for the other recipe. Fix /cmocka/cmocka.h:126:28: error: conflicting types for 'uintptr_t' typedef unsigned int uintptr_t; ^ Signed-off-by: An

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel and mips64el

2018-12-10 Thread Andrea Adami
Builds with little endianness were not tested before. Fix for: purgatory.c:2:10: fatal error: limits.h: No such file or directory Signed-off-by: Andrea Adami --- meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-initramfs

[oe] [meta-networking][PATCH] waf-cross-answers: Add cross-answers-mips64el.txt

2018-12-07 Thread Andrea Adami
Fix build failure on mips64el platforms (missing waf-cross-answers-mips64el). Signed-off-by: Andrea Adami --- .../cross-answers-mips64el.txt| 39 +++ 1 file changed, 39 insertions(+) create mode 100644 meta-networking/files/waf-cross-answers/cross-answers

Re: [oe] [meta-openembedded][PATCH] mksh: add version 56

2018-12-04 Thread Andrea Adami
I had not yet time to review and test-build the recipe but I pointed it to the author, tg, the fellow helping with klibc. Here his observations: LICENSE = "MirOS & ISC" ISC only if your libc doesn't have strlcpy all but glibc have it +chmod +x ${S}/Build.sh why? just run sh ${S}/Build.sh

[oe] [meta-initramfs][PATCH] klibc: fix build for mipsel and mips64el with security flags enabled

2018-12-04 Thread Andrea Adami
Fix relocations like: | mipsel-oe-linux-musl-ld.bfd: usr/klibc/libc.a(kill.o): relocation R_MIPS_26 against `__syscall_common' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Andrea Adami --- meta-initramfs/recipes-devtools/klibc/klibc.inc | 3 +++ 1

[oe] [meta-oe][PATCH] kernel-selftest: temporary disable bpf for arm - fix build for qemuarm

2018-10-27 Thread Andrea Adami
2.0/atomic:250: undefined reference to `__atomic_load_4' Temporary disable bpf as done for x86/32bit as it seems still unstable. Signed-off-by: Andrea Adami --- meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipe

[oe] [meta-oe][PATCH] redis: fix build for qemuarm disabling atomics

2018-10-25 Thread Andrea Adami
Apply the same patch used for mips. Fix |ld: networking.o: in function `createClient': | /usr/src/debug/redis/4.0.8-r0/redis-4.0.8/src/networking.c:93: undefined reference to `__atomic_fetch_add_8' Signed-off-by: Andrea Adami --- meta-oe/recipes-extended/redis/redis_4.0.8.b

Re: [oe] State of the world, 2018-10-11

2018-10-12 Thread Andrea Adami
On Thu, Oct 11, 2018 at 7:28 PM Khem Raj wrote: > > http://www.openembedded.org/wiki/Bitbake_World_Status > > == Failed tasks 2018-10-10 == > > INFO: jenkins-job.sh-1.8.45 Complete log available at > http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.report.20181011_102118.log > > === common

[oe] [meta-initramfs][PATCH] klibc-static-utils: really fix build for x86 with security flags enabled

2018-10-09 Thread Andrea Adami
There were some shared binaries built together with the static ones and this was leading to the infamous: i586-oe-linux-musl-ld.bfd: discarded output section: `.got.plt' Fix this by purging the Kbuild files. Signed-off-by: Andrea Adami --- ...static-utils-do-not-build-shared-binaries.

[oe] [meta-initramfs][PATCH] klibc.inc: lazy assign GCCPIE in case security_flags.inc was not included

2018-09-25 Thread Andrea Adami
fix build error (GCCPIE is unset): EXTRA_KLIBCAFLAGS=${SECURITY_CFLAGS} -Wa,--noexecstack EXTRA_KLIBCLDFLAGS=${@-z relro -z now -pie if else } -z noexecstack | make: invalid option -- 'z' | make: invalid option -- ' ' Signed-off-by: Andrea Adami --- meta-initramfs/re

[oe] [meta-initramfs][PATCH] klibc-utils: remove the two static binaries (kinit and gzip)

2018-09-17 Thread Andrea Adami
ns in .text [textrel] Signed-off-by: Andrea Adami --- meta-initramfs/recipes-devtools/klibc/klibc-utils.inc | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc index 7df

Re: [oe] State of the world, 2018-09-15

2018-09-17 Thread Andrea Adami
On Tue, Sep 18, 2018 at 12:39 AM Khem Raj wrote: > > > > On Mon, Sep 17, 2018 at 3:20 PM Andrea Adami wrote: >> >> On Mon, Sep 17, 2018 at 11:45 PM Khem Raj wrote: >> > >> > >> > >> > On Mon, Sep 17, 2018 at 8:38 AM Andrea Adami >

[oe] [meta-initramfs][PATCH] klibc-static-utils: fix textrel, disable security flags for the static utils

2018-09-17 Thread Andrea Adami
Fix WARNING: klibc-static-utils-2.0.4-r0 do_package_qa: QA Issue: ELF binary 'X' has relocations in .text [textrel] Signed-off-by: Andrea Adami --- meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.4.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta-initram

Re: [oe] State of the world, 2018-09-15

2018-09-17 Thread Andrea Adami
On Mon, Sep 17, 2018 at 11:45 PM Khem Raj wrote: > > > > On Mon, Sep 17, 2018 at 8:38 AM Andrea Adami wrote: >> >> On Sun, Sep 16, 2018 at 6:09 PM Khem Raj wrote: >> > >> > http://www.openembedded.org/wiki/Bitbake_World_Status >> > >>

Re: [oe] State of the world, 2018-09-15

2018-09-17 Thread Andrea Adami
On Sun, Sep 16, 2018 at 6:09 PM Khem Raj wrote: > > http://www.openembedded.org/wiki/Bitbake_World_Status > > == Failed tasks 2018-09-15 == > > INFO: jenkins-job.sh-1.8.45 Complete log available at > http://logs.nslu2-linux.org/buildlogs/oe/world/thud/log.report.20180916_060104.log > > === common

Re: [oe] [meta-initramfs][PATCH v2] klibc: fix build on i386 with GCC and security flags enabled

2018-09-17 Thread Andrea Adami
On Sat, Sep 15, 2018 at 1:30 PM Hongxu Jia wrote: > > On 2018年09月15日 18:58, Andrea Adami wrote: > > On Sat, Sep 15, 2018 at 10:15 AM Hongxu Jia > > wrote: > >> On 2018年09月15日 02:02, Andrea Adami wrote: > >>> ld fails if distro's security-flags are

[oe] [meta-initramfs][PATCH] klibc: fix build with GCC and -pie for mips, mips64, aarch64

2018-09-15 Thread Andrea Adami
libc: Pass Optimization with KLIBCOPTFLAGS) but reverted (76bc58e9329 klibc: Fix build with security flags) trying to fix the i386 build (see ld.bfd: discarded output section: `.got.plt'). This latter issue was fixed for i386 passing -pie to the linker. Signed-off-by: Andrea Adami ---

Re: [oe] [meta-initramfs][PATCH v2] klibc: fix build on i386 with GCC and security flags enabled

2018-09-15 Thread Andrea Adami
On Sat, Sep 15, 2018 at 10:15 AM Hongxu Jia wrote: > > On 2018年09月15日 02:02, Andrea Adami wrote: > > ld fails if distro's security-flags are enabled: > > Inject the SECURITY_XFLAGS if security_flags.inc was included. > > > > Fix on i386: ld: discarded output sec

[oe] [meta-initramfs][PATCH v2] klibc: fix build on i386 with GCC and security flags enabled

2018-09-14 Thread Andrea Adami
ld fails if distro's security-flags are enabled: Inject the SECURITY_XFLAGS if security_flags.inc was included. Fix on i386: ld: discarded output section: `.got.plt' Signed-off-by: Andrea Adami --- meta-initramfs/recipes-devtools/klibc/klibc.inc | 6 +++--- 1 file changed, 3 insert

Re: [oe] [meta-initramfs][PATCH] klibc: fix build on i386 with GCC and security flags enabled

2018-09-14 Thread Andrea Adami
cannot be used: these start with -Wl but we are talking with the linker directly. Cheers Andrea On Fri, Sep 14, 2018 at 6:46 PM Andrea Adami wrote: > > Disable pie for powerpc as in security_flags.inc. > Fix on i386: ld: discarded output section: `.got.plt' > > Signed-

[oe] [meta-initramfs][PATCH] klibc: fix build on i386 with GCC and security flags enabled

2018-09-14 Thread Andrea Adami
Disable pie for powerpc as in security_flags.inc. Fix on i386: ld: discarded output section: `.got.plt' Signed-off-by: Andrea Adami --- meta-initramfs/recipes-devtools/klibc/klibc.inc | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta-initramfs/recipes-dev

Re: [oe] [meta-initramfs][PATCH 2/2] klibc: Fix build with security flags

2018-09-13 Thread Andrea Adami
7;][(d.getVar('ARM_INSTRUCTION_SET') == 'thumb')]}" @@ -73,6 +73,3 @@ KLIBC_ARCH_x86-64 = "x86_64" KLIBC_ARCH_powerpc = "ppc" KLIBC_ARCH_powerpc64 = "ppc64" THIS_LIBKLIBC = "libklibc (= ${PV}-${PR})" - -SECURITY_CFLAGS = "-fno

Re: [oe] [meta-initramfs][PATCH 2/2] klibc: Fix build with security flags

2018-09-13 Thread Andrea Adami
2.0.4-r0/git# Cheers Andrea On Wed, Sep 12, 2018 at 2:19 AM Khem Raj wrote: > > Drop -Os which is also causing the relro > Fixes > | x86_64-bec-linux-musl-ld.bfd: discarded output section: `.got.plt' > > Signed-off-by: Khem Raj > Cc: Andrea Adami

[oe] [meta-handheld][PATCH kexecboot-handhelds: catch up with kexecboot upgrades (add --atags)

2018-09-07 Thread Andrea Adami
With the actual kexec-tools-klibc > 2.0.17 in meta-initramfs we can use the newly added fast reboot option (--no-checks). Signed-off-by: Andrea Adami --- recipes-bsp/kexecboot/kexecboot-handhelds.inc | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-

[oe] [meta-initramfs][PATCH] kexecboot-cfg: add new options for DTB and CMDLINE

2018-09-07 Thread Andrea Adami
Signed-off-by: Andrea Adami --- meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb index 804ec32..f90e234 100644

[oe] [meta-initramfs][PATCH] kexecboot: upgrade to rev. 4c01d6960aa6

2018-09-07 Thread Andrea Adami
Remove upstreamed patches, get new options for kexec. Signed-off-by: Andrea Adami --- ...-Add-top_srcdir-to-compiler-include-paths.patch | 27 --- .../files/0002-include-sys-sysmacros.h.patch | 30 .../recipes-bsp/kexecboot/kexecboot_git.bb | 40

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: remove unneeded aarch64 patch

2018-09-05 Thread Andrea Adami
Remove temporary development leftover (hack). Signed-off-by: Andrea Adami --- ...4_purgatory-Makefile-remove-unknown-flags.patch | 51 -- .../recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 +- 2 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 meta

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: remove unneeded x86-64 patch

2018-09-05 Thread Andrea Adami
The issue with -mcmodel=large is already solved by the oe-core's patch "kexec-x32.patch" so we can remove this one. Signed-off-by: Andrea Adami --- ...4-purgatory-Makefile-remove-unknown-flags.patch | 35 -- .../recipes-kernel/kexec/kexec-tools-klibc_git

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for qemuarm64

2018-09-05 Thread Andrea Adami
Since c3f043241a86 upstream the getrandom() syscall is used. Last recipe bump overlooked that. The syscall has been added to OE's klibc so we can fix this. Signed-off-by: Andrea Adami --- ...-arm64.c-workaround-for-getrandom-syscall.patch | 61 ++ .../recipes-kernel/

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: rebase x86-64 patch to remove -mcmodel=large

2018-09-04 Thread Andrea Adami
Patch did not apply after upgrade to latest master. Signed-off-by: Andrea Adami --- .../x86-64-purgatory-Makefile-remove-unknown-flags.patch | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: enable kexec_file_load() for supported archs

2018-09-04 Thread Andrea Adami
The syscall has been added to klibc. Signed-off-by: Andrea Adami --- ...all.h-work-around-missing-syscall-wrapper.patch | 35 -- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/0006-kexec-syscall.h-work

[oe] [meta-initramfs][PATCH] klibc_2.0.4: add kexec_file_load() and getrandom() syscalls

2018-09-04 Thread Andrea Adami
Needed by kexec-tools afer 2.0.17 Signed-off-by: Andrea Adami --- .../0001-klibc-add-getrandom-syscall.patch | 27 ++ ...1-klibc_2.0.4-add-kexec_file_load-syscall.patch | 27 ++ meta-initramfs/recipes-devtools/klibc/klibc.inc| 2 ++ 3 files

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: rebase x86_kexec_test.patch

2018-09-04 Thread Andrea Adami
After last upgrade this patch does not apply anymore. Replace the previous hack just commenting out the two lines (package vmcore-dmesg as well). Signed-off-by: Andrea Adami --- .../kexec/kexec-tools-klibc/x86_kexec_test.patch | 14 +++--- 1 file changed, 7 insertions(+), 7

[oe] [meta-handheld][PATCH] linux-*-kexecboot: rename *_SYMLINK_NAME variables to *_LINK_NAME and *_BASE_NAME to *_NAME

2018-08-31 Thread Andrea Adami
As done in kernel*.bbclass with commit id f952c8e08b4 Fix empty zaurus-installer. Signed-off-by: Andrea Adami --- recipes-kernel/linux/linux-gcw0-kexecboot_4.7.bb | 4 ++-- recipes-kernel/linux/linux-kexecboot_4.4.bb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: add kexec-x32.patch from oe-core

2018-08-31 Thread Andrea Adami
This is the last patch borrowed from the actual oe-core recipe. Signed-off-by: Andrea Adami --- .../kexec/kexec-tools-klibc/kexec-x32.patch| 88 ++ .../recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 +- 2 files changed, 90 insertions(+), 1 deletion(-) create

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: package vmcore-dmesg-klibc

2018-08-31 Thread Andrea Adami
Signed-off-by: Andrea Adami --- meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: sync patches with oe-core

2018-08-31 Thread Andrea Adami
0010-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch Signed-off-by: Andrea Adami --- .../0011-purgatory-Makefile-adapt-to-klcc.patch| 2 +- .../arm_crashdump-fix-buffer-align.patch | 44 ++ .../powerpc_change-the-memory-size-limit.patch | 35

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix kexec_load() syscall workaround

2018-08-31 Thread Andrea Adami
As soon as klibc adds kexec_file_load() syscall we can rework this patch. Signed-off-by: Andrea Adami --- ...all.h-work-around-missing-syscall-wrapper.patch | 25 +- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: upgrade to latest master

2018-08-31 Thread Andrea Adami
as of b9de21ef51a7ceab7122a707c188602eae22c4ee we can remove obsoleted kdump and get the --no-checks option. Signed-off-by: Andrea Adami --- meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-initramfs

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: rework Makefile patch for purgatory

2018-08-21 Thread Andrea Adami
Replace previous hack, wrap linker LDFLAGS for compatibility with klcc. Signed-off-by: Andrea Adami --- .../0011-purgatory-Makefile-adapt-to-klcc.patch| 33 +- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec

[oe] [PATCH 2/2] pcmciautils: depend on bison-native

2018-08-14 Thread Andrea Adami
pcmciautils needs yacc as well as lex. Backport of oe-core commit dd5208ae22d4 Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-bsp/pcmciaut

[oe] [PATCH 1/2] pcmciautils: drop duplicate chunk from pcmciautils-018/makefile_race.patch

2018-08-14 Thread Andrea Adami
The new rule was patched into the makefile twice. Backport of oe-core commit c52228f4d071 Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton Signed-off-by: Ross Burton --- .../pcmciautils/pcmciautils/makefile_race.patch| 14 -- 1 file changed, 14 deletions(-)

[oe] [meta-initramfs][PATCH] ubi-utils-klibc_2.0.2: upgrade to git rev 64f61a9

2018-05-30 Thread Andrea Adami
-Incorporate 3 small after-relase fixes -Fix typos in patch comments (Upstream-Status) -Remove patch enumeration from Subject line Signed-off-by: Andrea Adami --- .../0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch | 2 +- .../0002-Instead-of-doing-preprocessor-magic-just

[oe] [meta-initramfs][PATCH v2] ubi-utils-klibc: update from v. 1.5.2 to 2.0.2

2018-05-23 Thread Andrea Adami
Update to new version and drop accepted patches. Use autotools and packageconfig (for xattrs). Signed-off-by: Andrea Adami --- .../0001-Makefile-build-ubi-utils-only.patch | 87 -- .../0002-common.mk-for-klibc-CC-is-klcc.patch | 27 -- ...bubi.c-add-klibc-specific-fixes-for

Re: [oe] [meta-initramfs][PATCH] ubi-utils-klibc: update from v. 1.5.2 to 2.0.2

2018-05-22 Thread Andrea Adami
On Thu, May 17, 2018 at 10:44 PM, Andrea Adami wrote: > > >>> This fails on qemuarm with the following error. >> >> >> >> >> | ../git/include/libmissing.h:7:10: fatal error: execinfo.h: No such >> >> file or directory >> >

Re: [oe] [OE-core] meta-openembedded maintainer ship change.

2018-05-22 Thread Andrea Adami
On Tue, May 22, 2018 at 5:40 PM, akuster808 wrote: > Hello all, > > After much thought, I have decided to step away from being the > meta-openembedded maintainer, patch wrangler and builder. Khem Raj has > kindly stepped up to continue these activities. Maintaining this was > consuming too much o

Re: [oe] [meta-initramfs][PATCH] ubi-utils-klibc: update from v. 1.5.2 to 2.0.2

2018-05-17 Thread Andrea Adami
>> This fails on qemuarm with the following error. > > >> > >> | ../git/include/libmissing.h:7:10: fatal error: execinfo.h: No such > >> file or directory > >> | #include > >> | ^~~~ > >> | compilation terminated. > >> | Makefile:2452: recipe for target 'ubi-utils/ubimkvol.o'

Re: [oe] [meta-initramfs][PATCH] ubi-utils-klibc: update from v. 1.5.2 to 2.0.2

2018-05-17 Thread Andrea Adami
On Thu, May 17, 2018 at 5:31 PM, Andrea Adami wrote: > On Thu, May 17, 2018 at 4:15 PM, akuster808 wrote: >> >> >> On 05/13/2018 03:16 PM, Andrea Adami wrote: >>> Update to new version and drop accepted patches. >>> >>> Signed-off-by: Andrea Adami

Re: [oe] [meta-initramfs][PATCH] ubi-utils-klibc: update from v. 1.5.2 to 2.0.2

2018-05-17 Thread Andrea Adami
On Thu, May 17, 2018 at 4:15 PM, akuster808 wrote: > > > On 05/13/2018 03:16 PM, Andrea Adami wrote: >> Update to new version and drop accepted patches. >> >> Signed-off-by: Andrea Adami >> --- >> .../0001-Makefile-build-ubi-utils-only.patch | 87

[oe] [meta-handheld][PATCH] linux-handheld(-kexecboot)_4.4: upgrade to 4.4.131

2018-05-14 Thread Andrea Adami
Remove backported pxa_dma fix. Signed-off-by: Andrea Adami --- ...aengine-mmp-pdma-add-number-of-requestors.patch | 34 -- recipes-kernel/linux/linux-handheld_4.4.bb | 6 ++-- 2 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 recipes-kernel

[oe] [meta-handheld][PATCH] linux-kexecboot_4.4: remove superseded 3200-mtd.patch

2018-05-14 Thread Andrea Adami
The real partitioning is detected by the kernel mtd parser sharpslpart. No confusion between 300, 3100 and 3200 mtdparts anymore. Signed-off-by: Andrea Adami --- .../linux/linux-kexecboot-4.4/spitz/3200-mtd.patch | 13 - recipes-kernel/linux/linux-kexecboot_4.4.bb

[oe] [meta-initramfs][PATCH] kexec-tools-klibc: upgrade from v. 2.0.2 to 2.0.17

2018-05-13 Thread Andrea Adami
This version does support aarch64. Ad klibc-specific patchset and track the git repository to get the (many) fixes for the warnings. Signed-off-by: Andrea Adami --- .../kexec-tools-klibc-2.0.2/arm_crashdump.patch| 12 -- .../kexec-tools-klibc-2.0.2/cflags_static.patch| 11 -- .../fix

[oe] [meta-initramfs][PATCH] ubi-utils-klibc: update from v. 1.5.2 to 2.0.2

2018-05-13 Thread Andrea Adami
Update to new version and drop accepted patches. Signed-off-by: Andrea Adami --- .../0001-Makefile-build-ubi-utils-only.patch | 87 -- .../0002-common.mk-for-klibc-CC-is-klcc.patch | 27 -- ...bubi.c-add-klibc-specific-fixes-for-ioctl.patch | 76 - ...patibility-to

Re: [oe] [meta-oe][PATCH] openobex: explicitly set ASNEEDED from openobex recipe

2018-05-08 Thread Andrea Adami
On Sat, May 5, 2018 at 1:09 AM, Andre McCurdy wrote: > Up to now, an openobex specific over-ride for ASNEEDED has been > provided by oe-core (from as-needed.inc). If ASNEEDED does need to be > over-ridden in order to build openobex it's not ideal that the > over-ride comes from a different layer s

Re: [oe] State of the world, Failed tasks 2018-04-11

2018-04-20 Thread Andrea Adami
(cut) > === qemuarm64 (8) === > * > meta-openembedded/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb:do_compile > * > meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:do_configure Hi, I am working on the coming 2.0.17 version and the recipe now

Re: [oe] [meta-handheld][PATCH] zaurusd: refresh patches (using devtool)

2018-04-12 Thread Andrea Adami
On Thu, Apr 12, 2018 at 10:59 AM, Koen Kooi wrote: > Op 10-04-18 om 23:01 schreef Andrea Adami: >> Silence warnings about ingnored context. >> >> Signed-off-by: Andrea Adami > > >> --- a/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch >

Re: [oe] State of the world, 2018-03-19

2018-04-12 Thread Andrea Adami
cut... > === qemuarm64 (7) === > * > meta-openembedded/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb:do_compile > * > meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb:do_configure I have update the recipe to 2.0.16 as in oe-core to get aarch64

[oe] [meta-handheld][PATCH] zaurusd: relax Autoconf macro to allow tslib >= 1.0

2018-04-10 Thread Andrea Adami
Fix build after 72ef78e tslib: Upgrade to 1.15 release Signed-off-by: Andrea Adami --- .../zaurusd/zaurusd/allow-newer-tslib.patch| 31 ++ recipes-bsp/zaurusd/zaurusd_git.bb | 3 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode

[oe] [meta-initramfs][PATCH] klibc-2.0.4: refresh patches (using devtool)

2018-04-10 Thread Andrea Adami
Silence warnings about ingnored context. Signed-off-by: Andrea Adami --- ...ine-in_-structs-for-non-glibc-system-libs.patch | 60 ...c-Add-path-to-compiler-headers-via-isyste.patch | 12 +- ...c-Use-print-libgcc-file-name-instead-of-p.patch | 10 +- .../klibc-2.0.4/0001-always-use

[oe] [meta-handheld][PATCH] zaurusd: refresh patches (using devtool)

2018-04-10 Thread Andrea Adami
Silence warnings about ingnored context. Signed-off-by: Andrea Adami --- .../0001-zaurusd-add-support-for-collie.patch | 16 +- recipes-bsp/zaurusd/zaurusd/add-poodle.patch | 14 +- .../zaurusd/zaurusd/alsa-6000x-default.state.patch | 166 +++-- .../zaurusd/zaurusd

[oe] [RFC] Rename meta-openembedded to openembedded-extras

2018-02-22 Thread Andrea Adami
All, it seems there is some consensus about reordering/cleaning the "OpenEmbedded layers". I think that before starting any cleaning *inside* we should finally clean up the confusion about meta-oe meta-openembedded openembedded-layers, etc.. I think it would be advisable to rename the repository

Re: [oe] Splitting meta-oe?

2018-02-21 Thread Andrea Adami
On Wed, Feb 21, 2018 at 10:06 AM, Martin Jansa wrote: >> I'm actually very worried about these (re)tired maintainers. If the > layers were more independent it would allow some of the patch handling > responsibilities and testing responsibilities to move to other people, > reducing the load on thos

[oe] [meta-handheld][PATCH] linux-qi-ben-nanonote_3.12: fix bb warning

2018-02-06 Thread Andrea Adami
-by: Andrea Adami --- recipes-kernel/linux/linux-qi-ben-nanonote_3.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-qi-ben-nanonote_3.12.bb b/recipes-kernel/linux/linux-qi-ben-nanonote_3.12.bb index 0a232c0..8d97b26 100644 --- a/recipes-kernel

[oe] [meta-handheld] zaurus-installer: replace deprecated base_conditional with appends

2018-02-03 Thread Andrea Adami
Signed-off-by: Andrea Adami --- recipes-bsp/zaurus-utils/zaurus-installer.bb | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/zaurus-utils/zaurus-installer.bb b/recipes-bsp/zaurus-utils/zaurus-installer.bb index 2956f15..24d0fe1 100644 --- a/recipes-bsp

[oe] [meta-initramfs][PATCH v3] ubi-utils-klibc_1.5.2: fix build for qemuarm

2018-01-28 Thread Andrea Adami
the patches in their specific dir, preparing for v2.0.1. Signed-off-by: Andrea Adami --- Changelog; v1 initial patch v2 fix comments and update Upstream_Status v3 refresh and move patches to ubi-utils-1.5.2 subdir .../0001-Makefile-build-ubi-utils-only.patch} | 19 --- .../0002-common.mk-for-kl

[oe] [meta-initramfs][PATCH v2] ubi-utils-klibc_1.5.2: fix build for qemuarm64

2018-01-27 Thread Andrea Adami
ches. Signed-off-by: Andrea Adami --- Changelog; v1 initial patch v2 fix comments and update Upstream_Status ...ch => 0001-Makefile-build-ubi-utils-only.patch} | 19 --- .../0002-common.mk-for-klibc-CC-is-klcc.patch | 10 ++-- ...ubi.c-add-klibc-specific-fixes-for-ioctl.patch} | 1

[oe] [meta-initramfs][PATCH] ubi-utils-klibc_1.5.2: fix build for qemuarm64

2018-01-27 Thread Andrea Adami
ches. Signed-off-by: Andrea Adami --- ...ch => 0001-Makefile-build-ubi-utils-only.patch} | 19 --- .../0002-common.mk-for-klibc-CC-is-klcc.patch | 8 +-- ...ubi.c-add-klibc-specific-fixes-for-ioctl.patch} | 8 +-- ...atibility-to-dietlibc-klibc-musl-libc-af.patch} | 16 +++--- ...mor

  1   2   3   4   5   6   7   8   9   >