Re: [PATCH v2 0/1] meson: Demonstration of using binman to produce the image

2023-04-07 Thread Da Xue
On Wed, Apr 5, 2023 at 2:39 PM Simon Glass wrote: > > Hi Christian, > > On Mon, 3 Apr 2023 at 20:10, Christian Hewitt > wrote: > > > > > On 2 Apr 2023, at 6:41 am, Simon Glass wrote: > > > > > > Hi Mark, > > > > > > On Sun, 2 Apr 2023 at 09:28, Mark Kettenis > > > wrote: > > > > > > > > >

[PATCH v2 2/2] video: sunxi: dw-hdmi: Use DM for HVCC regulator

2023-04-07 Thread Andre Przywara
From: Samuel Holland The HDMI PHY depends on the HVCC supply being enabled. So far we have relied on it being enabled by an earlier firmware stage (SPL or TF-A). Attempt to enable the regulator here, so we can remove that dependency. Signed-off-by: Samuel Holland Signed-off-by: Andre Przywara

[PATCH v2 1/2] video: sunxi: dw-hdmi: Use DM for clock gates and resets

2023-04-07 Thread Andre Przywara
From: Samuel Holland This abstracts away the CCU register layout, which is necessary for supporting new SoCs like H6 with a reorganized CCU. One of the resets is referenced from the PHY node instead of the controller node, so it will have to wait until the PHY code is factored out to a separate

[PATCH v2 0/2] video: sunxi: dw-hdmi: complement partial OF conversion

2023-04-07 Thread Andre Przywara
Out of the initial "video: sunxi: dw-hdmi: Partial OF conversion" series the last two patches have not been merged that, because I had some comments about the proper split between of_to_plat() and probe(). Those two patches are those remaining ones, but with the reset/clocks and power supply

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-07 Thread Simon Glass
Hi Tom, On Sat, 8 Apr 2023 at 09:55, Tom Rini wrote: > > On Sat, Apr 08, 2023 at 09:35:48AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 8 Apr 2023 at 08:22, Tom Rini wrote: > > > > > > On Sat, Apr 08, 2023 at 07:53:10AM +1200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat,

[PATCH] mpc8379erdb: Convert to using DM_SERIAL

2023-04-07 Thread sinan
From: Sinan Akman Convert to DM_SERIAL for mpc8379erdb. Signed-off-by: Sinan Akman --- arch/powerpc/dts/mpc8379erdb.dts | 27 +++ configs/MPC837XERDB_defconfig| 7 ++- include/configs/MPC837XERDB.h| 2 ++ 3 files changed, 35 insertions(+), 1 deletion(-)

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-07 Thread Tom Rini
On Sat, Apr 08, 2023 at 09:35:48AM +1200, Simon Glass wrote: > Hi Tom, > > On Sat, 8 Apr 2023 at 08:22, Tom Rini wrote: > > > > On Sat, Apr 08, 2023 at 07:53:10AM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 8 Apr 2023 at 07:39, Tom Rini wrote: > > > > > > > > On Fri, Apr 07,

Re: [PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 11:31:03PM +0200, Linus Walleij wrote: > On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > > On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote: > > > This adds a simple Northstar "BRCMNS" board to be used with > > > the BCM4709x and BCM5301x chips. > > > > > >

Re: [PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 11:28:49PM +0200, Linus Walleij wrote: > On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > > On Fri, Apr 07, 2023 at 03:40:06PM +0200, Linus Walleij wrote: > > > > > This brings in the main SoC device tree used by the > > > Broadcom Northstar chipset, i.e. BCM4709x and

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-07 Thread Simon Glass
Hi Tom, On Sat, 8 Apr 2023 at 08:22, Tom Rini wrote: > > On Sat, Apr 08, 2023 at 07:53:10AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 8 Apr 2023 at 07:39, Tom Rini wrote: > > > > > > On Fri, Apr 07, 2023 at 10:36:38PM +1200, Simon Glass wrote: > > > > > > > This series converts

[PATCH V2 2/2] ARM: dts: rockchip: rk3588s-u-boot: Add rng node

2023-04-07 Thread Chris Morgan
From: Chris Morgan Add a node for the trng found on RK3588 SoCs. Changes in V2: - None Signed-off-by: Chris Morgan --- arch/arm/dts/rk3588s-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3588s-u-boot.dtsi b/arch/arm/dts/rk3588s-u-boot.dtsi index

[PATCH V2 1/2] rockchip: rng: add trngv1 for rk3588

2023-04-07 Thread Chris Morgan
From: Chris Morgan This adds support for the TRNG found in the RK3588 SoC to the rockchip_rng driver so that it can be used for things such as seeding randomness to Linux. This code was taken wholesale from the Rockchip BSP U-Boot source located here:

[PATCH V2 0/2] Add RK3588 TRNG

2023-04-07 Thread Chris Morgan
From: Chris Morgan Add support for the RK3588 TRNG. The code was taken directly from the Rockchip BSP U-Boot source. Chris Morgan (2): rockchip: rng: add trngv1 for rk3588 ARM: dts: rockchip: rk3588s-u-boot: Add rng node arch/arm/dts/rk3588s-u-boot.dtsi | 6 ++ drivers/rng/Kconfig

Re: [PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-07 Thread Linus Walleij
On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote: > > This adds a simple Northstar "BRCMNS" board to be used with > > the BCM4709x and BCM5301x chips. > > > > The main intention is to use this with the D-Link DIR-890L > > and DIR-885L

Re: [PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-04-07 Thread Linus Walleij
On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote: > On Fri, Apr 07, 2023 at 03:40:06PM +0200, Linus Walleij wrote: > > > This brings in the main SoC device tree used by the > > Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. > > This is taken from the latest Linux kernel. > > > > Cc: Rafał

[v1 1/2] board: mediatek: add Bananapi-R3 devicetree

2023-04-07 Thread Frank Wunderlich
From: Daniel Golle Add board specific devicetree for Bananapi R3 SBC. Signed-off-by: Daniel Golle Signed-off-by: Frank Wunderlich --- taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled the

[v1 2/2] configs: change bpi-r3 to board specific dts and change prompt

2023-04-07 Thread Frank Wunderlich
From: Frank Wunderlich Use own devicetree for the board and change the prompt. Signed-off-by: Frank Wunderlich --- configs/mt7986a_bpir3_emmc_defconfig | 6 +++--- configs/mt7986a_bpir3_sd_defconfig | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[v1 0/2] Add DTS for BPI-R3

2023-04-07 Thread Frank Wunderlich
From: Frank Wunderlich Add board specific devicetree for BananaPi R3. It is taken from openwrt https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-mediatek/patches/430-add-bpi-r3.patch;hb=HEAD only enabled the factory button which was disabled because a HW-bug in rev 1.0

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-07 Thread Tom Rini
On Sat, Apr 08, 2023 at 07:53:10AM +1200, Simon Glass wrote: > Hi Tom, > > On Sat, 8 Apr 2023 at 07:39, Tom Rini wrote: > > > > On Fri, Apr 07, 2023 at 10:36:38PM +1200, Simon Glass wrote: > > > > > This series converts rockchip boards over to use standard boot. It also > > > fixes various

Re: [PATCH] sandbox: video: Fix building without SDL

2023-04-07 Thread Anatolij Gustschin
On Fri, 17 Feb 2023 15:45:47 -0700 Simon Glass s...@chromium.org wrote: > This is currently broken. If SDL is not installed, SANDBOX_SDL becomes > false and build errors are generated, e.g.: > >test/dm/video.c:424: undefined reference to `sandbox_sdl_set_bpp' > > Fix it by making the

Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 10:44:53PM +0300, Ilias Apalodimas wrote: > On Fri, 7 Apr 2023 at 22:39, Tom Rini wrote: > > > > On Sat, Apr 08, 2023 at 06:55:20AM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 6 Apr 2023 at 02:48, Tom Rini wrote: > > > > > > > > On Wed, Apr 05, 2023 at

Re: [PATCH 1/1] pytest: Use --lazy with umount

2023-04-07 Thread Simon Glass
Hi Tom, On Sat, 8 Apr 2023 at 07:46, Tom Rini wrote: > > On Sat, Apr 08, 2023 at 06:55:14AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 8 Apr 2023 at 02:36, Tom Rini wrote: > > > > > > On Fri, Apr 07, 2023 at 05:31:17PM +1200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-07 Thread Simon Glass
Hi Ilias, On Sat, 8 Apr 2023 at 07:45, Ilias Apalodimas wrote: > > On Fri, 7 Apr 2023 at 22:39, Tom Rini wrote: > > > > On Sat, Apr 08, 2023 at 06:55:20AM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 6 Apr 2023 at 02:48, Tom Rini wrote: > > > > > > > > On Wed, Apr 05, 2023 at

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-07 Thread Simon Glass
Hi Tom, On Sat, 8 Apr 2023 at 07:39, Tom Rini wrote: > > On Fri, Apr 07, 2023 at 10:36:38PM +1200, Simon Glass wrote: > > > This series converts rockchip boards over to use standard boot. It also > > fixes various problems which have come up recently, showing differences > > between the current

Please pull u-boot-video

2023-04-07 Thread Anatolij Gustschin
) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-video.git tags/video-20230407 for you to fetch changes up to cc54a924cd28a2d1b0f0035bd7d78532b6bc4ad8: simple_panel: support simple MIPI DSI panels (2023-04-07 19:54:31 +0200

Re: [PATCH 1/2] rockchip: rng: add trngv1 for rk3588

2023-04-07 Thread Chris Morgan
On Thu, Apr 06, 2023 at 08:53:43PM +0200, Heinrich Schuchardt wrote: > > > Am 6. April 2023 18:17:35 MESZ schrieb Chris Morgan : > >From: Chris Morgan > > > >This adds support for the TRNG found in the RK3588 SoC to the > >rockchip_rng driver so that it can be used for things such as > >seeding

[PATCH] rockchip: rk3328: Add support for FriendlyARM NanoPi R2C

2023-04-07 Thread Tianling Shen
The NanoPi R2C is a minor variant of NanoPi R2S with the on-board NIC chip changed from rtl8211e to yt8521s, and otherwise identical to R2S. The device tree is taken from the kernel linux-next branch:

[PULL] u-boot-sh/master_sh/gen4/initial

2023-04-07 Thread Marek Vasut
The following changes since commit b0b77fdf3d7d2c1a5e48c3971a677f14e372c164: Merge tag 'fsl-qoriq-2023-4-6' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq (2023-04-05 22:19:57 -0400) are available in the Git repository at:

Re: [PATCH 1/1] pytest: Use --lazy with umount

2023-04-07 Thread Tom Rini
On Sat, Apr 08, 2023 at 06:55:14AM +1200, Simon Glass wrote: > Hi Tom, > > On Sat, 8 Apr 2023 at 02:36, Tom Rini wrote: > > > > On Fri, Apr 07, 2023 at 05:31:17PM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 6 Apr 2023 at 14:19, Tom Rini wrote: > > > > > > > > Sometimes when

Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-07 Thread Ilias Apalodimas
On Fri, 7 Apr 2023 at 22:39, Tom Rini wrote: > > On Sat, Apr 08, 2023 at 06:55:20AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 6 Apr 2023 at 02:48, Tom Rini wrote: > > > > > > On Wed, Apr 05, 2023 at 05:28:07PM +1200, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue, 4 Apr

Re: [PATCH 08/11] ARM: dts: renesas: Add R8A779F0 S4 DT extras

2023-04-07 Thread Marek Vasut
On 2/28/23 22:34, Marek Vasut wrote: [...] +/ { + soc { + rpc: spi@ee20 { + compatible = "renesas,r8a779f0-rpc-if", "renesas,rcar-gen4-rpc-if"; + reg = <0 0xee20 0 0x200>, <0 0x0800 0 0x0400>; +

Re: [PATCH 6/9] ARM: dts: renesas: Add R8A779G0 V4H DT extras

2023-04-07 Thread Marek Vasut
On 2/28/23 22:37, Marek Vasut wrote: [...] +_clk { + u-boot,dm-pre-reloc; +}; Applied with one-line s@u-boot,dm-pre-reloc@bootph-all@ change .

Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-07 Thread Tom Rini
On Sat, Apr 08, 2023 at 06:55:20AM +1200, Simon Glass wrote: > Hi Tom, > > On Thu, 6 Apr 2023 at 02:48, Tom Rini wrote: > > > > On Wed, Apr 05, 2023 at 05:28:07PM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 4 Apr 2023, 02:17 Tom Rini, wrote: > > > > > > > On Mon, Apr 03, 2023 at

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 10:36:38PM +1200, Simon Glass wrote: > This series converts rockchip boards over to use standard boot. It also > fixes various problems which have come up recently, showing differences > between the current implementation and the distroboot scripts. > > This should get us

Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-07 Thread Tom Rini
On Wed, Apr 05, 2023 at 11:56:59PM +0200, Mark Kettenis wrote: > > Date: Wed, 5 Apr 2023 10:47:59 -0400 > > From: Tom Rini > > > > On Wed, Apr 05, 2023 at 05:28:07PM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 4 Apr 2023, 02:17 Tom Rini, wrote: > > > > > > > On Mon, Apr 03,

Re: [PATCH] boot: vbe_simple: Fix vbe_simple_read_bootflow() dependency

2023-04-07 Thread Simon Glass
Hi Heinrich, On Tue, 4 Apr 2023 at 16:50, Heinrich Schuchardt wrote: > > On 4/3/23 05:40, Bin Meng wrote: > > vbe_simple_read_bootflow() calls vbe_simple_read_bootflow_fw() > > which is only available when BOOTMETH_VBE_SIMPLE_FW is on. > > > > Signed-off-by: Bin Meng > > --- > > > >

Re: [PATCH 1/1] doc: describe our documentation style

2023-04-07 Thread Simon Glass
On Fri, 7 Apr 2023 at 21:28, Heinrich Schuchardt wrote: > > Provide a reference document for the U-Boot documentation style. > > Signed-off-by: Heinrich Schuchardt > --- > doc/develop/docstyle.rst | 29 + > doc/develop/index.rst| 1 + > 2 files changed, 30

Re: [PATCH v5 3/8] bootstd: Support booting EFI where multiple options exist

2023-04-07 Thread Simon Glass
Hi Tom, On Thu, 6 Apr 2023 at 02:48, Tom Rini wrote: > > On Wed, Apr 05, 2023 at 05:28:07PM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 4 Apr 2023, 02:17 Tom Rini, wrote: > > > > > On Mon, Apr 03, 2023 at 12:56:49PM +0300, Ilias Apalodimas wrote: > > > > On Sat, Apr 01, 2023 at

Re: [PATCH v2 1/3] net: dhcp6: Add DHCPv6 (DHCP for IPv6)

2023-04-07 Thread Simon Glass
Hi, On Fri, 7 Apr 2023 at 18:56, wrote: > > From: Sean Edmond > > Adds DHCPv6 protocol to u-boot. > > Allows for address assignement with DHCPv6 4-message exchange > (SOLICIT->ADVERTISE->REQUEST->REPLY). Includes DHCPv6 options > required by RFC 8415. Also adds DHCPv6 options required > for

Re: [PATCH v2 2/3] net: dhcp6: pxe: Add DHCP/PXE commands for IPv6

2023-04-07 Thread Simon Glass
Hi Sean, On Fri, 7 Apr 2023 at 18:56, wrote: > > From: Sean Edmond > > Adds commands to support DHCP and PXE with IPv6. > > New configs added: > - CMD_DHCP6 > - DHCP6_PXE_CLIENTARCH > - DHCP6_PXE_DHCP_OPTION > - DHCP6_ENTERPRISE_ID > > New commands added (when IPv6 is enabled): > - dhcp6 > -

Re: [PATCH v2 3/3] net: dhcp6: Add a sandbox test for dhcp6

2023-04-07 Thread Simon Glass
On Fri, 7 Apr 2023 at 18:56, wrote: > > From: Sean Edmond > > Requires proper environment with DHCP6 server provisioned. > > Signed-off-by: Sean Edmond > --- > configs/sandbox_defconfig | 1 + > test/py/tests/test_net.py | 25 + > 2 files changed, 26 insertions(+)

Re: [PATCH 1/1] pytest: Use --lazy with umount

2023-04-07 Thread Simon Glass
Hi Tom, On Sat, 8 Apr 2023 at 02:36, Tom Rini wrote: > > On Fri, Apr 07, 2023 at 05:31:17PM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 6 Apr 2023 at 14:19, Tom Rini wrote: > > > > > > Sometimes when doing tests on real hardware we sometimes run in to the > > > case where some of

Re: [PATCH 1/1] doc: mention usage of .readthedocs.yml

2023-04-07 Thread Simon Glass
On Fri, 7 Apr 2023 at 21:17, Heinrich Schuchardt wrote: > > Mention that HTML pages are published at https://u-boot.readthedocs.io/ > and that the file .readthedocs.yml controls the build process. > > Signed-off-by: Heinrich Schuchardt > --- > doc/build/documentation.rst | 3 +++ > 1 file

Re: [PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote: > This adds a simple Northstar "BRCMNS" board to be used with > the BCM4709x and BCM5301x chips. > > The main intention is to use this with the D-Link DIR-890L > and DIR-885L routers for loading the kernel into RAM from > NAND memory

Re: [PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 03:40:06PM +0200, Linus Walleij wrote: > This brings in the main SoC device tree used by the > Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. > This is taken from the latest Linux kernel. > > Cc: Rafał Miłecki > Signed-off-by: Linus Walleij To be clear, what

Re: [PULL] u-boot-sh/master_net/phy/prep-cleanup

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 04:50:55PM +0200, Marek Vasut wrote: > The following changes since commit b0b77fdf3d7d2c1a5e48c3971a677f14e372c164: > > Merge tag 'fsl-qoriq-2023-4-6' of > https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq (2023-04-05 > 22:19:57 -0400) > > are available in

Re: [PATCH v4 2/5] mtd: rawnand: nand_base: Handle algorithm selection

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 03:40:05PM +0200, Linus Walleij wrote: > For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the > D-Link DIR-885L and DIR-890L routers, we need to explicitly > select the ECC like this in the device tree: > > nand-ecc-algo = "bch"; > nand-ecc-strength = <1>; >

Re: [PATCH] mmc: fsl_esdhc: Fix enablement of UHS mode

2023-04-07 Thread Fabio Estevam
Hi Peng, On Fri, Apr 7, 2023 at 12:21 AM Peng Fan wrote: > The supports_uhs is as below, so this condition check will never have > UHS_CAPS set even MMC_UHS_SUPPORT selected. This seems not correct fix. Thanks for your review. Should we fix it like this instead? ---

Re: [PATCH 1/1] doc: describe our documentation style

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 11:28:00AM +0200, Heinrich Schuchardt wrote: > Provide a reference document for the U-Boot documentation style. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[PATCH] net: ravb: Add R-Car Gen4 support

2023-04-07 Thread Marek Vasut
From: Hai Pham Add support for R-Car Gen4 SoCs and a matching DT compatible. Reviewed-by: Marek Vasut Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [Marek: Drop SoC specific compatible, use RCAR_64 Kconfig symbol, update commit message] --- Cc: Joe Hershberger Cc: Ramon Fried ---

Re: [PULL] u-boot-sh/master_net/phy/prep-cleanup

2023-04-07 Thread Marek Vasut
On 4/7/23 16:50, Marek Vasut wrote: The following changes since commit b0b77fdf3d7d2c1a5e48c3971a677f14e372c164: Merge tag 'fsl-qoriq-2023-4-6' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq (2023-04-05 22:19:57 -0400) are available in the Git repository at:

[PULL] u-boot-sh/master

2023-04-07 Thread Marek Vasut
The following changes since commit b0b77fdf3d7d2c1a5e48c3971a677f14e372c164: Merge tag 'fsl-qoriq-2023-4-6' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq (2023-04-05 22:19:57 -0400) are available in the Git repository at:

Re: [PATCH] doc: arch: m68k: fix maintainer email

2023-04-07 Thread Tom Rini
On Wed, Apr 05, 2023 at 01:19:03AM +0200, Angelo Dureghello wrote: > Fix email with currently used address. > > Signed-off-by: Angelo Dureghello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RFC PATCH v1] arm: lib: add __gnu_thumb1_case_si

2023-04-07 Thread Tom Rini
On Sat, Apr 01, 2023 at 10:54:39PM +0100, Francis Laniel wrote: > The assembly for __gnu_thumb1_case_si was taken from upstream gcc and adapted > as width suffix was removed for the add instruction [1]. > > Signed-off-by: Francis Laniel > Tested-by: Tony Dinh > [1] >

Re: [PATCH] serial-uclass: drop redundant code in serial_check_stdout()

2023-04-07 Thread Tom Rini
On Wed, Mar 29, 2023 at 09:57:51AM +0200, Rasmus Villemoes wrote: > As the updated comment says, this is already handled by > fdt_path_offset_namelen() itself. > > Signed-off-by: Rasmus Villemoes Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/2] lmb: add max number of region in lmb_dump_region() output

2023-04-07 Thread Tom Rini
On Wed, Mar 22, 2023 at 07:12:26PM +0100, Patrick Delaunay wrote: > Add the max number of region in lmb dump; this patch allows to > check the limit for usage of the LMB regions, memory or reserved. > > Result on STM32MP157C-DK2: > > STM32MP> bdinfo > . > lmb_dump_all: > memory.cnt = 0x1 /

Re: [PATCH v2 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-04-07 Thread Tom Rini
On Wed, Mar 22, 2023 at 07:12:25PM +0100, Patrick Delaunay wrote: > Remove test on CONFIG_LMB_MEMORY_REGIONS introduced by commit > 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb"). > > This code in lmb_init() is strange, because if CONFIG_LMB_USE_MAX_REGIONS > and

Re: [PATCH 2/2] ata: don't use SYS_SCSI_MAX_SCSI_ID for SATA

2023-04-07 Thread Tom Rini
On Sun, Mar 26, 2023 at 06:58:26PM +0200, Heinrich Schuchardt wrote: > CONFIG_SYS_SCSI_MAX_SCSI_ID is not defined if CONFIG_SCSI=n. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] cmd: CONFIG_CMD_SCSI depends on CONFIG_SCSI

2023-04-07 Thread Tom Rini
On Sun, Mar 26, 2023 at 07:10:38PM +0200, Heinrich Schuchardt wrote: > Compiling with CONFIG_CMD_SCSI=y, CONFIG_SCSI results in > > cmd/scsi.c:46: undefined reference to `scsi_scan' > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [PATCH 1/2] ata: fix requirements for CONFIG_AHCI_PCI

2023-04-07 Thread Tom Rini
On Sun, Mar 26, 2023 at 06:58:25PM +0200, Heinrich Schuchardt wrote: > Building with CONFIG_AHCI_PCI=y and CONFIG_SCSI_AHCI=n leads to > > drivers/ata/ahci-pci.o: in function `ahci_pci_probe': > drivers/ata/ahci-pci.c:21: undefined reference to `ahci_probe_scsi_pci' > > Signed-off-by:

Re: [PATCH 1/1] cmd/regulator: missing fallthrough in do_dev()

2023-04-07 Thread Tom Rini
On Sat, Apr 01, 2023 at 10:07:30AM +0200, Heinrich Schuchardt wrote: > Add missing fallthrough macro. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] spi: Kconfig: add dependency on CONFIG_MPC85xx for FSL_ESPI entry

2023-04-07 Thread Tom Rini
On Fri, Mar 24, 2023 at 10:54:19AM +0100, Corentin Guillevic wrote: > The Freescale ESPI driver (CONFIG_FSL_ESPI) relies to the MPC85xx platform > (PowerPC) through arch/powerpc/include/asm/immap_85xx.h. The driver can't > compile on another architecture/platform. > > Signed-off-by: Corentin

Re: [PATCH 1/1] cmd: missing fallthrough macro in do_pci()

2023-04-07 Thread Tom Rini
On Sat, Apr 01, 2023 at 09:43:33AM +0200, Heinrich Schuchardt wrote: > Add a missing fallthrough macro to avoid a -Wimplicit-fallthrough warning. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 1/1] cmd: convert fallthrough comment.

2023-04-07 Thread Tom Rini
On Sat, Apr 01, 2023 at 09:14:11AM +0200, Heinrich Schuchardt wrote: > gcc does not understand /* FALL TROUGH */ and emits a warning: > > cmd/date.c: In function ‘do_date’: > cmd/date.c:62:20: warning: > this statement may fall through [-Wimplicit-fallthrough=] >62 |

Re: [PATCH 1/1] lib: missing fallthrough comment in vsnprintf_internal()

2023-04-07 Thread Tom Rini
On Sat, Apr 01, 2023 at 08:13:42AM +0200, Heinrich Schuchardt wrote: > When a case statement intentionally falls through we should add a comment. > Cf. -Wimplicit-fallthrough > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 1/1] tools: avoid implicit fallthrough in fdt_add_pubkey

2023-04-07 Thread Tom Rini
On Sat, Apr 01, 2023 at 08:09:34AM +0200, Heinrich Schuchardt wrote: > When building with -Wimplicit-fallthrough we get a warning > > tools/fdt_add_pubkey.c:52:25: warning: > this statement may fall through [-Wimplicit-fallthrough=] >52 | print_help(); >

Re: [PATCH v1 1/1] tools: env: use /run to store lockfile

2023-04-07 Thread Tom Rini
On Fri, Feb 10, 2023 at 05:05:39PM +0800, Tim Lee wrote: > According this issue https://github.com/ppp-project/ppp/issues/339. > Eventually, the dt-utils changed lock directory to fix missing /var/lock > directory error then make dt-utils can run normally. > > We also have a similar issue with

Re: [PATCH] cmd: Add 2048 game

2023-04-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 02:33:53PM -0700, Simon Glass wrote: > Add the 2048 game, a good demo of ANSI sequences and a way to waste a > little time. > > Bring it it from Barebox, modified for code style. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v1 0/9] TI TPS6594 PMIC support for multiple TI EVMs

2023-04-07 Thread Tom Rini
On Thu, Apr 06, 2023 at 05:38:11PM +0200, Jerome Neanne wrote: > TPS6594 is a Power Management IC which provides regulators and others > features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and > PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC can > communicate

Re: [PATCH 1/1] pytest: Use --lazy with umount

2023-04-07 Thread Tom Rini
On Fri, Apr 07, 2023 at 05:31:17PM +1200, Simon Glass wrote: > Hi Tom, > > On Thu, 6 Apr 2023 at 14:19, Tom Rini wrote: > > > > Sometimes when doing tests on real hardware we sometimes run in to the > > case where some of these mounts haven't been fully flushed. Using the > > --lazy option with

[PATCH v4 5/5] board: Add new Broadcom Northstar board

2023-04-07 Thread Linus Walleij
This adds a simple Northstar "BRCMNS" board to be used with the BCM4709x and BCM5301x chips. The main intention is to use this with the D-Link DIR-890L and DIR-885L routers for loading the kernel into RAM from NAND memory using the BCH-1 ECC and using the separately submitted SEAMA load command,

[PATCH v4 3/5] arm: dts: Import device tree for Broadcom Northstar

2023-04-07 Thread Linus Walleij
This brings in the main SoC device tree used by the Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x. This is taken from the latest Linux kernel. Cc: Rafał Miłecki Signed-off-by: Linus Walleij --- ChangeLog v3->v4: - No changes ChangeLog v1->v3: - Bundle with the iproc nand and algo

[PATCH v4 4/5] arm: Add support for the Broadcom Northstar SoCs

2023-04-07 Thread Linus Walleij
The original Northstar is an ARM SoC series that comprise BCM4709x and BCM5301x and uses a dual-core Cortex A9, the global timer and a few other things. This series should not be confused with North Star Plus (NSP) which is partly supported by U-Boot already. The SoC is well supported by the

[PATCH v4 2/5] mtd: rawnand: nand_base: Handle algorithm selection

2023-04-07 Thread Linus Walleij
For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the D-Link DIR-885L and DIR-890L routers, we need to explicitly select the ECC like this in the device tree: nand-ecc-algo = "bch"; nand-ecc-strength = <1>; nand-ecc-step-size = <512>; This is handled by the Linux kernel but U-Boot

[PATCH v4 1/5] nand: brcmnand: add iproc support

2023-04-07 Thread Linus Walleij
Add support for the iproc Broadcom NAND controller, used in Northstar SoCs for example. Based on the Linux driver. Cc: Philippe Reynes Cc: Dario Binacchi Acked-by: William Zhang Reviewed-by: Michael Trimarchi Signed-off-by: Linus Walleij --- ChangeLog v3->v4: - No changes ChangeLog v2->v3: -

[PATCH v4 0/5] Add Broadcom Northstar basic support

2023-04-07 Thread Linus Walleij
This adds the device trees and minimal code needed to run U-Boot on Broadcom Northstar SoCs. This is needed to properly boot the D-Link DIR-890L router as it refuse to directly boot compressed kernels bigger than 2MB, and well our compressed kernel is bigger than 2MB so let's put in U-Boot.

[PATCH v2 11/13] DONOTMERGE: arm: dts: k3-j7200: Add TP6594 family PMICs

2023-04-07 Thread Jerome Neanne
Add support for TPS6594 PMIC family devices: - regulators (bucks and LDOs) on WKUP_I2C0 bus, - watchdog on MCU_I2C0 bus. Signed-off-by: Esteban Blanc Signed-off-by: Jerome Neanne --- .../k3-j7200-common-proc-board-u-boot.dtsi| 17 ++ .../arm/dts/k3-j7200-r5-common-proc-board.dts | 56

[PATCH v2 13/13] configs: j721s2_evm: Enable TP6594 PMIC and AVS0

2023-04-07 Thread Jerome Neanne
From: Esteban Blanc Add support for TPS6594 family regulators and watchdog. Add support for AVS0. PMIC is controlled by SoC through I2C interface. Add dm, pmic and regulators commands to allow testing. Signed-off-by: Esteban Blanc Signed-off-by: Jerome Neanne ---

[PATCH v2 12/13] DONOTMERGE: arch: arm: dts: k3-j721s2: Add TPS6594 familly PMICs

2023-04-07 Thread Jerome Neanne
Add support for TPS6594 PMIC family devices: - regulators (bucks and LDOs) on main WKUP_I2C0 bus, - watchdog on MCU_I2C0 bus. Signed-off-by: Esteban Blanc Signed-off-by: Jerome Neanne --- .../k3-j721s2-common-proc-board-u-boot.dtsi | 29 +++-

[PATCH v2 09/13] DONOTMERGE: arm: dts: k3-am62a7-sk: Add TI TPS6593 PMIC support

2023-04-07 Thread Jerome Neanne
Add support for TPS6593 PMIC devices: - regulators (bucks and LDOs) on main I2C0 bus, - watchdog on MCU I2C0 bus. Signed-off-by: Julien Panis Signed-off-by: Jerome Neanne --- arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH v2 10/13] configs: j7200_evm: Enable TP6594 family PMICs

2023-04-07 Thread Jerome Neanne
From: Esteban Blanc Add support for TPS6594 family regulators and watchdog. PMIC is controlled by SoC through I2C interface. Add dm, pmic and regulators commands to allow testing Signed-off-by: Esteban Blanc Signed-off-by: Jerome Neanne --- configs/j7200_evm_a72_defconfig | 8 1

[PATCH v2 08/13] configs: am62ax_evm_a53: Enable support for TI TPS6593 PMIC

2023-04-07 Thread Jerome Neanne
From: Julien Panis Add support for TPS6593 regulators and watchdog. PMIC is controlled by SoC through I2C interface. Signed-off-by: Julien Panis Signed-off-by: Jerome Neanne --- configs/am62ax_evm_a53_defconfig | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH v2 05/13] DONOTMERGE: arm: dts: k3-j721e: u-boot overlay for TI tps6594 PMIC

2023-04-07 Thread Jerome Neanne
j721e board includes 2 instances of TPS6594: - Primary PMIC - Secondary PMIC Add AVS class0 in u-boot SPL. AVS is supported only on CPU rail: vdd_cpu_avs. This rail is supplied by the primary PMIC: tps659413 This rail is supplied by a dual-phased buck: buck12. Other PMICs rails are not AVS

[PATCH v2 07/13] DONOTMERGE: arm: dts: k3-j721e: realign node name on linux dts name

2023-04-07 Thread Jerome Neanne
Change node name to reuse Linux common dts naming style. Signed-off-by: Jerome Neanne --- arch/arm/dts/k3-j721e-r5-common-proc-board-u-boot.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board-u-boot.dtsi

[PATCH v2 06/13] DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux dts tps6594 description

2023-04-07 Thread Jerome Neanne
Use a copy of Linux dts for TPS6594 PMIC description instead of custom u-boot Signed-off-by: Jerome Neanne --- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 48 +-- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/arch/arm/dts/k3-j721e-r5-common-proc-board.dts

[PATCH v2 04/13] board: ti: k3-j721e: Force TPS65941 PMIC WD disable on j721e TI EVM board

2023-04-07 Thread Jerome Neanne
Using uclass_probe_all forces probe on all devices: Only probe for WD stop is really needed here. Probing other devices has no impact. Signed-off-by: Jerome Neanne --- board/ti/j721e/evm.c | 8 1 file changed, 8 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c

[PATCH v2 03/13] configs: j721e_evm: Add support for TPS65941 PMICs on j721e TI EVM board

2023-04-07 Thread Jerome Neanne
Add PMIC and regulators feature support for j721e. PMIC is controlled by SoC through I2C interface. Signed-off-by: Jerome Neanne --- configs/j721e_evm_a72_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig

[PATCH v2 02/13] drivers: regulator: Fixes for TPS65941 LDO voltage conversion

2023-04-07 Thread Jerome Neanne
Fixes: 065a452ae6a power: regulator: tps65941: add regulator support LDO voltage conversion was incorrect. This was checked by writing and reading back value. Signed-off-by: Jerome Neanne --- drivers/power/regulator/tps65941_regulator.c | 71 +--- 1 file changed, 63

[PATCH v2 01/13] drivers: pmic: TPS65941 add support for WD disable

2023-04-07 Thread Jerome Neanne
This is not a proper WD driver because it's not planned to support WD driver for PMIC in u-boot at any time. The purpose is just WD disable. Signed-off-by: Jerome Neanne --- drivers/power/pmic/tps65941.c | 36 +++ include/power/tps65941.h | 25

[PATCH v2 00/13] TI TPS6594 PMIC support for multiple TI EVMs

2023-04-07 Thread Jerome Neanne
TPS6594 is a Power Management IC which provides regulators and others features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC can communicate through the I2C or SPI interfaces. TPS6594 is the super-set device while

Re: [PATCH v2 5/8] usb: dwc3: Add dwc3 glue driver for am62

2023-04-07 Thread Mattijs Korpershoek
On jeu., avril 06, 2023 at 20:55, Sjoerd Simons wrote: > Add glue code for TI AM62 to the dwc3 driver; Most code adopted from > TI vendor u-boot code. > > Signed-off-by: Sjoerd Simons Reviewed-by: Mattijs Korpershoek nitpick (comment typo) below > > --- > > Changes in v2: > - Switch dwc3

Re: [PATCH v3 11/19] android: boot: ramdisk: support vendor ramdisk

2023-04-07 Thread Mattijs Korpershoek
Hi Roman, On ven., avril 07, 2023 at 11:56, Roman Stratiienko wrote: > Hi guys, > > I rebased on uboot/master and all is working for me except for the Thanks a lot for confirming that things work for you. > boot image ramdisk concatenation. > Current memcpy logic overwrites its context.

[PATCH v8 13/13] bootstd: Enable BOOTSTD_DEFAULTS by default

2023-04-07 Thread Simon Glass
This is needed to enable the boot command used to start standard boot. Enable it by default for boards which use BOOTSTD. This brings in quite a few features, mostly in common with DISTRO_DEFAULTS Note: This actually only effects boards which don't have a custom boot command, so there are no

[PATCH v8 12/13] atmel: Disable SPL_EFI_PARTITION for sama5d27_som1_ek_qspiflash

2023-04-07 Thread Simon Glass
This is enabled by BOOT_DEFAULTS but makes SPL too large. Disable it. Signed-off-by: Simon Glass --- (no changes since v7) Changes in v7: - Fix BOOT_DEFAULT typo in commit message Changes in v6: - Add new patch to disable SPL_EFI_PARTITION for sama5d27 board

[PATCH v8 11/13] xilinx: Disable CONFIG_BOOTSTD_DEFAULTS for some xilinx boards

2023-04-07 Thread Simon Glass
Since CONFIG_BOOTSTD_DEFAULTS now selects ENV_VARS_UBOOT_CONFIG we cannot enable it for some Xilinx boards which have a very small environment. Disable it. Signed-off-by: Simon Glass --- (no changes since v6) Changes in v6: - Add new patch to disable CONFIG_BOOTSTD_DEFAULTS for some xilinx

[PATCH v8 09/13] rockchip: Use the same boot_targets for all boards

2023-04-07 Thread Simon Glass
It doesn't really matter if we mention things which are not present. For example, if 'nvme' is included but the board does not support it, it just continues with the next item in the list. It is simpler to use the same target list for all boards, so drop the different one for rk3399.

[PATCH v8 08/13] rockchip: Move to standard boot

2023-04-07 Thread Simon Glass
Drop the distro-boot scripts and use standard boot instead. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Add back BOOT_TARGETS Changes in v3: - Update rk3588 boards too Changes in v2: - Add new patch to move rockchip to standard boot include/configs/px30_common.h

[PATCH v8 07/13] bootstd: Use blk uclass device numbers to set efi bootdev

2023-04-07 Thread Simon Glass
From: Mathew McBride When loading a file from a block device, efiload_read_file was using the seq_num of the device (e.g "35" of virtio_blk#35) instead of the block device id (e.g what you get from running the corresponding device scan command, like "virtio 0") This cause EFI booting from these

[PATCH v8 06/13] bootstd: Adjust code ordering to work around compiler quirk

2023-04-07 Thread Simon Glass
At present when debugging is off, bootdev_find_in_blk() sometimes fails to find a valid bootflow, e.g. with virtio. Accessing the 'blk' variable later in the function seems to correct it. Move the 'ret' check before the debug statement and set the block device again aftewards, to work around

[PATCH v8 05/13] bootstd: Show a message sometimes if no bootflows are found

2023-04-07 Thread Simon Glass
Enable some messages that might provide hints, but only for CMD_BOOTFLOW_FULL since otherwise the -l flag is not available. Signed-off-by: Simon Glass Suggested-by: Tom Rini --- (no changes since v6) Changes in v6: - Add new patch to show a message sometimes if no bootflows are found

  1   2   >