Re: [V2][linux-yocto] [yocto-kernel-cache][master][yocto-5.10][PATCH] bsp: delete unused kernel option CONFIG_XILINX_DMA_ENGINES

2021-05-21 Thread Bruce Ashfield
In message: [V2][linux-yocto] [yocto-kernel-cache][master][yocto-5.10][PATCH] 
bsp: delete unused kernel option CONFIG_XILINX_DMA_ENGINES
on 20/05/2021 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> The kernel option CONFIG_XILINX_DMA_ENGINES isn't used anymore since we
> have switched to mainline xilinx dma driver. Let's remove it to fix the
> warning as below:
> 
> WARNING: linux-yocto-5.10.x do_kernel_configcheck: [kernel config]: specified 
> values did not make it into the kernel's final configuration:
> 
> [NOTE]: 'CONFIG_XILINX_DMA_ENGINES' last val (y) and .config val (n) do 
> not match
> [INFO]: CONFIG_XILINX_DMA_ENGINES : n
> [INFO]: raw config text:
> 
> Config 'XILINX_DMA_ENGINES' has the following Direct dependencies 
> (XILINX_DMA_ENGINES=n):
> n
> Parent dependencies are:
> [INFO]: config 'CONFIG_XILINX_DMA_ENGINES' was set, but it wasn't 
> assignable, check (parent) dependencies
> 
> [INFO]: selection details for 'CONFIG_XILINX_DMA_ENGINES':
> Symbols currently n-selecting this symbol (no effect):
>   - DRM_ZYNQMP_DPSUB

merged!

Bruce

> 
> Signed-off-by: Quanyang Wang 
> ---
>  bsp/xilinx-zynq/xilinx-zynq.cfg | 1 -
>  bsp/xilinx-zynqmp/xilinx-zynqmp.cfg | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/bsp/xilinx-zynq/xilinx-zynq.cfg b/bsp/xilinx-zynq/xilinx-zynq.cfg
> index 37d6a07db..dc6610371 100644
> --- a/bsp/xilinx-zynq/xilinx-zynq.cfg
> +++ b/bsp/xilinx-zynq/xilinx-zynq.cfg
> @@ -22,7 +22,6 @@ CONFIG_VFP=y
>  CONFIG_NEON=y
>  
>  # DMA
> -CONFIG_XILINX_DMA_ENGINES=y
>  CONFIG_AXI_DMAC=y
>  CONFIG_DMADEVICES=y
>  CONFIG_DMA_ENGINE=y
> diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg 
> b/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg
> index fcef2f491..6005eaeb0 100644
> --- a/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg
> +++ b/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg
> @@ -109,7 +109,6 @@ CONFIG_RTC_INTF_SYSFS=y
>  CONFIG_RTC_DRV_ZYNQMP=y
>  
>  CONFIG_DMADEVICES=y
> -CONFIG_XILINX_DMA_ENGINES=y
>  CONFIG_DMA_ENGINE=y
>  CONFIG_DMA_OF=y
>  CONFIG_CMA=y
> -- 
> 2.25.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9912): 
https://lists.yoctoproject.org/g/linux-yocto/message/9912
Mute This Topic: https://lists.yoctoproject.org/mt/82960912/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][PATCH 0/4] fix the wrong backporting about iommu in v5.10.37

2021-05-21 Thread Bruce Ashfield
In message: [linux-yocto][linux-yocto v5.10][PATCH 0/4] fix the wrong 
backporting about iommu in v5.10.37
on 20/05/2021 Yongxin Liu wrote:

> Hi Bruce,
> 
> Those 4 patches are from Linux stable v5.10.38, in order to fix the wrong
> backporting in linux stable v5.10.37.
> 2 commits revert the incorrect merge, and another 2 commits re-backport
> the patches correctly.
> 
> This wrong backporting has serious consequence which makes iommu unusable
> on intel platforms.
> 
> If you will update linux-yocto to v5.10.38 soon, please ignore them.
> Otherwise it is better to have them in v5.10.37.

5.10.38 is now pushed to the repos.

Bruce

> 
> Greg Kroah-Hartman (2):
>   Revert "iommu/vt-d: Remove WO permissions on second-level paging
> entries"
>   Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL"
> 
> Lu Baolu (2):
>   iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
>   iommu/vt-d: Remove WO permissions on second-level paging entries
> 
>  drivers/iommu/intel/iommu.c | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> Thanks,
> Yongxin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9911): 
https://lists.yoctoproject.org/g/linux-yocto/message/9911
Mute This Topic: https://lists.yoctoproject.org/mt/82957071/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] [yocto-kernel-cache][only master][PATCH] bsp: use CONFIG_GPIO_CDEV instead of CONFIG_GPIO_SYSFS

2021-05-21 Thread Bruce Ashfield
merged.

Bruce

In message: [linux-yocto] [yocto-kernel-cache][only master][PATCH] bsp: use 
CONFIG_GPIO_CDEV instead of CONFIG_GPIO_SYSFS
on 20/05/2021 quanyang.w...@windriver.com wrote:

> From: Quanyang Wang 
> 
> For now CONFIG_GPIO_CDEV is encouraged to use and CONFIG_GPIO_SYSFS
> is obsolete. In mainline commit 3b4feb21158f ("gpio: sysfs: Enforce
> character device"), CONFIG_GPIO_SYSFS can only be enabled with option
> CONFIG_EXPERT. In light of this, let's switch to CONFIG_GPIO_CDEV.
> 
> Signed-off-by: Quanyang Wang 
> ---
>  bsp/xilinx-zynq/xilinx-zynq.cfg | 2 +-
>  bsp/xilinx-zynqmp/xilinx-zynqmp.cfg | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/bsp/xilinx-zynq/xilinx-zynq.cfg b/bsp/xilinx-zynq/xilinx-zynq.cfg
> index 45725c9a4..c4589de20 100644
> --- a/bsp/xilinx-zynq/xilinx-zynq.cfg
> +++ b/bsp/xilinx-zynq/xilinx-zynq.cfg
> @@ -39,7 +39,7 @@ CONFIG_CADENCE_WATCHDOG=y
>  
>  # GPIO
>  CONFIG_GPIOLIB=y
> -CONFIG_GPIO_SYSFS=y
> +CONFIG_GPIO_CDEV=y
>  CONFIG_GPIO_XILINX=y
>  CONFIG_GPIO_ZYNQ=y
>  CONFIG_GPIO_PCA953X=y
> diff --git a/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg 
> b/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg
> index e37c1f73b..afc383977 100644
> --- a/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg
> +++ b/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg
> @@ -70,7 +70,7 @@ CONFIG_SPI_ZYNQMP_GQSPI=y
>  
>  CONFIG_GPIOLIB=y
>  CONFIG_OF_GPIO=y
> -CONFIG_GPIO_SYSFS=y
> +CONFIG_GPIO_CDEV=y
>  CONFIG_GPIO_XILINX=y
>  CONFIG_GPIO_PCA953X=y
>  CONFIG_GPIO_PCA953X_IRQ=y
> -- 
> 2.25.1
> 

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



[yocto] freescale imx-boot, fails to generate is imx-boot container for signed uboot ( wrong u-boot.bin used by imx-boot compile?)

2021-05-21 Thread richard allen via lists.yoctoproject.org
In Hardknott, trying to enabled signed uboot containers for signed fitimage
The interaction between the uboot-sign.bbclass and the imx-boot.bb is not 
working

MACHINE=imx8qxq-mek
UBOOT_SIGN_ENABLE= "1"
FIT_SIGN_INDIVIDUAL="1"

(no SPL_SIGN_ENABLE)

I see the updated u-boot.bin in the uboot ${B}{config} sub-directory but other 
copies are still the original u-boot.bin

  *   The updated u-boot.bin = u-boot-nodtb.bin + u-boot-pubkey.dtb ,
When imx-boot creates the flash.bin, it is using original u-boot.bin , not the 
updated one.

Have confirmed if I put the updated u-boot.bin where imx-boot will use when 
creating the flash.bin , then the resulting uboot will only boot signed 
fitImages .

Any known work-arounds ? or this a known bug?
Thanks
Richard Allen








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



[yocto] [meta-zephyr][hardknott][PATCH] zephyr-kernel-src: switch from master branch to main

2021-05-21 Thread Naveen Saini
* branch was renamed in upstream repo

It fixes do_fetch failure

Signed-off-by: Naveen Saini 
---
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc 
b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc
index 8c987bb..5ee40d4 100644
--- a/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc
+++ b/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc
@@ -13,7 +13,7 @@ inherit cmake
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
 SRC_URI = "\
-
git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=master;name=default
 \
+
git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=main;name=default
 \
 
git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;destsuffix=git/modules/cmsis;name=cmsis
 \
 
git://github.com/zephyrproject-rtos/hal_nordic.git;protocol=https;destsuffix=git/modules/hal/nordic;name=nordic
 \
 
git://github.com/zephyrproject-rtos/hal_stm32.git;protocol=https;destsuffix=git/modules/hal/stm32;name=stm32
 \
-- 
2.17.1


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