Re: [OE-core] [PATCH 1/3] linux-yocto: for-test-only: fix parted ptest

2024-03-08 Thread Kevin Hao
generated a patch based on the latest kirkstone branch. Steve, could you give the attachment a try? Thanks, Kevin From dca6a0cec06a161d697bd255eff05b474c3e Mon Sep 17 00:00:00 2001 From: Kevin Hao Date: Fri, 8 Mar 2024 22:31:26 +0800 Subject: [PATCH] linux-yocto: Don't merge: Fix

Re: [OE-core] [PATCH 1/3] linux-yocto: for-test-only: fix parted ptest

2024-03-08 Thread Kevin Hao
On Thu, Mar 07, 2024 at 06:13:35PM -0500, Bruce Ashfield wrote: > Adding Kevin, > > I'm not going to be able to debug this more for a week or so. > > The alternate ways to fix it would be to try that ubuntu patch (fixed > for our tree), and / or see what else needs > to be cherry picked to -stabl

[OE-core] [PATCH v2] image-live.bbclass: Adjust the default value for INITRD_LIVE

2024-03-04 Thread Kevin Hao
From: Kevin Hao The ${INITRAMFS_FSTYPES} may contains multi filesystem types, such as "cpio.gz cpio.xz". So it can't be used directly in setting of the default INITRD_LIVE. We choose the first filesystem type in ${INITRAMFS_FSTYPES} for the default INITRD_LIVE. Signed-off-by: Ke

Re: [OE-core] [PATCH] image-live.bbclass: Adjust the default value for INITRD_LIVE

2024-03-04 Thread Kevin Hao
On Tue, Mar 05, 2024 at 12:11:51AM +, Richard Purdie wrote: > On Sun, 2024-03-03 at 14:54 +0800, Kevin Hao wrote: > > From: Kevin Hao > > > > - After the commit 26d97acc7137 ("image-artifact-names: include > > ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE

[OE-core] [PATCH] image-live.bbclass: Adjust the default value for INITRD_LIVE

2024-03-02 Thread Kevin Hao
From: Kevin Hao - After the commit 26d97acc7137 ("image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}"), the image names have changed from core-image-minimal-qemux86-64-20230307181808.rootfs.ext4 core-image-minimal-qemux86-

[OE-core] [PATCH] uboot-config.bbclass: Don't bail out early in multi configs

2022-08-09 Thread Kevin Hao
ot what we want. Fix it by making sure all the configs are handled. Fixed: 801a27d73b10 ("uboot-config.bbclass: Raise error for bad key") Signed-off-by: Kevin Hao --- meta/classes/uboot-config.bbclass | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/classes/

[OE-core] [PATCH] kernel.bbclass: Fix the do_strip() malfunction

2022-04-08 Thread Kevin Hao
The BB variable can't be referenced directly in a python function, this misusage of the variable reference causes strip function to be always skipped. Fixed: b9c3db4953e4 ("kernel.bbclass: Use KERNEL_IMAGEDEST instead of hardcoded boot path") Signed-off-by: Kevin Hao --

[OE-core] [hardknott v2 0/3] tune-cortexa72: Drop the crypto extension from the cortexa72 tune

2022-01-16 Thread Kevin Hao
Kevin Hao (2): tune-cortexa72: Enable the crc extension by default for cortexa72 tune-cortexa72: Drop the redundant cortexa72-crc tune meta/conf/machine/include/tune-cortexa72.inc | 12 1 file changed, 8 insertions(+), 4 deletions(-) -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links

[OE-core] [hardknott v2 3/3] tune-cortexa72: Drop the redundant cortexa72-crc tune

2022-01-16 Thread Kevin Hao
k the BSPs which used these two tunes, but it should be easy to fix. (From OE-Core rev: 03cebdd7ef923a8ac5c8b7c12c7cefe7ca0158db) Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- v2: A new patch in v2. meta/co

[OE-core] [hardknott v2 1/3] tune-cortexa72: remove crypto for the default cortex-a72

2022-01-16 Thread Kevin Hao
rom OE-Core rev: 2568d537087adb0b592aa250bf628a7b48c3a9d3) Signed-off-by: Jagadeesh Krishnanjanappa Signed-off-by: Jon Mason (rewording commit message) Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- v2: No change. meta/conf/machine/include/tune-cor

[OE-core] [hardknott v2 2/3] tune-cortexa72: Enable the crc extension by default for cortexa72

2022-01-16 Thread Kevin Hao
-Core rev: ca50267ab568d2f688844cb7c6cd867ed34168db) Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- v2: No change. meta/conf/machine/include/tune-cortexa72.inc | 12 ++-- 1 file changed, 6 insertions

Re: [OE-core] [hardknott 1/2] tune-cortexa72: remove crypto for the default cortex-a72

2022-01-16 Thread Kevin Hao
On Sun, Jan 16, 2022 at 12:01:16PM +, Richard Purdie wrote: > [Please note: This e-mail is from an EXTERNAL e-mail address] > > On Sat, 2022-01-15 at 02:53 +, Anuj Mittal wrote: > > On Sat, 2022-01-15 at 10:37 +0800, Kevin Hao wrote: > > > From: Jagadeesh Krishnan

Re: [OE-core] [hardknott 1/2] tune-cortexa72: remove crypto for the default cortex-a72

2022-01-14 Thread Kevin Hao
On Sat, Jan 15, 2022 at 02:53:09AM +, Mittal, Anuj wrote: > [Please note: This e-mail is from an EXTERNAL e-mail address] > > On Sat, 2022-01-15 at 10:37 +0800, Kevin Hao wrote: > > From: Jagadeesh Krishnanjanappa > > > > The cryptographic unit is optional for

[OE-core] [hardknott 1/2] tune-cortexa72: remove crypto for the default cortex-a72

2022-01-14 Thread Kevin Hao
rom OE-Core rev: 2568d537087adb0b592aa250bf628a7b48c3a9d3) Signed-off-by: Jagadeesh Krishnanjanappa Signed-off-by: Jon Mason (rewording commit message) Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- meta/conf/machine/include/tune-cortexa72.inc | 16

[OE-core] [hardknott 0/2] tune-cortexa72: Drop the crypto extension from the cortexa72 tune

2022-01-14 Thread Kevin Hao
Hi, This patch series backport two patches from the master branch to fix the crash issue on some cortexa72 boards due to the crypto intructions are used. Jagadeesh Krishnanjanappa (1): tune-cortexa72: remove crypto for the default cortex-a72 Kevin Hao (1): tune-cortexa72: Enable the crc

[OE-core] [hardknott 2/2] tune-cortexa72: Enable the crc extension by default for cortexa72

2022-01-14 Thread Kevin Hao
-Core rev: ca50267ab568d2f688844cb7c6cd867ed34168db) Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- meta/conf/machine/include/tune-cortexa72.inc | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions

[OE-core] [hardknott 0/2] Add tune for Neoverse N2 core

2022-01-14 Thread Kevin Hao
Hi, The gcc patches for the Neoverse N2 core have been merged into hardknott branch, this patch series backport two patches from the master branch to add the corresponding tune files. Kevin Hao (2): arch-armv8-5a.inc: Add tune include for armv8.5a armv9a/tune: Add the support for the

[OE-core] [hardknott 1/2] arch-armv8-5a.inc: Add tune include for armv8.5a

2022-01-14 Thread Kevin Hao
This adds support for the armv8.5a architecture and the crypto extension. (From OE-Core rev: 0cb1a6d9cb4c32526d79dad93c8053b3793053f8) Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- .../machine/include/arm

[OE-core] [hardknott 2/2] armv9a/tune: Add the support for the Neoverse N2 core

2022-01-14 Thread Kevin Hao
ore detail. (From OE-Core rev: 37597397f03b6b0082a702147dc536ff8b2fa7a3) Signed-off-by: Kevin Hao Signed-off-by: Richard Purdie [Kevin: Convert to the old style override syntax] Signed-off-by: Kevin Hao --- .../include/arm/armv9a/tune-neoversen2.inc| 22 +++ 1 file changed, 22

[OE-core] [PATCH] tune-cortexa73: Introduce cortexa73-crypto tune

2022-01-13 Thread Kevin Hao
The crypto extension is optional for the Cortex-A73 processor, so we shouldn't enable the crypto by default for the cortexa73 tune. Introduce the cortexa73-crypto for the processors which do have the cryptography unit. Signed-off-by: Kevin Hao --- .../conf/machine/include/arm/armv8a

[OE-core] [PATCH] tune-cortexa72: Drop the redundant cortexa72-crc tune

2022-01-13 Thread Kevin Hao
k the BSPs which used these two tunes, but it should be easy to fix. Signed-off-by: Kevin Hao --- .../machine/include/arm/armv8a/tune-cortexa72.inc | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc b/meta/co

Re: [OE-core] [PATCH] tune-cortexa72: Enable the crc extension by default for cortexa72

2022-01-13 Thread Kevin Hao
0, Jon Mason wrote: > > On Wed, Jan 12, 2022 at 4:11 AM Kevin Hao > wrote: > > > > > > The crc extension is optional for the ARMv8.0 but is mandatory for the > > > cortexa72, so there is no reason not to enable it for the cortexa72 >

[OE-core] [PATCH] tune-cortexa72: Enable the crc extension by default for cortexa72

2022-01-12 Thread Kevin Hao
-by: Kevin Hao --- .../machine/include/arm/armv8a/tune-cortexa72.inc| 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc index 3651cf6e802b

Re: [OE-core] [PATCH 2/2] armv9a/tune: Add the support for the Neoverse N2 core

2022-01-11 Thread Kevin Hao
On Fri, Dec 24, 2021 at 06:05:18PM +0800, Kevin Hao wrote: > This adds the support for the Neoverse N2 core, even though the > Neoverse N2 core implements the Arm v9.0-A architecture, but the support > of it in GCC is based on the Arm v8.5-A architecture. Please see the > commit

[OE-core] [PATCH 1/2] arch-armv8-5a.inc: Add tune include for armv8.5a

2021-12-24 Thread Kevin Hao
This adds support for the armv8.5a architecture and the crypto extension. Signed-off-by: Kevin Hao --- .../machine/include/arm/arch-armv8-5a.inc | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 meta/conf/machine/include/arm/arch-armv8-5a.inc diff --git a/meta

[OE-core] [PATCH 2/2] armv9a/tune: Add the support for the Neoverse N2 core

2021-12-24 Thread Kevin Hao
ore detail. Signed-off-by: Kevin Hao --- .../include/arm/armv9a/tune-neoversen2.inc| 22 +++ 1 file changed, 22 insertions(+) create mode 100644 meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc diff --git a/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc b

Re: [OE-core] [PATCH] linux-yocto-dev: Make -dev kernel work for a fixed revision

2021-12-02 Thread Kevin Hao
On Thu, Dec 02, 2021 at 07:31:52AM -0500, Bruce Ashfield wrote: > > That would be great if you can do so. > > ok. Let's solve this with an explicit KBRANCH with your pinned SRCREVs > for now, and I'll update -dev to use versioned branches for the current > 5.16 cycle and all new versions that foll

Re: [OE-core] [PATCH] linux-yocto-dev: Make -dev kernel work for a fixed revision

2021-12-01 Thread Kevin Hao
On Wed, Dec 01, 2021 at 04:27:44PM -0500, Bruce Ashfield wrote: > [Please note: This e-mail is from an EXTERNAL e-mail address] > > On Wed, Dec 1, 2021 at 6:28 AM Richard Purdie > wrote: > > > > On Wed, 2021-12-01 at 12:39 +0800, Kevin Hao wrote: > > > By

[OE-core] [PATCH] linux-yocto-dev: Make -dev kernel work for a fixed revision

2021-11-30 Thread Kevin Hao
n't cause other side effect because all the branches will be created in the do_kernel_checkout() and the current branch will be reset to the reversion we want in do_validate_branches(). Signed-off-by: Kevin Hao --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 3 ++- 1 file changed, 2 insertion

Re: [OE-core] [PATCH 6/7] default-distrovars.inc: add wayland/opengl to default distro features

2021-04-27 Thread Kevin Hao
On Tue, Apr 27, 2021 at 12:09:51PM -0400, Randy MacLeod wrote: > Cross-posting to yocto since this is of general interest. > > On 2021-04-23 2:02 p.m., Alexander Kanavin wrote: > > This puts them on equal terms with x11 distro feature > > (which I think is due). > > > > Signed-off-by: Alexander K

[OE-core] [PATCH 2/3] sysvinit-inittab/start_getty: Check /sys for the tty device existence

2021-04-07 Thread Kevin Hao
e. Signed-off-by: Kevin Hao --- .../sysvinit/sysvinit-inittab/start_getty | 44 ++- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty b/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty index df

[OE-core] [PATCH 1/3] modutils-initscripts: Bail out when no module is installed

2021-04-07 Thread Kevin Hao
Fix the following warning when boot with a core-image-minimal rootfs: depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory Signed-off-by: Kevin Hao --- meta/recipes-kernel/modutils-initscripts/files/modutils.sh | 1 + 1 file chang

[OE-core] [PATCH 3/3] Revert "inittab: Add getty launch on hvc0 for qemuppc64"

2021-04-07 Thread Kevin Hao
This reverts commit ed69ef20167da0986bc9363d1a91e62001995af4. The console entry has already been added into /etc/inittab based on the SERIAL_CONSOLES. So drop this redundant entry. Signed-off-by: Kevin Hao --- meta/recipes-core/busybox/busybox-inittab_1.33.0.bb| 3 --- meta/recipes-core

[OE-core] [PATCH 0/3] Fixes two warnings when boot with qemuppc64

2021-04-07 Thread Kevin Hao
Fixes two following warnings: depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory INIT: Id "hvc0" respawning too fast: disabled for 5 minutes Kevin Hao (3): modutils-initscripts: Bail out when no module is ins

[OE-core] [PATCH] tune-octeontx2.inc: Add tune for Marvell OCTEON TX2 core

2020-12-07 Thread Kevin Hao
The OCTEON TX2 core is custom designed by Marvell and is compliant with Arm V8.2 architecture. Signed-off-by: Kevin Hao --- .../machine/include/arm/armv8-2a/tune-octeontx2.inc | 13 + 1 file changed, 13 insertions(+) create mode 100644 meta/conf/machine/include/arm/armv8-2a/tune

[OE-core] [PATCH 2/3] wic/filemap: Drop the unused get_unmapped_ranges()

2020-07-13 Thread Kevin Hao
This method is not used by any code, so drop it. Signed-off-by: Kevin Hao --- scripts/lib/wic/filemap.py | 38 ++ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/scripts/lib/wic/filemap.py b/scripts/lib/wic/filemap.py index 8cfed5afa80d

[OE-core] [PATCH 3/3] wic/filemap: Fall back to standard copy when no way to get the block map

2020-07-13 Thread Kevin Hao
For some filesystems, such as aufs which may be used by docker container, don't support either the SEEK_DATA/HOLE or FIEMAP to get the block map. So add a FileNobmap class to fall back to standard copy when there is no way to get the block map. [Yocto #12988] Signed-off-by: Kevi

[OE-core] [PATCH 0/3] wic: Fix a bug when running "wic rm" on an aufs filesystem

2020-07-13 Thread Kevin Hao
py in this case. Kevin Hao (3): wic/filemap: Drop the unused block_is_unmapped() wic/filemap: Drop the unused get_unmapped_ranges() wic/filemap: Fall back to standard copy when no way to get the block map scripts/lib/wic/filemap.py | 75 +- 1 file c

[OE-core] [PATCH 1/3] wic/filemap: Drop the unused block_is_unmapped()

2020-07-13 Thread Kevin Hao
This method is not used by any code, so drop it. Signed-off-by: Kevin Hao --- scripts/lib/wic/filemap.py | 17 - 1 file changed, 17 deletions(-) diff --git a/scripts/lib/wic/filemap.py b/scripts/lib/wic/filemap.py index c53147c2f18e..8cfed5afa80d 100644 --- a/scripts/lib/wic

[OE-core] [PATCH] linux-yocto-dev: Bump to 5.6-rcx

2020-03-20 Thread Kevin Hao
-dev.bb in order to make the -dev kernel buildable. Also update the LINUX_VERSION at the same time. Signed-off-by: Kevin Hao --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/me

[OE-core] [PATCH] selftest: wic: Add APPEND to the optional variables list

2020-02-15 Thread Kevin Hao
The APPEND is an optional variable, so add it to the optional variables list to make the wic selftest happy. Signed-off-by: Kevin Hao --- meta/lib/oeqa/selftest/cases/wic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib

Re: [OE-core] [PATCH] wic: Honor APPEND

2020-02-15 Thread Kevin Hao
On Sat, Feb 15, 2020 at 08:07:34AM +, Richard Purdie wrote: > On Thu, 2020-02-13 at 10:31 +0800, Kevin Hao wrote: > > APPEND is used to add additional parameters to kernel by features, > > such > > as read-only-rootfs. So we should honor this variable when we compose >

[OE-core] [PATCH] wic: Honor APPEND

2020-02-12 Thread Kevin Hao
ned-off-by: Kevin Hao --- meta/classes/image_types_wic.bbclass | 2 +- scripts/lib/wic/ksparser.py | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass index fc9b106a9a81..b83308b45cb5 100644

[OE-core] [PATCH] xserver-nodm-init: Fix the start failure for non-root user

2020-02-08 Thread Kevin Hao
o features if we want use the xserver-nodm-init for a non-root user. [Yocto #11526] Signed-off-by: Kevin Hao --- .../x11-common/xserver-nodm-init/capability.conf | 2 ++ .../x11-common/xserver-nodm-init/xserver-nodm | 8 meta/recipes-graphics/x11-common/xserver-nod

[OE-core] [PATCH] psplash: Avoid mount the psplash tmpfs twice

2019-08-19 Thread Kevin Hao
do the twice mount. So also fix it. [Yocto 13461] [1] https://lore.kernel.org/util-linux/20190819083022.12289-1-kexin@windriver.com/T/#u Signed-off-by: Kevin Hao --- meta/recipes-core/psplash/files/psplash-init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta

[OE-core] [PATCH] tune-thunderx: Set the correct PACKAGE_EXTRA_ARCHS_tune-thunderx

2019-06-11 Thread Kevin Hao
rch64) Signed-off-by: Kevin Hao --- meta/conf/machine/include/tune-thunderx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/machine/include/tune-thunderx.inc b/meta/conf/machine/include/tune-thunderx.inc index 92adf2df1fce..aa4d0501d400 100644 --- a/meta/conf/ma

[OE-core] [PATCH 1/2] runqemu: Add the support to pass multi ports to tcpserial parameter

2019-06-06 Thread Kevin Hao
only adjusting the order of them. So add the support to pass multi ports to the tcpserial parameter, this will make sure that the order of setting up the serial is really what we want. [YOCTO Bug 13309] Signed-off-by: Kevin Hao --- scripts/runqemu | 12 +--- 1 file changed, 9 insertions(

[OE-core] [PATCH 2/2] oeqa/utils/qemurunner: Set both the threadport&serverport with tcpserial parameter

2019-06-06 Thread Kevin Hao
port, since it will break some machines such as qemuarm64 which use the virtio serial. So using the tcpserial to setup both the threadport and serverport. [YOCTO Bug 13309] Signed-off-by: Kevin Hao --- meta/lib/oeqa/utils/qemurunner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

Re: [OE-core] [PATCH] lttng-modules: upgrade 2.10.8 -> 2.10.9

2019-05-09 Thread Kevin Hao
On Wed, May 08, 2019 at 09:38:50PM +0100, richard.pur...@linuxfoundation.org wrote: > On Wed, 2019-05-08 at 23:30 +0300, Adrian Bunk wrote: > > On Wed, May 08, 2019 at 09:06:19PM +0100, Richard Purdie wrote: > > > On Tue, 2019-05-07 at 16:11 +0300, Adrian Bunk wrote: > > > > Remove the backported

[OE-core] [PATCH 3/3] udev-extraconf: Skip the entry in /etc/fstab when using the systemd-mount

2018-10-22 Thread Kevin Hao
When using systemd, the systemd-fstab-generator would parse the /etc/fstab and create the corresponding unit dynamically. So we don't need to handle the ADD action for the partitions in /etc/fstab. Signed-off-by: Kevin Hao --- meta/recipes-core/udev/udev-extraconf/mount.sh | 9 + 1

[OE-core] [PATCH 1/3] udev-extraconf: Use the canonical file name of systemd

2018-10-22 Thread Kevin Hao
e. Fix this issue by using the canonical file name of the systemd. Signed-off-by: Kevin Hao --- meta/recipes-core/udev/udev-extraconf/mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extr

[OE-core] [PATCH 2/3] udev-extraconf: Fix the recursively dependency for the systemd-mount

2018-10-22 Thread Kevin Hao
on-systemd function. And it will cause the systemd-mount try to mount the partition synchronously and trigger a recursively dependency like the following: dev-sda1.device -> run-media-sda1.mount -> dev-sda1.device Signed-off-by: Kevin Hao --- meta/recipes-core/udev/udev-extraco

[OE-core] [PATCH 0/3] udev-extraconf: Fix the automount malfunction when the systemd is used

2018-10-22 Thread Kevin Hao
fo since it is me to scratch these patches originally. :-) Kevin Hao (3): udev-extraconf: Use the canonical file name of systemd udev-extraconf: Fix the recursively dependency for the systemd-mount udev-extraconf: Skip the entry in /etc/fstab when using the systemd-mount meta/recipes-

[OE-core] [PATCH 0/4] Fix the build failure when creating a multilib wic

2018-09-29 Thread Kevin Hao
.conf DEFAULTTUNE_virtclass-multilib-lib32 = "x86" 3. bitbake lib32-core-image-minimal Kevin Hao (4): wic: bootimg-pcbios: Drop the unnecessary reference of STAGING_DATADIR wic: isoimage-isohybrid: Drop the unnecessary reference of STAGING_DATADIR bitbake.conf: Introduce vari

[OE-core] [PATCH 3/4] bitbake.conf: Introduce variables used to access the other recipe specific sysroot directory in multilib case

2018-09-29 Thread Kevin Hao
When multilib is enabled, there would be two different recipe specific sysroot directories: libxx-recipe-sysroot recipe-sysroot We do need to access the files under the "recipe-sysroot" directory in some cases. So introduces these variables for this purpose. Signed-off-by:

[OE-core] [PATCH 4/4] wic: Set the right bootimg_dir when building a multilib image

2018-09-29 Thread Kevin Hao
STAGING_ALT_DATADIR. Signed-off-by: Kevin Hao --- meta/classes/image_types_wic.bbclass | 2 +- scripts/wic | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/image_types_wic.bbclass b/meta/classes/image_types_wic.bbclass index 5b40a9e919f2

[OE-core] [PATCH 1/4] wic: bootimg-pcbios: Drop the unnecessary reference of STAGING_DATADIR

2018-09-29 Thread Kevin Hao
Actually the bootimg_dir is the value of STAGING_DATADIR, so we don't need to check this directory twice times. Signed-off-by: Kevin Hao --- scripts/lib/wic/plugins/source/bootimg-pcbios.py | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/lib/wic/plugins/s

[OE-core] [PATCH 2/4] wic: isoimage-isohybrid: Drop the unnecessary reference of STAGING_DATADIR

2018-09-29 Thread Kevin Hao
Actually the bootimg_dir is the value of the STAGING_DATADIR, so we can use it directly. Signed-off-by: Kevin Hao --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/scripts/lib/wic/plugins/source/isoimage

Re: [OE-core] [PATCH v3] wic: Introduce the --use-label partition parameter

2018-09-12 Thread Kevin Hao
On Thu, Sep 13, 2018 at 10:38:09AM +0800, Anuj Mittal wrote: > On 09/12/2018 08:44 AM, Kevin Hao wrote: > > + --use-label: This option is specific to wic. It makes wic to use > > the > > + label in /etc/fstab to specif

[OE-core] [PATCH v3] wic: Introduce the --use-label partition parameter

2018-09-11 Thread Kevin Hao
We can use this parameter to make the wic use the label to name a partition in /etc/fstab. Signed-off-by: Kevin Hao Reviewed-by: Tom Rini --- v3: No change since v2, just rebase on the master branch. scripts/lib/wic/help.py | 18 +- scripts/lib/wic/ksparser.py

[OE-core] [PATCH v2] wic: Introduce the --use-label partition parameter

2018-09-06 Thread Kevin Hao
We can use this parameter to make the wic use the label to name a partition in /etc/fstab. Signed-off-by: Kevin Hao Reviewed-by: Tom Rini --- v2: - Rephrase the help info - Rebase on the Emmanuel's patch http://lists.openembedded.org/pipermail/openembedded-core/2018-September/155414

Re: [OE-core] [PATCH] wic: Introduce the --use-label partition parameter

2018-09-06 Thread Kevin Hao
On Thu, Sep 06, 2018 at 09:27:39AM -0400, Tom Rini wrote: > On Thu, Sep 06, 2018 at 09:11:20PM +0800, Kevin Hao wrote: > > > We can use this parameter to make the wic use the label to name a > > partition in /etc/fstab. > > > > Signed-off-by: Kevin Hao > &g

[OE-core] [PATCH] wic: Introduce the --use-label partition parameter

2018-09-06 Thread Kevin Hao
We can use this parameter to make the wic use the label to name a partition in /etc/fstab. Signed-off-by: Kevin Hao --- scripts/lib/wic/help.py | 18 +- scripts/lib/wic/ksparser.py | 7 ++- scripts/lib/wic/partition.py | 1

[OE-core] [PATCH 2/2] wic: bootimg-partition: Select a preferred type if multi kernel images are installed

2018-08-20 Thread Kevin Hao
Automatically select one kernel type image based on a predefined precedence list if there are multi kernel images installed. Signed-off-by: Kevin Hao --- .../lib/wic/plugins/source/bootimg-partition.py| 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git

[OE-core] [PATCH 1/2] wic: bootimg-partition: Add support to specify a custom extlinux.conf

2018-08-20 Thread Kevin Hao
Add support to specify a custom extlinux.conf via something like: bootloader --configfile="extlinux.conf" Signed-off-by: Kevin Hao --- .../lib/wic/plugins/source/bootimg-partition.py| 79 +- 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/s

Re: [OE-core] [PATCH V2 00/12] Add GCC 8 recipes

2018-06-07 Thread Kevin Hao
On Thu, Jun 07, 2018 at 11:42:08AM +0100, Richard Purdie wrote: > On Wed, 2018-06-06 at 20:45 -0400, Bruce Ashfield wrote: > > > > > > On Wed, Jun 6, 2018 at 5:37 PM, Khem Raj wrote: > > > This changeset is including the review feedback from last patchset > > > > > > - Fixes ppc such that we do

Re: [OE-core] [PATCH 2/2] wic: plugins: rawcopy: Add support to download the raw image from a http server

2017-12-10 Thread Kevin Hao
On Sun, Dec 10, 2017 at 10:53:43PM -0200, Otavio Salvador wrote: > On Sat, Dec 9, 2017 at 12:45 AM, Kevin Hao wrote: > > Some firmwares are critical for the basic functions of the board, and may > > be used by the bootloader. Due to the license issue, we can't integrate >

[OE-core] [PATCH 1/2] wic: plugins: rawcopy: support to add offset when writing the raw image

2017-12-07 Thread Kevin Hao
In some cases we need to skip some reserved sectors when writing a raw image. So add support to set an offset for writing. Signed-off-by: Kevin Hao --- scripts/lib/wic/plugins/source/rawcopy.py | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/lib/wic/plugins

[OE-core] [PATCH 2/2] wic: plugins: rawcopy: Add support to download the raw image from a http server

2017-12-07 Thread Kevin Hao
it to a specific part. In order to restrict the downloading behaviour, we introduce a "WKS_ALLOW_DOWNLOAD" variable and only do the downloading when this variable is set. Signed-off-by: Kevin Hao --- meta/classes/image_types_wic.bbclass | 2 +- scripts/lib/wic/plugins/source/

Re: [OE-core] [PATCH 1/7] linux-yocto/4.10: fix aufs build

2017-08-31 Thread Kevin Hao
On Thu, Aug 31, 2017 at 03:30:58PM -0400, Bruce Ashfield wrote: > diff --git a/meta/recipes-kernel/linux/linux-yocto_4.10.bb > b/meta/recipes-kernel/linux/linux-yocto_4.10.bb > index 4107891f6e8a..10b56cda77e7 100644 > --- a/meta/recipes-kernel/linux/linux-yocto_4.10.bb > +++ b/meta/recipes-kernel

[OE-core] [PATCH] kernel.bbclass: add the runtime dependency on kernel-vmlinux for kernel-image

2015-08-25 Thread Kevin Hao
KERNEL_IMAGETYPE is "vmlinux". Signed-off-by: Kevin Hao --- meta/classes/kernel.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 5318b5febef6..919293e43dba 100644 --- a/meta/classes/kernel.bbclass +++ b/me

[OE-core] [PATCH] u-boot: fix extern inline build errors for gcc 5

2015-07-30 Thread Kevin Hao
[1] https://gcc.gnu.org/gcc-5/porting_to.html Signed-off-by: Kevin Hao --- meta/recipes-bsp/u-boot/u-boot_2015.07.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-bsp/u-boot/u-boot_2015.07.bb b/meta/recipes-bsp/u-boot/u-boot_2015.07.bb index 3ba2f44eaa20..4746c33ec25e 100644 -

[OE-core] [PATCH v2] PCMCIA: remove the support for PCMCIA

2015-05-25 Thread Kevin Hao
PCMCIA is so uncommon in now days and was also removed by other distro such as Debian [1]. So remove it from oe-core. Will move it to meta-openembedded/meta-oe. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698105 Signed-off-by: Kevin Hao --- v2: Rebase on the latest codes. meta/conf

[OE-core] [PATCH] PCMCIA: remove the support for PCMCIA

2015-05-22 Thread Kevin Hao
PCMCIA is so uncommon in now days and was also removed by other distro such as Debian [1]. So remove it from oe-core. Will move it to meta-openembedded/meta-oe. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698105 Signed-off-by: Kevin Hao --- meta/conf/bitbake.conf