Re: [yocto] Installing a Yocto image on BeagleBone Black MMC

2015-01-22 Thread Kevin Hao
On Thu, Jan 22, 2015 at 09:41:51AM -0200, Christian Schultz wrote: Hello I'm new to Yocto, I baked a core-image-minimal and booted it via SD Card on my BeagleBone Black. I erased the contents on the MMC in order to boot from SD Card. I'm searching for instructions on how do I install or

Re: [yocto] Installing a Yocto image on BeagleBone Black MMC

2015-01-28 Thread Kevin Hao
On Mon, Jan 26, 2015 at 10:53:33AM -0200, Christian Schultz wrote: I looked at the doc, and it gives the instructions to write the image to othe SD Card and run from the card. I didn't find yet instructions about how to write the images to the MMC. The same commands for writing MMC. You just

Re: [yocto] how to tftp download a newer u-boot into RAM and simply execute it?

2016-07-07 Thread Kevin Hao
On Wed, Jul 06, 2016 at 03:37:04PM -0400, Bruce Ashfield wrote: > > > >so, before i commit myself to this, who's the PPC/MPC8315E-RDB > > expert on this list who can confirm a stock u-boot should flash to NOR > > and just plain run? The ramboot is not supported for this board in u-boot.

Re: [yocto] Getting USB devices to work on BeagleBoard Black

2016-07-11 Thread Kevin Hao
d in your kernel-meta? commit fca9cc2483de Author: Kevin Hao <kexin@windriver.com> Date: Tue May 17 20:03:21 2016 +0800 beaglebone: builtin the usb controller drivers In the current codes, we build the drivers for usb controller as modules. But for some image types,

[yocto] [PATCH 2/3] meta-yocto-bsp: linux 4.1: bump to the latest stable version for non-x86 BSPs

2016-10-08 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbapp

[yocto] [PATCH 1/3] meta-yocto-bsp: linux 4.8: bump to the final v4.8 release for non-x86 BSPs

2016-10-08 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.8.bbappend | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.8.bbapp

[yocto] [PATCH 3/3] meta-yocto-bsp: linux 4.4: bump to the latest stable version for non-x86 BSPs

2016-10-08 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbapp

[yocto] [PATCH] meta-yocto-bsp: linux-yocto: bump to the latest stable version for non-x86 BSPs

2016-10-26 Thread Kevin Hao
Built and boot test for all these boards on 4.1, 4.4 and 4.8 kernels. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 6 +++--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 12 ++-- meta-yoc

Re: [yocto] [PATCH] yocto-bsp: update reference BSPs to 4.1 latest

2017-06-08 Thread Kevin Hao
On Thu, Jun 08, 2017 at 02:45:14PM -0400, Bruce Ashfield wrote: > The reference BSPs are lagging on their 4.1 SRCREVs, which means > -stable updates, and gcc-7 build fixes are missing. I have made a patch to update the SRCREVs for 4.1, 4.4, 4,9 and 4.10 three weeks ago, but it seems not get

Re: [yocto] [PATCH] yocto-bsp: update reference BSPs to 4.1 latest

2017-06-11 Thread Kevin Hao
On Sun, Jun 11, 2017 at 11:07:14AM +0100, Richard Purdie wrote: > On Fri, 2017-06-09 at 09:30 +0800, Kevin Hao wrote: > > On Thu, Jun 08, 2017 at 02:45:14PM -0400, Bruce Ashfield wrote: > > > > > > The reference BSPs are lagging on their 4.1 SRCREVs, which means >

[linux-yocto] [PATCH 4.14&4.15] MIPS: Use '+=" instead of '=' to avoid the CFLAGS override

2018-06-11 Thread Kevin Hao
We used the CFLAGS_xxx to workaround the gcc 8 build warnings for some specific file. But CFLAGS_xxx is also used with '=' in other places of this Makefile. This override the gcc 8 workaround, so replace all the '=' with '+=" to fix this issue. Signed-off-by: Kevin Hao --- arch/mips/k

[yocto] [layerindex-web] Add YPCompatibleVersions to the api page

2018-10-11 Thread Kevin Hao
We plan to use this compatible flag to filter the layer index results, so add it to the api page first. Signed-off-by: Kevin Hao --- layerindex/restviews.py | 4 layerindex/urls.py | 1 + 2 files changed, 5 insertions(+) diff --git a/layerindex/restviews.py b/layerindex/restviews.py

[yocto] [layerindex-web] update: Parse the layer's compatible version info

2018-10-17 Thread Kevin Hao
We have already set the layer's compatible version info in the layer.conf, but we lack this info in the layerindex database. Add support to parse this info and set it in the corresponding tables. We plan to use this to filter the layerindex results. Signed-off-by: Kevin Hao --- layerindex

Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-10-31 Thread Kevin Hao
On Wed, Oct 31, 2018 at 02:23:00PM +0100, Heiko Schocher wrote: > Hello all, > > just builded core-image-minimal with current head of thud branch for > the beaglebone-yocto machine, with linux 4.14.x LTS "Linux version 4.14.78", > installed the resulting sd card image and boot it, and get: > >

Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-11-03 Thread Kevin Hao
On Fri, Nov 02, 2018 at 07:27:04AM -0700, Khem Raj wrote: > On Fri, Nov 2, 2018 at 2:02 AM Kevin Hao wrote: > > > > On Fri, Nov 02, 2018 at 09:01:34AM +0100, Heiko Schocher wrote: > > > Hello Kevin, > > > > > > Am 01.11.2018 um 03:18 schrieb Kevin Hao:

Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-11-03 Thread Kevin Hao
On Sat, Nov 03, 2018 at 07:38:02AM -0700, Khem Raj wrote: > On Sat, Nov 3, 2018 at 1:38 AM Kevin Hao wrote: > > > > On Fri, Nov 02, 2018 at 07:27:04AM -0700, Khem Raj wrote: > > > On Fri, Nov 2, 2018 at 2:02 AM Kevin Hao wrote: > > > > > > > >

Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-11-02 Thread Kevin Hao
On Fri, Nov 02, 2018 at 09:01:34AM +0100, Heiko Schocher wrote: > Hello Kevin, > > Am 01.11.2018 um 03:18 schrieb Kevin Hao: > > On Wed, Oct 31, 2018 at 02:23:00PM +0100, Heiko Schocher wrote: > > > Hello all, > > > > > > just builded core-imag

Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-11-07 Thread Kevin Hao
On Wed, Nov 07, 2018 at 08:33:51AM +0100, Heiko Schocher wrote: > Hello Kevin, Robert, > > Am 06.11.2018 um 09:10 schrieb Heiko Schocher: > > Hello Kevin, Robert, > > > > Am 05.11.2018 um 06:26 schrieb Kevin Hao: > > > On Sun, Nov 04, 2018 at 12:10:00PM +0

Re: [yocto] thud, beaglebone-yocto.conf: SERIAL_CONSOLES setting

2018-11-04 Thread Kevin Hao
On Sun, Nov 04, 2018 at 12:10:00PM +0200, Robert Berger wrote: > Hi, > > On 02.11.18 16:27, Khem Raj wrote: > > > > omap serial is obsolete why does linux-yocto keeps using it. > > seondly, machine config should enable both consoles ttyO0 and ttyS0 if > > you know that at least one kernel is

[yocto] [PATCH yocto-docs] ref-manual: Introduce the --use-label partition parameter for wic

2018-09-13 Thread Kevin Hao
Signed-off-by: Kevin Hao --- documentation/ref-manual/ref-kickstart.xml | 10 ++ 1 file changed, 10 insertions(+) diff --git a/documentation/ref-manual/ref-kickstart.xml b/documentation/ref-manual/ref-kickstart.xml index a58f9d7c9602..dd97dd7206c7 100644 --- a/documentation/ref-manual

[yocto] [PATCH 2/2] meta-yocto-bsp: beaglebone: Enable the serial console for the WIC image

2019-04-02 Thread Kevin Hao
Signed-off-by: Kevin Hao --- meta-yocto-bsp/wic/beaglebone-yocto.wks | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-yocto-bsp/wic/beaglebone-yocto.wks b/meta-yocto-bsp/wic/beaglebone-yocto.wks index b75f238df937..97bd480a0875 100644 --- a/meta-yocto-bsp/wic/beaglebone-yocto.wks +++ b

[yocto] [PATCH 1/2] meta-yocto-bsp: Bump to the latest stable kernel for all the BSPs

2019-04-02 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao --- .../recipes-kernel/linux/linux-yocto_5.0.bbappend| 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.0.bbappend b/meta-yocto-bsp/recipes

[yocto] [PATCH] meta-yocto-bsp: Disable the glamor acceleration for the beaglebone

2019-02-28 Thread Kevin Hao
to enable the 32bpp for the beagllebone, but it has the following issues: 1. The color is abnormal. 2. The Xorg hang occasionally. 3. The performance of using glamor acceleration based on gallium is pretty bad. So I choose to disable the glamor on this board. Signed-off-by: Kevin Hao --- .../

Re: [yocto] wic utility

2019-01-23 Thread Kevin Hao
On Wed, Jan 23, 2019 at 04:39:07PM +, Srinivasan, Raja wrote: > I am using wic 0.2.0 from the rocko build. > > > > wic cp file wifile:part/path > > > > appears to succeed (no errors reported). > > > > But when I perform wic ls I don’t find the file in the target. > > > > Are

[yocto] [PATCH] meta-yocto-bsp: Bump to the latest stable kernel for all the BSP

2019-05-09 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao --- .../recipes-kernel/linux/linux-yocto_4.19.bbappend | 20 ++-- .../recipes-kernel/linux/linux-yocto_5.0.bbappend| 20 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/meta

[yocto] [PATCH][thud] meta-yocto-bsp: Bump to the latest stable kernel for the BSPs

2019-04-18 Thread Kevin Hao
Boot test for all the boards. [1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13273 Signed-off-by: Kevin Hao --- .../recipes-kernel/linux/linux-yocto_4.14.bbappend | 20 ++-- .../recipes-kernel/linux/linux-yocto_4.18.bbappend | 20 ++-- 2 files changed

Re: [yocto] [PATCH][thud] meta-yocto-bsp: Bump to the latest stable kernel for the BSPs

2019-08-12 Thread Kevin Hao
On Fri, Apr 19, 2019 at 01:23:35PM +0800, Kevin Hao wrote: > In order to fix a systemtap bug [1] on arm board, we backport a kernel > patch from v5.0 kernel to v4.14 & v4.18 kernel, then need to bump the > kernel version to include this patch. Even this is only an arm specific > bu

[linux-yocto] [PATCH 0/5] [3.10] fix several build errors for OCF

2013-10-20 Thread Kevin Hao
This patch series fix several build errors for OCF(OpenBSD/FreeBSD Cryptographic Framework). Passed build and boot test on an intel atom board. Kevin Hao (5): ocf: remove the unneeded invocation of daemonize() ocf/talitos: add FSL_SOC dependency ocf: use the correct kthread helper

[linux-yocto] [PATCH 2/5] ocf/talitos: add FSL_SOC dependency

2013-10-20 Thread Kevin Hao
The talitos crypto engine only exist on FSL PPC SoCs and its driver is not buildable for other archs. So add the FSL_SOC dependency for it. Signed-off-by: Kevin Hao kexin@windriver.com --- crypto/ocf/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ocf

[linux-yocto] [PATCH 3/5] ocf: use the correct kthread helper functions

2013-10-20 Thread Kevin Hao
In the current kernel, the function kernel_thread() is not the right API to create a kthread. So we should use the correct kthread helper functions to create and stop a kthread. Signed-off-by: Kevin Hao kexin@windriver.com --- crypto/ocf/random.c | 15 --- 1 file changed, 8

[linux-yocto] [PATCH 5/5] ocf: include linux/irqreturn.h in ocf-compat.h

2013-10-20 Thread Kevin Hao
was introduced only after v2.6.17, so also add a kernel version check for this inclusion as what it did in other part of this file. Signed-off-by: Kevin Hao kexin@windriver.com --- crypto/ocf/ocf-compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/ocf/ocf-compat.h b/crypto/ocf

[linux-yocto] [PATCH 1/5] ocf: remove the unneeded invocation of daemonize()

2013-10-20 Thread Kevin Hao
In the current kernel, all kthread are created by the kthreadd thread and the invocation of function daemonize() for the kthread function is not needed anymore. Actually function daemonize() has already been killed by commit c4144670 (kill daemonize()) in the latest kernel. Signed-off-by: Kevin

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-23 Thread Kevin Hao
On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a Keyboard working on a Beaglebone Black. But after building a non-custom core-image-minimal and running it on the beaglebone black, i saw that the display works,

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-24 Thread Kevin Hao
On Tue, Jun 24, 2014 at 10:34:35AM +0800, Kevin Hao wrote: On Mon, Jun 23, 2014 at 11:39:57AM -0400, Bruce Ashfield wrote: On 14-06-23 02:59 AM, Sven Vos wrote: Hello, I am trying to get a Keyboard working on a Beaglebone Black. But after building a non-custom core-image-minimal

Re: [linux-yocto] Keyboard on Beaglebone Black

2014-06-25 Thread Kevin Hao
On Wed, Jun 25, 2014 at 08:45:48AM +0200, Sven Vos wrote: CONFIG_BRIDGE_EBT_SNAT=m evin, mij, linux-yocto [cleardot] Bericht vertalen Uitschakelen voor: Engels [cleardot] Yes, I understa Hmm, what does this mean? # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set

Re: [linux-yocto] Gstreamer on a Beaglebone black

2014-07-15 Thread Kevin Hao
On Mon, Jul 14, 2014 at 02:28:58PM -0400, Bruce Ashfield wrote: On 14-07-14 10:16 AM, Dimitri Slavaski wrote: Hello, I am trying to get gstreamer on a Beaglebone Black. After some tries and looking to the example on the am335x-evmsk, i didnt get it working yet. So i am wondering what i did

[linux-yocto] [PATCH] libata: support the ata host which implements a queue depth less than 32

2014-07-19 Thread Kevin Hao
From: Kevin Hao haoke...@gmail.com commit 1871ee134b73fb4cadab75752a7152ed2813c751 from git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git The sata on fsl mpc8315e is broken after the commit 8a4aeec8d2d6 (libata/ahci: accommodate tag ordered controllers). The reason is that the ata

[linux-yocto] [daisy] [PATCH 0/4] Fix for watchdog doesn't work in beaglebone black

2014-12-08 Thread Kevin Hao
Hi, Backport 4 patches from oe-core in order to fix bug 6462 for daisy: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6462 Boot test for qemuarm, qemumips, qemuppc, qemux86 and qemux86-64. Validate the watchdog on beaglebone board. The following changes since commit

[linux-yocto] [PATCH] meta: beaglebone: fix the kernel config warnings

2015-03-28 Thread Kevin Hao
: CONFIG_WL12XX=m Actual value set: Signed-off-by: Kevin Hao kexin@windriver.com --- Hi, This applies to both 3.14 and 3.19 kernel. meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg | 18 -- meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.scc | 1 - meta/cfg/kernel-cache/bsp

[linux-yocto] [PATCH] meta; edgerouter: fix kernel config check errors

2015-05-27 Thread Kevin Hao
: CONFIG_USB_OCTEON_EHCI=y Actual value set: Value requested for CONFIG_USB_OCTEON_OHCI not in final .config Requested value: CONFIG_USB_OCTEON_OHCI=y Actual value set: Signed-off-by: Kevin Hao kexin@windriver.com --- meta/cfg/kernel-cache/bsp/edgerouter/edgerouter.cfg | 3 +++ 1 file changed

[linux-yocto] [PATCH 1/2] fs: aufs: fix a build error for archs which doesn't support MUTEX_SPIN_ON_OWNER

2015-05-27 Thread Kevin Hao
and MUTEX_SPIN_ON_OWNER are disabled. Replace the SMP with MUTEX_SPIN_ON_OWNER to fix it. Signed-off-by: Kevin Hao kexin@windriver.com --- fs/aufs/i_op.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/aufs/i_op.c b/fs/aufs/i_op.c index f0edd021102b..268a8a54ebfc 100644

[linux-yocto] [PATCH] meta-yocto-bsp: bump to linux-yocto 4.1 for the non-x86 BSPs

2015-09-29 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +- meta-yocto-bsp/conf/machine/edgerouter.conf | 2 +- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf

Re: [linux-yocto] [poky] [PATCH] meta-yocto-bsp: bump to linux-yocto 4.1 for the non-x86 BSPs

2015-09-29 Thread Kevin Hao
On Tue, Sep 29, 2015 at 10:18:00AM -0700, Khem Raj wrote: > > On Sep 29, 2015, at 3:01 AM, Burton, Ross <ross.bur...@intel.com> wrote: > > > On 29 September 2015 at 10:42, Kevin Hao <kexin@windriver.com> wrote: > > Boot test for all the

[linux-yocto] [PATCH 0/3] linux-yocto 4.4: fix the build errors when yaffs2 is enabled

2016-02-23 Thread Kevin Hao
=/dev/mtdblock3 rootfstype=yaffs2 console=ttyS0,115200 root@mpc8315e-rdb:~# mount /dev/root on / type yaffs2 (rw,relatime) Kevin Hao (2): yaffs2: NULL ->read/->write yaffs2: using new ->follow_link() and ->put_link() calling conventions Yang Shi (1): yaffs2: repl

[linux-yocto] [PATCH 3/3] yaffs2: using new ->follow_link() and ->put_link() calling conventions

2016-02-23 Thread Kevin Hao
As what we did in commit 680baacbca69 ("new ->follow_link() and ->put_link() calling conventions"). Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/yaffs2/y

[linux-yocto] [PATCH 2/3] yaffs2: NULL ->read/->write

2016-02-23 Thread Kevin Hao
As stated in commit 5d5d56897530 ("make new_sync_{read,write}() static"), we shouldn't use new_sync_{read_write} for ->read/->write. We should NULL ->read/->write with non-NULL ->{read,write}_iter will do the right thing. Signed-off-by: Kevin Hao <kexin@w

[linux-yocto] [PATCH 1/3] yaffs2: replace f_dentry to f_path.dentry

2016-02-23 Thread Kevin Hao
From: Yang Shi Upstream commit 78d28e651f97866d608d9b41f8ad291e65d47dd5 ("kill f_dentry macro") removed f_dentry from struct file, so replace it to f_path.dentry to fix the build failure. Signed-off-by: Yang Shi Signed-off-by: Bruce Ashfield

[linux-yocto] [PATCH linux-yocto 4.4] beaglebone: builtin the usb controller drivers

2016-05-17 Thread Kevin Hao
-and-suggested-by: hiims <h...@101.org.il> Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index 66a6361..a6fe6d3 1006

[linux-yocto] [PATCH 3/3] fs: yaffs2: fix the prototype of function yaffs_rename()

2017-01-31 Thread Kevin Hao
The "rename2" of i_op has been renamed to "rename" in commit 2773bf00aeb9("fs: rename "rename2" i_op to "rename""). We do what we have done in commit 1cd66c93ba8c("fs: make remaining filesystems use .rename2") for yaffs2 according to thi

[linux-yocto] [linux-yocto 4.9 0/3] Fix the build errors when yaffs2 is enabled

2017-01-31 Thread Kevin Hao
All these build errors are caused by the API changes in the mainline kernel. Adjust the codes in yaffs2 to fix these errors. Kevin Hao (3): fs: yaffs2: adjust to the change of inode_change_ok() fs: yaffs2: switch to the generic xattr handler fs: yaffs2: fix the prototype of function

[linux-yocto] [PATCH 1/3] fs: yaffs2: adjust to the change of inode_change_ok()

2017-01-31 Thread Kevin Hao
Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 5a9c295aecc8..e5e0c650baca 100644 --- a/fs/yaffs2/yaffs_vfs.c +++ b/fs/yaffs2/yaffs_vfs.c

[linux-yocto] [linux-yocto 4.1] fs/yaffs2: adjust to the change of inode_change_ok()

2017-01-25 Thread Kevin Hao
Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 16251d5dcb17..cbdea23493bb 100644 --- a/fs/yaffs2/yaffs_vfs.c +++ b/fs/yaffs2/yaffs_vfs.c

[linux-yocto] [PATCH 1/3] meta-yocto-bsp: linux 4.8: bump to the final v4.8 release for non-x86 BSPs

2016-10-08 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.8.bbappend | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.8.bbapp

Re: [linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-10-08 Thread Kevin Hao
On Sat, Oct 08, 2016 at 03:36:34PM +0800, Kevin Hao wrote: > On Tue, Sep 20, 2016 at 08:00:25PM +0800, Kevin Hao wrote: > > The kernel_configcheck complains about these unnecessary kernel options. > > The final .config is the same with or without them. > > Hi Bruce, > &g

Re: [linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-10-08 Thread Kevin Hao
On Tue, Sep 20, 2016 at 08:00:25PM +0800, Kevin Hao wrote: > The kernel_configcheck complains about these unnecessary kernel options. > The final .config is the same with or without them. Hi Bruce, It seems that you missed this patch for the linux 4.1 kernel-meta. Thanks, Kevin > >

[linux-yocto] [meta-yocto-bsp] meta-yocto-bsp: bump to linux-yocto 4.8 for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +- meta-yocto-bsp/conf/machine/edgerouter.conf | 2 +- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf

[linux-yocto] [meta-yocto-bsp] meta-yocto-bsp: linux 4.4: bump to the latest stable version for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend

[linux-yocto] [kernel 6/6] MIPS: OCTEON: mangle-port: fix build failure with VDSO code

2016-09-20 Thread Kevin Hao
ed long did = ((unsigned long)a >> 40) & 0xff; ^~ Fixes: 1685ddbe35cd ("MIPS: Octeon: Changes to support readq()/writeq() usage.") Signed-off-by: Aaro Koskinen <aaro.koski...@iki.fi> Signed-off-by: Kevin Hao <kexin@windriver

[linux-yocto] [kernel 3/6] fs: yaffs2: replace ->follow_link() with -->get_link()

2016-09-20 Thread Kevin Hao
As what we done in commit 6b2553918d8b ("replace ->follow_link() with new method that could stay in RCU mode"). Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/fs/y

[linux-yocto] [kernel 4/6] fs: yaffs2: kill ->put_link()

2016-09-20 Thread Kevin Hao
As What we have done in commit fceef393a538 ("switch ->get_link() to delayed_call, kill ->put_link()") Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/fs/yaffs2/y

[linux-yocto] [meta-yocto-bsp] meta-yocto-bsp: linux 4.1: bump to the latest stable version for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Boot test for all these boards. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend

[linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-09-20 Thread Kevin Hao
The kernel_configcheck complains about these unnecessary kernel options. The final .config is the same with or without them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 8 1 file changed, 8 deletions(-) diff --git a/bsp/beag

[linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: linux-4.1: remove the stale kernel options

2016-09-20 Thread Kevin Hao
The kernel_configcheck complains about these unnecessary kernel options. The final .config is the same with or without them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 4 1 file changed, 4 deletions(-) diff --git a/bsp/beaglebone/beaglebone

[linux-yocto] [kernel-meta] meta-yocto-bsp: beaglebone: remove the stale kernel options

2016-09-20 Thread Kevin Hao
The kernel_configcheck complains about these unnecessary kernel options. The final .config is the same with or without them. Signed-off-by: Kevin Hao <kexin@windriver.com> --- bsp/beaglebone/beaglebone.cfg | 8 1 file changed, 8 deletions(-) diff --git a/bsp/beag

[linux-yocto] [kernel 1/6] fs: yaffs2: kill PAGE_CACHE_* and page_cache_{get, release} macros

2016-09-20 Thread Kevin Hao
As what we have done in commit 09cbfeaf1a5a ("mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros"). Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 38 +++--- 1 file changed, 19 insertions(+), 19 de

[linux-yocto] [kernel 2/6] fs: yaffs2: switch to the new prototype for ->set/getxattr()

2016-09-20 Thread Kevin Hao
accommodate to this change. Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index 9aa007d9ded6..cd387d7abfa2 100644 --- a/fs/yaffs2/yaffs_v

[linux-yocto] [kernel 5/6] fs: yaffs2: fix the wrong check of return value of dir_emit()

2016-09-20 Thread Kevin Hao
Fix the following build warning: fs/yaffs2/yaffs_vfs.c:1788:34: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] this_inode, this_type) < 0) { Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 2 +

[linux-yocto] bump to linux-yocto 4.8 for the non-x86 BSPs

2016-09-20 Thread Kevin Hao
Hi, This patch series fixes some build errors in linux-yocto 4.8 and bump to 4.8 for all the non-x86 BSPs. -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto

[linux-yocto] [PATCH] meta-yocto-bsp: linux-yocto: bump to the latest stable version for non-x86 BSPs

2016-10-26 Thread Kevin Hao
Built and boot test for all these boards on 4.1, 4.4 and 4.8 kernels. Signed-off-by: Kevin Hao <kexin@windriver.com> --- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 6 +++--- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend | 12 ++-- meta-yoc

Re: [linux-yocto] [linux-yocto v4.1 0/4] net: mwifiex: Enable the DRCS & MSI support

2017-03-20 Thread Kevin Hao
On Wed, Mar 15, 2017 at 01:54:02PM -0400, Bruce Ashfield wrote: > I need the intel maintainers of this branch to comment on the changes. > > I have no issues with merging them, but need their ack before I'll do > so. Hi Wan & Jonathan, Any comment? Thanks, Kevin signature.asc Description:

Re: [linux-yocto] [linux-yocto v4.1 0/4] net: mwifiex: Enable the DRCS & MSI support

2017-03-22 Thread Kevin Hao
On Wed, Mar 22, 2017 at 06:34:46AM +, Wan Mohamad, Wan Ahmad Zainie wrote: > Hi Kevin. > > > -Original Message- > > From: Kevin Hao [mailto:kexin@windriver.com] > > Sent: Monday, March 20, 2017 6:35 PM > > To: Wan Mohamad, Wan Ahmad Zainie

[linux-yocto] [linux-yocto v4.1 0/4] net: mwifiex: Enable the DRCS & MSI support

2017-03-14 Thread Kevin Hao
From: Kevin Hao <haoke...@gmail.com> Hi, This targets on standard/intel/4.1.27/leaf-hill branch. In order to support concurrent AP(5G) and client(2.4G) mode, we need to enable the DRCS(Dynamic Rapid Channel Switching) feature in the Wifi module. Pick up two patches from mainline to

[linux-yocto] [linux-yocto v4.1 1/4] mwifiex: enable MSI interrupt support in pcie

2017-03-14 Thread Kevin Hao
gned-off-by: Kalle Valo <kv...@codeaurora.org> [Kevin: replace mwifiex_dbg() with pr_debug()] Signed-off-by: Kevin Hao <kexin@windriver.com> --- drivers/net/wireless/mwifiex/pcie.c | 32 +--- drivers/net/wireless/mwifiex/pcie.h | 1 + 2 files changed,

[linux-yocto] [linux-yocto v4.1 3/4] mwifiex: support to set multichannel policy to FW

2017-03-14 Thread Kevin Hao
From: Avinash Patil commit d5b036c403f811c6d1856b8e6891a6438cf56f61 upstream This patch adds support for setting multichannel policy as module parameter to FW. Value of 1 indicates Multichannel support is enabled and value of 0 disables it. Signed-off-by: Avinash Patil

[linux-yocto] [Resend v4.12 PATCH 2/2] fs: yaffs2: includes the missing header file

2017-08-27 Thread Kevin Hao
To fix the following build error: fs/yaffs2/yaffs_vfs.c: In function 'yaffs_mknod': fs/yaffs2/yaffs_vfs.c:1252:2: error: implicit declaration of function 'current_fsuid' [-Werror=implicit-function-declaration] uid_t uid = YCRED_FSUID(); ^ Signed-off-by: Kevin Hao <ke

Re: [linux-yocto] [PATCH] mips: kernel: Move cc-disable-warning assignments down to avoid being overwritten

2018-06-17 Thread Kevin Hao
On Fri, Jun 15, 2018 at 07:12:09AM -0700, He Zhe wrote: > cc-disable-warning assignments could be overwritten by CFLAGS_DSP and thus > causes the follow build error with GCC 8.1.0. Move them down to the bottom. > > In file included from arch/mips/kernel/signal32.c:15: >

[linux-yocto] [linux-yocto 4.15] crypto: aes-generic - fix aes-generic regression on powerpc

2018-06-07 Thread Kevin Hao
build with -Os on gcc-7+") Signed-off-by: Arnd Bergmann Signed-off-by: Herbert Xu Signed-off-by: Kevin Hao --- This fixes the build failure on mpc8315e-rdb board. crypto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/Makefile b/crypto/Makefile index da

[linux-yocto] [PATCH linux-yocto v4.15] yaffs2: Adjust the timer callback and init functions

2018-02-22 Thread Kevin Hao
ack()"). Adjust the codes in yaffs2 according to these changes. Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_vfs.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c index

[linux-yocto] [PATCH linux-yocto v4.14 & v4.15] yaffs2: include rawnand.h instead of nand.h

2018-02-22 Thread Kevin Hao
The nand.h has been renamed to rawnand.h by commit d4092d76a4a4 ("mtd: nand: Rename nand.h into rawnand.h"), adjust the yaffs2 code according to this change. Signed-off-by: Kevin Hao <kexin@windriver.com> --- fs/yaffs2/yaffs_mtdif.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[linux-yocto] [kernel-meta v4.18 3/6] beaglebone: Drop the obsolete kernel options

2018-08-23 Thread Kevin Hao
Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 37 - 1 file changed, 37 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index a712321297c2..ab42283c645f 100644 --- a/bsp/beaglebone/beaglebone.cfg +++ b/bsp

[linux-yocto] [kernel-meta v4.18 6/6] common-pc: Drop the x2apic feature

2018-08-23 Thread Kevin Hao
This is a feature for x86-64 platform and can't be enabled on x86-32. Signed-off-by: Kevin Hao --- bsp/common-pc/common-pc.scc | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsp/common-pc/common-pc.scc b/bsp/common-pc/common-pc.scc index 4818fb939e8c..cd947b0faa9d 100644 --- a/bsp/common

[linux-yocto] [kernel-meta v4.18 2/6] edgerouter: Drop the obsolete kernel options

2018-08-23 Thread Kevin Hao
Signed-off-by: Kevin Hao --- bsp/edgerouter/edgerouter.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/bsp/edgerouter/edgerouter.cfg b/bsp/edgerouter/edgerouter.cfg index 54597416dde8..f100ebde3eca 100644 --- a/bsp/edgerouter/edgerouter.cfg +++ b/bsp/edgerouter/edgerouter.cfg @@ -52,7

[linux-yocto] [kernel-meta v4.18 1/6] mpc8315e-rdb: Drop the obsolete kernel options

2018-08-23 Thread Kevin Hao
Signed-off-by: Kevin Hao --- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 3 --- 1 file changed, 3 deletions(-) diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index 324989c1951a..57ebaabb6583 100644 --- a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e

[linux-yocto] [kernel-meta v4.18 0/6] Fix the config check warnings and some minor cleanup

2018-08-23 Thread Kevin Hao
This patch series fixes the config check warnings when switching to the v4.18 kernel for the boards in meta-yocto-bsp layer and also do some cleanup for the cfg file. Kevin Hao (6): mpc8315e-rdb: Drop the obsolete kernel options edgerouter: Drop the obsolete kernel options beaglebone: Drop

[linux-yocto] [kernel-meta v4.18 5/6] beaglebone: Clean up the cfg file

2018-08-23 Thread Kevin Hao
In general we only need to enable the kernel options we really care and leave all other kernel options as is. That is to say we don't need to disable any kernel options explicitly. So drop all of them. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 24 1

[linux-yocto] [PATCH 4.12] drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode()

2018-01-18 Thread Kevin Hao
evious that based on mode's vrefresh value, which itself is inaccurate or may not even be initialized. Reported-by: Kevin Hao <kexin@windriver.com> Fixes: 11abbc9f39e0 ("drm/tilcdc: Set framebuffer DMA address to HW only if CRTC is enabled") Cc: <sta...@vger.kernel.org>

[linux-yocto] [PATCH kernel 1/2] net: phy: Add general dummy stubs for MMD register access

2018-03-21 Thread Kevin Hao
From: Kevin Hao <haoke...@gmail.com> For some phy devices, even though they don't support the MMD extended register access, it does have some side effect if we are trying to read/write the MMD registers via indirect method. So introduce general dummy stubs for MMD register access

[linux-yocto] [PATCH kernel-meta] mpc8315e-rdb: Enable Realtek PHY driver

2018-03-21 Thread Kevin Hao
-by: Kevin Hao <kexin@windriver.com> --- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index 698efe2b7305..324989c1951a 100644 --- a/bsp/fsl-mpc8315e-r

[linux-yocto] [PATCH kernel 2/2] net: phy: realtek: Use the dummy stubs for MMD register access for rtl8211b

2018-03-21 Thread Kevin Hao
From: Kevin Hao <haoke...@gmail.com> The Ethernet on mpc8315erdb is broken since commit b6b5e8a69118 ("gianfar: Disable EEE autoneg by default"). The reason is that even though the rtl8211b doesn't support the MMD extended registers access, it does return some random values if we

[linux-yocto] [PATCH 4.14&4.15] staging: octeon: Add a workaround for the issue of GCC8

2018-06-20 Thread Kevin Hao
ier after the assignment would generate the right codes. Signed-off-by: Kevin Hao --- This fixes a Ethernet malfunction building with the gcc8. drivers/staging/octeon/ethernet-tx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/octeon/ethernet-tx.c b/drivers/staging/octeon/ethe

[linux-yocto] [PATCH 1/3] beaglebone: Drop the obsolete kernel options

2018-09-25 Thread Kevin Hao
Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- bsp/beaglebone/beaglebone.cfg | 37 - 1 file changed, 37 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp/beaglebone/beaglebone.cfg index a712321297c2..ab42283c645f 100644 --- a/bsp

[linux-yocto] [PATCH 2/3] beaglebone: Drop the needless unsetting of the kernel options

2018-09-25 Thread Kevin Hao
These kernel options are set to 'n' by default without any prompt. So they are not supposed to be set/unset by the users. Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- bsp/beaglebone/beaglebone.cfg | 6 -- 1 file changed, 6 deletions(-) diff --git a/bsp/beaglebone

[linux-yocto] [kernel-meta v4.14 0/3] Fix the config check warnings

2018-09-25 Thread Kevin Hao
Cherry-pick three patches from yocto-4.18 branch to fix the config check warnings for beaglebone boards. Kevin Hao (3): beaglebone: Drop the obsolete kernel options beaglebone: Drop the needless unsetting of the kernel options beaglebone: Clean up the cfg file bsp/beaglebone

[linux-yocto] [PATCH 3/3] beaglebone: Clean up the cfg file

2018-09-25 Thread Kevin Hao
In general we only need to enable the kernel options we really care and leave all other kernel options as is. That is to say we don't need to disable any kernel options explicitly. So drop all of them. Signed-off-by: Kevin Hao Signed-off-by: Bruce Ashfield --- bsp/beaglebone/beaglebone.cfg

[linux-yocto] [kernel-meta v4.19 PATCH] mips: Enable the poweroff driver for the qemumips/qemumips64

2019-04-03 Thread Kevin Hao
As Indicated by Richard Purdie, in order to shutdown the machine we have to explicitly enable the PIIX4 poweroff driver for the qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta: Use PIIX4 poweroff driver to power down") is merged. Signed-off-by: Kevin Hao --

[linux-yocto] [v4.19 rt branch] x86: Drop the duplicate define of TIF_NEED_RESCHED_LAZY

2019-03-28 Thread Kevin Hao
p one of them to fix the build warning. Signed-off-by: Kevin Hao --- arch/x86/include/asm/thread_info.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index 70b08abcd6d0..dc267291f131 100644 --- a/arch/x86/include/asm/thre

[linux-yocto] [PATCH 3/3] beaglebone: Switch to the 8250 omap driver

2019-03-06 Thread Kevin Hao
In the v5.0 kernel, the SERIAL_OMAP driver doesn't work anymore. So switch to the 8250 omap driver for the serial support. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bsp/beaglebone/beaglebone.cfg b/bsp

[linux-yocto] [PATCH 2/3] beaglebone: Update the audio options

2019-03-06 Thread Kevin Hao
With the commit f2055e145f29 ("ASoC: ti: Merge davinci and omap directories"), some of the audio options are removed from the kernel. Use the new options for the audio support. Signed-off-by: Kevin Hao --- bsp/beaglebone/beaglebone.cfg | 7 +++ 1 file changed, 3 insertions(+), 4

[linux-yocto] [PATCH 1/3] mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP

2019-03-06 Thread Kevin Hao
This is needed by the CONFIG_MTD_PHYSMAP_OF. Signed-off-by: Kevin Hao --- bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg b/bsp/fsl-mpc8315e-rdb/fsl-mpc8315e-rdb.cfg index 57ebaabb6583..cb7c40d37c22 100644

[linux-yocto] [PATCH 0/3] [kernel-cache] [yocto-5.0] Enable the v5.0 kernel support for the reference BSPs

2019-03-06 Thread Kevin Hao
Hi, - Fix the kernel config check warnings for the new kernel. - Fix the serial malfunction on the beaglebone board. Kevin Hao (3): mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAP beaglebone: Update the audio options beaglebone: Switch to the 8250 omap driver bsp/beaglebone/beaglebone.cfg

  1   2   >