Re: [PATCH 00/67] upl: Align with the updated spec

2025-01-03 Thread Tom Rini
On Fri, Jan 03, 2025 at 12:45:36PM +1300, Simon Glass wrote: > Hi Tom, > > On Fri, 3 Jan 2025 at 03:44, Tom Rini wrote: > > > > On Thu, Jan 02, 2025 at 11:08:46AM +1300, Simon Glass wrote: > > > > > The current UPL spec[1] has been tidied up and improved over the last > > > year, since U-Boot's o

Re: [PATCH 08/67] x86: Emable meminfo command

2025-01-03 Thread Heinrich Schuchardt
Nits: %s/Emable/Enable/ On 01.01.25 23:08, Simon Glass wrote: Enable this command for x86 boards as it is quite useful for seeing where memory is. Signed-off-by: Simon Glass Enabling the option by default for the sandbox in cmd/Kconfig and for x86 in arch/Kconfig is confusing. Please, use th

Re: [PATCH 13/67] boot: Rename fit_image_get_data()

2025-01-03 Thread Heinrich Schuchardt
On 01.01.25 23:08, Simon Glass wrote: This function can only be used with FITs that use embedded data. Rename it so this is clear. Signed-off-by: Simon Glass Acked-by: Heinrich Schuchardt --- arch/arm/cpu/armv8/sec_firmware.c | 4 ++-- arch/arm/mach-k3/r5/sysfw-loader.c | 2 +- arc

Re: [PATCH] rpi: Add identifiers for the new RPi 5 series

2025-01-03 Thread Matthias Brugger
On 29/12/2024 15:46, Peter Robinson wrote: The Raspberry Pi foundation have released the Raspberry Pi 500, CM5 an CM5 lite devices so add the assoicated revision identifers so we can detect them. Signed-off-by: Peter Robinson Acked-by: Matthias Brugger --- board/raspberrypi/rpi/rpi.c

[PATCH v3 5/5] initcall: remove initcall_run_list()

2025-01-03 Thread Jerome Forissier
Now that all initcalls have been converted to static calls, remove initcall_run_list(). Signed-off-by: Jerome Forissier --- include/initcall.h | 24 --- lib/Makefile | 1 - lib/initcall.c | 102 - 3 files changed, 127 deletions(-)

Re: [PATCH v4 3/5] arm64: dts: rockchip: Add HDMI0 node to rk3588

2025-01-03 Thread Sumit Garg
On Fri, 3 Jan 2025 at 18:02, FUKAUMI Naoki wrote: > > From: Cristian Ciocaltea > > Add support for the HDMI0 output port found on RK3588 SoC. > > Signed-off-by: Cristian Ciocaltea > Link: > https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-1-466cd80e8...@collabora.com > Signed-off-by: Heiko

Re: [PATCH 1/2] efi_loader: efi_setup: Add efi_start_obj_list() to efi_setup.c

2025-01-03 Thread Heinrich Schuchardt
On 06.12.24 18:30, Adriano Cordova wrote: The command bootefi calls efi_init_obj_list to do the efi set up before launching an .efi payload, but efi_init_obj_list is called only once. There are some initializations which depend on the environment and should be done each time a payload gets launch

Re: [PATCH 0/4] efi_loader: enable running the debug UEFI shell

2025-01-03 Thread Simon Glass
Hi Heinrich, On Fri, 3 Jan 2025 at 16:35, Heinrich Schuchardt wrote: > > > > Simon Glass schrieb am Fr., 3. Jan. 2025, 02:40: >> >> Hi Heinrich, >> >> On Fri, 3 Jan 2025 at 07:11, Heinrich Schuchardt >> wrote: >> > >> > Currently running the SCT fails on x86. The EFI shell overrides U-Boot's >>

Re: [PATCH v2 2/2] efi_loader: efi_net: let efi_net_set_dp properly update the device path

2025-01-03 Thread Heinrich Schuchardt
On 06.12.24 18:18, Adriano Cordova wrote: This commit fixes an use after free introduced in Commit e55a4acb54 (" efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget"). The logic in efi_net_set_dp is reworked so that when the function is invoked it not only changes the va

[PATCH 2/3] test: unit tests for strstr() and strnstr()

2025-01-03 Thread Heinrich Schuchardt
Add unit tests for the library functions. Signed-off-by: Heinrich Schuchardt --- lib/string.c | 2 +- test/lib/string.c | 40 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/lib/string.c b/lib/string.c index d5a486fb89d..66aae583940 1

[PATCH 1/3] lib: implement strnstr()

2025-01-03 Thread Heinrich Schuchardt
Implement library function strnstr(). Implement strstr() using strnstr(). Sort the includes. Signed-off-by: Heinrich Schuchardt --- include/linux/string.h | 3 +++ lib/string.c | 49 +- 2 files changed, 37 insertions(+), 15 deletions(-) diff --

[PATCH 0/3] net: use strnstr() for lwip_strnstr()

2025-01-03 Thread Heinrich Schuchardt
Using strstr() instead of strnstr() creates a security concern. * Implement missing library function strnstr() and add unit tests. * Use it for lwIP. Heinrich Schuchardt (3): lib: implement strnstr() test: unit tests for strstr() and strnstr() net: use strnstr() for lwip_strnstr() include

[PATCH 3/3] net: use strnstr() for lwip_strnstr()

2025-01-03 Thread Heinrich Schuchardt
Using strstr() instead of strnstr() creates a security concern. Fixes: 1c41a7afaa15 ("net: lwip: build lwIP") Signed-off-by: Heinrich Schuchardt --- lib/lwip/u-boot/arch/cc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lwip/u-boot/arch/cc.h b/lib/lwip/u-boot/arch/cc.h

Re: [PATCH 2/2] config: efi-x86_payload: Enable DEBUG_UART

2025-01-03 Thread Heinrich Schuchardt
On 1/3/25 17:16, Heinrich Schuchardt wrote: On 28.11.24 04:47, Kever Yang wrote: The efi_stub is useing DEBUG_UART interface by default, Enable it. As Simon already wrote in a code comment the implementation of the EFI stub is broken as it is not hardware agnostic. In the EFI stub we should n

Re: [PATCH 1/2] efi_loader: enable support for file renaming

2025-01-03 Thread Heinrich Schuchardt
On 12.12.24 23:06, Burak Gerz wrote: EFI applications can issue a file rename to U-boot - add support for this Thank you for the patch series. This is a valuable addition. We want to be able to bisect our code git repository. This requires that the code builds after each individual patch. So

Re: [PATCH v1 3/5] phy: qcom: Add SA8775 to QMP UFS PHY driver

2025-01-03 Thread Caleb Connolly
On 03/01/2025 06:14, Varadarajan Narayanan wrote: > Copy PHY tables over from Linux to support SA8775 Please couldd you reference the Linux tag you based this patch on? With that Reviewed-by: Caleb Connolly Kind regards, > > Signed-off-by: Varadarajan Narayanan > --- > .../phy/qcom/phy-qc

Re: [PATCH 1/1] fs: eliminate YAFFS2 implementation

2025-01-03 Thread Tom Rini
On Sat, Jan 04, 2025 at 01:34:02AM +0100, Heinrich Schuchardt wrote: > Upstream development stopped 2012. > Linux eliminated YAFFS2 in 2010. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] fs: eliminate YAFFS2 implementation

2025-01-03 Thread Marek Vasut
On 1/4/25 1:34 AM, Heinrich Schuchardt wrote: Upstream development stopped 2012. Linux eliminated YAFFS2 in 2010. Signed-off-by: Heinrich Schuchardt Reviewed-by: Marek Vasut

Re: [PATCH v3 4/5] board_init_r(): use static calls

2025-01-03 Thread Caleb Connolly
Hi Jerome, On 03/01/2025 12:13, Jerome Forissier wrote: > Replace the init_sequence_r function array by direct calls. > bloat-o-meter stats before/after on u-boot.bin for configuration > xilinx_zynqmp_kria_defconfig are the following: > > - With LTO: > add/remove: 87/128 grow/shrink: 8/23 up/down

[PATCH v5 4/4] rockchip: Add support for Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Radxa ROCK 5C[1] is a Rockchip RK3588S2 based single board computer. [1] https://radxa.com/products/rock5/5c Signed-off-by: FUKAUMI Naoki --- Changes in v5: - None Changes in v4: - ROCK 5A section was removed and most of it rewritten for ROCK 5C - Trivial changes Changes in v3: - Fix compile err

[PATCH v5 3/4] arm64: dts: rockchip: add Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Radxa ROCK 5C is a 8K computer for everything[1] using the Rockchip RK3588S2 chip: - Rockchip RK3588S2 - Quad A76 and Quad A55 CPU - 6 TOPS NPU - up to 32GB LPDDR4x RAM - eMMC / SPI flash connector - Micro SD Card slot - Gigabit ethernet port (supports PoE with add-on PoE HAT) - WiFi6 / BT5.4 - 1x

[PATCH v5 1/4] arm64: dts: rockchip: Split up RK3588's PCIe pinctrls

2025-01-03 Thread FUKAUMI Naoki
From: Sam Edwards These pinctrls manage the low-speed PCIe signals: - CLKREQ#: An output on the RK3588 (both RC or EP modes), used to request that external clock-generation circuitry provide a clock. - PERST#: An input on the RK3588 in EP mode, used to detect a reset signal from the RC. In RC

[PATCH v5 0/4] rockchip: Add support for Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Radxa ROCK 5C is a Rockchip RK3588S2 based single board computer. Changes in v5: - Rebase on top of latest next branch - Drop PATCH 1/5 Cristian Ciocaltea (1): arm64: dts: rockchip: Add HDMI0 node to rk3588 FUKAUMI Naoki (2): arm64: dts: rockchip: add Radxa ROCK 5C rockchip: Add support fo

[PATCH v5 2/4] arm64: dts: rockchip: Add HDMI0 node to rk3588

2025-01-03 Thread FUKAUMI Naoki
From: Cristian Ciocaltea Add support for the HDMI0 output port found on RK3588 SoC. Signed-off-by: Cristian Ciocaltea Link: https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-1-466cd80e8...@collabora.com Signed-off-by: Heiko Stuebner [ upstream commit: d7bb71e69f58c1b3665a9f926bf8d3855111

[PATCH 1/2] tools: mkimage: Add Amlogic Boot Image type

2025-01-03 Thread Jonas Karlman
Add support for creating an Amlogic Boot Image that pass CHK in BL1 on Amlogic AArch64 SoCs. Images can optionally be signed for secure boot scenario, however creation of signed images has not been implemented. Example of how to use it: # Create an amlogic boot image tools/mkimage -T amlimage

[PATCH 2/2] tools: amlimage: Add support for GXBB eMMC header

2025-01-03 Thread Jonas Karlman
GXBB BL1 only tries to read boot image from sector 0 on eMMC and sector 1 on SD-card. GXL and newer read boot image from sector 1 on both eMMC and SD-card. Vendor BL2 have solved the issue with different offsets by considering where BL2 was loaded from to adjust the offset where BL3 is read from.

[PATCH 0/2] tools: mkimage: Add Amlogic Boot Image type

2025-01-03 Thread Jonas Karlman
Add support for creating an Amlogic Boot Image that pass CHK in BL1 on Amlogic AArch64 SoCs. The first patch add the new amlimage type. The second patch add a eMMC relocation workaround that can be used to generate a boot image that can be booted from both eMMC and SD-card on GXBB. The amlimage t

Re: [PATCH] efi_loader: Fix section alignment on EFI binaries

2025-01-03 Thread Heinrich Schuchardt
On 10.12.24 17:01, Ilias Apalodimas wrote: When creating EFI binaries, the alignment of the text section isn't correctly factored in. As a result trying to load signed EFI binaries throws an error with: efi_image_region_add() efi_image_region_add: new region already part of another Image not aut

Re: [PATCH 2/2] fs: fat: Implement FAT file rename

2025-01-03 Thread Heinrich Schuchardt
On 12.12.24 23:06, Burak Gerz wrote: Implement a simple FAT file rename. Signed-off-by: Burak Gerz Please, separate the change into two patches. 1) define fs_rename() 2) implement ffat_rename() --- fs/fat/fat_write.c | 99 ++ fs/fs.c

Re: [PATCH v2 0/5] Static initcalls

2025-01-03 Thread Jerome Forissier
Hi Tom, On 1/1/25 18:55, Tom Rini wrote: > On Wed, Dec 18, 2024 at 04:53:53PM +0100, Jerome Forissier wrote: > >> This series replaces the dynamic initcalls (with function pointers) with >> static calls, and gets rid of initcall_run_list(), init_sequence_f, >> init_sequence_f_r and init_sequence_

Re: [PATCH v2 0/5] Static initcalls

2025-01-03 Thread Jerome Forissier
Hi Simon, On 1/3/25 02:41, Simon Glass wrote: > Hi Jerome, > > On Thu, 2 Jan 2025 at 06:55, Tom Rini wrote: >> >> On Wed, Dec 18, 2024 at 04:53:53PM +0100, Jerome Forissier wrote: >> >>> This series replaces the dynamic initcalls (with function pointers) with >>> static calls, and gets rid of in

Re: [PATCH 06/12] rockchip: rk3399-gru: Include binman generated FIT in u-boot.rom image

2025-01-03 Thread Kever Yang
On 2024/12/13 07:57, Jonas Karlman wrote: The u-boot.rom image contain u-boot.img FIT instead of the FIT generated by binman for the u-boot-rockchip.bin image. Change to include the binman generated FIT for the u-boot.rom image. This change result in TF-A being included and the use sha256 ins

Re: [PATCH 07/12] rockchip: rk3399: Drop common Kconfig options already implied

2025-01-03 Thread Kever Yang
On 2024/12/13 07:57, Jonas Karlman wrote: The last two RK3399 boards, chromebook bob and kevin, have now migraded to use common bss and stack addresses. Cleanup and remove Kconfig options no longer needed in rk3399/Kconfig when all boards now use common bss and stack addresses. Signed-off-by:

Re: [PATCH 11/12] rockchip: rk3399-gru: Include pinctrl and regulators in SPL

2025-01-03 Thread Kever Yang
On 2024/12/13 07:57, Jonas Karlman wrote: Add bootph props and enable related Kconfig options to include vital regulators in SPL. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3399-gru-u-boot.dtsi | 19 +++ configs/chromebook_bo

Re: [PATCH 08/12] rockchip: rk3399-gru: Remove unused nodes from xPL control FDT

2025-01-03 Thread Kever Yang
On 2024/12/13 07:57, Jonas Karlman wrote: The eMMC PHY and SPI flash is not used in all xPL phases. Change to no longer include emmc_phy and spi_flash in all xPL phases. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3399-gru-u-boot.dtsi | 8 +++

Re: [PATCH 09/12] rockchip: rk3399-gru: Enable dcache and signature validation in SPL

2025-01-03 Thread Kever Yang
On 2024/12/13 07:57, Jonas Karlman wrote: With TPL being used to init DRAM, SPL being used to load FIT and the adjusted FIT payload offset it is now possible to increase the size limit of SPL to 256 KB and enable uses of dcache and FIT signature validation. Drop SPL_SYS_DCACHE_OFF=y to enable

Re: [PATCH 10/12] rockchip: rk3399-gru: Use SDMA mode to read from eMMC

2025-01-03 Thread Kever Yang
On 2024/12/13 07:57, Jonas Karlman wrote: Enable use of SDMA mode when reading from eMMC to speed up boot. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever --- configs/chromebook_bob_defconfig | 1 + configs/chromebook_kevin_defconfig | 1 + 2 files changed, 2 in

Re: [PATCH v1] rockchip: use OF_UPSTREAM for rk3036

2025-01-03 Thread Kever Yang
On 2024/12/10 07:45, Johan Jonker wrote: The device tree for rk3036 combined is now available in the /dts/upstream directory. Use imply OF_UPSTREAM to migrate all rk3036 boards. Clean up MAINTAINERS. I would suggest to keep is as-is. This lead to CI build error: $ ./tools/buildman/buildman

Re: [PATCH v3 5/5] rockchip: Add support for Radxa ROCK 5C

2025-01-03 Thread Kever Yang
Hi Naoki, On 2024/12/11 11:39, FUKAUMI Naoki wrote: Radxa ROCK 5C[1] is a Rockchip RK3588S2 based single board computer. [1] https://radxa.com/products/rock5/5c Signed-off-by: FUKAUMI Naoki --- Changes in v3: - fix compile error Changes in v2: - arch/arm/dts/rk3588s-rock-5-u-boot.dtsi: remove

Re: LwIP and multiple network interfaces

2025-01-03 Thread Jerome Forissier
On 1/3/25 02:52, E Shattow wrote: > > > On 1/2/25 17:40, Tom Rini wrote: >> On Thu, Jan 02, 2025 at 05:34:57PM -0800, E Shattow wrote: >> >>> Tom sorry about sending this reply twice, struggle here is with Thunderbird >>> mail UI sometimes hiding "Reply All" and it missed the mail list first t

Re: [PATCH v3 5/5] rockchip: Add support for Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Hi Kever, On 1/3/25 18:57, Kever Yang wrote: Hi Naoki, On 2024/12/11 11:39, FUKAUMI Naoki wrote: Radxa ROCK 5C[1] is a Rockchip RK3588S2 based single board computer. [1] https://radxa.com/products/rock5/5c Signed-off-by: FUKAUMI Naoki --- Changes in v3: - fix compile error Changes in v2: -

[PATCH 02/12] imx: imx93_qsb: switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 2 ++ board/freescale/imx93_qsb/imx93_qsb.env| 29 +++-- configs/imx93_9x9_qsb_defconfig| 2 +- configs/im

[PATCH 01/12] imx: imx93_evk: switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Switch to support BOOTSTD with a bsp bootcmd as fallback. Move the env to imx93_evk.env Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 2 + board/freescale/imx93_evk/imx93_evk.env | 88 ++ configs/imx93_11x11_evk_defconfig

[PATCH 05/12] imx: imx8mp_evk: Switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mp_evk.env. Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 2 ++ board/freescale/imx8mp_evk/imx8mp_evk.env | 57 +++ configs/imx8mp_evk_defconfig

[PATCH 03/12] imx: imx91_evk: switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx9/Kconfig | 2 ++ board/freescale/imx91_evk/imx91_evk.env | 29 ++-- configs/imx91_11x11_evk_defconfig| 2 +- confi

[PATCH 06/12] imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MN-EVK Signed-off-by: Peng Fan --- board/freescale/imx8mn_evk/imx8mn_evk.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/im

[PATCH 00/12] imx9: switch to bootstd for i.MX93/1 EVK/QSB and i.MX8M EVK

2025-01-03 Thread Peng Fan (OSS)
Switch to bootstd for NXP i.MX9/8M boards with a bsp_bootcmd as fallback. Patch 12 not related to bootstd, it is just one addon patch to cleanup CI: https://dev.azure.com/pengfan/uboot-ci/_build/results?buildId=15&view=results Signed-off-by: Peng Fan --- Peng Fan (12): imx: imx93_evk: sw

[PATCH 04/12] imx: imx8mp_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MP-EVK Signed-off-by: Peng Fan --- board/freescale/common/Makefile | 2 +- board/freescale/imx8mp_evk/imx8mp_evk.c | 5 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/board/freescale/common/Makef

[PATCH v3 1/5] common: board: Simplify array with function pointers with CONFIG_IS_ENABLED

2025-01-03 Thread Jerome Forissier
From: Michal Simek Convert all simple cases where current ifdef is used with using CONFIG_IS_ENABLED. The change doesn't have impact on code size and it is only cleaning up description. Checkpatch is reporting issue: space required after that ',' (ctx:VxB) When space is there another warning is

[PATCH v3 4/5] board_init_r(): use static calls

2025-01-03 Thread Jerome Forissier
Replace the init_sequence_r function array by direct calls. bloat-o-meter stats before/after on u-boot.bin for configuration xilinx_zynqmp_kria_defconfig are the following: - With LTO: add/remove: 87/128 grow/shrink: 8/23 up/down: 19743/-20923 (-1180) Total: Before=1067882, After=1066702, chg -0.1

[PATCH v3 2/5] board_init_f(): use static calls

2025-01-03 Thread Jerome Forissier
Make static calls instead of iterating over the init_sequence_f arrays. Tested on a KV260 board (xilinx_zynqmp_kria_defconfig). - With LTO enabled, the code size reported by bloat-o-meter is 1037 bytes less (-0.10%) - With LTO disabled, the code is 193 bytes smaller (-0.02%) - Execution time doe

[PATCH v3 3/5] board_init_f_r(): use static calls

2025-01-03 Thread Jerome Forissier
Replace the init_sequence_f_r function array by direct calls. Signed-off-by: Jerome Forissier --- common/board_f.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index c2446ba344d..bd04a6eedcd 100644 --- a/common/board_

[PATCH v3 0/5] Static initcalls

2025-01-03 Thread Jerome Forissier
This series replaces the dynamic initcalls (with function pointers) with static calls, and gets rid of initcall_run_list(), init_sequence_f, init_sequence_f_r and init_sequence_r. This makes the code simpler and the binary slighlty smaller: -2217 bytes/-0.21 % with LTO enabled and -510 bytes/-0.05

Re: [PATCH v4 1/5] arm64: dts: rockchip: enable PCIe on M.2 E key for Radxa ROCK 5A

2025-01-03 Thread Sumit Garg
Hi FUKAUMI, On Fri, 3 Jan 2025 at 18:02, FUKAUMI Naoki wrote: > > Enable pcie2x1l2 and related combphy/regulator routed to M.2 E key > connector on Radxa ROCK 5A. > > Tested with Radxa Wireless Module A8: > > $ lspci > 0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01) > 0004:

Re: [PATCH v4 2/5] arm64: dts: rockchip: Split up RK3588's PCIe pinctrls

2025-01-03 Thread Sumit Garg
On Fri, 3 Jan 2025 at 18:02, FUKAUMI Naoki wrote: > > From: Sam Edwards > > These pinctrls manage the low-speed PCIe signals: > - CLKREQ#: An output on the RK3588 (both RC or EP modes), used to > request that external clock-generation circuitry provide a clock. > - PERST#: An input on the RK358

Re: [PATCH v2 4/4] efi: add helper functions to insert pmem node for DT fixup

2025-01-03 Thread Heinrich Schuchardt
On 03.12.24 17:36, Sughosh Ganu wrote: The EFI HTTP boot puts the iso installer image at some location in memory which needs to be reserved in the devicetree as persistent memory (pmem). Add helper functions which add this pmem node when the EFI_DT_FIXUP protocol's fixup callback is invoked. Sig

Re: LwIP and multiple network interfaces

2025-01-03 Thread E Shattow
On 1/3/25 02:03, Jerome Forissier wrote: On 1/3/25 02:52, E Shattow wrote: On 1/2/25 17:40, Tom Rini wrote: On Thu, Jan 02, 2025 at 05:34:57PM -0800, E Shattow wrote: Tom sorry about sending this reply twice, struggle here is with Thunderbird mail UI sometimes hiding "Reply All" and it

Re: [PATCH 33/67] x86: Align the SMBIOS table to a 4K boundary

2025-01-03 Thread Heinrich Schuchardt
On 01.01.25 23:09, Simon Glass wrote: This isn't strictly needed, but with UPL we use the reserved-memory nodes to indicate where the SMBIOS table is. Tianocore requires 4KB Nits: %s/4KB/4 KiB/ Cf. https://physics.nist.gov/cuu/Units/binary.html alignment on these regions, so it is easier to

Re: Secure boot on Milk V duo 256

2025-01-03 Thread Waldo Alvarez
Hello Yixun Lan: Thank you for your reply. I was reviewing the source tree and came across some OTP/Efuse code for other boards located at: /drivers/misc For example, I found files like rockchip-efuse.c and sifive-otp.c. I’m still working on understanding how this integrates with the rest of

Re: [PATCH v1 2/5] clk/qcom: add initial clock driver for qcs9100

2025-01-03 Thread neil . armstrong
On 03/01/2025 06:14, Varadarajan Narayanan wrote: Add initial set of clocks and resets for enabling U-Boot on QCS9100 based Ride platforms. Signed-off-by: Varadarajan Narayanan --- drivers/clk/qcom/Kconfig | 8 ++ drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/clock-sa

Re: [PATCH v1 3/5] phy: qcom: Add SA8775 to QMP UFS PHY driver

2025-01-03 Thread neil . armstrong
On 03/01/2025 06:14, Varadarajan Narayanan wrote: Copy PHY tables over from Linux to support SA8775 Signed-off-by: Varadarajan Narayanan --- .../phy/qcom/phy-qcom-qmp-qserdes-com-v5.h| 124 ++ .../phy/qcom/phy-qcom-qmp-qserdes-txrx-v5.h | 231 ++ drivers/phy/qc

Re: [PATCH v1 4/5] qcom_defconfig: enable SA8775P clock driver

2025-01-03 Thread neil . armstrong
On 03/01/2025 06:14, Varadarajan Narayanan wrote: Enable the SA8775P clock driver in the Qualcomm defconfig. Signed-off-by: Varadarajan Narayanan --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index cd94315f17..2

Re: [PATCH v1 1/5] dts: sa8775p-ride-r3-u-boot: add override dtsi

2025-01-03 Thread neil . armstrong
On 03/01/2025 06:14, Varadarajan Narayanan wrote: Add initial support for the QCS9100 (derived from SA8775p) Ride platforms. Define memory layout statically. Signed-off-by: Varadarajan Narayanan --- arch/arm/dts/sa8775p-ride-r3-u-boot.dtsi | 22 ++ arch/arm/dts/sa8775p-ri

[PATCH v4 5/5] rockchip: Add support for Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Radxa ROCK 5C[1] is a Rockchip RK3588S2 based single board computer. [1] https://radxa.com/products/rock5/5c Signed-off-by: FUKAUMI Naoki --- Changes in v4: - ROCK 5A section was removed and most of it rewritten for ROCK 5C - Trivial changes Changes in v3: - Fix compile error Changes in v2: - ar

[PATCH v4 4/5] arm64: dts: rockchip: add Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Radxa ROCK 5C is a 8K computer for everything[1] using the Rockchip RK3588S2 chip: - Rockchip RK3588S2 - Quad A76 and Quad A55 CPU - 6 TOPS NPU - up to 32GB LPDDR4x RAM - eMMC / SPI flash connector - Micro SD Card slot - Gigabit ethernet port (supports PoE with add-on PoE HAT) - WiFi6 / BT5.4 - 1x

[PATCH v4 2/5] arm64: dts: rockchip: Split up RK3588's PCIe pinctrls

2025-01-03 Thread FUKAUMI Naoki
From: Sam Edwards These pinctrls manage the low-speed PCIe signals: - CLKREQ#: An output on the RK3588 (both RC or EP modes), used to request that external clock-generation circuitry provide a clock. - PERST#: An input on the RK3588 in EP mode, used to detect a reset signal from the RC. In RC

[PATCH v4 0/5] rockchip: Add support for Radxa ROCK 5C

2025-01-03 Thread FUKAUMI Naoki
Radxa ROCK 5C is a Rockchip RK3588S2 based single board computer. Cristian Ciocaltea (1): arm64: dts: rockchip: Add HDMI0 node to rk3588 FUKAUMI Naoki (3): arm64: dts: rockchip: enable PCIe on M.2 E key for Radxa ROCK 5A arm64: dts: rockchip: add Radxa ROCK 5C rockchip: Add support for Ra

[PATCH v4 1/5] arm64: dts: rockchip: enable PCIe on M.2 E key for Radxa ROCK 5A

2025-01-03 Thread FUKAUMI Naoki
Enable pcie2x1l2 and related combphy/regulator routed to M.2 E key connector on Radxa ROCK 5A. Tested with Radxa Wireless Module A8: $ lspci 0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01) 0004:41:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.

[PATCH v4 3/5] arm64: dts: rockchip: Add HDMI0 node to rk3588

2025-01-03 Thread FUKAUMI Naoki
From: Cristian Ciocaltea Add support for the HDMI0 output port found on RK3588 SoC. Signed-off-by: Cristian Ciocaltea Link: https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-1-466cd80e8...@collabora.com Signed-off-by: Heiko Stuebner (cherry picked from commit d7bb71e69f58c1b3665a9f926bf8d

Re: [PATCH] efi: Correct ECPT table GUID

2025-01-03 Thread Heinrich Schuchardt
On 1/3/25 09:18, Yang Gang wrote: Refer to UEFI specification 2.10: #define EFI_CONFORMANCE_PROFILES_TABLE_GUID \ { 0x36122546, 0xf7e7, 0x4c8f, \ { 0xbd, 0x9b, 0xeb, 0x85, 0x25, 0xb5, 0x0c, 0x0b }} Dear Gang, Thanks for pointing to this problem. U-Boot provides script scripts/get_ma

Re: [PATCH v4 1/5] arm64: dts: rockchip: enable PCIe on M.2 E key for Radxa ROCK 5A

2025-01-03 Thread FUKAUMI Naoki
Hi Sumit, On 1/3/25 21:53, Sumit Garg wrote: Hi FUKAUMI, On Fri, 3 Jan 2025 at 18:02, FUKAUMI Naoki wrote: Enable pcie2x1l2 and related combphy/regulator routed to M.2 E key connector on Radxa ROCK 5A. Tested with Radxa Wireless Module A8: $ lspci 0004:40:00.0 PCI bridge: Rockchip Electron

Re: [PATCH v4 1/5] arm64: dts: rockchip: enable PCIe on M.2 E key for Radxa ROCK 5A

2025-01-03 Thread Sumit Garg
On Fri, 3 Jan 2025 at 18:28, FUKAUMI Naoki wrote: > > Hi Sumit, > > On 1/3/25 21:53, Sumit Garg wrote: > > Hi FUKAUMI, > > > > On Fri, 3 Jan 2025 at 18:02, FUKAUMI Naoki wrote: > >> > >> Enable pcie2x1l2 and related combphy/regulator routed to M.2 E key > >> connector on Radxa ROCK 5A. > >> > >>

Re: [PATCH 1/2] efi_stub: Sync the debug UART definition like other platform

2025-01-03 Thread Heinrich Schuchardt
On 28.11.24 04:47, Kever Yang wrote: The debug UART interface is available when CONFIG_DEBUG_UART is defined, sync with the other platforms to use the same definition. Signed-off-by: Kever Yang --- lib/efi/efi_stub.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) d

Re: [PATCH 00/67] upl: Align with the updated spec

2025-01-03 Thread Simon Glass
Hi Tom, On Fri, 3 Jan 2025 at 03:44, Tom Rini wrote: > > On Thu, Jan 02, 2025 at 11:08:46AM +1300, Simon Glass wrote: > > > The current UPL spec[1] has been tidied up and improved over the last > > year, since U-Boot's original UPL support was written. > > > > This series addresses various issues

[PATCH] efi: Correct ECPT table GUID

2025-01-03 Thread Yang Gang
Refer to UEFI specification 2.10: #define EFI_CONFORMANCE_PROFILES_TABLE_GUID \ { 0x36122546, 0xf7e7, 0x4c8f, \ { 0xbd, 0x9b, 0xeb, 0x85, 0x25, 0xb5, 0x0c, 0x0b }} Signed-off-by: Yang Gang --- include/efi_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/efi

[PATCH] efi: Correct ECPT table GUID

2025-01-03 Thread Yang Gang
Refer to UEFI specification 2.10: #define EFI_CONFORMANCE_PROFILES_TABLE_GUID \ { 0x36122546, 0xf7e7, 0x4c8f, \ { 0xbd, 0x9b, 0xeb, 0x85, 0x25, 0xb5, 0x0c, 0x0b }} Signed-off-by: Yang Gang --- include/efi_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/efi

Re: [PATCH 2/2] config: efi-x86_payload: Enable DEBUG_UART

2025-01-03 Thread Heinrich Schuchardt
On 28.11.24 04:47, Kever Yang wrote: The efi_stub is useing DEBUG_UART interface by default, Enable it. As Simon already wrote in a code comment the implementation of the EFI stub is broken as it is not hardware agnostic. In the EFI stub we should never directly access hardware. Please, use Si

Re: LwIP and multiple network interfaces

2025-01-03 Thread E Shattow
On 1/3/25 09:58, E Shattow wrote: On 1/3/25 02:03, Jerome Forissier wrote: On 1/3/25 02:52, E Shattow wrote: On 1/2/25 17:40, Tom Rini wrote: On Thu, Jan 02, 2025 at 05:34:57PM -0800, E Shattow wrote: Tom sorry about sending this reply twice, struggle here is with Thunderbird mail UI s

[PATCH 11/12] imx: imx8mq_evk: Switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mq_evk.env Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 2 ++ board/freescale/imx8mq_evk/imx8mq_evk.env | 60 +++ configs/imx8mq_evk_defconfig

[PATCH 10/12] imx: imx8mq_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MQ-EVK Since we are here, clean up the including headers Signed-off-by: Peng Fan --- board/freescale/imx8mq_evk/imx8mq_evk.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/boar

[PATCH 09/12] imx: imx8mm_evk: Switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mm_evk.env Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/Kconfig | 4 ++ board/freescale/imx8mm_evk/imx8mm_evk.env | 67 +++ configs/imx8mm_evk_defconfig

Pull request efi-next-20250104

2025-01-03 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit ec9263b4f15c4cf82eb6a211c67baa6385065b8e: Fix neighbor discovery ethernet address saving (2025-01-01 14:40:04 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-next-20250104 for you

[PATCH 07/12] imx: imx8mn_evk: Switch to BOOTSTD

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Move env to imx8mn_evk.env Switch to support BOOTSTD with a bsp bootcmd as fallback. Signed-off-by: Peng Fan --- board/freescale/imx8mn_evk/imx8mn_evk.env | 67 +++ configs/imx8mn_evk_defconfig | 3 +- include/configs/imx8mn_evk.h

[PATCH 12/12] imx: imx93-11x11-evk: drop duplicated nodes

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan The upstream dts already has the lpi2c2 subnodes, so drop the duplicated ones in u-boot dtsi. Since the adp5585 compatible string changes, update the driver compatible string. i.MX93 11x11 EVK is the only user of the driver as of now, so it is safe to drop legacy compatible string

[PATCH 08/12] imx: imx8mm_evk: Enable dynamic settings to mmcdev and mmcroot

2025-01-03 Thread Peng Fan (OSS)
From: Peng Fan Enable dynamic settings to mmcdev and mmcroot for i.MX8MM-EVK Signed-off-by: Peng Fan --- board/freescale/imx8mm_evk/imx8mm_evk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c index 4c44