Re: [linux-yocto] [linux-yocto v5.10/standard/nxp-sdk-5.4/nxp-s32g2xx]: drivers: pci: s32gen1: fix 's32gen1_pcie_msi_handler' defined but not used warning

2021-05-02 Thread Bruce Ashfield
In message: [linux-yocto] [linux-yocto v5.10/standard/nxp-sdk-5.4/nxp-s32g2xx]: 
drivers: pci: s32gen1: fix 's32gen1_pcie_msi_handler' defined but not used 
warning
on 28/04/2021 Zhantao Tang wrote:

> 
> Hi Bruce,
> 
> 
> There is an patch to fix a build warning issue.
> 
> Would you please help to merge this patch into linux-ycoto kernel, v5.10, 
> branch is v5.10/standard/nxp-sdk-5.4/nxp-s32g2xx?

merged.

Bruce

> 
> 
> Thanks,
> Zhantao
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9839): 
https://lists.yoctoproject.org/g/linux-yocto/message/9839
Mute This Topic: https://lists.yoctoproject.org/mt/82427146/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc][PATCH 2/2] dmaengine: xilinx: dpdma: request_irq after initializing dma channels

2021-05-02 Thread Bruce Ashfield
In message: Re: [linux-yocto][linux-yocto 
v5.10/standard/sdkv5.4/xlnx-soc][PATCH 2/2] dmaengine: xilinx: dpdma: 
request_irq after initializing dma channels
on 29/04/2021 Michal Simek wrote:

> 
> 
> On 4/29/21 9:46 AM, quanyang.w...@windriver.com wrote:
> > From: Quanyang Wang 
> > 
> > In some scenarios (kdump), dpdma hardware irqs has been enabled when
> > calling request_irq in probe function, and then the dpdma irq handler
> > xilinx_dpdma_irq_handler is invoked to access xdev->chan[i]. But at
> > this moment xdev->chan[i] hasn't been initialized. So let's call the
> > request_irq after initializing dma channels to avoid kdump kernel
> > crash as below:
> > 
> > [3.696128] Unable to handle kernel NULL pointer dereference at virtual 
> > address 012c
> > [3.696710] xilinx-zynqmp-dpdma fd4c.dma-controller: Xilinx DPDMA 
> > engine is probed
> > [3.704900] Mem abort info:
> > [3.704902]   ESR = 0x9605
> > [3.704905]   EC = 0x25: DABT (current EL), IL = 32 bits
> > [3.704907]   SET = 0, FnV = 0
> > [3.704912]   EA = 0, S1PTW = 0
> > [3.713800] ahci-ceva fd0c.ahci: supply ahci not found, using dummy 
> > regulator
> > [3.715585] Data abort info:
> > [3.715587]   ISV = 0, ISS = 0x0005
> > [3.715589]   CM = 0, WnR = 0
> > [3.715592] [012c] user address but active_mm is swapper
> > [3.715596] Internal error: Oops: 9605 [#1] SMP
> > [3.715599] Modules linked in:
> > [3.715608] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 
> > 5.10.0-12170-g60894882155f-dirty #77
> > [3.723937] Hardware name: ZynqMP ZCU102 Rev1.0 (DT)
> > [3.723942] pstate: 8085 (Nzcv daIf -PAN -UAO -TCO BTYPE=--)
> > [3.723956] pc : xilinx_dpdma_irq_handler+0x418/0x560
> > [3.793049] lr : xilinx_dpdma_irq_handler+0x3d8/0x560
> > [3.798089] sp : ffc01186bdf0
> > [3.801388] x29: ffc01186bdf0 x28: ffc011836f28
> > [3.806692] x27: ff8023e0ac80 x26: 0080
> > [3.811996] x25: 08000408 x24: 0003
> > [3.817300] x23: ffc01186be70 x22: ffc011291740
> > [3.822604] x21:  x20: 08000408
> > [3.827908] x19:  x18: 0010
> > [3.833212] x17:  x16: 
> > [3.838516] x15:  x14: ffc011291740
> > [3.843820] x13: ffc02eb4d000 x12: 34d4d91d
> > [3.849124] x11: 0040 x10: ffc0112d2d48
> > [3.854428] x9 : ffc0112d2d40 x8 : ff8021c00268
> > [3.859732] x7 :  x6 : ffc011836000
> > [3.865036] x5 : 0003 x4 : 
> > [3.870340] x3 : 0001 x2 : 
> > [3.875644] x1 :  x0 : 012c
> > [3.880948] Call trace:
> > [3.883382]  xilinx_dpdma_irq_handler+0x418/0x560
> > [3.888079]  __handle_irq_event_percpu+0x5c/0x178
> > [3.892774]  handle_irq_event_percpu+0x34/0x98
> > [3.897210]  handle_irq_event+0x44/0xb8
> > [3.901030]  handle_fasteoi_irq+0xd0/0x190
> > [3.905117]  generic_handle_irq+0x30/0x48
> > [3.909111]  __handle_domain_irq+0x64/0xc0
> > [3.913192]  gic_handle_irq+0x78/0xa0
> > [3.916846]  el1_irq+0xc4/0x180
> > [3.919982]  cpuidle_enter_state+0x134/0x2f8
> > [3.924243]  cpuidle_enter+0x38/0x50
> > [3.927810]  call_cpuidle+0x1c/0x40
> > [3.931290]  do_idle+0x20c/0x270
> > [3.934502]  cpu_startup_entry+0x28/0x58
> > [3.938410]  rest_init+0xbc/0xcc
> > [3.941631]  arch_call_rest_init+0x10/0x1c
> > [3.945718]  start_kernel+0x51c/0x558
> > 
> > Fixes: 7cbb0c63de3f ("dmaengine: xilinx: dpdma: Add the Xilinx DisplayPort 
> > DMA engine driver")
> > Signed-off-by: Quanyang Wang 
> > ---
> >  drivers/dma/xilinx/xilinx_dpdma.c | 30 +++---
> >  1 file changed, 15 insertions(+), 15 deletions(-)
> > 
> > diff --git a/drivers/dma/xilinx/xilinx_dpdma.c 
> > b/drivers/dma/xilinx/xilinx_dpdma.c
> > index c4808a56aee0..7f37e23ede28 100644
> > --- a/drivers/dma/xilinx/xilinx_dpdma.c
> > +++ b/drivers/dma/xilinx/xilinx_dpdma.c
> > @@ -1744,19 +1744,6 @@ static int xilinx_dpdma_probe(struct platform_device 
> > *pdev)
> > if (IS_ERR(xdev->reg))
> > return PTR_ERR(xdev->reg);
> >  
> > -   xdev->irq = platform_get_irq(pdev, 0);
> > -   if (xdev->irq < 0) {
> > -   dev_err(xdev->dev, "failed to get platform irq\n");
> > -   return xdev->irq;
> > -   }
> > -
> > -   ret = request_irq(xdev->irq, xilinx_dpdma_irq_handler, IRQF_SHARED,
> > - dev_name(xdev->dev), xdev);
> > -   if (ret) {
> > -   dev_err(xdev->dev, "failed to request IRQ\n");
> > -   return ret;
> > -   }
> > -
> > ddev = >common;
> > ddev->dev = >dev;
> >  
> > @@ -1811,6 +1798,19 @@ static int xilinx_dpdma_probe(struct platform_device 
> > *pdev)
> > goto error_of_dma;
> > }
> >  
> 

Re: [linux-yocto][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc][PATCH 1/2] arm: zynq: don't remove -march=armv6k from KBUILD_AFLAGS

2021-05-02 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc][PATCH 
1/2] arm: zynq: don't remove -march=armv6k from KBUILD_AFLAGS
on 29/04/2021 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> Removing "-march=armv6k" from KBUILD_AFLAGS will result that there is
> no "-march=xxx" compile option in KBUILD_AFLAGS when the kernel option
> CONFIG_CPU_32v6K is enabled. Let's keep this compile option and no need
> to add AFLAGS_headsmp.o since the ARMv6K extensions can handle headsmp.S.

merged.

Bruce

> 
> Signed-off-by: Quanyang Wang 
> ---
>  arch/arm/mach-zynq/Makefile | 7 ++-
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/mach-zynq/Makefile b/arch/arm/mach-zynq/Makefile
> index 9b3e6a4140a2..3ac7a88e5d60 100644
> --- a/arch/arm/mach-zynq/Makefile
> +++ b/arch/arm/mach-zynq/Makefile
> @@ -7,8 +7,5 @@
>  obj-y:= common.o efuse.o slcr.o zynq_ocm.o 
> pm.o
>  
>  obj-$(CONFIG_SMP)+= headsmp.o platsmp.o
> -ORIG_AFLAGS := $(KBUILD_AFLAGS)
> -KBUILD_AFLAGS = $(subst -march=armv6k,,$(ORIG_AFLAGS))
> -obj-$(CONFIG_SUSPEND)+= suspend.o
> -AFLAGS_suspend.o   +=-Wa,-march=armv7-a
> -AFLAGS_headsmp.o   +=-Wa,-march=armv7-a
> +obj-$(CONFIG_SUSPEND)+= suspend.o
> +AFLAGS_suspend.o +=-Wa,-march=armv7-a
> -- 
> 2.25.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9837): 
https://lists.yoctoproject.org/g/linux-yocto/message/9837
Mute This Topic: https://lists.yoctoproject.org/mt/82450329/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [meta-selinux] MAINTAINERS: Remove myself.

2021-05-02 Thread Philip Tricca
I have been inactive for an extended period.

Signed-off-by: Philip Tricca 
---
 MAINTAINERS | 5 -
 1 file changed, 5 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 36c451f..3166b32 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -24,11 +24,6 @@ F:   conf
 F: classes
 F: recipes-*
 
-M: Philip Tricca 
-F: conf
-F: classes
-F: recipes-*
-
 COMMON
 M: Yi Zhao 
 F: conf
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53344): https://lists.yoctoproject.org/g/yocto/message/53344
Mute This Topic: https://lists.yoctoproject.org/mt/82538081/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] #yocto cmake configurations

2021-05-02 Thread Monsees, Steven C (US) via lists.yoctoproject.org

I am using zeus, standard SDK, cmake...

Can I pre-configure the SDK to setup cmake package search paths ?, say for 
find_package, etc. (i.e. detecting external libraries/programs)...

The majority of my env is configuring properly, but I am finding cmake is setup 
for a standard linux env with regards to these types of searches, and
I wanted the cmake built in to look at my SDK paths (first by default) when 
doing such things as detecting python interpreter, libraries, etc.

I am working on third party package unaware of my SDK setup.

Thanks,
Steve

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53342): https://lists.yoctoproject.org/g/yocto/message/53342
Mute This Topic: https://lists.yoctoproject.org/mt/82532711/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [meta-raspberrypi] Booting a Raspberry Pi 4 using PXE

2021-05-02 Thread Manuel Wagesreither
Hello all!

Since a certain eeprom version, the Raspberry Pi 4 can directly boot from 
network. Has anyone experience on this?

I already managed to to have the Raspi to load the kernel and all the device 
tree stuff over network. I then exported 
`build/tmp/work/raspberrypi4_64-poky-linux/bora-image/1.0-r0/rootfs/` as via 
nfs and changed the linux kernel commandline so it would use this share as 
nfsroot. At boot many failing services get reported and and the boot progress 
stops somewhere along the way. It tells me the system is in emergency mode and 
asks me for the root password for maintenance. I have an empty root password. 
When I press Control-D to continue, the same prompt reappears. Same when I 
simply press enter.

Has onyone any input for me? I guess I'll need to monitor what gets written to 
the serial port.

Regards,
Manuel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53341): https://lists.yoctoproject.org/g/yocto/message/53341
Mute This Topic: https://lists.yoctoproject.org/mt/82525859/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-