[OE-core] [PATCH] linux-yocto: introduce KMETABRANCH

2024-03-18 Thread Ming Liu
From: Ming Liu If I want to try a different branch of linux-yocto in a bbappend, that could be easily done by setting KBRANCH, but there is not such a way to do the same for kernel meta. Introduce a variable KMETABRANCH to satisfy that. Signed-off-by: Ming Liu --- meta/recipes-kernel/linux

[OE-core] [PATCH V2] qemu.bbclass: fix a python TypeError

2024-01-07 Thread Ming Liu
From: Ming Liu QEMU_OPTIONS can be empty which will trigger a exception TypeError: | can only concatenate str (not "NoneType") to str. Fix it by setting a empty string. ALso removed two useless blanks. Signed-off-by: Ming Liu --- meta/classes-recipe/qemu.bbclass | 2 +- 1 file

[OE-core] [PATCH] qemu.bbclass: fix a python TypeError

2024-01-06 Thread Ming Liu
From: Ming Liu QEMU_OPTIONS can be empty which will trigger a exception TypeError: | can only concatenate str (not "NoneType") to str fix it by setting a empty string. Signed-off-by: Ming Liu --- meta/classes-recipe/qemu.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [OE-core] [PATCH] grub: fs/fat: Don't error when mtime is 0

2024-01-04 Thread Ming Liu
Hi, Alexandre: Sorry, my bad, will resend it. //Ming Liu Alexandre Belloni 於 2024年1月4日 週四 上午10:49寫道: > Hello, > > Your patch has a declared charset of 'y' which is not a thing and git am > fails with: > > error: cannot convert from y to UTF-8 > fatal: could not pa

[OE-core] [PATCH] grub: fs/fat: Don't error when mtime is 0

2024-01-03 Thread Ming Liu
From: Ming Liu A issue was found when I run "runqemu genericx86-64 ovmf", grub failed to boot, it's a known issue has been fixed in grub upstream, backport the fix. Signed-off-by: Ming Liu --- ...1-fs-fat-Don-t-error-when-mtime-is-0.patch | 70 +++ meta/recipes-bsp/

Re: [OE-core] [PATCH] meta: introduce KCONFIG_CONFIG_ENABLE_MENUCONFIG

2023-06-06 Thread Ming Liu
Hi, Dear maintainers: Ping, could you please review this at your convenient time? It's blocking our uboot do_menuconfig task. the best, thank you 於 2023年5月13日 週六 下午6:05寫道: > From: Ming Liu > > Currently, uboot do_menuconfig task is breaking when UBOOT_CONFIG is > chosen

[OE-core] [PATCH] weston-init: introduce xwayland PACKAGECONFIG

2023-06-06 Thread Ming Liu
From: Ming Liu Some BSPs dont support xwayland in weston, this is easier for them to control that. Signed-off-by: Ming Liu --- meta/recipes-graphics/wayland/weston-init.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/wayland/weston-init.bb b

[OE-core] [PATCH V2] kernel.bbclass: introduce KERNEL_LOCALVERSION

2023-05-30 Thread Ming Liu
From: Ming Liu Just like UBOOT_LOCALVERSION, an end user can set KERNEL_LOCALVERSION to append a string to the name of the local version of the kernel image. Signed-off-by: Ming Liu --- meta/classes-recipe/kernel.bbclass | 6 +- meta/conf/documentation.conf | 1 + 2 files changed, 6

Re: [OE-core] [PATCH] kernel.bbclass: introduce KERNEL_LOCALVERSION

2023-05-30 Thread Ming Liu
Hi, Bruce: OK, thanks for the explanation, that makes sense, will add them back in V2. the best, thank you Bruce Ashfield 於 2023年5月30日 週二 下午10:09寫道: > On Tue, May 30, 2023 at 3:58 PM Ming Liu wrote: > > > > Hi, Bruce: > > > > Please see my answers as below:

Re: [OE-core] [PATCH] kernel.bbclass: introduce KERNEL_LOCALVERSION

2023-05-30 Thread Ming Liu
hen we generate the .scmversion on purpose, not as a workaround or fix so those comments not valid any more? the best, thank you Bruce Ashfield 於 2023年5月30日 週二 下午7:21寫道: > On Tue, May 30, 2023 at 1:10 PM Ming Liu wrote: > > > > From: Ming Liu > > > > Just like UBOOT_

[OE-core] [PATCH] kernel.bbclass: introduce KERNEL_LOCALVERSION

2023-05-30 Thread Ming Liu
From: Ming Liu Just like UBOOT_LOCALVERSION, an end user can set KERNEL_LOCALVERSION to append a string to the name of the local version of the kernel image. Signed-off-by: Ming Liu --- meta/classes-recipe/kernel.bbclass | 10 +- meta/conf/documentation.conf | 1 + 2 files

[OE-core] [PATCH] meta: introduce KCONFIG_CONFIG_ENABLE_MENUCONFIG

2023-05-13 Thread Ming Liu
From: Ming Liu Currently, uboot do_menuconfig task is breaking when UBOOT_CONFIG is chosen rather than UBOOT_MACHINE, it simply fails with the following errors: | make: *** No rule to make target 'menuconfig'. Stio. | Command failed. | Press any key to continue... this is due to the work

[OE-core] [PATCH] weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland

2023-04-28 Thread Ming Liu
From: Ming Liu Otherwise xwayland.pc would not be present in sysroot, this leads to some xwayland configs missing like have_listenfd, have_glamor. Signed-off-by: Ming Liu --- meta/recipes-graphics/wayland/weston_11.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] linux: inherit pkgconfig in kernel.bbclass

2023-03-04 Thread Ming Liu
From: Ming Liu pkgconfig is being required to find dependencies for building kernel native tools, move "inherit pkgconfig" to kernel.bbclass so BSP kernel recipes can also benefit from it. Signed-off-by: Ming Liu --- meta/classes-recipe/kernel.bbclass | 2 +- meta/reci

[OE-core] [PATCH] go-crosssdk: avoid host contamination by GOCACHE

2022-12-11 Thread Ming Liu
From: Robert Andersson By default GOCACHE is set to $HOME/.cache. Same issue for all other go recipes had been fixed by commit 9a6d208b: [ go: avoid host contamination by GOCACHE ] but that commit missed go-crosssdk recipe. Signed-off-by: Robert Andersson Signed-off-by: Ming Liu --- meta

Re: [OE-core] [PATCH V4 1/2] bluez5: change configuration directory mode

2022-10-07 Thread Ming Liu
Hi, Ross: I think it applies for both systemd and sysvinit, it's bluez5's requirement that /etc/bluetooth should be read-only. //Ming Liu Ross Burton 於 2022年10月6日 週四 下午2:19寫道: > Is this in a build with systemd or sysvinit? Looking at the referenced > commit, that’s when running in a s

[OE-core] [PATCH V4 2/2] testsdk.py: ensure the testsdk directory is writable before removing it

2022-10-06 Thread Ming Liu
From: Ming Liu We have to make sure all users have write permission to testsdk directory before removing it, this is to avoid potential 'rm' failures. Signed-off-by: Ming Liu --- meta/lib/oeqa/sdk/testsdk.py | 4 1 file changed, 4 insertions(+) diff --git a/meta/lib/oeqa/sdk/testsdk.py

[OE-core] [PATCH V4 1/2] bluez5: change configuration directory mode

2022-10-06 Thread Ming Liu
From: Ming Liu Change configuration directory mode from 0755 to 0555, this fixes a following warning when bluetoothd starts: | ConfigurationDirectory 'bluetooth' already exists but the mode is different. | (File system: 755 ConfigurationDirectoryMode: 555) Reference: https://git.kernel.org/pub

[OE-core] [PATCH V4 0/2] bluez5: change configuration directory mode

2022-10-06 Thread Ming Liu
From: Ming Liu The changes in V4: 1 In commit message, add reference to https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=00cfb36e20e3c35db2150e7d0351ad7b8442e2d8 2 Make testsdk directory writable before removing it. Both as suggested by @Luca Ceresoli. Ming Liu (2): bluez5

[OE-core] [PATCH] dropbear: add pam to PACKAGECONFIG

2022-10-06 Thread Ming Liu
From: Ming Liu Add pam to PACKAGECONFIG to make the code cleaner. Signed-off-by: Ming Liu --- meta/recipes-core/dropbear/dropbear_2022.82.bb | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/meta/recipes-core/dropbear/dropbear_2022.82.bb b/meta/recipes-core

[OE-core] [PATCH V3] bluez5: change configuration directory mode

2022-10-05 Thread Ming Liu
From: Ming Liu Change configuration directory mode from 0755 to 0555, this fixes a following warning when bluetoothd starts: | ConfigurationDirectory 'bluetooth' already exists but the mode is different. | (File system: 755 ConfigurationDirectoryMode: 555) Signed-off-by: Ming Liu --- meta

Re: [OE-core] [PATCH V2] bluez5: change configuration directory mode

2022-10-05 Thread Ming Liu
Hi, Peter: You are absolutely right, I also noticed that, it’s a typo, it should be 0555, will send a V3 soon. //Ming Liu > -Original Message- > > From: openembedded-core@lists.openembedded.org < > openembedded-core@lists.openembedded.org> On Behalf Of Ming Liu >

[OE-core] [PATCH V2] bluez5: change configuration directory mode

2022-10-05 Thread Ming Liu
From: Ming Liu Change configuration directory mode from 0755 to 0555, this fixes a following warning when bluetoothd starts: | ConfigurationDirectory 'bluetooth' already exists but the mode is different. | (File system: 755 ConfigurationDirectoryMode: 555) Signed-off-by: Ming Liu --- meta

[OE-core] [kirkstone] [PATCH 2/2] kernel-fitimage.bbclass: add padding algorithm property in config nodes

2022-09-01 Thread Ming Liu
From: LUIS ENRIQUEZ This allows choosing padding algorithm when building fitImage. It may be pkcs-1.5 or pss. Signed-off-by: LUIS ENRIQUEZ Signed-off-by: Alexandre Belloni (cherry picked from commit 29d5336c728b28890bbaadebf0ccff00ad90a64d) Signed-off-by: Ming Liu --- meta/classes/kernel

[OE-core] [kirkstone] [PATCH 1/2] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-09-01 Thread Ming Liu
From: Ming Liu Sometimes an end user might want to choose another kernel type argument for uboot-mkimage other than "kernel", for instance: "kernel_noload". Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that, and it could be used by BSP layers as well

[OE-core] [kirkstone] [PATCH 0/2] kernel-fitimage.bbclass: backport some fixes from master

2022-09-01 Thread Ming Liu
From: Ming Liu Backport some fixes from master branch to kernel-fitimage.bbclass, otherwise some features are incomplete. LUIS ENRIQUEZ (1): kernel-fitimage.bbclass: add padding algorithm property in config nodes Ming Liu (1): meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE meta/classes

[OE-core] [PATCH] udev-extraconf:mount.sh: fix a umount issue

2022-07-20 Thread Ming Liu
From: Ming Liu Only touching /tmp/.automount-$name is not good enough, it must contain the mount name, otherwise umount could not get the path from it. Signed-off-by: Ming Liu --- meta/recipes-core/udev/udev-extraconf/mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [kirkstone] [PATCH 9/9] udev-extraconf:mount.sh: fix path mismatching issues

2022-07-17 Thread Ming Liu
From: Ming Liu Since commit f077befd5f36ad88623aaf6a38b1a837ecb18650: [ udev-extraconf: let automount base directory configurable ] the mount base directory was configurable, we need drop 'run-media' usage as well, change to figure it out from MOUNT_BASE. Also 'get_label_name' function needs

[OE-core] [kirkstone] [PATCH 8/9] udev-extraconf: fix some systemd automount issues

2022-07-17 Thread Ming Liu
From: Ming Liu The '.include' syntax has been dropped from latest systemd releases, we need drop the systemd-udevd.service here, introduce a postinst function to add "MountFlags=shared" to systemd-udevd.service. Also lsblk binary is being called in mount.sh automount_systemd fun

[OE-core] [kirkstone] [PATCH 7/9] udev-extraconf/mount.sh: ignore lvm in automount

2022-07-17 Thread Ming Liu
-by: Luca Ceresoli (cherry picked from commit b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) Signed-off-by: Ming Liu --- meta/recipes-core/udev/udev-extraconf/mount.sh | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev

[OE-core] [kirkstone] [PATCH 6/9] udev-extraconf: force systemd-udevd to use shared MountFlags

2022-07-17 Thread Ming Liu
picked from commit 1e770416b4c9a0468404fb64d55114d93e84763b) Signed-off-by: Ming Liu --- .../udev/udev-extraconf/systemd-udevd.service| 3 +++ meta/recipes-core/udev/udev-extraconf_1.1.bb | 9 - 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 meta

[OE-core] [kirkstone] [PATCH 5/9] udev-extraconf/mount.sh: only mount devices on hotplug

2022-07-17 Thread Ming Liu
or is not present in the tmp cache while making use of the DEVPATH variable during the remove action. Signed-off-by: Awais Belal Signed-off-by: Muhammad Hamza Signed-off-by: Luca Ceresoli (cherry picked from commit 11a5e6c17535438ea1e7a8403ed260c8b3a22bc8) Signed-off-by: Ming Liu --- .../recipes-core/udev

[OE-core] [kirkstone] [PATCH 4/9] udev-extraconf/mount.sh: save mount name in our tmp filecache

2022-07-17 Thread Ming Liu
-by: Muhammad Hamza Signed-off-by: Luca Ceresoli (cherry picked from commit 496b76f8775a620c1d449eb6f62a41656abf2a9b) Signed-off-by: Ming Liu --- meta/recipes-core/udev/udev-extraconf/mount.sh | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/udev/udev

[OE-core] [kirkstone] [PATCH 3/9] udev-extraconf/mount.sh: add LABELs to mountpoints

2022-07-17 Thread Ming Liu
with LABEL or PARTLABEL makes sure that the mountpoint is unique, therefore, avoids overlapping mounts. Signed-off-by: Arsalan H. Awan Signed-off-by: Muhammad Hamza Signed-off-by: Luca Ceresoli (cherry picked from commit a9a0a0967832445f1bcc65d58f95343d1b562e1b) Signed-off-by: Ming Liu --- meta

[OE-core] [kirkstone] [PATCH 2/9] udev-extraconf: let automount base directory configurable

2022-07-17 Thread Ming Liu
From: Ming Liu Dont hard-code automount base directory to '/run/media', introduce a variable MOUNT_BASE to let it configurable, like in udisks2 the mount base is also configurable by setting option: --enable-fhs-media. Signed-off-by: Ming Liu Signed-off-by: Luca Ceresoli Signed-off

[OE-core] [kirkstone] [PATCH 1/9] udev-extraconf/initrdscripts/parted: Rename mount.blacklist -> mount.ignorelist

2022-07-17 Thread Ming Liu
From: Richard Purdie Signed-off-by: Richard Purdie Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit 69e486ddb3059f80ba538e1f59c2ca8a8df0faf9) Signed-off-by: Ming Liu --- .../initrdscripts/files/init-install-efi-testfs.sh | 2 +- .../initrdscripts

[OE-core] [kirkstone] [PATCH 0/9] udev-extraconf fixes

2022-07-17 Thread Ming Liu
From: Ming Liu udev-extraconf of kirkstone does not work, back-ported several fixes from upstream. Ming Liu (3): udev-extraconf: let automount base directory configurable udev-extraconf: fix some systemd automount issues udev-extraconf:mount.sh: fix path mismatching issues Muhammad Hamza

[OE-core] [PATCH] rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S}

2022-07-15 Thread Ming Liu
From: Ming Liu This is to ensure host-user-contaminated.txt would be removed before do_rootfs runs, since ${S} is in cleandirs of do_rootfs, otherwise, a host-user-contaminated.txt file that generated from previous builds could be used which is wrong. Signed-off-by: Ming Liu --- meta/classes

[OE-core] [PATCH] udev-extraconf:mount.sh: fix path mismatching issues

2022-07-14 Thread Ming Liu
From: Ming Liu Since commit f077befd5f36ad88623aaf6a38b1a837ecb18650: [ udev-extraconf: let automount base directory configurable ] the mount base directory was configurable, we need drop 'run-media' usage as well, change to figure it out from MOUNT_BASE. Also 'get_label_name' function needs

[OE-core] [PATCH V3 1/1] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-07-14 Thread Ming Liu
From: Ming Liu Sometimes an end user might want to choose another kernel type argument for uboot-mkimage other than "kernel", for instance: "kernel_noload". Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that, and it could be used by BSP layers as well. Sig

[OE-core] [PATCH V3 0/1] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-07-14 Thread Ming Liu
From: Ming Liu Changes in V3: 1 Fixed a oe-selftest failure. Ming Liu (1): meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE meta/classes/kernel-fitimage.bbclass | 2 +- meta/classes/kernel-uboot.bbclass| 3 +++ meta/classes/kernel-uimage.bbclass | 2 +- meta/lib/oeqa/selftest

[OE-core] [PATCH V2 1/1] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-07-09 Thread Ming Liu
From: Ming Liu Sometimes an end user might want to choose another kernel type argument for uboot-mkimage other than "kernel", for instance: "kernel_noload". Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that, and it could be used by BSP layers as well. Sig

[OE-core] [PATCH V2 0/1] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-07-09 Thread Ming Liu
From: Ming Liu Changes in patch set V2: 1 Fix a wrong parameter mess pointed out by Alexandre Belloni. Ming Liu (1): meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE meta/classes/kernel-fitimage.bbclass | 2 +- meta/classes/kernel-uboot.bbclass| 3 +++ meta/classes/kernel

Re: [OE-core] [PATCH] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-07-07 Thread Ming Liu
Hi, Alexandre: Thanks for the review, I did not quite follow you, you meant the 'type' argument being replaced wrongly? I dont see how. Could you share some details about your comment? //Ming Liu Alexandre Belloni 於 2022年7月6日 週三 下午4:06寫道: > Hello, > > On 06/07/2022 13:10:28+0200,

[OE-core] [PATCH] meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE

2022-07-06 Thread Ming Liu
From: Ming Liu Sometimes an end user might want to choose another kernel type argument for uboot-mkimage other than "kernel", for instance: "kernel_noload". Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that, and it could be used by BSP layers as well. Sig

[OE-core] [PATCH] udev-extraconf: fix some systemd automount issues

2022-06-23 Thread Ming Liu
From: Ming Liu The '.include' syntax has been dropped from latest systemd releases, we need drop the systemd-udevd.service here, introduce a postinst function to add "MountFlags=shared" to systemd-udevd.service. Also lsblk binary is being called in mount.sh automount_systemd fun

[OE-core] [PATCH] udev-extraconf: let automount base directory configurable

2022-06-06 Thread Ming Liu
From: Ming Liu Dont hard-code automount base directory to '/run/media', introduce a variable MOUNT_BASE to let it configurable, like in udisks2 the mount base is also configurable by setting option: --enable-fhs-media. Signed-off-by: Ming Liu --- .../recipes-core/udev/udev-extraconf/mount.sh

Re: [OE-core] [kirkstone] [PATCH 1/1] mmc-utils: upgrade to latest revision

2022-05-17 Thread Ming Liu
Yes, this only occurs on 5.4 kernel, will CC to you next time for kirkstone patches. //Ming Liu Steve Sakoman 於 2022年5月16日 週一 下午4:29寫道: > On Sun, May 15, 2022 at 9:17 PM Ming Liu wrote: > > > Our products are based on LTS kirkstone, we found a build issue of > mmc-utils, which

Re: [OE-core] [kirkstone] [PATCH 1/1] mmc-utils: upgrade to latest revision

2022-05-16 Thread Ming Liu
that fix to kirkstone. //Ming Liu 於 2022年5月15日 週日 下午11:42寫道: > On Sun, 2022-05-15 at 14:43 +0200, liu.min...@gmail.com wrote: > > From: Alexander Kanavin > > > > Signed-off-by: Alexander Kanavin > > Signed-off-by: Luca Ceresoli > > Signed-off-by: Richard Purdi

[OE-core] [kirkstone] [PATCH 1/1] mmc-utils: upgrade to latest revision

2022-05-15 Thread Ming Liu
From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie (cherry picked from commit d98b06c9c6f480de1e5167bfe8392e39300fc02c) Signed-off-by: Ming Liu --- meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 +- 1 file changed, 1 insertion

[OE-core] [kirkstone] [PATCH 0/1] Fix a compilation issue of mmc-utils

2022-05-15 Thread Ming Liu
From: Ming Liu Update mmc-utils to the latest git hash to fix a compilation issue, which was observed on kirkstone when the kernel 5.4 is being used. Alexander Kanavin (1): mmc-utils: upgrade to latest revision meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 +- 1 file changed, 1 insertion

[OE-core] [PATCH 2/2] kernel-fitimage.bbclass: introduce FIT_SUPPORTED_INITRAMFS_FSTYPES

2022-03-28 Thread Ming Liu
From: Ming Liu It was found when a end user wants to build a squashfs type initramfs into fitimage, it just fails without printing out any error or warning messages, which is not right. Introduce a FIT_SUPPORTED_INITRAMFS_FSTYPES variable to avoid hard-coding the supported initramfs types

[OE-core] [PATCH 1/2] kernel-fitimage.bbclass: change 'echo' to 'bbnote'

2022-03-28 Thread Ming Liu
From: Ming Liu Change 'echo' usages to 'bbnote' for better logging. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel

[OE-core] [PATCH 0/2] Some kernel fitimage build fixes

2022-03-28 Thread Ming Liu
From: Ming Liu Ming Liu (2): kernel-fitimage.bbclass: change 'echo' to 'bbnote' kernel-fitimage.bbclass: introduce FIT_SUPPORTED_INITRAMFS_FSTYPES meta/classes/kernel-fitimage.bbclass | 35 +--- 1 file changed, 21 insertions(+), 14 deletions(-) -- 2.25.1

[OE-core] [PATCH] kernel-fitimage.bbclass: introduce get_fit_replacement_type function

2022-03-19 Thread Ming Liu
From: Ming Liu Avoid to set KERNEL_IMAGETYPE_REPLACEMENT in anonymous python function, otherwise it chould not be overridden in config files, for instance, it's being set now in meta/lib/oeqa/selftest/cases/fitimage.py. Introduce a get_fit_replacement_type function to get the default value

[OE-core] [PATCH] weston-init: add use-pixman PACKAGECONFIG

2022-03-12 Thread Ming Liu
From: Ming Liu Fbdev backend has been deprecated since weston 10.0.0, and it could be replaced by passing --use-pixman to drm backend, add a use-pixman PACKAGECONFIG for convenience. Signed-off-by: Ming Liu --- meta/recipes-graphics/wayland/weston-init.bb | 5 + 1 file changed, 5

[OE-core] [PATCH] image.bbclass: make sure do_rootfs run from a clean workspace

2022-03-12 Thread Ming Liu
From: Ming Liu Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and do_rootfs[cleandirs], this ensures do_rootfs run from a clean workspace, with this change, we can now remove two bb.utils.mkdirhier lines from meta/lib/oe/rootfs.py. Also drop ${S} from do_rootfs[cleandirs], nothing

[OE-core] [PATCH V2 1/1] depmodwrapper-cross: add config directory option

2022-02-24 Thread Ming Liu
. Signed-off-by: Oleksandr Suvorov Signed-off-by: Ming Liu --- meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb

[OE-core] [PATCH V2 0/1] depmodwrapper-cross: add config directory option

2022-02-24 Thread Ming Liu
From: Ming Liu Changes in V2: - Replace hard-coded /etc to ${sysconfdir} Oleksandr Suvorov (1): depmodwrapper-cross: add config directory option meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1

[OE-core]] depmodwrapper-cross: add config directory option

2022-02-24 Thread Ming Liu
. Signed-off-by: Oleksandr Suvorov Signed-off-by: Ming Liu --- meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb

Re: [OE-core] [PATCH] Revert "libubootenv: inherit uboot-config"

2021-07-07 Thread Ming Liu
@Otavio Salvador libubootenv will fall back to read environment from /etc/u-boot-initial-env if loading /etc/fw_env.config fails, so attempt to say it's not too wrong. To avoid world build failures, maybe set EXCLUDE_FROM_WORLD = "1"? //Ming Liu Otavio Salvador 於 2021年7月6日 週

[OE-core] [PATCH] uboot-sign.bbclass: fix some install commands

2021-06-21 Thread Ming Liu
From: Ming Liu A "install -d" command is missing when dealing with ${UBOOT_NODTB_BINARY} in install_spl_helper function, this can lead to invalid install error saying: | install: cannot create .../usr/share/u-boot-nodtb-2021.04-r0.bin': No such file or directory Let's drop all &

[OE-core] [REDEND] [ OE-core] [PATCH] u-boot-tools: fix a mkimage signature issue

2021-06-21 Thread Ming Liu
From: Ming Liu A following error was observed: | Can't write signature for 'signature@1' signature node in 'c...@imx6ull-colibri-wifi-eval-v3.dtb' conf node: | uboot-mkimage Can't add hashes to FIT blob: -1 This is caused by a wrong return value being used in uboot source. The return value

[OE-core] [PATCH] u-boot-tools: fix a mkimage signature issue

2021-05-31 Thread Ming Liu
From: Ming Liu A following error was observed: | Can't write signature for 'signature@1' signature node in 'c...@imx6ull-colibri-wifi-eval-v3.dtb' conf node: | uboot-mkimage Can't add hashes to FIT blob: -1 This is caused by a wrong return value being used in uboot source. The return value

[OE-core] [PATCH] uboot-sign/kernel-fitimage: split generate_rsa_keys task

2021-05-22 Thread Ming Liu
From: Ming Liu Currently generate_rsa_keys tasks are being executed parallelly in kernel and uboot's task list, and both of them are calling openssl to generate rsa keys in same path, this can lead to race condition. Let's split it to kernel_generate_rsa_keys and uboot_generate_rsa_keys

[OE-core] [PATCH V2] kernel-fitimage.bbclass: drop unit addresses from bootscr sections

2021-05-22 Thread Ming Liu
From: Ming Liu In commit 6047be9f: [ kernel-fitimage: Don't use unit addresses on FIT ] It had dropped unit addresses from FIT image but missed on bootscr part. Drop unit addresses from bootscr sections in this patch. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 8

Re: [OE-core] [PATCH] kernel-fitimage.bbclass: fix wrong separators

2021-05-22 Thread Ming Liu
Hi, Andrey: Thanks, exactly as you explained, it's to fix CVE-2021-27138, will add more commit messages. //Ming Liu Andrey Zhizhikin 於 2021年5月21日 週五 下午6:04寫道: > On Fri, May 21, 2021 at 4:44 PM Bruce Ashfield > wrote: > > > > On Fri, May 21, 2021 at 10:28 AM Richard

[OE-core] [PATCH] kernel-fitimage.bbclass: fix wrong separators

2021-05-21 Thread Ming Liu
From: Ming Liu Change to use '-' rather than '@' as separators. Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index

[OE-core] [PATCH] initramfs-framework:rootfs: fix wrong indentions

2021-05-21 Thread Ming Liu
From: Ming Liu Signed-off-by: Ming Liu --- meta/recipes-core/initrdscripts/initramfs-framework/rootfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/rootfs b/meta/recipes-core/initrdscripts/initramfs-framework/rootfs

[OE-core] [PATCH V2 1/1] kernel-fitimage.bbclass: fix a wrong conditional check

2021-05-21 Thread Ming Liu
From: Ming Liu It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0". Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insert

[OE-core] [PATCH V2 0/1] RESEND

2021-05-21 Thread Ming Liu
From: Ming Liu Fixed a condition check issue Ming Liu (1): kernel-fitimage.bbclass: fix a wrong conditional check meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

[OE-core] [PATCH] kernel-fitimage.bbclass: fix a wrong conditional check

2021-05-04 Thread Ming Liu
From: Ming Liu It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0". Signed-off-by: Ming Liu --- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insert

[OE-core] [PATCH] initramfs-framework:rootfs: fix some conditional check

2021-03-24 Thread Ming Liu
From: Ming Liu Drop a duplicated check for "PARTLABEL=", also change to use elif to avoid go through all the checks for root parameter. Signed-off-by: Ming Liu --- .../initrdscripts/initramfs-framework/rootfs| 17 +++-- 1 file changed, 3 insertions(+), 14 deletion

[OE-core] [PATCH] kernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE

2021-03-18 Thread Ming Liu
From: Ming Liu There are user cases that a developer wants to add both in-tree and out-of-tree devicetrees to fitimage, and this is quite normal, for instance, a developer might need the devicetrees from kernel source meanwhile maintaining his/her own devicetree overlays to be applied on top

[OE-core] [dunfell] [PATCH V2 4/4] libubootenv: inherit uboot-config

2020-08-26 Thread Ming Liu
From: Ming Liu This mainly aims to involve in the sanity check of UBOOT_CONFIG and UBOOT_MACHINE, it will throw a error message at recipe parsing time if neither of them is set, and libubootenv would be skipped. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie (cherry picked from commit

[OE-core] [dunfell] [PATCH V2 1/4] conf/machine: set UBOOT_MACHINE for qemumips and qemumips64

2020-08-26 Thread Ming Liu
From: Ming Liu These machines support booting U-Boot, so set the machine appropriately. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie (cherry picked from commit b812fad85aed6cb9e433c689f3b14425488dfc68) --- meta/conf/machine/qemumips.conf | 2 ++ meta/conf/machine/qemumips64.conf

[OE-core] [dunfell] [PATCH V2 0/4] libubootenv: uprev to v0.3

2020-08-26 Thread Ming Liu
From: Ming Liu Cherry pick the patches from master to upgrade libubootenv 0.2 -> 0.3. Since libubootenv 0.2 is sort of buggy, it lacks of a lot of bug/regression/security fixes which has been included in 0.3. Changes in patch set V2: 1 Let libubootenv inherit uboot-config to

[OE-core] [dunfell] [PATCH V2 3/4] libubootenv: uprev to v0.3

2020-08-26 Thread Ming Liu
From: Ming Liu Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device

[OE-core] [dunfell] [PATCH V2 2/4] multilib.conf: add u-boot to NON_MULTILIB_RECIPES

2020-08-26 Thread Ming Liu
From: Ming Liu u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie (cherry picked from commit 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6) --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH] libubootenv: inherit uboot-config

2020-08-25 Thread Ming Liu
From: Ming Liu This mainly aims to involve in the sanity check of UBOOT_CONFIG and UBOOT_MACHINE, it will throw a error message at recipe parsing time if neither of them is set, and libubootenv would be skipped. Signed-off-by: Ming Liu --- meta/recipes-bsp/u-boot/libubootenv_0.3.bb | 2 +- 1

Re: [OE-core] [PATCH] [dunfell 3/3] libubootenv: uprev to v0.3

2020-08-24 Thread Ming Liu
Hi, Anuj: Thanks for the review, I think this is a good suggestion, maybe we can let it inherit uboot-config bbclass. Will send a patch to master. //Ming Liu Mittal, Anuj 於 2020年8月24日 週一 上午2:03寫道: > On Sat, 2020-08-22 at 17:22 +0200, Ming Liu wrote: > > From: Ming Liu >

[OE-core] [PATCH] [dunfell 1/3] conf/machine: set UBOOT_MACHINE for qemumips and qemumips64

2020-08-22 Thread Ming Liu
From: Ming Liu These machines support booting U-Boot, so set the machine appropriately. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie (cherry picked from commit b812fad85aed6cb9e433c689f3b14425488dfc68) --- meta/conf/machine/qemumips.conf | 2 ++ meta/conf/machine/qemumips64.conf

[OE-core] [PATCH] [dunfell 3/3] libubootenv: uprev to v0.3

2020-08-22 Thread Ming Liu
From: Ming Liu Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device

[OE-core] [PATCH] [dunfell 2/3] multilib.conf: add u-boot to NON_MULTILIB_RECIPES

2020-08-22 Thread Ming Liu
From: Ming Liu u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie (cherry picked from commit 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6) --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH] [dunfell 0/3] libubootenv: uprev to v0.3

2020-08-22 Thread Ming Liu
From: Ming Liu Cherry pick the patches from master to upgrade libubootenv 0.2 -> 0.3. Since libubootenv 0.2 is sort of buggy, it lacks of a lot of bug/regression/security fixes which has been included in 0.3. Ming Liu (3): conf/machine: set UBOOT_MACHINE for qemumips and qemumip

[OE-core] [PATCH] systemd: split systemd specific udev rules into its own package

2020-08-21 Thread Ming Liu
From: Ming Liu In case some other packages need these udev rules but they wont install systemd, for instance, a issue was found that plymouth needs 71-seat.rules to be present in rootfs or it will fail. Let systemd RDEPENDS on systemd-udev-rules. Signed-off-by: Stefan Agner Signed-off

[OE-core] [PATCH V4 3/3] libubootenv: uprev to v0.3

2020-08-17 Thread Ming Liu
From: Ming Liu Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device

[OE-core] [PATCH V4 0/3] libubootenv: uprev to v0.3

2020-08-17 Thread Ming Liu
From: Ming Liu Changes in patch set V4: 1 Add UBOOT_MACHINE to qemumips/qemumips64 to fix a uboot build issue. 2 Set PACKAGE_ARCH = "${MACHINE_ARCH}" to fix a test_sstate_sametune_samesigs issue. Ming Liu (3): conf/machine: set UBOOT_MACHINE for qemumips and qemumips64 mul

[OE-core] [PATCH V4 2/3] multilib.conf: add u-boot to NON_MULTILIB_RECIPES

2020-08-17 Thread Ming Liu
From: Ming Liu u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. Signed-off-by: Ming Liu --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index 58f2ac5c86..d231107f8b 100644

[OE-core] [PATCH V4 1/3] conf/machine: set UBOOT_MACHINE for qemumips and qemumips64

2020-08-17 Thread Ming Liu
From: Ming Liu These machines support booting U-Boot, so set the machine appropriately. Signed-off-by: Ming Liu --- meta/conf/machine/qemumips.conf | 2 ++ meta/conf/machine/qemumips64.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/meta/conf/machine/qemumips.conf b/meta/conf

Re: [OE-core] [PATCH V3 2/2] libubootenv: uprev to v0.3

2020-08-17 Thread Ming Liu
Will investigate the build issues. Thanks. //Ming Liu Richard Purdie 於 2020年8月15日 週六 上午12:06寫道: > On Fri, 2020-08-14 at 13:12 -0700, Khem Raj wrote: > > for qemumips I am still seeing > > > > 00:01:59.669 WARNING: No bb files in default matched > > BBFILE_PATTERN

[OE-core] [PATCH V3 1/2] multilib.conf: add u-boot to NON_MULTILIB_RECIPES

2020-08-14 Thread Ming Liu
From: Ming Liu u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. Signed-off-by: Ming Liu --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index 58f2ac5c86..d231107f8b 100644

[OE-core] [PATCH V3 2/2] libubootenv: uprev to v0.3

2020-08-14 Thread Ming Liu
From: Ming Liu Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device

[OE-core] [PATCH V3 0/2] libubootenv: uprev to v0.3

2020-08-14 Thread Ming Liu
From: Ming Liu Changes in V3: 1 Drop PV definition from recipe as suggested by Adrian Bunk. 2 Change a '+=' to "_append" as suggested by Khem Raj. Ming Liu (2): multilib.conf: add u-boot to NON_MULTILIB_RECIPES libubootenv: uprev to v0.3 meta/conf/mul

Re: [OE-core] [PATCH V2 2/2] libubootenv: uprev to v0.3

2020-08-14 Thread Ming Liu
Got that, will make a V3 dropping PV definition and _git version suffix from recipe. //Ming Liu Richard Purdie 於 2020年8月14日 週五 上午11:04寫道: > On Fri, 2020-08-14 at 10:16 +0200, Ming Liu wrote: > > @Adrian Bunk Sorry, just double checked your comment, are you sure > > "PV = 0.

Re: [OE-core] [PATCH V2 2/2] libubootenv: uprev to v0.3

2020-08-14 Thread Ming Liu
@Adrian Bunk Sorry, just double checked your comment, are you sure "PV = 0.3" without git+SRCPV is a right way to go? This seems is not like all other git recipes. //Ming Liu Ming Liu 於 2020年8月14日 週五 上午10:09寫道: > OK, will change back to 0.3 recipe in V3. > > //Ming Liu >

Re: [OE-core] [PATCH V2 2/2] libubootenv: uprev to v0.3

2020-08-14 Thread Ming Liu
OK, will change back to 0.3 recipe in V3. //Ming Liu Adrian Bunk 於 2020年8月13日 週四 下午9:05寫道: > On Thu, Aug 13, 2020 at 12:21:17PM +0200, Ming Liu wrote: > >... > > -PV = "0.2+git${SRCPV}" > > +PV = "0.3+git${SRCPV}" > > SRC_URI = "git://githu

Re: [OE-core] [PATCH V2 2/2] libubootenv: uprev to v0.3

2020-08-14 Thread Ming Liu
Yes, I am on board that RRECOMMENDS_${PN}-bin_append_class-target = " u-boot-default-env" might be better, will change to that in V3, but this error probably due to you dont have RPROVIDES_${PN}-env += "u-boot-default-env" in your uboot recipe? //Ming Liu Khem Raj 於 20

[OE-core] [PATCH V2 1/2] multilib.conf: add u-boot to NON_MULTILIB_RECIPES

2020-08-13 Thread Ming Liu
From: Ming Liu u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. Signed-off-by: Ming Liu --- meta/conf/multilib.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index 58f2ac5c86..d231107f8b 100644

[OE-core] [PATCH V2 0/2] libubootenv: uprev to v0.3

2020-08-13 Thread Ming Liu
From: Ming Liu Changes in V2: 1 Added u-boot to NON_MULTILIB_RECIPES. Ming Liu (2): multilib.conf: add u-boot to NON_MULTILIB_RECIPES libubootenv: uprev to v0.3 meta/conf/multilib.conf | 2 +- .../u-boot/{libubootenv_0.2.bb => libubootenv_git

  1   2   3   4   >