[PATCH 17/17] mmc: rockchip_sdhci: Limit number of blocks read in a single command

2023-04-03 Thread Jonas Karlman
Using DMA to load TF-A into SRAM fails when booting from eMMC on RK3588. ## Checking hash(es) for Image atf-3 ... sha256 error! Bad hash value for 'hash' hash node in 'atf-3' image node spl_load_simple_fit: can't load image loadables index 2 (ret = -1) mmc_load_image_raw_sector: mmc block

[PATCH 16/17] mmc: sdhci: Allow disabling of SDMA in SPL

2023-04-03 Thread Jonas Karlman
From: Peter Geis Rockchip emmc devices have a similar issue to Rockchip dwmmc devices, where performing DMA to SRAM later causes issues with suspend/resume. Allow us to toggle SDMA in SPL for sdhci similar to ADMA support, so we can ensure DMA is not used when loading the SRAM code. Signed-off-

Re: [PATCH v2] netconsole: various improvements

2023-04-03 Thread Tony Dinh
Hi all, I've missed one line of code in bootm.c. +#include So I will resend this patch. Thanks, Tony On Sun, Apr 2, 2023 at 1:31 PM Tony Dinh wrote: > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > stdin/stdout/stder must be set to some primary console, in addtion to n

[RESEND PATCH v2] netconsole: various improvements

2023-04-03 Thread Tony Dinh
Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, stdin/stdout/stder must be set to some primary console, in addtion to nc. For example, stdin=serial,nc. Some recent Linux kernels will not boot with only nc on the stdout list, ie. stdout=nc. When netconsole exits, remove nc from th

[PATCH v3] ARM: dts: imx: Add WDT reboot bindings on DH i.MX6 DHSOM

2023-04-03 Thread Marek Vasut
Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform to reboot via WDT in U-Boot. These are custom U-Boot bindings, hence they are placed in -u-boot.dtsi . Reviewed-by: Fabio Estevam Signed-off-by: Marek Vasut --- Cc: Andreas Geisreiter Cc: Christoph Niedermaier Cc: Fabio Estevam

[PATCH v3] ARM: dts: imx: Add support for Data Modul i.MX8M Plus eDM SBC

2023-04-03 Thread Marek Vasut
Add support for Data Modul i.MX8M Plus eDM SBC board. This is an evaluation board for various custom display units. Currently supported are serial console, ethernet, eMMC, SD, SPI NOR, USB. Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- V2: Rebase on curren

Re: [PATCH 13/17] mmc: rockchip_sdhci: Add support for RK3588

2023-04-03 Thread Philipp Tomsich
On Mon, 3 Apr 2023 at 22:48, Jonas Karlman wrote: > > Add support for RK3588 to the sdhci driver. RK3588 has the inverter flag > in TXCLK reg instead of RXCLK and also make use of a new CMDOUT reg. > Add and use a quirks field to support such quirks. > > Signed-off-by: Jonas Karlman > --- > driv

Re: Binman for RK35xx

2023-04-03 Thread Игорь Зафиевский
Hello! First of all: I have no idea who wrote the original rockchip-u-boot.dtsi, but all the time I've worked with Rockchips SoCs, it;s always been like this : BL31 is provided by Rockchips in form of .elf file, that binman successfully process, and BL32 (AKA OP-TEE) is provided as a pre-compiled

[PULL] u-boot-usb/master

2023-04-03 Thread Marek Vasut
The following changes since commit fd4ed6b7e83ec3aea9a2ce21baea8ca9676f40dd: Prepare v2023.04 (2023-04-03 16:38:50 -0400) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to 7f2347088529693ee13b4ab7e7a27f5a1f617c1f: usb: gadg

Re: [PULL] u-boot-usb/master

2023-04-03 Thread Tom Rini
On Tue, Apr 04, 2023 at 02:11:40AM +0200, Marek Vasut wrote: > The following changes since commit fd4ed6b7e83ec3aea9a2ce21baea8ca9676f40dd: > > Prepare v2023.04 (2023-04-03 16:38:50 -0400) > > are available in the Git repository at: > > git://source.denx.de/u-boot-usb.git master > > for yo

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

2023-04-03 Thread Heinrich Schuchardt
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 --- boot/vbe_simple.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/boot/vbe_

[PATCH 1/1] efi_loader: avoid using HandleProtocol in helloworld.efi

2023-04-03 Thread Heinrich Schuchardt
HandleProtocol() is deprecated and leaves an OpenedProtocolInformation behind. Use OpenProtocol(GET_PROTOCOL) instead. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/helloworld.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/efi_loader/helloworld.c

[PATCH 1/1] efi_loader: avoid using HandleProtocol in initrddump.efi

2023-04-03 Thread Heinrich Schuchardt
HandleProtocol() is deprecated and leaves an OpenedProtocolInformation behind. Use OpenProtocol(GET_PROTOCOL) instead. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/initrddump.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/initrddump.c b/lib/efi

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

2023-04-03 Thread Ilias Apalodimas
Hi Heinrich On Mon, 3 Apr 2023 at 19:31, Heinrich Schuchardt wrote: > > > > Am 3. April 2023 16:17:42 MESZ schrieb Tom Rini : > >On Mon, Apr 03, 2023 at 12:56:49PM +0300, Ilias Apalodimas wrote: > >> On Sat, Apr 01, 2023 at 07:31:49PM +1300, Simon Glass wrote: > >> > Hi Tom, > >> > > >> > On Sat,

<    1   2