Re: [PATCH 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-04-06 Thread Marek Vasut
On 4/6/25 3:02 PM, Lucien.Jheng wrote: Add the driver for the Airoha EN8811H 2.5 Gigabit PHY. The PHY supports 100/1000/2500 Mbps with auto negotiation only. The driver uses two firmware files, for which updated versions are added to linux-firmware already. Based on the Linux upstream 8811 driv

Re: [PATCH 1/2] rng: rockchip_rng: Add compatible for RK3568

2025-04-06 Thread Kever Yang
Hi Jonas,     Please split the change to separate patches, the driver change and the dts change should not submit in one change. Thanks, - Kever On 2025/3/31 05:40, Jonas Karlman wrote: Linux commit afeccc408496 ("arm64: dts: rockchip: add DT entry for RNG to RK356x") merged for v6.12-rc1

Re: [PATCH 00/20] Support for the RK3576

2025-04-06 Thread Kever Yang
Hi Heiko,     Do you have new version for this patch set? Thanks, - Kever On 2024/11/21 22:27, Heiko Stuebner wrote: This adds support for the RK3576 SoC from Rockchip. Currently supported (and tested) features are accessing and reading from sdhci and sdmmc devices as well as pxe-booting vi

Re: [PATCH next 1/3] rockchip: px30: enable RNG for all boards

2025-04-06 Thread Kever Yang
On 2025/1/29 18:43, Quentin Schulz wrote: From: Quentin Schulz I don't see a reason why this should only be enabled on a per-board basis. The rng IP is inside the SoC and doesn't seem to rely on anything external to it, therefore let's enable it on the SoC DTSI and remove the now empty px30-e

Re: [PATCH next 2/3] rockchip: px30: add fdtoverlay_addr_r default value to support FDTO

2025-04-06 Thread Kever Yang
On 2025/1/29 18:43, Quentin Schulz wrote: From: Quentin Schulz In order to be able to use Device Tree Overlays, the fdtoverlay_addr_r needs to be specified. Follow what's been done for other Rockchip SoCs and leave 1MiB for the base DTB before the address for the overlay. Signed-off-by: Que

Re: [PATCH v2 1/2] board: rockchip: Add minimal generic RK3328 board

2025-04-06 Thread Kever Yang
On 2025/3/31 01:20, Jonas Karlman wrote: Add a minimal generic RK3328 board that only have eMMC, SDMMC, SPI flash and USB OTG enabled. This defconfig can be used to boot from eMMC, SD-card or SPI flash on most RK3328 boards that follow reference board design. Signed-off-by: Jonas Karlman Rev

Re: [PATCH] configs: rockchip: sync ENV_MEM_LAYOUT_SETTINGS for px30 to rk3308/etc

2025-04-06 Thread Kever Yang
On 2025/4/1 22:40, Heiko Stuebner wrote: From: Heiko Stuebner Loading a FIT image for kernel, initrd and rootfs on px30 can result in an memory overlap, resulting in the not 100% helpful message of "This will not be a case any time" from lmb_fix_over_lap_regions(). Adding a bit of debug info

Re: [PATCH next 3/3] rockchip: ringneck-px30: enable DT overlay support

2025-04-06 Thread Kever Yang
On 2025/1/29 18:43, Quentin Schulz wrote: From: Quentin Schulz Haikou carrierboard allows multiple adapter boards to be connected, for now there exists the following adapter boards compatible with PX30 Ringneck: - Haikou Video Demo on the Video Connector, - Haikou LVDS 9904379 on the Vide

Re: [PATCH v2 2/2] board: rockchip: Add minimal generic RK3399 board

2025-04-06 Thread Kever Yang
On 2025/3/31 01:20, Jonas Karlman wrote: Add a minimal generic RK3399 board that only have eMMC, SDMMC, SPI flash and USB OTG enabled. This defconfig can be used to boot from eMMC, SD-card or SPI flash on most RK3399 boards that follow reference board design. Signed-off-by: Jonas Karlman Rev

Re: [PATCH] board: rockchip: Add LCKFB TaishanPi RK3566 Board

2025-04-06 Thread Kever Yang
Hi Jiehui,     Please address the comment from  Jonas and update the new version. Thanks, - Kever On 2025/3/10 22:00, jiehui...@foxmail.com wrote: From: Jiehui He The LCKFB TaishanPi is a single-board computer based on the RK3566 SoC. Specification: - 1/2 Gib RAM - Optinal EMMC - SD-Card -

Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-06 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Sun, 6 Apr 2025 07:14:49 +0200 > > Simon Glass schrieb am Sa., 5. Apr. 2025, 22:46: > > > Hi, > > > > On Sat, 5 Apr 2025 at 19:58, Heinrich Schuchardt > > wrote: > > > > > > It has been reported that memory corruption can occurred because network > > > packa

Re: [PATCH 1/3] net: designware: Disable DMA on removal

2025-04-06 Thread Jonas Karlman
Hi Simon, On 2025-04-06 00:12, Simon Glass wrote: > At present, removing the device frees struct dw_eth_dev but does not > disable DMA. When DMA is active, packets can be received even if the > driver is not active. > > While it is possible that the memory used by the struct may remain > untouche

Re: [PATCH 3/3] efi_loader: Move device-removal later in exit-boot-services

2025-04-06 Thread Mark Kettenis
> From: Simon Glass > Date: Sun, 6 Apr 2025 10:12:47 +1200 Hi Simon, > This removal should be the last thing done, so that U-Boot does no more > memory allocations afterwards. Move it and add a comment. I really don't see what problem this is solving. If DMA is stopped before device driver me

Re: [PATCH 2/3] designware: Use the remove() method with related drivers

2025-04-06 Thread Jonas Karlman
Hi Simon, On 2025-04-06 00:12, Simon Glass wrote: > Several drivers make use of the designware Ethernet driver but do not > implement the remove() method. Add this so that DMA is stopped when the > OS is booted to avoid memory corruption, etc. The designware Ethernet driver core should not need t

Re: [PATCH v4 01/10] rockchip: binman: Correct the OS prop for U-Boot

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass The U-Boot image is currently being identified as an invalid OS in spl_fit_image_get_os() due to case sensitive compare. Use the correct lower-case value to fix this. Fixes: e0c0efff2a02 ("rockchip: Support building the all output f

Re: [PATCH v4 04/10] rockchip: binman: Create a template for the FIT

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass Move the FIT description into a template so that it can (later) be used in multiple places in the image. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v4: - Renam

Re: [PATCH v4 02/10] rockchip: binman: Factor out arch and compression

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass Declare arch and compression at the top of the file to avoid needing ifdefs in every usage. Add a few comments to help with the remaining #ifdefs. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang

Re: [PATCH v4 03/10] rockchip: binman: Add an fdtmap

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass Add an fdtmap so it is possible to look at the image with 'binman ls'. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v4: - Split from "VBE serial part H: Implemen

Re: [PATCH v4 05/10] rockchip: binman: Un-indent the FIT template

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass Fix the indentation on the template. This is done in a separate patch so that it is easier to review. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v4: - Split fr

Re: [PATCH v4 06/10] rockchip: binman: Use the FIT template in the SPI image

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass At present simple-bin-spi relies on the u-boot.itb file created by the simple-bin image. Use the template to avoid this, since Binman may change to process images in parallel in the future. Signed-off-by: Simon Glass Signed-off-by:

Re: [PATCH v4 07/10] rockchip: binman: Include a compatible string in each configuration

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass Provide a compatible string in the config nodes that U-Boot can use to help decide which configuration to use. Signed-off-by: Simon Glass Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v4: -

Re: [PATCH] rockchip: io-domain: Enable by default for all supported SoCs

2025-04-06 Thread Kever Yang
Hi Chen-Yu, On 2025/4/1 15:31, Chen-Yu Tsai wrote: On Tue, Apr 1, 2025 at 3:22 PM Anand Moon wrote: Hi Kever, On Tue, 1 Apr 2025 at 09:11, Anand Moon wrote: Hi Kever, On Tue, 1 Apr 2025 at 08:30, Kever Yang wrote: Hi Anand, On 2025/3/30 21:33, Anand Moon wrote: Hi Chen-Yu On Wed, 5 Fe

Re: [PATCH v4 09/10] rockchip: binman: Support use of crc32 for SPL_FIT_SIGNATURE

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: Use of SHA256 checksum validation on ARMv7 SoCs can be very time consuming compared to ARMv8 SoCs with Crypto Extensions. Add support for use of the crc32 hash algo when SHA256 is not supported. Also use a HAS_HASH to simplify the ifdefs when no known h

Re: [PATCH v4 08/10] rockchip: binman: Use the skip-at-start prop in simple-bin image

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: From: Simon Glass The simple-bin image is normally written to MMC media at block 64, which is a 32K offset from start of storage media. Set the skip-at-start property to 0x8000 (32 KiB) so that fdtmap and other embedded binman symbols in the output bi

[PATCH 1/1] net: phy: Add the Airoha EN8811H PHY driver

2025-04-06 Thread Lucien.Jheng
Add the driver for the Airoha EN8811H 2.5 Gigabit PHY. The PHY supports 100/1000/2500 Mbps with auto negotiation only. The driver uses two firmware files, for which updated versions are added to linux-firmware already. Based on the Linux upstream 8811 driver code(air_en8811h.c), I have modified t

Re: [PATCH] arm: mach-k3: j721e: Split out J7200 SoC support from J721e

2025-04-06 Thread Tom Rini
On Wed, 19 Mar 2025 13:54:58 -0500, Andrew Davis wrote: > Currently in j721e_init.c we check which firewalls to remove using > the board configuration (e.g CONFIG_TARGET_J721E_R5_EVM). We do this > as J721e and J7200 have different IP and firewalls but use the same > SoC definition (SOC_K3_J721E)

Re: [PATCH 1/3] arm: mach-k3: Remove undefined Kconfig symbols BOARD and SPL_BOARD

2025-04-06 Thread Tom Rini
On Wed, 19 Mar 2025 14:29:56 -0500, Andrew Davis wrote: > These are not defined nor used, they seem to be leftover or a typo, > remove them. > > Applied to u-boot/next, thanks! [1/3] arm: mach-k3: Remove undefined Kconfig symbols BOARD and SPL_BOARD (no commit info) [2/3] arm: mach-k3: E

Re: [PATCH] arm: mach-k3: k3-ddr.h: Include spl.h

2025-04-06 Thread Tom Rini
On Thu, 20 Mar 2025 11:57:33 +0530, Neha Malcom Francis wrote: > Include spl.h to avoid definition errors in custom builds. > > Applied to u-boot/next, thanks! [1/1] arm: mach-k3: k3-ddr.h: Include spl.h commit: 4ee0d2ecf4e356d9d46a8880f4ce45ead4ce2d4b -- Tom

Re: [PATCH 0/3] Enable MUX_MMIO at SPL stage

2025-04-06 Thread Tom Rini
On Thu, 20 Mar 2025 12:00:01 +0530, Anurag Dutta wrote: > This series enables MUX_MMIO at SPL stage for j7200 and j721e > as it is required for successful hyperflash boot. > > Test logs : > https://gist.github.com/anuragdutta731/b4c79ef8da56d8c50b38d953c9da4d45 > > Anurag Dutta (3): > mux: Kco

Re: [PATCH] arm: dts: k3: Remove leftover file after OF_UPSTREAM

2025-04-06 Thread Tom Rini
On Wed, 19 Mar 2025 10:15:50 -0500, Andrew Davis wrote: > The file k3-am62a7.dtsi is part of upstream DT and should > have been removed when migrating to OF_UPSTREAM but must > have been missed. Do this here. > > Applied to u-boot/next, thanks! [1/1] arm: dts: k3: Remove leftover file after OF

Re: [PATCH v4 10/10] rockchip: Add SPL_PAD_TO Kconfig default value

2025-04-06 Thread Kever Yang
On 2025/3/29 23:06, Jonas Karlman wrote: Almost all Rockchip boards use the same Kconfig value for SPL_PAD_TO, 0x7f8000. Add this value as a default value for ARCH_ROCKCHIP. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- Changes in v4: - New patch This patch do

Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-06 Thread Tom Rini
On Sun, Apr 06, 2025 at 12:01:01PM +0200, Mark Kettenis wrote: > > From: Heinrich Schuchardt > > Date: Sun, 6 Apr 2025 07:14:49 +0200 > > > > Simon Glass schrieb am Sa., 5. Apr. 2025, 22:46: > > > > > Hi, > > > > > > On Sat, 5 Apr 2025 at 19:58, Heinrich Schuchardt > > > wrote: > > > > > > > >

Re: [PATCH] x86: emulation: Disable bloblist for now

2025-04-06 Thread Tom Rini
On Fri, 04 Apr 2025 10:36:17 -0600, Tom Rini wrote: > As reported by Niklas Sombert, enabling bloblist on these platforms > means that we currently don't pass SMBIOS tables on to later stages. For > the v2025.04 release, disable bloblists as that is sufficient to restore > functionality and we wil

Re: [PATCH 2/3] designware: Use the remove() method with related drivers

2025-04-06 Thread Simon Glass
Hi Jonas, On Sun, 6 Apr 2025 at 21:02, Jonas Karlman wrote: > > Hi Simon, > > On 2025-04-06 00:12, Simon Glass wrote: > > Several drivers make use of the designware Ethernet driver but do not > > implement the remove() method. Add this so that DMA is stopped when the > > OS is booted to avoid mem

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-06 Thread Simon Glass
Hi Tom, On Sun, 6 Apr 2025 at 11:23, Tom Rini wrote: > > On Sun, Apr 06, 2025 at 08:46:31AM +1200, Simon Glass wrote: > > (question for Heinrich below) > > > > Hi Tom, > > > > On Sun, 6 Apr 2025 at 02:48, Tom Rini wrote: > > > > > > On Sat, Apr 05, 2025 at 08:40:08AM -0600, Tom Rini wrote: > > >

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-04-06 Thread Simon Glass
Hi Tom, On Fri, 4 Apr 2025 at 03:27, Tom Rini wrote: > > On Thu, Apr 03, 2025 at 12:55:38PM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 3 Apr 2025 at 11:35, Tom Rini wrote: > > > > > > On Thu, Apr 03, 2025 at 08:22:13AM +1300, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Wed,

[PATCH] mach-k3: common_fdt: Fix Label Issue

2025-04-06 Thread Daniel Schultz
Labels are not allowed before declarations. Add a semicolon after the label to introduce an empty statement. This will fix following error: arch/arm/mach-k3/common_fdt.c: In function 'fdt_fixup_reserved': arch/arm/mach-k3/common_fdt.c:156:2: error: a label can only be part of a statement and a de

Re: [PATCH v1 3/3] configs: qcs9100: Enable env in UFS

2025-04-06 Thread Michal Simek
On 4/1/25 10:00, Varadarajan Narayanan wrote: Enable CONFIG_ENV_IS_IN_UFS to store environment variables in UFS. Set env variables partition name as 'ubootenv'. Signed-off-by: Varadarajan Narayanan --- configs/qcs9100_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/confi

Re: [PATCH v2 1/2] board: atmel: sama5d2_wlsom1_ek: Fix spurious serial output

2025-04-06 Thread Eugen Hristev
On 4/4/25 14:39, Fabio Estevam wrote: > From: Fabio Estevam > > Currently, there are always some spurious characters showing up > right before SPL banner is shown: > > RomBOOT > ���=�� > U-Boot SPL 2025.04-rc5-00023-g9ed4e2c45f25 (Apr 03 2025 - 23:23:17 -0300) > Trying to boot from MMC1 >

[PATCH 1/2] acpi: select CONFIG_BLOBLIST

2025-04-06 Thread Heinrich Schuchardt
Since commit 53d5a221632e ("emulation: Use bloblist to hold tables") `make qemu-riscv64_smode_defconfig acpi.config && make` fails with qfw_acpi.c:146:(.text.evt_write_acpi_tables+0xc): undefined reference to `bloblist_add' Build with bloblist support. Fixes: 53d5a221632e ("emulation: Us

[PATCH 2/2] smbios: select CONFIG_BLOBLIST

2025-04-06 Thread Heinrich Schuchardt
Since commit 53d5a221632e ("emulation: Use bloblist to hold tables") `make qemu-riscv64_smode_defconfig acpi.config && make` fails with drivers/misc/qfw_smbios.c:93:(.text.qfw_evt_write_smbios_tables+0xe): undefined reference to `bloblist_add' Build with bloblist support. Fixes: 53d5a221

[PATCH 1/1] buildman: update PyYAML requirement

2025-04-06 Thread Heinrich Schuchardt
On Ubuntu 25.04 installing the dependency pyyaml 6.0 fails with License classifiers are deprecated Update PyYAML to the current release. Signed-off-by: Heinrich Schuchardt --- tools/buildman/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman

RE: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-06 Thread Christoph Niedermaier
From: Michael Walle Sent: Monday, April 7, 2025 7:28 AM > Hi, > > > > > I wouldn't mind printing the pointer for %p[mMI], but %pa prints the > > > > > *content* of the pointer which is really confusing. I.e. in > > > > > pinctrl-single.c the reg value pairs are printed like > > > > > > > > > > d

[PATCH 1/1] doc/buildman: typo 'require'

2025-04-06 Thread Heinrich Schuchardt
%s/require/required/ Signed-off-by: Heinrich Schuchardt --- tools/buildman/buildman.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/buildman.rst b/tools/buildman/buildman.rst index 924564b5700..07ecc5c110c 100644 --- a/tools/buildman/buildman.rst +++ b/tool

[PATCH 0/2] acpi,smbios: select CONFIG_BLOBLIST

2025-04-06 Thread Heinrich Schuchardt
Since commit 53d5a221632e ("emulation: Use bloblist to hold tables") `make qemu-riscv64_smode_defconfig acpi.config` fails. We need to enable CONFIG_BLOBLIST. Heinrich Schuchardt (2): acpi: select CONFIG_BLOBLIST smbios: select CONFIG_BLOBLIST drivers/misc/Kconfig | 1 + lib/Kconfig

[PATCH 0/2] Fix binman_sym functionality on RISC-V port

2025-04-06 Thread Yao Zi
It's found that BINMAN_SYMBOLS_OK always evaluates to false on RISC-V, because our linkerscripts don't define symbol __image_copy_start, on which binman depends for determining the base address of an entry. Binman simply bails out in case of missing the symbol. This series first defaults SPL_BINMA

[PATCH 1/2] spl: riscv: Disable SPL_BINMAN_UBOOT_SYMBOLS by default

2025-04-06 Thread Yao Zi
The default binman configuration of RISC-V wraps proper U-Boot into a FIT image instead of shipping a plain image, thus there's no "u_boot_any" entry by default. Let's disable the option to prevent binman from looking for a plain proper U-Boot image, failing the build with message like Section '

[PATCH 2/2] riscv: Provide __image_copy_{start_end} symbols in linkerscript

2025-04-06 Thread Yao Zi
Binman looks for __image_copy_start to determine the base address of an entry if elf-base-sym isn't specified, which is missing in RISC-V port. This causes binman skips RISC-V SPL entries without filling addresses into its .binman_sym_table section. This patch defines __image_copy_start in linkers

Re: [PATCH 1/3] net: designware: Disable DMA on removal

2025-04-06 Thread Simon Glass
Hi Jonas, On Sun, 6 Apr 2025 at 20:50, Jonas Karlman wrote: > > Hi Simon, > > On 2025-04-06 00:12, Simon Glass wrote: > > At present, removing the device frees struct dw_eth_dev but does not > > disable DMA. When DMA is active, packets can be received even if the > > driver is not active. > > > >

Re: [PATCH 2/3] designware: Use the remove() method with related drivers

2025-04-06 Thread Jonas Karlman
Hi Simon, On 2025-04-06 23:10, Simon Glass wrote: > Hi Jonas, > > On Sun, 6 Apr 2025 at 21:02, Jonas Karlman wrote: >> >> Hi Simon, >> >> On 2025-04-06 00:12, Simon Glass wrote: >>> Several drivers make use of the designware Ethernet driver but do not >>> implement the remove() method. Add this

Re: [PATCH 2/3] designware: Use the remove() method with related drivers

2025-04-06 Thread Simon Glass
Hi Jonas, On Mon, 7 Apr 2025 at 09:36, Jonas Karlman wrote: > > Hi Simon, > > On 2025-04-06 23:10, Simon Glass wrote: > > Hi Jonas, > > > > On Sun, 6 Apr 2025 at 21:02, Jonas Karlman wrote: > >> > >> Hi Simon, > >> > >> On 2025-04-06 00:12, Simon Glass wrote: > >>> Several drivers make use of th

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-06 Thread Simon Glass
Hi Tom, On Sat, 5 Apr 2025 at 06:57, Tom Rini wrote: > > On Sat, Apr 05, 2025 at 06:39:39AM +1300, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 4 Apr 2025 at 11:51, Tom Rini wrote: > > > > > > On Fri, Apr 04, 2025 at 11:41:08AM +1300, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri,

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-06 Thread Simon Glass
Hi Raymond, On Sat, 5 Apr 2025 at 07:09, Raymond Mao wrote: > > Hi Simon, > > On Fri, 4 Apr 2025 at 13:40, Simon Glass wrote: > > > > Hi Raymond, > > > > On Sat, 5 Apr 2025 at 03:49, Raymond Mao wrote: > > > > > > Hi Tom and Simon, > > > > > > On Fri, 28 Mar 2025 at 21:00, Raymond Mao wrote: >

Re: [PATCH v2 6/7] configs: rockchip: Enable ethernet driver on RK356x boards

2025-04-06 Thread Jonas Karlman
Hi Diederik, On 2025-04-06 22:09, Diederik de Haas wrote: > Hi, > > On Thu Jul 11, 2024 at 9:38 PM CEST, Diederik de Haas wrote: >> Some time ago I reported to Jonas privately that I had a problem with >> my Quartz64 Model A and B and that I bisected it to this commit. >> I just verified that the

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-06 Thread Tom Rini
On Mon, Apr 07, 2025 at 10:06:04AM +1200, Simon Glass wrote: > Hi Raymond, > > On Sat, 5 Apr 2025 at 07:09, Raymond Mao wrote: > > > > Hi Simon, > > > > On Fri, 4 Apr 2025 at 13:40, Simon Glass wrote: > > > > > > Hi Raymond, > > > > > > On Sat, 5 Apr 2025 at 03:49, Raymond Mao wrote: > > > > >

Re: [PATCH v2 6/7] configs: rockchip: Enable ethernet driver on RK356x boards

2025-04-06 Thread Diederik de Haas
Hi, On Thu Jul 11, 2024 at 9:38 PM CEST, Diederik de Haas wrote: > Some time ago I reported to Jonas privately that I had a problem with > my Quartz64 Model A and B and that I bisected it to this commit. > I just verified that the problem is still present in 2024.07, so I > guess it's time to repo

Re: [PATCH] tiny-printf: Add support for upper case hex values

2025-04-06 Thread Michael Walle
Hi, > > > > I wouldn't mind printing the pointer for %p[mMI], but %pa prints the > > > > *content* of the pointer which is really confusing. I.e. in > > > > pinctrl-single.c the reg value pairs are printed like > > > > > > > > dev_dbg(dev, "reg/val %pa/0x%08x\n", ®, val); > > > > > > > > with r

Re: [PATCH v2 0/4] Add support for RAM boot from maskrom mode

2025-04-06 Thread Tom Rini
On Sat, Apr 05, 2025 at 06:02:37PM +0200, Mark Kettenis wrote: > > From: Jonas Karlman > > Date: Sat, 5 Apr 2025 15:38:20 + > > > > The BootROM in Rockchip SoCs will enter maskrom mode when boot firmware > > cannot be found in nand/spi/mmc storage. > > > > In maskrom mode the USB OTG port c

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-06 Thread Tom Rini
On Mon, Apr 07, 2025 at 09:12:32AM +1200, Simon Glass wrote: > Hi Tom, > > On Sun, 6 Apr 2025 at 11:23, Tom Rini wrote: > > > > On Sun, Apr 06, 2025 at 08:46:31AM +1200, Simon Glass wrote: > > > (question for Heinrich below) > > > > > > Hi Tom, > > > > > > On Sun, 6 Apr 2025 at 02:48, Tom Rini w

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-06 Thread Tom Rini
On Mon, Apr 07, 2025 at 10:06:07AM +1200, Simon Glass wrote: > Hi Tom, > > On Sat, 5 Apr 2025 at 06:57, Tom Rini wrote: > > > > On Sat, Apr 05, 2025 at 06:39:39AM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 4 Apr 2025 at 11:51, Tom Rini wrote: > > > > > > > > On Fri, Apr 04, 2025

Re: Rate of innovation in the project (Was: Re: Rate of change in the project)

2025-04-06 Thread Tom Rini
On Mon, Apr 07, 2025 at 09:15:42AM +1200, Simon Glass wrote: > Hi Tom, > > On Fri, 4 Apr 2025 at 03:27, Tom Rini wrote: > > > > On Thu, Apr 03, 2025 at 12:55:38PM +1300, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 3 Apr 2025 at 11:35, Tom Rini wrote: > > > > > > > > On Thu, Apr 03, 2025

Re: [PATCH 0/4] bloblist: fdt: Clean up the code

2025-04-06 Thread Simon Glass
Hi Tom, On Mon, 7 Apr 2025 at 10:38, Tom Rini wrote: > > On Mon, Apr 07, 2025 at 10:06:07AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 5 Apr 2025 at 06:57, Tom Rini wrote: > > > > > > On Sat, Apr 05, 2025 at 06:39:39AM +1300, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri,

Re: [PATCH 3/3] efi_loader: Move device-removal later in exit-boot-services

2025-04-06 Thread Simon Glass
Hi Heinrich, On Sun, 6 Apr 2025 at 10:30, Heinrich Schuchardt wrote: > > Am 6. April 2025 00:12:47 MESZ schrieb Simon Glass : > >This removal should be the last thing done, so that U-Boot does no more > >memory allocations afterwards. Move it and add a comment. > > > >Note that the TCG2 log is up

Re: [PATCH v5 00/29] pxe: Precursor series for supporting read_all() in extlinux / PXE

2025-04-06 Thread Simon Glass
Hi Tom, On Mon, 7 Apr 2025 at 10:48, Tom Rini wrote: > > On Mon, Apr 07, 2025 at 09:12:32AM +1200, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 6 Apr 2025 at 11:23, Tom Rini wrote: > > > > > > On Sun, Apr 06, 2025 at 08:46:31AM +1200, Simon Glass wrote: > > > > (question for Heinrich below) >

[PATCH v2 4/4] dm: core: Rename dm_remove_devices_active()

2025-04-06 Thread Simon Glass
This function doesn't have a great name, since we talk of devices being active once they are probed. Rename it to dm_remove_dma_devices(). Signed-off-by: Simon Glass Suggested-by: Jonas Karlman --- (no changes since v1) arch/arm/lib/bootm.c | 4 ++-- arch/riscv/lib/bootm.c|

[PATCH v2 1/4] designware: Use the remove() method with related drivers

2025-04-06 Thread Simon Glass
Several drivers make use of the designware Ethernet driver but do not implement the remove() method. Add this to keep things tidy. Note that the Ethernet uclass calls each driver's stop() method on removal, so there is no need to do that here. Signed-off-by: Simon Glass Reported-by: Christian Ko

[PATCH v2 3/4] efi_loader: Move device-removal later in exit-boot-services

2025-04-06 Thread Simon Glass
This removal should be the last thing done, so that U-Boot does no more memory allocations afterwards, thus avoiding potentially allocating memory which has been freed by a device that fails to de-activate its DMA. Of course, devices should be marked with DM_FLAG_ACTIVE_DMA or DM_FLAG_OS_PREPARE b

[PATCH v2 0/4] dm: net: Assorted patches related to networking and DMA

2025-04-06 Thread Simon Glass
This series collects together a few patches related to U-Boot leaving DMA running when booting. Changes in v2: - Use the designware_eth_remove() method directly - Add gmac_rockchip too - Reword the commit message to mention the uclass' actions - Add a new patch to mark drivers as having active DMA

[PATCH v2 2/4] net: designware: Mark drivers as having active DMA

2025-04-06 Thread Simon Glass
Network devices which use this driver have DMA running while receiving packages. Add the required flag to driver model so that they will be removed before starting the OS. Signed-off-by: Simon Glass --- Changes in v2: - Add a new patch to mark drivers as having active DMA drivers/net/designwar

Re: [PATCH] mbedtls: remove incorrect attribute type checker

2025-04-06 Thread Tom Rini
On Fri, 04 Apr 2025 07:05:25 -0700, Raymond Mao wrote: > S/MIME Capabilities (OID: 1.2.840.113549.1.9.15) attributes are > expected to be algorithms but neither data nor MS Inderect Data, > thus the checker for data type is incorrect. > > This patch fixes a capsule authentication failure with PKC

Re: [PATCH] boot: call dhcp_run in pxe bootmethod

2025-04-06 Thread Tom Rini
On Wed, 02 Apr 2025 23:50:25 +0200, Heiko Stuebner wrote: > A recent change tried to speed up EFI booting by not calling dhcp_run > from eth_bootdev_hunt() every time. PXE so far relied on that dhcp_run > call to get an IP address. > > Fix that by adding a dhcp_run call to the pxe bootflow, with

Re: [PATCH 1/1] efi_loader: stop network in EXIT_BOOT_SERVICES

2025-04-06 Thread Tom Rini
On Sat, 05 Apr 2025 08:58:12 +0200, Heinrich Schuchardt wrote: > It has been reported that memory corruption can occurred because network > packages where received after EXIT_BOOT_SERVICES. See the thread > starting at [1]. > > We try to remove all drivers when EXIT_BOOT_SERVICES is called. But >