[OE-core] [PATCH 1/1] util-linux: fix hwclock settimeofday error

2020-02-19 Thread Liwei Song
The change of settimeofday() systemcall since Glibc 2.31 will cause "hwclock -s" doesn't work with error: "hwclock: settimeofday() failed: Invalid argument" Backport a upstream patch to fix this issue. Signed-off-by: Liwei Song --- ...lock-fix-for-glibc-2.31-sett

[OE-core] [PATCH 1/1] buildtools-tarball: export OPENSSL_CONF for openssl

2019-11-08 Thread Liwei Song
export OPENSSL_CONF to aviod SDK openssl can not find openssl.cnf. Signed-off-by: Liwei Song --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index

[OE-core] [PATCH 1/1] util-linux: fix PKNAME name is NULL when use lsblk [LIN1019-2963]

2019-10-20 Thread Liwei Song
PKNAME is NULL when run "lsblk -o+PKNAME /dev/sda1" backport an upstream patch to fix it. Signed-off-by: Liwei Song --- ...-force-to-print-PKNAME-for-partition.patch | 36 +++ .../util-linux/util-linux_2.34.bb | 1 + 2 files changed, 37 insertions(+) c

[OE-core] [PATCH 1/2] glib-networking:enable glib-networking build as native package

2019-09-12 Thread Liwei Song
From: Jiang Lu Enable glib-networking build as a native package, for it is depended by libsoup. Signed-off-by: Jiang Lu Signed-off-by: Liwei Song --- meta/recipes-core/glib-networking/glib-networking_2.60.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/glib

[OE-core] [PATCH 2/2] libsoup:enable libsoup build as native package

2019-09-12 Thread Liwei Song
From: Jiang Lu Enable libsoup build as a native package, for it may invoked by other native package, such as ostree. Signed-off-by: Jiang Lu Signed-off-by: Liwei Song --- meta/recipes-support/libsoup/libsoup-2.4_2.66.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes

[OE-core] [PATCH 2/2] mdadm: define MAILADDR for mdmonitor service

2019-05-22 Thread Liwei Song
by default in mdmonitor.service it use mail address to report alerts but this need to set MAILADDR in /etc/mdadm.conf, or the service will be failed excuted. This patch will set MAILADD to "root" in /etc/mdadm.conf to aviod service run with error. Signed-off-by: Liwei Song --- me

[OE-core] [PATCH 1/2] mdadm: guarded with systemd when install mdadm service

2019-05-22 Thread Liwei Song
install mdadm related service only when systemd was included in DISTRO_FEATURES. Signed-off-by: Liwei Song --- meta/recipes-extended/mdadm/mdadm_4.1.bb | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes

Re: [OE-core] [PATCH v2] mdadm: install the systemd service through Makefile

2019-05-22 Thread Liwei Song
Please ignore this one. Because the v1 patch has been applied, so this one is not applicable now, will send it together with another patch to cover the systemd related change. Thanks, Liwei. On 05/21/2019 04:54 PM, Liwei Song wrote: > The original mdadm service may include variable l

[OE-core] [PATCH v2] mdadm: install the systemd service through Makefile

2019-05-21 Thread Liwei Song
f mdadm. Signed-off-by: Liwei Song --- meta/recipes-extended/mdadm/mdadm_4.1.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb index ef5ddf55db39..8ca42a89ddc5 100644 --- a/meta/re

Re: [OE-core] [PATCH] mdadm: install the systemd service through Makefile

2019-05-21 Thread Liwei Song
On 05/21/2019 02:43 PM, Khem Raj wrote: > On Mon, May 20, 2019 at 7:21 PM Liwei Song wrote: >> >> >> >> On 05/21/2019 05:18 AM, Khem Raj wrote: >>> >>> >>> On 5/15/19 7:41 PM, Liwei Song wrote: >>>> The original mdadm service m

Re: [OE-core] [PATCH] mdadm: install the systemd service through Makefile

2019-05-20 Thread Liwei Song
On 05/21/2019 05:18 AM, Khem Raj wrote: > > > On 5/15/19 7:41 PM, Liwei Song wrote: >> The original mdadm service may include variable like BINDIR, >> It should use the real value of it, since the install method >> "install-systemd" in Makefile can eas

[OE-core] [PATCH] mdadm: install the systemd service through Makefile

2019-05-15 Thread Liwei Song
f mdadm. Signed-off-by: Liwei Song --- meta/recipes-extended/mdadm/mdadm_4.1.bb | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb index 4168ce4d0cb8..a4b9ef94799f 100644 --- a/meta/re

Re: [OE-core] [PATCH 2/8] mdadm: add udev rules to create by-partuuid for MD devices

2019-03-25 Thread Liwei Song
On 03/25/2019 07:55 PM, Richard Purdie wrote: > On Wed, 2019-03-20 at 23:19 -0400, Liwei Song wrote: >> installer use partuuid for boot and swap partition, >> But the udev rules for MD devices do not have rules to create >> by-partuuid under /dev/disk/, this will take 90s

Re: [OE-core] [PATCH 8/8] oe-core: add ledmon to support Intel VROC

2019-03-21 Thread Liwei Song
On 03/22/2019 07:32 AM, Richard Purdie wrote: > On Wed, 2019-03-20 at 23:19 -0400, Liwei Song wrote: >> This add ledmon demon to control Intel VROC's SSD disk led. >> >> Signed-off-by: Liwei Song >> --- >> meta/recipes-e

[OE-core] [PATCH 4/8] initramfs-framework: mount efivarfs to make Intel VROC work well

2019-03-20 Thread Liwei Song
efivafs contain some meta data about Intel VROC, which will be used by mdadm to create raid device. These are preparation work to support boot from Intel VROC RAID disk. Signed-off-by: Liwei Song --- meta/recipes-core/initrdscripts/initramfs-framework/init | 5 + 1 file changed, 5

[OE-core] [PATCH 7/8] init-install: fix a typo which will led delete section failed when use sed

2019-03-20 Thread Liwei Song
use sed to delete the install section may failed due to an typo in installer routine. Signed-off-by: Liwei Song --- meta/recipes-core/initrdscripts/files/init-install-efi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/initrdscripts/files/init-install

[OE-core] [PATCH 8/8] oe-core: add ledmon to support Intel VROC

2019-03-20 Thread Liwei Song
This add ledmon demon to control Intel VROC's SSD disk led. Signed-off-by: Liwei Song --- meta/recipes-extended/ledmon/ledmon_git.bb | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 meta/recipes-extended/ledmon/ledmon_git.bb diff --git a/meta/recipes

[OE-core] [PATCH 5/8] initramfs-framework: add lvm module

2019-03-20 Thread Liwei Song
lvm module will initial lvm volume to support boot from Logical Volume. Signed-off-by: Liwei Song --- meta/recipes-core/initrdscripts/initramfs-framework/lvm| 13 + meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 9 + 2 files changed, 22 insertions

[OE-core] [PATCH 6/8] init-install: add support for install image to Intel VROC raid disk

2019-03-20 Thread Liwei Song
Signed-off-by: Liwei Song --- .../initrdscripts/files/init-install-efi.sh| 23 ++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/initrdscripts/files/init-install-efi.sh b/meta/recipes-core/initrdscripts/files/init-install-efi.sh index b6

[OE-core] [PATCH 3/8] udev-extraconf: move md* and dm* from mount blacklist

2019-03-20 Thread Liwei Song
When use rootfs.img as rootfs, root=/dev/ram0 was set, init will search rootfs.img from all automount point, if deploy it to MD or DM device, rootfs.img will not be found, then boot failed. Do not black MD and DM device to allow boot from raid disk or raid LVM volume. Signed-off-by: Liwei Song

[OE-core] [PATCH 1/8] mdadm: add mdmon service to support Intel VROC

2019-03-20 Thread Liwei Song
Install mdmon@.service to make Intel VROC work well. mdmon@.service called from udev is used to update Intel VROC metadata, with it the VROC raid is operational to read or write under user space. Signed-off-by: Liwei Song --- meta/recipes-extended/mdadm/mdadm_4.1.bb | 3 ++- 1 file changed, 2

[OE-core] [PATCH 0/8] changes to allow boot/install from/to virtual raid disk

2019-03-20 Thread Liwei Song
in raid disk partition or LVM partition. Liwei Song (8): mdadm: add mdmon service to support Intel VROC mdadm: add udev rules to create by-partuuid for MD devices udev-extraconf: move md* and dm* from mount blacklist initramfs-framework: mount efivarfs to make Intel VROC work well initramfs

[OE-core] [PATCH 2/8] mdadm: add udev rules to create by-partuuid for MD devices

2019-03-20 Thread Liwei Song
dadm/files/0001-udev.rules-create-by-partuuid-for-md-device.patch @@ -0,0 +1,29 @@ +From 7d1fa6afba936edb3e211f0ccdb58b1472b4bbf4 Mon Sep 17 00:00:00 2001 +From: Liwei Song +Date: Tue, 26 Feb 2019 07:05:42 + +Subject: [PATCH] udev.rules: create by-partuuid for md device + +Create by-partuuid fo

[OE-core] [PATCH] linux-firmware: package rtl8168 firmware

2018-05-30 Thread Liwei Song
Add package for rtl8168 firmware which is required by Realtek Ethernet Controller. Signed-off-by: Liwei Song --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta

[OE-core] [PATCH] linux-firmware: package all ibt-17-x-x.sfi/ddc firmware

2018-01-31 Thread Liwei Song
Bluetooth driver's update, to avoid packaging the ibt-17 firmware one by one, install them in one package ibt-17. Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 8 1 file changed, 4 insertions(+), 4 deletions(-) d

[OE-core] [PATCH 2/2] linux-firmware: package ibt-17-16-1 firmware

2018-01-17 Thread Liwei Song
Package ibt-17-16-1 firmware for Bluetooth device 9460/9560 Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb

[OE-core] [PATCH 1/2] linux-firmware: package iwlwifi-9000 series fimware

2018-01-17 Thread Liwei Song
Add package for 9000 seires Intel wireless firmware. Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/r

[OE-core] [PATCH V2] xf86-video-intel: enable graphic and audio support for CFL-S Sku

2018-01-10 Thread Liwei Song
Add PCI IDs for Coffeelake S Skus to enalbe Graphic and audio support. Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- .../0001-Add-Coffeelake-PCI-IDs-for-S-Skus.patch | 116 + .../xorg-driver/xf86-video-intel_git.bb| 1 + 2 files change

Re: [OE-core] [PATCH] xf86-video-intel: enable graphic and audio support for CFL-S Sku

2018-01-10 Thread Liwei Song
On 01/10/2018 08:43 PM, Alexander Kanavin wrote: > On 01/10/2018 11:43 AM, Liwei Song wrote: > >> +Upstream-Status: Submitted [intel-...@lists.freedesktop.org] > > Please add a link to the actual submission post in the mailing list archive, > so we can track what

[OE-core] [PATCH] xf86-video-intel: enable graphic and audio support for CFL-S Sku

2018-01-10 Thread Liwei Song
Add PCI IDs for Coffeelake S Skus to enalbe Graphic and audio support. Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- .../0001-Add-Coffeelake-PCI-IDs-for-S-Skus.patch | 116 + .../xorg-driver/xf86-video-intel_git.bb| 1 + 2 files change

Re: [OE-core] [PATCH] linux-firmware: package qat-firmware

2017-09-21 Thread Liwei Song
On 09/20/2017 12:50 AM, Burton, Ross wrote: > On 5 September 2017 at 10:27, Liwei Song <liwei.s...@windriver.com> wrote: > >> + ${PN}-qat-license ${PN}-qat_895xcc ${PN}-qat_895xcc_mmp >> ${PN}-qat_c3xxx ${PN}-qat_c3xxx_mmp ${PN}-qat_c62x ${PN}-qat_c

[OE-core] [PATCH] linux-firmware: package qat-firmware

2017-09-05 Thread Liwei Song
Add packages for QAT firmware Signed-off-by: Liwei Song <liwei.s...@windriver.com> --- .../linux-firmware/linux-firmware_git.bb | 27 ++ 1 file changed, 27 insertions(+) diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-