Re: [PATCH v2 16/22] sunxi: add R528/T113-s3/D1(s) DRAM initialisation code

2023-10-22 Thread Samuel Holland
Hi Andre, On 10/22/23 17:40, Andre Przywara wrote: > On Sat, 21 Oct 2023 22:52:06 -0500 > Samuel Holland wrote: >> On 9/28/23 16:54, Andre Przywara wrote: >>> The Allwinner R528/T113-s/D1/D1s SoCs all share the same die, so use the >>> same DRAM initialisation code. >>> Make use of prior art here

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Tom Rini
On Mon, Oct 23, 2023 at 12:55:34AM +0200, Heinrich Schuchardt wrote: > On 10/22/23 23:55, Simon Glass wrote: > > Hi, > > > > On Sun, 22 Oct 2023 at 07:59, Tom Rini wrote: > > > > > > On Sun, Oct 22, 2023 at 10:29:22AM -0400, Tom Rini wrote: > > > > On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinr

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Tom Rini
On Sun, Oct 22, 2023 at 02:55:32PM -0700, Simon Glass wrote: > Hi, > > On Sun, 22 Oct 2023 at 07:59, Tom Rini wrote: > > > > On Sun, Oct 22, 2023 at 10:29:22AM -0400, Tom Rini wrote: > > > On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinrich Schuchardt wrote: > > > > On 10/21/23 20:26, Tom Rini wro

[PATCH v2 1/1] sandbox: eliminate unused functions from binaries

2023-10-22 Thread Heinrich Schuchardt
The sandbox should closely mimic other architectures. Place each function or data in a separate section and let the linker eliminate unused ones. This will reduce the binary size. In the linker script mark that u_boot_sandbox_getopt are to be kept. Signed-off-by: Heinrich Schuchardt --- v2:

Re: [PATCH 1/1] sandbox: eliminate unused functions from binaries

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 08:29, Heinrich Schuchardt wrote: The sandbox should closely mimic other architectures. Place each function or data in a separate section and let the linker eliminate unused ones. This will reduce the binary size. Signed-off-by: Heinrich Schuchardt --- arch/sandbox/config.mk | 4

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 23:55, Simon Glass wrote: Hi, On Sun, 22 Oct 2023 at 07:59, Tom Rini wrote: On Sun, Oct 22, 2023 at 10:29:22AM -0400, Tom Rini wrote: On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinrich Schuchardt wrote: On 10/21/23 20:26, Tom Rini wrote: On Sat, Oct 21, 2023 at 08:43:08AM -0700

Re: [PATCH v2 16/22] sunxi: add R528/T113-s3/D1(s) DRAM initialisation code

2023-10-22 Thread Andre Przywara
On Sat, 21 Oct 2023 22:52:06 -0500 Samuel Holland wrote: Hi Samuel, > On 9/28/23 16:54, Andre Przywara wrote: > > The Allwinner R528/T113-s/D1/D1s SoCs all share the same die, so use the > > same DRAM initialisation code. > > Make use of prior art here and lift some code from awboot[1], which >

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Simon Glass
Hi, On Sun, 22 Oct 2023 at 07:59, Tom Rini wrote: > > On Sun, Oct 22, 2023 at 10:29:22AM -0400, Tom Rini wrote: > > On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinrich Schuchardt wrote: > > > On 10/21/23 20:26, Tom Rini wrote: > > > > On Sat, Oct 21, 2023 at 08:43:08AM -0700, Simon Glass wrote: >

[PATCH] mmc: tmio: Disable 1/1024 clock divider on Renesas R-Car platforms

2023-10-22 Thread Marek Vasut
The R-Car Gen3 SD_CLK_CTRL register does not use BIT(16) to implement divider 1/1024, instead BIT(16) is reserved bit and divider 1/1024 is not supported. The divider 1/1024 is specific to Socionext variant of the IP, as is indicated by Linux commit: 0196c8db8363 ("mmc: tmio: move tmio_mmc_set_clo

Re: [PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 19:08, Tom Rini wrote: On Sun, Oct 22, 2023 at 06:34:08PM +0200, Heinrich Schuchardt wrote: On 10/22/23 17:55, Tom Rini wrote: On Sun, Oct 22, 2023 at 10:47:33AM +0200, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is sometimes missing.

Re: When do we merge bug fixes and new functionality

2023-10-22 Thread Tony Dinh
Hi Tom, Simon, Stefan, On Tue, Oct 10, 2023 at 12:14 AM Tony Dinh wrote: > > Hi Tom, Simon, Stefan, > > I have a few people waiting for these patches to get merged. So I hope > you don't mind (I'm not sure about the merging schedule), I'd bug you > guys about these patches. Wondering if these wil

[PATCH v2] iot2050: Allow for more than 1 USB storage device

2023-10-22 Thread Jan Kiszka
From: Jan Kiszka This was lost in refactoring while some users of the IOT2050 expect it to work: Make sure that up to 3 USB storage devices are probed. Fixes: 53873974a4b0 ("include: armv7: Enable distroboot across all configs") Signed-off-by: Jan Kiszka Reviewed-by: Heinrich Schuchardt --- C

Re: [PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Tom Rini
On Sun, Oct 22, 2023 at 06:34:08PM +0200, Heinrich Schuchardt wrote: > On 10/22/23 17:55, Tom Rini wrote: > > On Sun, Oct 22, 2023 at 10:47:33AM +0200, Heinrich Schuchardt wrote: > > > > > Forward and backward compatibility of Linux kernel device-trees is > > > sometimes missing. One solution appr

Re: [PATCH] iot2050: Allow for more than 1 USB storage device

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 17:18, Jan Kiszka wrote: From: Jan Kiszka This was lost via 53873974a4b0 while some users of the IOT2050 expect it to work: Make sure that up to 3 USB storage devices are probed. Fixes: 53873974a4b0 ("include: armv7: Enable distroboot across all configs") Signed-off-by: Jan Kis

Re: [PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Heinrich Schuchardt
On 10/22/23 17:55, Tom Rini wrote: On Sun, Oct 22, 2023 at 10:47:33AM +0200, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is sometimes missing. One solution approach is to load a kernel specific device-tree. This can either be done via a U-Boot scri

Re: [PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Tom Rini
On Sun, Oct 22, 2023 at 10:47:33AM +0200, Heinrich Schuchardt wrote: > Forward and backward compatibility of Linux kernel device-trees is > sometimes missing. One solution approach is to load a kernel specific > device-tree. This can either be done via a U-Boot scripts (like the one > generated by

[PATCH] iot2050: Allow for more than 1 USB storage device

2023-10-22 Thread Jan Kiszka
From: Jan Kiszka This was lost via 53873974a4b0 while some users of the IOT2050 expect it to work: Make sure that up to 3 USB storage devices are probed. Signed-off-by: Jan Kiszka --- include/configs/iot2050.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/iot2050

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Tom Rini
On Sun, Oct 22, 2023 at 10:29:22AM -0400, Tom Rini wrote: > On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinrich Schuchardt wrote: > > On 10/21/23 20:26, Tom Rini wrote: > > > On Sat, Oct 21, 2023 at 08:43:08AM -0700, Simon Glass wrote: > > > > Hi, > > > > > > > > On Thu, 19 Oct 2023 at 17:30, AKASH

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-22 Thread Tom Rini
On Sun, Oct 22, 2023 at 08:08:11AM +0200, Heinrich Schuchardt wrote: > On 10/21/23 20:26, Tom Rini wrote: > > On Sat, Oct 21, 2023 at 08:43:08AM -0700, Simon Glass wrote: > > > Hi, > > > > > > On Thu, 19 Oct 2023 at 17:30, AKASHI Takahiro > > > wrote: > > > > > > > > On Thu, Oct 19, 2023 at 08:0

[PATCH v3 1/1] efi_loader: expose the device-tree file name

2023-10-22 Thread Heinrich Schuchardt
Forward and backward compatibility of Linux kernel device-trees is sometimes missing. One solution approach is to load a kernel specific device-tree. This can either be done via a U-Boot scripts (like the one generated by Debian package flash-kernel or by a boot loader like GRUB. The boot loader ap