Re: [linux-yocto] [yocto-kernel-cache][PATCH] features/usb/usb-typec: fix dependencies

2017-09-19 Thread Bruce Ashfield
On 2017-09-19 6:03 PM, California Sullivan wrote: Adds dependencies that were missing. In some BSPs, they were satisfied, in others they weren't and caused warnings. merged. Bruce Signed-off-by: California Sullivan --- For yocto-4.9 and newer.

[linux-yocto] [yocto-kernel-cache][PATCH] features/usb/usb-typec: fix dependencies

2017-09-19 Thread California Sullivan
Adds dependencies that were missing. In some BSPs, they were satisfied, in others they weren't and caused warnings. Signed-off-by: California Sullivan --- For yocto-4.9 and newer. features/usb/usb-typec.cfg | 3 +++ features/usb/usb-typec.scc | 2 ++ 2 files

[linux-yocto] In Pyro, using systemd, udev-extraconf doesn't auto mount usb devices.

2017-09-19 Thread Paul Knopf
Using systemd, udev does mount the devices, but it does it in a private /proc/$PID/root/ folder, not /run/media. Setting systemd-udevd.service to have MountFlags=shared works. Currently, it is set to "slave". There is a mention about this issue, and that there needs to be a bug created. However,

Re: [linux-yocto] [PATCH 0/8] update pnd2 edac feature to support DNV well

2017-09-19 Thread Bruce Ashfield
On 09/19/2017 03:22 AM, Liwei Song wrote: Hi Bruce, These patches is for yocto kernel 4.12, all from upstream, Thanks! merged. Bruce It is use to update pnd2 EDAC feature, with these patches, EDAC can work well when enable "Relax Security Configuration" in BIOS on Denverton-NS SoC.

[yocto] [meta-raspberrypi][PATCH V2 4/4] xserver-xf86-config: Disable glamor for the modesetting driver on pi64

2017-09-19 Thread Khem Raj
Fixes a xorg server crash with musl see details https://github.com/voidlinux/void-packages/issues/6091 Signed-off-by: Khem Raj --- .../xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf | 6 ++ recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend |

[yocto] [meta-raspberrypi][PATCH V2 3/4] linux-raspberrypi: Build dtbs with dtbs make target for rpi64

2017-09-19 Thread Khem Raj
OE currently builds dtb files with its own custom targets by specifying each dtb file as makefile target, this creates bad dtb for rpi64 bit. This patch calles 'make dtbs' at the end which regenerates the correct dtb files This makes the vc4 initialize properly on rpi64 Signed-off-by: Khem Raj

[yocto] [meta-raspberrypi][PATCH V2 2/4] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64

2017-09-19 Thread Khem Raj
Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI Disable overscan to avoid graphics glitches Signed-off-by: Khem Raj --- Changes in v2: None conf/machine/raspberrypi3-64.conf | 1 +

[yocto] [meta-raspberrypi][PATCH V2 1/4] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Khem Raj
Signed-off-by: Khem Raj --- Changes in v2: None recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb b/recipes-kernel/linux/linux-raspberrypi_4.9.bb index

Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Khem Raj
On Tue, Sep 19, 2017 at 7:13 AM, Martin Jansa wrote: > Yes, > > GNU gold (GNU Binutils 2.29.0.20170912) 1.14 that is the problem. We can't use gold for kernel. > > On Tue, Sep 19, 2017 at 4:01 PM, Khem Raj wrote: >> >> is >> >>

Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Martin Jansa
Yes, GNU gold (GNU Binutils 2.29.0.20170912) 1.14 On Tue, Sep 19, 2017 at 4:01 PM, Khem Raj wrote: > is > /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_ > 64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/ >

Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Khem Raj
is /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld gold ? On Tue, Sep 19, 2017 at 6:58 AM, Martin Jansa

Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Martin Jansa
On Mon, Sep 18, 2017 at 12:29:44PM -0700, Khem Raj wrote: > On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa wrote: > > With these 3 changes included I see following failure with raspberrypi3-64, > > it might be something caused by last oe-core upgrade, but I haven't noticed

[linux-yocto] [PATCH 8/8] i2c: i801: Restore the presence state of P2SB PCI device after reading BAR

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit bfd4473b850c8cfaa1cdf56b8ef52fae4e8a6ee5 upstream. Sun, Yunying reported the following failure on Denverton micro-server: EDAC DEBUG: pnd2_init: EDAC DEBUG: pnd2_probe: EDAC DEBUG: dnv_rd_reg: Read b_cr_tolud_pci=_8000 EDAC DEBUG:

[linux-yocto] [PATCH 7/8] EDAC, pnd2: Properly toggle hidden state for P2SB PCI device

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit bc8f10babcc27c1f4d8e80d91cc543eabf9125c4 upstream. Properly handle hidden state of P2SB PCI device (DEV:D, FUN:0) for Apollo Lake. Signed-off-by: Qiuxu Zhuo Cc: Tony Luck Cc: linux-edac

[linux-yocto] [PATCH 6/8] EDAC, pnd2: Conditionally unhide/hide the P2SB PCI device to read BAR

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit 5fd77cb3bac77f690d1d9cf57dc7851fcb3e7945 upstream. On Deverton server, the P2SB PCI device (DEV:1F, FUN:1) is used by multiple device drivers. If it's hidden by some device driver (e.g. with the i801 I2C driver, the commit 9424693035a5 ("i2c:

[linux-yocto] [PATCH 0/8] update pnd2 edac feature to support DNV well

2017-09-19 Thread Liwei Song
Hi Bruce, These patches is for yocto kernel 4.12, all from upstream, It is use to update pnd2 EDAC feature, with these patches, EDAC can work well when enable "Relax Security Configuration" in BIOS on Denverton-NS SoC. Colin Ian King (1): EDAC, pnd2: Make function sbi_send() static Gustavo

[linux-yocto] [PATCH 5/8] EDAC, pnd2: Mask off the lower four bits of a BAR

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit d84676a9e12817c8435e836911800bdcc67928a0 upstream. Bit[0] of BAR is always zero. Bit[2:1] and bit[3] of BAR contain the information of 'type' and the 'prefetchable' accordingly. Therefore, mask the lower four bits to retrieve the actual base address

[linux-yocto] [PATCH 3/8] EDAC, pnd2: Fix Apollo Lake DIMM detection

2017-09-19 Thread Liwei Song
From: Tony Luck commit 164c29244d4beb9a105102c42821f4925e4a0c7a upstream. Non-existent or empty DIMM slots result in error return from RD_REGP(). But we shouldn't give up on failure. So long as we find at least one DIMM we can continue. Signed-off-by: Tony Luck

[linux-yocto] [PATCH 2/8] EDAC, pnd2: Make function sbi_send() static

2017-09-19 Thread Liwei Song
From: Colin Ian King commit 77641dacead2cbfe22d10f4e7c07867d86900057 upstream. The function sbi_send() is local to just pnd2_edac.c and does not need to be in global scope, so make it static. Signed-off-by: Colin Ian King Cc: Tony Luck

[linux-yocto] [PATCH 1/8] EDAC, pnd2: Return proper error value from apl_rd_reg()

2017-09-19 Thread Liwei Song
From: "Gustavo A. R. Silva" commit ee514c7a2379385fcec363f2f5f8db4eb56bc48c upstream. Add code comment to make it clear that the fall-through is intentional and, OR ret with its previous value to avoid overwriting it so that callers can check the correct return value.

[yocto] externalsrc: enable sstate for git srctrees based on makefile

2017-09-19 Thread Rajendran, Vignesh (RBEI/ECF3; ADITG/SW2)
Hi Yocto, I am already aware of sstate never works for externalsrc recipes. My environment is using externalsrc in recipes for makefile based sources in git. I am aware that the source is not going to change and only builds one time in my production build. I want to use sstate if nothing has