Re: [yocto] Assign IP address at boot time

2021-03-09 Thread jchludzinski via lists.yoctoproject.org
To start, do you have the driver required for your network interface? Yes, the network/Ethernet device is recognized by Linux and the appropriate driver is loaded. If I use: $ ip add add 192.168.9.101/24 dev eth0 I’m up and running. But I want the IP assignment to happen during boot time.

[linux-yocto][yocto-kernel-cache][master/yocto-5.4][PATCH 2/2] intel-x86: enable DesignWare PWM Controller support

2021-03-09 Thread LiweiSong
Enable CONFIG_PWM_DWC to support DesignWare PWM Controller on Elkhart Lake. Signed-off-by: Liwei Song --- bsp/intel-x86/intel-x86.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/intel-x86/intel-x86.cfg b/bsp/intel-x86/intel-x86.cfg index 525a2ec3d45f..fc97f9800d9c 100644 ---

[linux-yocto][yocto-kernel-cache][master/yocto-5.4][PATCH 1/2] feature/can: enable Bosch M_CAN controller support

2021-03-09 Thread LiweiSong
This use to enable the below option to support Bosch M_CAN controller on Elkhart Lake: CONFIG_CAN=m CONFIG_CAN_M_CAN=m CONFIG_CAN_M_CAN_PCI=m CONFIG_CAN_M_CAN_PLATFORM=m CONFIG_CAN_M_CAN_TCAN4X5X=m Signed-off-by: Liwei Song --- bsp/intel-x86/intel-x86.scc | 1 + features/can/m_can.cfg | 5

Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config

2021-03-09 Thread Yi Zhao
On 3/9/21 11:32 PM, Joe MacDonald wrote: [Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config] On 21.03.09 (Tue 14:53) Anatol Belski wrote: Hi Joe, thanks for the quick check. The patch applies fine to dunfell and

Re: [linux-yocto] [yocto-kernel-cache]: intel-socfpga: update kernel configure for intel stratix10 platform

2021-03-09 Thread Bruce Ashfield
In message: [yocto-kernel-cache]: intel-socfpga: update kernel configure for intel stratix10 platform on 10/03/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > I created 2 patches to update kernel configure for intel stratix10 platform. > Could you please help to merge this

Re: [linux-yocto][linux-yocto v5.4/standard/nxp-imx8][PATCH] usb: xhci: Fix a redefined "XHCI_SKIP_PHY_INIT" compiler warning

2021-03-09 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v5.4/standard/nxp-imx8][PATCH] usb: xhci: Fix a redefined "XHCI_SKIP_PHY_INIT" compiler warning on 09/03/2021 Jun Miao wrote: > Correct the merge conflict, avoiding the compiler warning. >- Delete the "#define XHCI_SKIP_PHY_INIT BIT_ULL(38)" >-

Re: [linux-yocto] [v2][yocto-kernel-cache]: intel-socfpga: add configure file for intel-socfpga BSP in kernel-cache

2021-03-09 Thread Bruce Ashfield
In message: [v2][yocto-kernel-cache]: intel-socfpga: add configure file for intel-socfpga BSP in kernel-cache on 09/03/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > v2: > remove the WindRiver product related info from commit log. I should clarify that I did merge v2, not

Re: [linux-yocto] [yocto-kernel-cache]: intel-socfpga: add configure file for intel-socfpga BSP in kernel-cache

2021-03-09 Thread Bruce Ashfield
In message: [yocto-kernel-cache]: intel-socfpga: add configure file for intel-socfpga BSP in kernel-cache on 09/03/2021 meng...@windriver.com wrote: > From: Limeng > > Hi Bruce, > > I am working on BSP intel-socfpga based on intel stratix10 platform, and > intend to support this platform in

Re: [linux-yocto][linux-yocto v5.10] kernel code for marvell cn96xx

2021-03-09 Thread Bruce Ashfield
On Fri, Mar 5, 2021 at 2:01 AM Hao, Ruiqiang wrote: > > Hi Bruce, > > Sorry for my carelessness, the patches of the two branches are the same, > but the start points are different. Please merge the branch I provided below > again for preempt-rt branch. > No worries. This one worked quite

[linux-yocto] [PATCH] drivers: wireless: brcmfmac: use correct interface to record log info

2021-03-09 Thread Meng Li
From: Meng Li Use brcmf_info interface that causes lots of debug info recorded in log message file. So, refer to code that is used to record debug info in this file, replace brcmf_info with the more reasonable brcmf_dbg interface and set INFO parameter. Signed-off-by: Meng Li ---

[linux-yocto] [linux-yocto-dev]: [branch standard/bcm-2xxx-rpi]: drivers: wireless: brcmfmac: use correct interface to record log info

2021-03-09 Thread Meng Li
From: Limeng Hi Bruce, Use brcmf_info interface that causes lots of debug info recorded in log message file. So, refer to code that is used to record debug info in this file, replace brcmf_info with the more reasonable brcmf_dbg interface and set INFO parameter. Could you please help to merge

[linux-yocto] [yocto-kernel-cache]: intel-socfpga: update kernel configure for intel stratix10 platform

2021-03-09 Thread Meng Li
From: Limeng Hi Bruce, I created 2 patches to update kernel configure for intel stratix10 platform. Could you please help to merge this patch into yocto-kernel-cache, branch is yocto-5.10? diffstat info ad below: intel-socfpga-64.cfg |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[linux-yocto] [PATCH 1/2] intel-socfpga: enable CONFIG_RAS kernel configure

2021-03-09 Thread Meng Li
From: Meng Li Stratix10 platform supports EDAC feature that depends on Reliability, Availability and Serviceability (RAS) features. So, enable CONFIG_RAS by default. Signed-off-by: Meng Li --- bsp/intel-socfpga/intel-socfpga-64.cfg | 1 + 1 file changed, 1 insertion(+) diff --git

[linux-yocto] [PATCH 2/2] intel-socfpga: remove CONFIG_MTD_M25P80 kernel configure

2021-03-09 Thread Meng Li
From: Meng Li This kernel config had been removed by mainline upstream commit b35b9a10362d("mtd: spi-nor: Move m25p80 code in spi-nor.c"). Signed-off-by: Meng Li --- bsp/intel-socfpga/intel-socfpga-64.cfg | 1 - 1 file changed, 1 deletion(-) diff --git

[yocto] [PATCH v2] yocto-bsp: update reference platforms to latest 5.10

2021-03-09 Thread Bruce Ashfield
From: Bruce Ashfield Bumping our reference boards to match the latest in OE-core. Not only do we get the latest, we fix a configuration warning with genericx86. Signed-off-by: Bruce Ashfield --- The edgerouter had a compilation issue due to a dropped #ifdef during merge. This fixes up the

Re: [yocto] Assign IP address at boot time

2021-03-09 Thread Rudolf J Streif
Hi there, On 3/9/21 1:27 PM, jchludzinski via lists.yoctoproject.org wrote: Where do I assign a static IP address to my sole network interface? That depends on whether or not you are using a network manager and if so which one. You haven't told us much about your board and it's network

[yocto] Assign IP address at boot time

2021-03-09 Thread jchludzinski via lists.yoctoproject.org
Where do I assign a static IP address to my sole network interface? I tried using the Linux boot parameters (in extlinux.conf): LABEL Arria10 SOCDK SDMMC KERNEL ../zImage FDT ../socfpga_arria10_phead.dtb APPEND root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8

[yocto] [PATCH] yocto-bsp: update reference platforms to latest 5.10

2021-03-09 Thread Bruce Ashfield
From: Bruce Ashfield Bumping our reference boards to match the latest in OE-core. Not only do we get the latest, we fix a configuration warning with genericx86. Signed-off-by: Bruce Ashfield --- .../linux/linux-yocto_5.10.bbappend | 16 1 file changed, 8

Re: [yocto] Swap management: vm.swappiness best values?

2021-03-09 Thread Laurent Gauthier
Hi again, kswapd is triggered (even when there is no swap space) to reclaim some space when the memory runs low. There is no way to turn it completely off, with the swappiness parameter you can control how pro-active it will be. One of the ways it manages to "reclaim" memory (even if there is no

Re: [yocto] #yocto #sdk

2021-03-09 Thread Khem Raj
it excludes the variables from checksums see https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#checksums On Tue, Mar 9, 2021 at 4:40 AM Monsees, Steven C (US) < steven.mons...@baesystems.com> wrote: > > > What is the difference between using “SIGGEN_UNLOCKED_RECIPES +=” and

Re: [yocto] avahi_0.8 issue with latest version

2021-03-09 Thread Khem Raj
if the process is dead them perhaps it will be helpful to get a stacktrace and see whats going on. On Fri, Mar 5, 2021 at 8:15 AM sateesh m wrote: > > Hi Guys, > > I have installed avahi_0.8 version using gatesgreath version. its compiled > successfully .but i am facing issue with pid is

[yocto] Yocto Technical Team Minutes/Engineering Sync for Mar 9, 2021

2021-03-09 Thread Trevor Woerner
Yocto Technical Team Minutes, Engineering Sync, for Mar 9, 2021 archive: https://docs.google.com/document/d/1ly8nyhO14kDNnFcW2QskANXW3ZT7QwKC5wWVDg9dDH4/edit == disclaimer == Best efforts are made to ensure the below is accurate and valid. However, errors sometimes happen. If any errors or

Re: [yocto] Swap management: vm.swappiness best values?

2021-03-09 Thread Mauro Ziliani
Thank you for the answer. May be I explain my problem not so well :-( I don't have enabled swap partition in fstab and if I run swapon nothing is shown. The swap partition is not defined anywhere in the system. Only the manager is available in the kernel. I made an analisys of memory usage

[yocto] Yocto Project Status WW10`21

2021-03-09 Thread Stephen Jolley
Current Dev Position: YP 3.3 Feature Freeze Next Deadline: 1st March 2021 YP 3.3 M3 build Next Team Meetings: * Bug Triage meeting Thursday Mar. 11th at 7:30am PDT (

Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config

2021-03-09 Thread Joe MacDonald
[Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config] On 21.03.09 (Tue 14:53) Anatol Belski wrote: > Hi Joe, > > thanks for the quick check. The patch applies fine to dunfell and > gatesgarth, master has the changed

Re: [yocto] how often would one use "VAR_someoverride_append = ..."?

2021-03-09 Thread Quentin Schulz
Hi Leon, On Tue, Mar 09, 2021 at 03:55:03PM +0100, Leon Woestenberg wrote: > Hello Robert, all, > > On Tue, Mar 9, 2021 at 3:39 PM Robert P. J. Day wrote: > > is there an actual practical usage of, say: > > > > VAR_x86_append = "huh" > > > $grep -re '[A-Z_]\+_[a-z0-9]\+_append' poky/meta* >

Re: [yocto] how often would one use "VAR_someoverride_append = ..."?

2021-03-09 Thread Leon Woestenberg
Hello Robert, all, On Tue, Mar 9, 2021 at 3:39 PM Robert P. J. Day wrote: > is there an actual practical usage of, say: > > VAR_x86_append = "huh" > $grep -re '[A-Z_]\+_[a-z0-9]\+_append' poky/meta* poky/meta/recipes-support/gmp/gmp_6.2.0.bb:EXTRA_OECONF_mipsarchr6_append = "

Re: [yocto] how often would one use "VAR_someoverride_append = ..."?

2021-03-09 Thread Robert P. J. Day
On Tue, 9 Mar 2021, Quentin Schulz wrote: > Hi Robert, > > On Tue, Mar 09, 2021 at 09:39:14AM -0500, Robert P. J. Day wrote: > > > > bitbake manual, chapter 3, examples of conditional syntax: > > > >

Re: [yocto] how often would one use "VAR_someoverride_append = ..."?

2021-03-09 Thread Quentin Schulz
Hi Robert, On Tue, Mar 09, 2021 at 09:39:14AM -0500, Robert P. J. Day wrote: > > bitbake manual, chapter 3, examples of conditional syntax: > > https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#examples > > correctly distinguishes between

[yocto] how often would one use "VAR_someoverride_append = ..."?

2021-03-09 Thread Robert P. J. Day
bitbake manual, chapter 3, examples of conditional syntax: https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#examples correctly distinguishes between A_foo_append and A_append_foo, but how often would one use that first form, anyway? most uses of

Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config

2021-03-09 Thread Anatol Belski
Hi Joe, thanks for the quick check. The patch applies fine to dunfell and gatesgarth, master has the changed recipe version in the bb name. I was about to rebase to master but pulling shows already did it. I was too slow :) thanks for the quick fix. Regards Anatol On 3/9/2021 2:00 PM, Joe

Re: [yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config

2021-03-09 Thread Joe MacDonald
Hi Anatol, I will confirm this against the other branches (dunfell and gatesgarth) but your patch doesn't appear to be against the current master branch (and it's unlikely one patch will apply to all branches). Can you send out specific patches against the head of tree for each branch you care

Re: [yocto] #yocto #sdk

2021-03-09 Thread Monsees, Steven C (US) via lists.yoctoproject.org
What is the difference between using “SIGGEN_UNLOCKED_RECIPES +=” and “BB_HASHBASE_WHITELIST_append =” ? From: Khem Raj Sent: Thursday, March 4, 2021 1:22 PM To: Monsees, Steven C (US) Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] #yocto #sdk External Email Alert This email has

[linux-yocto][linux-yocto v5.4/standard/nxp-imx8][PATCH] usb: xhci: Fix a redefined "XHCI_SKIP_PHY_INIT" compiler warning

2021-03-09 Thread jmiao1
Correct the merge conflict, avoiding the compiler warning. - Delete the "#define XHCI_SKIP_PHY_INIT BIT_ULL(38)" - Change the #define XHCI_DISABLE_SPARSE BIT_ULL(39) to BIT_ULL(38) drivers/usb/host/xhci.h:1878: warning: "XHCI_SKIP_PHY_INIT" redefined fix: e9623875ad0b("Merge

[yocto] [meta-selinux][dunfell][gatesgarth][master][PATCH] libselinux-python: Fix build error due to missing target config

2021-03-09 Thread Anatol Belski
This fixes the error below: gcc: error: unrecognized command line option ‘-fmacro-prefix-map=/path/to/build/libselinux-python/3.0-r0=/usr/src/debug/libselinux-python/3.0-r0’ Without inheriting the config, supposedly a wrong compiler is used. Signed-off-by: Anatol Belski ---

Re: [yocto] Swap management: vm.swappiness best values?

2021-03-09 Thread Laurent Gauthier
Ciao Mauro, Sounds more like a pure Linux/UNIX question than a yocto one :-) As you most likely know on an embedded system which uses permanent storage (NAND flash or eMMC) that is subject to wear it is important to completely turn off swap. At runtime if the system is up and running then you

[yocto] Swap management: vm.swappiness best values?

2021-03-09 Thread Mauro Ziliani
Hi all. I'm working with Krogoth on a imx6dl board with 1GB of RAM. I don't setup the swap space, but sometimes I see that kswap0 task starts, and the board slow down. I'd like to change the value of vm.swappiness to avoid swap requests The default value of vm.swappiness is 60. There is a

Re: [yocto] Remove *-dev packages from final image

2021-03-09 Thread Mauro Ziliani
Thanks a lot. I'll do it MZ On mar 8 2021, at 7:39 pm, Khem Raj wrote: > > > On 3/8/21 3:59 AM, Mauro Ziliani wrote: > > Hi all. > > I'm in trouble to remove the *-dev packages from final image. > > > > I remove dev-pkgs and dbg-pkgs from EXTRA_IMAGE_FEATURES and > > IMAGE_FEATURES with lines >