Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

2022-03-28 Thread Jaap Crezee
Hello Fabio, On 3/27/22 23:43, Fabio Estevam wrote: Have you tried applying this patch? https://lists.denx.de/pipermail/u-boot/2021-July/453633.html I have not tried this (yet) as there is no board/freescale/imx8mm_evk/spl.o so I guess this is not used in my tree. The imx8mq_evk/spl.[co] is n

Re: [PATCH 00/14] video: Drop old CFB code

2022-03-28 Thread Anatolij Gustschin
Hi Simon, On Fri, 25 Mar 2022 11:41:54 +1300 Simon Glass s...@chromium.org wrote: > Hi Anatloij, > > On Fri, 25 Mar 2022 at 11:16, Anatolij Gustschin wrote: > > > > Hi Simon, > > > > On Thu, 24 Mar 2022 13:54:22 -0600 > > Simon Glass s...@chromium.org wrote: > > ... > > > > > > Is there any w

Issue with CI/CD

2022-03-28 Thread Patrice CHOTARD
Hi all Since this morning, Testsuites "htmldocs" is failing (see log below) which is blocking all others tests ("test.py" and "World build") $ make htmldocs HOSTCC scripts/basic/fixdep SPHINX htmldocs --> file:///builds/u-boot/custodians/u-boot-stm/doc/output PARSE include/linker_list

Re: Issue with CI/CD

2022-03-28 Thread Patrice CHOTARD
On 3/28/22 09:52, Patrice CHOTARD wrote: > Hi all > > Since this morning, Testsuites "htmldocs" is failing (see log below) which is > blocking > all others tests ("test.py" and "World build") > > > $ make htmldocs > HOSTCC scripts/basic/fixdep > SPHINX htmldocs --> file:///builds/u-boo

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2022-03-28 Thread Hajo Noerenberg
Hi Tony, thank you very much for your help. I will integrate the changes and resubmit the patch when Tom's work on CONFIG_RESET_PHY_R is done. If you or others have further improvements in the meantime, please let me know. I wonder if it would be a good idea to submit adding the PCI-ids for t

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2022-03-28 Thread Pali Rohár
On Monday 28 March 2022 09:57:41 Hajo Noerenberg wrote: > I wonder if it would be a good idea to submit adding the PCI-ids for the > 88SE6121 controller (drivers/ata/ahci-pci.c) as a separate patch. The > controller is not specific to the NAS440, to my knowledge it is also used on > the Iomega i

Re: [PATCH v4] mtd: gpmi: fix the bch setting backward compatible issue

2022-03-28 Thread Miquel Raynal
Hi Han, han...@nxp.com wrote on Fri, 25 Mar 2022 08:36:38 -0500: > Previous u-boot code changed the default bch setting behavior and caused > backward compatible issue. This fix choose the legacy bch geometry back > again as the default option. If the minimum ecc strength that NAND chips > requir

RE: [PATCH v11 01/14] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-28 Thread Gaurav Jain
Hello Stefano Michael Trimarchi has shared the patch to fix imx6dl_mamoj spl size error. I have also shared the v11 for caam driver model after adding the final comments . Can you help to apply the series? Regards Gaurav Jain > -Original Message- > From: Gaurav Jain > Sent: Thursday, M

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2022-03-28 Thread Hajo Noerenberg
Hi Pali, Am 28.03.2022 um 10:04 schrieb Pali Rohár: > On Monday 28 March 2022 09:57:41 Hajo Noerenberg wrote: >> I wonder if it would be a good idea to submit adding the PCI-ids for the >> 88SE6121 controller (drivers/ata/ahci-pci.c) as a separate patch. The >> controller is not specific to th

Re: Issue with CI/CD

2022-03-28 Thread Quentin Schulz
Hi Patrice, On 3/28/22 08:56, Patrice CHOTARD wrote: On 3/28/22 09:52, Patrice CHOTARD wrote: Hi all Since this morning, Testsuites "htmldocs" is failing (see log below) which is blocking all others tests ("test.py" and "World build") $ make htmldocs HOSTCC scripts/basic/fixdep SPH

Re: [PATCH v2 1/6] capsule: Add Image GUIDs for platforms using capsule updates

2022-03-28 Thread Michal Simek
On 3/26/22 07:00, Sughosh Ganu wrote: Currently, all platforms that enable capsule updates do so using either EFI_FIRMWARE_IMAGE_TYPE_UBOOT_RAW_GUID or EFI_FIRMWARE_IMAGE_TYPE_UBOOT_FIT_GUID. This is based on the Firmware Management Protocol(FMP) instance used on the platform. However, this me

[PATCH] usb_hub: Set DM_FLAG_DEFAULT_PD_CTRL_OFF to usb_hub driver

2022-03-28 Thread Ye Li
Because usb_hub uses same device tree node with USB controller device, when probe and remove usb_hub, it will call the power domain control of USB controller device. This is not expected, because power domain control implmentation may not have count when the power domain is dedicated for USB contro

[PATCH] mtd: nand: mxs_nand_spl: Remove the page aligned access

2022-03-28 Thread Ye Li
The mxs_nand_spl driver can support to read from page unaligned offset, so don't need to set bl_len to ask spl_load_simple_fit to handle the page unaligned access. Actually spl_load_simple_fit has two parts of reading: spl_simple_fit_read and spl_load_fit_image. The spl_load_fit_image can handle t

Re: [PATCH 1/2] net: dsa: fix phydev->speed being uninitialized for the CPU port fixed PHY

2022-03-28 Thread Vladimir Oltean
On Fri, Mar 25, 2022 at 02:03:56PM -0700, Tim Harvey wrote: > On Fri, Mar 25, 2022 at 11:07 AM Vladimir Oltean > wrote: > > > > Hi Tim, > > > > On Fri, Mar 25, 2022 at 09:53:20AM -0700, Tim Harvey wrote: > > > Vladimir, > > > > > > I came across this while looking for the best place to configure c

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2022-03-28 Thread Pali Rohár
Hello! On Monday 28 March 2022 10:36:36 Hajo Noerenberg wrote: > Hi Pali, > > Am 28.03.2022 um 10:04 schrieb Pali Rohár: > > On Monday 28 March 2022 09:57:41 Hajo Noerenberg wrote: > >> I wonder if it would be a good idea to submit adding the PCI-ids for the > >> 88SE6121 controller (drivers/ata

[PATCH v2 1/2] net: eth-uclass: Fix eth_halt

2022-03-28 Thread qianfanguijin
From: qianfan Zhao eth_device_priv maybe unaccessable after @stop handler due to eth device is removed in @stop. Setting private data before @stop handler. This also fix data abort bug when run dhcp or tftp command via usbnet. Signed-off-by: qianfan Zhao --- net/eth-uclass.c | 9 +++-- 1

[PATCH v2 2/2] net: eth-uclass: Fix data abort when tftp get nonexistent file via usb

2022-03-28 Thread qianfanguijin
From: qianfan Zhao tftp_handler do eth_halt when TFTP_ERROR, but eth_halt will remove eth device if it is an usb network. usbeth's private data will be unaccessable when usb_eth_free_pkt, touch it will trigger data abort. Next is the console messages: => tftp xxx ... Loading: * TFTP error: 'ope

Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

2022-03-28 Thread Tommaso Merciai
On Sun, Mar 27, 2022 at 11:02:55PM +0200, Jaap Crezee wrote: > Hi all, > > On 7/3/21 21:58, Fabio Estevam wrote: > > After selecting USB SDP support for i.MX8MM, there are some build errors > > and warnings. > > > > Make the necessary adjustments for fixing the build. > It seems this is also brea

Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

2022-03-28 Thread Jaap Crezee
Hello Tommaso, On 3/28/22 12:26, Tommaso Merciai wrote: Hi Jaap, Actually I'm able to use SDP on imx8mm_evk over SPL. You need to apply the following patchset: https://patchwork.ozlabs.org/project/uboot/list/?series=251796&state=* plus you need the following configs: CONFIG_SPL_USB_HOST=y CON

Re: Promlem with booting on a cora-z7-10

2022-03-28 Thread Michal Simek
Hi, On 3/26/22 11:29, Sarmad Ahmad wrote: Hello I try to boot a Cora-Z7-10 with u-boot but without success I followed the instructions from here https://u-boot.readthedocs.io/en/latest/board/xilinx/zynq.html built u-boot as follows export ARCH=arm export CROSS_COMPILE=/usr/bin/arm-linux-gnueab

[PATCH 1/1] ubifs: Fix journal replay wrt. xattr nodes

2022-03-28 Thread Ville Baillie
backport 1cb51a15b576ee325d527726afff40947218fd5e from Linux --- fs/ubifs/tnc.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c index e8b8f16838..3303711477 100644 --- a/fs/ubifs/tnc.c +++ b/fs/ubifs/tnc.c @@ -50,6 +50,

[PATCH 1/1] ubifs: Fix journal replay wrt. xattr nodes

2022-03-28 Thread Ville Baillie
backport 1cb51a15b576ee325d527726afff40947218fd5e from Linux --- fs/ubifs/tnc.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c index e8b8f16838..3303711477 100644 --- a/fs/ubifs/tnc.c +++ b/fs/ubifs/tnc.c @@ -50,6 +50,

Re: Pull request for efi-2022-04-rc5-2

2022-03-28 Thread Tom Rini
On Sun, Mar 27, 2022 at 09:35:23AM +0200, Heinrich Schuchardt wrote: > The following changes since commit 28c2ebef372b4c9bb18bed8373e0d9e65a09b42b: > > Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi > (2022-03-25 21:20:29 -0400) > > are available in the Git repository at: > > h

Re: [PATCH] rockchip: clk: add clocks to px30_clk_enable

2022-03-28 Thread Kever Yang
Hi Chris,     Thanks for your patch. On 2022/3/26 01:09, Chris Morgan wrote: From: Chris Morgan Add the HCLK_OTG, HCLK_SFC, and SCLK_SFC clocks to px30_clk_enable. Without this change U-Boot reports an error of "Enable clock-controller@ff2b failed" on boot when using the SFC or USB in U-B

Re: [PATCH] spi: rockchip_sfc: Add missing include for dm/device_compat.h

2022-03-28 Thread Kever Yang
On 2022/3/25 23:40, Chris Morgan wrote: From: Chris Morgan Add missing include for dm/device_compat.h. Without this include the SFC driver fails to compile because dev_err and dev_dbg are not defined. Signed-off-by: Chris Morgan Reviewed-by: Kever Yang Thanks, - Kever --- drivers/spi

Re: [PATCH v3 02/12] rockchip: rk3228-cru: sync the clock dt-binding header from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: In order to update the DT for rk3228 sync the clock dt-binding header. This is the state as of v5.17 in Linux. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang Thanks, - Kever --- include/dt-bindings/clock/rk3228-cru.h

Re: [PATCH v3 01/12] rockchip: rk3228-power: sync power domain dt-binding header from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: In order to update the DT for rk3228 sync the power domain dt-binding header. This is the state as of v5.17 in Linux. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang Thanks, - Kever --- include/dt-bindings/power/rk322

Re: [PATCH v3 03/12] arm: dts: rockchip: move all rk322x u-boot specific properties in separate dtsi files

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: In order to sync rk322x.dtsi from Linux, move all U-boot specific properties in separate dtsi files. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- Changed V3: add include "rockchip-u-boot.dtsi" --- arch/arm/dts/rk3229

Re: [PATCH v3 04/12] arm: dts: rockchip: sync rk322x.dtsi from Linux

2022-03-28 Thread Kever Yang
Hi Johan, On 2022/3/4 07:52, Johan Jonker wrote: Sync rk322x.dtsi from Linux version 5.17. Signed-off-by: Johan Jonker --- Changed V2: update rename usb20_otg label --- arch/arm/dts/rk3229-evb.dts | 2 +- arch/arm/dts/rk322x.dtsi| 846 +--- 2 fi

Re: [PATCH v3 05/12] arm: dts: rockchip: sync rk3229-evb.dts from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: Sync rk3229-evb.dts from Linux version 5.17. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3229-evb.dts | 212 +--- arch/arm/dts/rk3229.dtsi| 52 + 2 files cha

Re: [PATCH v3 06/12] rockchip: rk3288-power: sync power domain dt-binding header from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: In order to update the DT for rk3288 sync the power domain dt-binding header. This is the state as of v5.17 in Linux. Change location to be more in line with other SoCs. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- Change

Re: [PATCH v3 07/12] rockchip: rk3288-cru: sync the clock dt-binding header from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: In order to update the DT for rk3288 sync the clock dt-binding header. This is the state as of v5.17 in Linux. Keep SCLK_MAC_PLL in use for rk3288 clock driver. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang Thanks, - K

Re: [PATCH v3 08/12] arm: dts: rockchip: move all rk3288 u-boot specific properties in separate dtsi files

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: In order to sync rk3288.dtsi from Linux it needed to move all u-boot specific properties in separate dtsi files. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- Changed V3: add u-boot,dm-pre-reloc to noc node change re

Re: [PATCH v3 09/12] arm: dts: rockchip: sync rk3288.dtsi from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: Sync rk3288.dtsi from Linux version 5.17. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- Changed V3: change reg size Changed V2: rename mipi_dsi0 label move io_domains remove hdmi_audio veyron node change me

Re: [PATCH v3 11/12] arm: dts: rockchip: sync rk3288-veyron DT from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: Sync rk3288-veyron DT from Linux version 5.17. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- Changed V3: update change reg size Changed V2: update add label spi_flash veyron --- arch/arm/dts/rk3288-veyron-an

Re: [PATCH v3 12/12] rockchip: fix boot_devices constants

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: The DT node name pattern in mmc-controller.yaml for mmc is "^mmc(@.*)?$". The Rockchip mmc nodes have been synced with Linux, so update the boot_devices constants as well. Signed-off-by: Johan Jonker Reviewed-by: Simon Glass Reviewed-by: Kever Yang

Re: [PATCH] mmc: rockchip_sdhci: Correct error checking

2022-03-28 Thread Kever Yang
Hi Haolin,     Thanks for your patch. On 2022/3/22 20:58, li.hao...@qq.com wrote: From: Haolin Li A pointer can not be negative. Use macro IS_ERR_OR_NULL() for checking. Signed-off-by: Haolin Li Reviewed-by: Kever Yang Thanks, - Kever --- drivers/mmc/rockchip_sdhci.c | 2 +- 1 file

[PATCH v2 2/3] tee: optee: bind rng optee driver

2022-03-28 Thread Patrick Delaunay
In U-Boot, the discovery of TA based on its UUID on the TEE bus is not supported. This patch only binds the driver associated to the new supported OP-TEE TA = TA_HWRNG when this driver is enable. Signed-off-by: Patrick Delaunay --- (no changes since v1) drivers/tee/optee/core.c | 13 +

[PATCH v2 1/3] rng: add OP-TEE based Random Number Generator

2022-03-28 Thread Patrick Delaunay
Add driver for OP-TEE based Random Number Generator on ARM SoCs where hardware entropy sources are not accessible to normal world and the RNG service is provided by a HWRNG Trusted Application (TA). This driver is based on the linux driver: char/hw_random/optee-rng.c Series_changes: 2 - change SP

[PATCH v2 3/3] configs: add support of OPTEE RNG in stm32mp15 defconfig

2022-03-28 Thread Patrick Delaunay
When the RNG device is secured with OP-TEE, it is only accessible with the HWRNG TA, the CONFIG_RNG_OPTEE is needed for STM32MP15 targets with OP-TEE support. The probe of this RNG driver fails when the TA is not available in OP-TEE and the previous driver can be used, as CONFIG_RNG_STM32MP1 is ac

Re: [PATCH v2 1/3] rng: add OP-TEE based Random Number Generator

2022-03-28 Thread Heinrich Schuchardt
On 3/28/22 15:11, Patrick Delaunay wrote: Add driver for OP-TEE based Random Number Generator on ARM SoCs where hardware entropy sources are not accessible to normal world and the RNG service is provided by a HWRNG Trusted Application (TA). This driver is based on the linux driver: char/hw_rando

[PATCH] ahci: add PCI bindings for Marvell 88SE6121/45 SATA controllers

2022-03-28 Thread Hajo Noerenberg
Add AHCI PCI bindings for Marvell 88SE6121/45 SATA controllers. The 88SE6121 controller is used, for example, in the Seagate Blackarmor NAS440 or the Iomega ix4-200d NAS. As Pali Rohár explained [1], these controllers do not match the standard AHCI class code and therefore require an explizit P

Re: [PATCH v11 01/14] crypto/fsl: Add support for CAAM Job ring driver model

2022-03-28 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 28, 2022 at 10:36 AM Gaurav Jain wrote: > > Hello Stefano > > Michael Trimarchi has shared the patch to fix imx6dl_mamoj spl size error. > I have also shared the v11 for caam driver model after adding the final > comments . > Can you help to apply the series? > My patch is already

Re: [PATCH v2] imx8m: Use a sane SYS_MALLOC_F_LEN default

2022-03-28 Thread Fabio Estevam
Hi Tom, On Wed, Mar 23, 2022 at 1:27 PM Tom Rini wrote: > Well, this will be for -next, and we can get some more people on the > patch list, and this seems to be an area where everyone is either: > - Kicking the value up a bit for themselves > - Having hard to figure out problems booting the pla

Re: [PATCH] ahci: add PCI bindings for Marvell 88SE6121/45 SATA controllers

2022-03-28 Thread Pali Rohár
On Monday 28 March 2022 15:49:08 Hajo Noerenberg wrote: > Add AHCI PCI bindings for Marvell 88SE6121/45 SATA controllers. > > The 88SE6121 controller is used, for example, in the Seagate Blackarmor > NAS440 or the Iomega ix4-200d NAS. > > As Pali Rohár explained [1], these controllers do not mat

Re: [PATCH v2 7/9] Make EFI_LOADER depend on DM and OF_CONTROL

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 12:35:09AM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 30 Jul 2021 at 16:08, Tom Rini wrote: > > > > On Fri, Jul 30, 2021 at 03:48:15PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 30 Jul 2021 at 15:33, Tom Rini wrote: > > > > > > > > On Fri, Jul 30, 20

Re: [PATCH v2] boot: image: fixup zstd decompression buffer initialization typo

2022-03-28 Thread Tom Rini
On Wed, Mar 16, 2022 at 03:35:36PM -0400, Jérôme Carretero wrote: > The code was mistakenly initializing the input buffer twice. > > Tested to be working on BeagleBone by adjusting CONFIG_SYS_BOOTM_LEN to > 64MiB (probably works with less) and preparing uImage with: > > cat arch/arm/boot/Image

Re: [PATCH] arm: apple: Increase RTKit timeout

2022-03-28 Thread Tom Rini
On Mon, Mar 21, 2022 at 10:36:05PM +0100, Mark Kettenis wrote: > From: Hector Martin > > The firmware on larger NVMe drives needs more than 100ms to come up. > Change the timeout to 1s. > > Signed-off-by: Hector Martin > Signed-off-by: Mark Kettenis > Reviewed-by: Simon Glass Applied to u-b

Re: [PATCH] arm: apple: Fix mem layout

2022-03-28 Thread Tom Rini
On Mon, Mar 21, 2022 at 10:41:18PM +0100, Mark Kettenis wrote: > The current approach for setting the environment variables that > describe the memory layout runs the risk of overlapping with > reserved memory regions. Use the lmb code to derive the addresses > for these variables instead. > > Si

Re: [PATCH v4] mtd: gpmi: fix the bch setting backward compatible issue

2022-03-28 Thread Tom Rini
On Fri, Mar 25, 2022 at 08:36:38AM -0500, Han Xu wrote: > Previous u-boot code changed the default bch setting behavior and caused > backward compatible issue. This fix choose the legacy bch geometry back > again as the default option. If the minimum ecc strength that NAND chips > required need to

Re: [PATCH] Makefile: add drivers/video/u_boot_logo.S to clean

2022-03-28 Thread Tom Rini
On Sat, Mar 19, 2022 at 01:33:25PM +0100, Heinrich Schuchardt wrote: > make sandbox_defconfig > make mrproper > make tests > > fails with > > ../drivers/video/u_boot_logo.S: Assembler messages: > ../drivers/video/u_boot_logo.S:5: Error: file not found: > drivers/video/u_boot_logo.bmp > > We ha

Re: [PATCH] Fix URLs to old freescale git repos

2022-03-28 Thread Tom Rini
On Fri, Mar 25, 2022 at 10:51:46AM +0100, Pali Rohár wrote: > Freescale git repos are now on source.codeaurora.org. > > Signed-off-by: Pali Rohár Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Tom Rini
Hey all, It's release day and so here's v2022.04-rc5. The release itself is next week and the next branch is open. I've merged all regression and critical fixes I know of so if something else is missing please speak up as soon as possible. In terms of a changelog, git log --merges v2022.04-rc4

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Michael Nazzareno Trimarchi
Hi Tom On Mon, Mar 28, 2022 at 4:17 PM Tom Rini wrote: > > Hey all, > > It's release day and so here's v2022.04-rc5. The release itself is next > week and the next branch is open. I've merged all regression and > critical fixes I know of so if something else is missing please speak up > as soon

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 04:19:49PM +0200, Michael Nazzareno Trimarchi wrote: > Hi Tom > > On Mon, Mar 28, 2022 at 4:17 PM Tom Rini wrote: > > > > Hey all, > > > > It's release day and so here's v2022.04-rc5. The release itself is next > > week and the next branch is open. I've merged all regres

Re: [PATCH v3 10/12] arm: dts: rockchip: sync rk3288 DT boards from Linux

2022-03-28 Thread Kever Yang
On 2022/3/4 07:52, Johan Jonker wrote: Sync rk3288 DT boards that have support both in Linux 5.17 as in U-boot. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- Change V3: update change reg size delete more files Changed V2: update change led label

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 28, 2022 at 4:22 PM Tom Rini wrote: > > On Mon, Mar 28, 2022 at 04:19:49PM +0200, Michael Nazzareno Trimarchi wrote: > > Hi Tom > > > > On Mon, Mar 28, 2022 at 4:17 PM Tom Rini wrote: > > > > > > Hey all, > > > > > > It's release day and so here's v2022.04-rc5. The release itself

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 04:29:41PM +0200, Michael Nazzareno Trimarchi wrote: > Hi > > On Mon, Mar 28, 2022 at 4:22 PM Tom Rini wrote: > > > > On Mon, Mar 28, 2022 at 04:19:49PM +0200, Michael Nazzareno Trimarchi wrote: > > > Hi Tom > > > > > > On Mon, Mar 28, 2022 at 4:17 PM Tom Rini wrote: > >

Re: [EXT] [PATCH] ARM: imx: romapi: Repair FlexSPI NOR boot offset

2022-03-28 Thread Marek Vasut
On 3/28/22 08:54, Ye Li wrote: Hi Marek, Hi, [...] 2. Update the u-boot.itb offset in imx8mp-u-boot.dtsi, set the offset to 0x5f000.  The previous offset 0x58000 is for SD, calculated by 0x6 - 0x8000 (32KB image offset).   uboot: blob-ext@2 {   filename

Re: [PATCH 2/6] image: fit: Add some helpers for getting data

2022-03-28 Thread Sean Anderson
Hi Simon, On 3/28/22 2:35 AM, Simon Glass wrote: > Hi Sean, > > On Thu, 24 Mar 2022 at 12:23, Sean Anderson wrote: >> >> Several different firmware users have repetitive code to extract the >> firmware data from a FIT. Add some helper functions to reduce the amount >> of repetition. fit_conf_get

Re: [PATCH v3 16/29] serial: Add semihosting driver

2022-03-28 Thread Sean Anderson
On 3/28/22 2:35 AM, Simon Glass wrote: > Hi Sean, > > On Tue, 22 Mar 2022 at 15:00, Sean Anderson wrote: >> >> This adds a serial driver which uses semihosting calls to read and write >> to the host's console. For convenience, if CONFIG_DM_SERIAL is enabled, >> we will instantiate a serial dri

Re: [PATCH v3 28/29] test: serial: Add test for putc/puts

2022-03-28 Thread Sean Anderson
On 3/28/22 2:35 AM, Simon Glass wrote: > Hi Sean, > > On Tue, 22 Mar 2022 at 15:00, Sean Anderson wrote: >> >> This adds a test to ensure that puts is equivalent to putc called in a >> loop. We don't verify the contents of the message to avoid having to >> record console output a second time (

Re: [PATCH v3 16/29] serial: Add semihosting driver

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 11:36:46AM -0400, Sean Anderson wrote: > > > On 3/28/22 2:35 AM, Simon Glass wrote: > > Hi Sean, > > > > On Tue, 22 Mar 2022 at 15:00, Sean Anderson wrote: > >> > >> This adds a serial driver which uses semihosting calls to read and write > >> to the host's console. For

Re: [PATCH v2 1/3] rng: add OP-TEE based Random Number Generator

2022-03-28 Thread Patrick DELAUNAY
Hi, On 3/28/22 15:25, Heinrich Schuchardt wrote: On 3/28/22 15:11, Patrick Delaunay wrote: Add driver for OP-TEE based Random Number Generator on ARM SoCs where hardware entropy sources are not accessible to normal world and the RNG service is provided by a HWRNG Trusted Application (TA). This

Layerscape DM_SERIAL (Was: Re: [PATCH v3 16/29] serial: Add semihosting driver)

2022-03-28 Thread Sean Anderson
Hi Tom, On 3/28/22 12:03 PM, Tom Rini wrote: > On Mon, Mar 28, 2022 at 11:36:46AM -0400, Sean Anderson wrote: >> On 3/28/22 2:35 AM, Simon Glass wrote: >> >> > But please can we drop the non-DM support? >> >> Unfortunately, Layerscape does not support DM serial. I tried converting >> it, but I

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Peter Robinson
On Mon, Mar 28, 2022 at 3:17 PM Tom Rini wrote: > > Hey all, > > It's release day and so here's v2022.04-rc5. The release itself is next > week and the next branch is open. I've merged all regression and > critical fixes I know of so if something else is missing please speak up > as soon as poss

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 04:30:48PM +, Peter Robinson wrote: > On Mon, Mar 28, 2022 at 3:17 PM Tom Rini wrote: > > > > Hey all, > > > > It's release day and so here's v2022.04-rc5. The release itself is next > > week and the next branch is open. I've merged all regression and > > critical fix

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Peter Robinson
On Mon, Mar 28, 2022 at 5:33 PM Tom Rini wrote: > > On Mon, Mar 28, 2022 at 04:30:48PM +, Peter Robinson wrote: > > On Mon, Mar 28, 2022 at 3:17 PM Tom Rini wrote: > > > > > > Hey all, > > > > > > It's release day and so here's v2022.04-rc5. The release itself is next > > > week and the next

Re: [ANN] U-Boot v2022.04-rc5 released

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 04:38:36PM +, Peter Robinson wrote: > On Mon, Mar 28, 2022 at 5:33 PM Tom Rini wrote: > > > > On Mon, Mar 28, 2022 at 04:30:48PM +, Peter Robinson wrote: > > > On Mon, Mar 28, 2022 at 3:17 PM Tom Rini wrote: > > > > > > > > Hey all, > > > > > > > > It's release day

Re: [PATCH] imx: ventana: enable ONFI detection to fix NAND chip configuration

2022-03-28 Thread Tim Harvey
On Tue, Mar 22, 2022 at 5:32 PM Fabio Estevam wrote: > > Hi Tim, > > On Tue, Mar 22, 2022 at 3:42 PM Tim Harvey wrote: > > > > Enable ONFI detection to fix NAND chip configuration. Without this > > the NAND oobsize will be wrong which leads to invalid ECC strength and > > incompatibility with the

Re: [PATCH] imx: ventana: enable ONFI detection to fix NAND chip configuration

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 09:40:59AM -0700, Tim Harvey wrote: > On Tue, Mar 22, 2022 at 5:32 PM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Tue, Mar 22, 2022 at 3:42 PM Tim Harvey wrote: > > > > > > Enable ONFI detection to fix NAND chip configuration. Without this > > > the NAND oobsize will b

Re: [PATCH] usb_hub: Set DM_FLAG_DEFAULT_PD_CTRL_OFF to usb_hub driver

2022-03-28 Thread Marek Vasut
On 3/28/22 11:09, Ye Li wrote: Because usb_hub uses same device tree node with USB controller device, when probe and remove usb_hub, it will call the power domain control of USB controller device. This is not expected, because power domain control implmentation may not have count when the power d

[PATCH 1/8] stm32mp: stm32prog: fix comment

2022-03-28 Thread Patrick Delaunay
Fix "partition" in comment. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c b/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c index 61cba157fd

[PATCH 0/8] stm32mp: command stm32prog improvements

2022-03-28 Thread Patrick Delaunay
Several patches to improve the command stm32prog command. This command is used to program the STMicroelectronics boards with the tools STM32CubeProgrammer and flashlayout file. Patrick Delaunay (8): stm32mp: stm32prog: fix comment stm32mp: stm32prog: add CONFIG_CMD_STM32PROG_OTP stm32mp: st

[PATCH 2/8] stm32mp: stm32prog: add CONFIG_CMD_STM32PROG_OTP

2022-03-28 Thread Patrick Delaunay
Add a configuration flag CONFIG_CMD_STM32PROG_OTP to enable the support of OTP update in stm32prog command. This new configuration allows to deactivate this feature for security reason and it is a preliminary step for support of OPT update with the OP-TEE provisioning TA. Signed-off-by: Patrick D

[PATCH 3/8] stm32mp: stm32prog: add TEE support in stm32prog command

2022-03-28 Thread Patrick Delaunay
When OP-TEE is used, the SMC for BSEC management are not available and the PTA provisioning for OTP must be used. U-Boot opens the session to this PTA and use it for OTP access. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig | 2 +- .../mach-stm32mp/cmd_stm

[PATCH 4/8] stm32mp: stm32prog: add support of STM32IMAGE version 2

2022-03-28 Thread Patrick Delaunay
Add support of new header for the STM32IMAGE version V2 in command stm32prog command for STM32MP13x family. Signed-off-by: Patrick Delaunay --- .../cmd_stm32prog/cmd_stm32prog.c | 8 +- .../mach-stm32mp/cmd_stm32prog/stm32prog.c| 119 -- .../mach-stm32mp/cmd_st

[PATCH 6/8] stm32mp: stm32prog: handle interruption during the first enumeration

2022-03-28 Thread Patrick Delaunay
When an interruption is received during the first USB enumeration used to received the FlashLayout, with handle ctrl-c, the second enumeration is not needed and the result for stm32prog_usb_loop is false (reset is not needed). This patch avoids the need of a second ctrl to interrupt the command st

[PATCH 5/8] stm32mp: stm32prog: add support of UUID for FIP partition

2022-03-28 Thread Patrick Delaunay
Add support of UUID for FIP parttion, required by Firmware update support in TF-A: - UUID TYPE for FIP partition: 19d5df83-11b0-457b-be2c-7559c13142a5 - "fip-a" partition UUID: 4fd84c93-54ef-463f-a7ef-ae25ff887087 - "fip-b" partition UUID: 09c54952-d5bf-45af-acee-335303766fb3 This check is done wi

[PATCH 8/8] stm32mp: stm32prog: handle flashlayout without STM32 image header

2022-03-28 Thread Patrick Delaunay
Accept flashlayout without header in alternate 0, to simplify the support of stm32prog command with dfu-util. By default the flashlayout file size is the size of the received binary, provided with the offset in the DFU alternate. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_st

[PATCH 7/8] stm32mp: stm32prog: handle U-Boot script in flashlayout alternate

2022-03-28 Thread Patrick Delaunay
Update the stm32prog command to allow the reception of U-Boot script in the FlashLayout alternate during the first USB enumeration. This patch is aligned with the last TF-A behavior: the Flashlayout is now loaded by U-Boot; it is no more present at STM32_DDR_BASE when the stm32prog is launched aft

Re: [PATCH] imx: ventana: enable ONFI detection to fix NAND chip configuration

2022-03-28 Thread Tom Rini
On Tue, Mar 22, 2022 at 11:42:49AM -0700, Tim Harvey wrote: > Enable ONFI detection to fix NAND chip configuration. Without this > the NAND oobsize will be wrong which leads to invalid ECC strength and > incompatibility with the previous configuration. > > Fixes: 777f333c375a ("imx: ventana: enab

Re: [PATCH 19/23] video: Support showing the U-Boot logo

2022-03-28 Thread Tim Harvey
On Sun, Mar 27, 2022 at 11:36 PM Simon Glass wrote: > > Hi Tim, > > On Tue, 15 Mar 2022 at 10:14, Tim Harvey wrote: > > > > On Fri, Nov 19, 2021 at 12:28 PM Simon Glass wrote: > > > > > > Show the U-Boot logo by default. This is only 7KB in size so seems like > > > a useful default for boards th

Re: [PATCH 19/23] video: Support showing the U-Boot logo

2022-03-28 Thread Fabio Estevam
Hi Tim, On Mon, Mar 28, 2022 at 3:50 PM Tim Harvey wrote: > Fabio, do you have any imx6 boards that have defconfigs that enable > SPLASH_SCREEN you can see if the same behavior occurs on? The > behavior is that VIDEO_LOGO got enabled by default so you see the > custom splash along with the U-Bo

Re: [PATCH] board: gw_ventana: gsc: fix GSC read/write functions

2022-03-28 Thread Tim Harvey
On Thu, Mar 24, 2022 at 9:04 AM Tim Harvey wrote: > > On Thu, Mar 24, 2022 at 8:59 AM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Thu, Mar 24, 2022 at 12:32 PM Tim Harvey wrote: > > > > > > commit 7c84319af9c7 ("dm: gpio: Correct use of -ENODEV in drivers") > > > changed the return code for

[PATCH] video: Do not show splash and U-Boot logo simultaneously

2022-03-28 Thread Fabio Estevam
From: Fabio Estevam Currently, on imx6sabresd and gwventana boards, the company logo and U-Boot logo are shown. The correct behavior is to show only the company logo, if available, and not both logos. Reported-by: Tim Harvey Signed-off-by: Fabio Estevam --- drivers/video/video-uclass.c | 3 +

Re: [PATCH] video: Do not show splash and U-Boot logo simultaneously

2022-03-28 Thread Tom Rini
On Mon, Mar 28, 2022 at 04:40:36PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, on imx6sabresd and gwventana boards, the company logo > and U-Boot logo are shown. > > The correct behavior is to show only the company logo, if available, > and not both logos. > > Reported-by:

Re: [PATCH] board: gw_ventana: gsc: fix GSC read/write functions

2022-03-28 Thread Fabio Estevam
Hi Tim, On Mon, Mar 28, 2022 at 4:24 PM Tim Harvey wrote: > Any other feedback on this? Regardless of if I2C drivers should return > the same error code as Linux on a NAK, I would like to get this patch > applied to fix the current regression for the upcoming v2022.04. Agreed, let's fix the reg

[PULL] u-boot-socfpga/master

2022-03-28 Thread Marek Vasut
One-liner env fix below. The following changes since commit e893e8ea6a5d3af312747d00f93587559193a426: Prepare v2022.04-rc5 (2022-03-28 10:14:51 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to 25cff0c1fa83e149e469312

Re: [PATCH] video: Do not show splash and U-Boot logo simultaneously

2022-03-28 Thread Tim Harvey
On Mon, Mar 28, 2022 at 12:40 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Currently, on imx6sabresd and gwventana boards, the company logo > and U-Boot logo are shown. > > The correct behavior is to show only the company logo, if available, > and not both logos. > > Reported-by: Tim Harve

Please pull u-boot-video/next

2022-03-28 Thread Anatolij Gustschin
available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-video.git tags/next-20220328 for you to fetch changes up to 60cc4094485bf44b5ad455b51076f0e07f3f793a: video: Drop CONFIG_LCD_BMP_RLE8 (2022-03-28 20:3

[PATCH v8 00/15] image: add a stage pre-load

2022-03-28 Thread Philippe Reynes
This serie adds a stage pre-load before launching an image. This stage is used to read a header before the image and this header contains the signature of the full image. So u-boot may check the full image before using any data of the image. The support of this header is added to binman, and a com

[PATCH v8 02/15] lib: Kconfig: enhance help for ASN1

2022-03-28 Thread Philippe Reynes
Enhance the help for configs ASN1_COMPILER and ASN1_decoder. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- lib/Kconfig | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index 3c6fa99b1a..b0e5d60b3d 100644 --- a/lib/Kconfig

[PATCH v8 01/15] arch: Kconfig: imply BINMAN for SANDBOX

2022-03-28 Thread Philippe Reynes
To be able to use the tool binman on sandbox, the config SANDBOX should imply BINMAN. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- arch/Kconfig | 1 + arch/sandbox/dts/sandbox.dtsi | 3 +++ arch/sandbox/dts/test.dts | 3 +++ test/py

[PATCH v8 03/15] lib: Kconfig: enhance the help of OID_REGISTRY

2022-03-28 Thread Philippe Reynes
Enhance the help for the config OID_REGISTRY. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- lib/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index b0e5d60b3d..e749826f22 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -812,6 +812,10 @@ co

[PATCH v8 04/15] lib: allow to build asn1 decoder and oid registry in SPL

2022-03-28 Thread Philippe Reynes
This commit adds the options: - SPL_ASN1_DECODER - SPL_OID_REGISTRY Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- lib/Kconfig | 19 +++ lib/Makefile | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index e749826f

[PATCH v8 06/15] lib: rsa: allow rsa verify with pkey in SPL

2022-03-28 Thread Philippe Reynes
This commit adds the option SPL_RSA_VERIFY_WITH_PKEY. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- lib/rsa/Kconfig | 19 +++ 1 file changed, 19 insertions(+) diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig index be9775bcce..b773f17c26 100644 --- a/lib/rsa/Kconfig

[PATCH v8 05/15] lib: crypto: allow to build crypyo in SPL

2022-03-28 Thread Philippe Reynes
This commit adds the options: - SPL_ASYMMETRIC_KEY_TYPE - SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE - SPL_RSA_PUBLIC_KEY_PARSER Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- lib/Makefile| 3 ++- lib/crypto/Kconfig | 29 + lib/crypto/Makefile | 19

[PATCH v8 08/15] cmd: bootm: add a stage pre-load

2022-03-28 Thread Philippe Reynes
Add a stage pre-load to the command bootm. Right now, this stage may be used to read a header and check the signature of the full image. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- boot/bootm.c| 33 + cmd/Kconfig | 10 ++ cmd/bootm

[PATCH v8 10/15] mkimage: add public key for image pre-load stage

2022-03-28 Thread Philippe Reynes
This commit enhances mkimage to update the node /image/pre-load/sig with the public key. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- include/image.h| 15 ++ tools/fit_image.c | 3 ++ tools/image-host.c | 114 + 3 files chan

  1   2   >