[PATCH 1/1] doc: correct link to QEMU

2025-05-08 Thread Heinrich Schuchardt
%s/hhttps:/https:/ Signed-off-by: Heinrich Schuchardt --- doc/develop/bootstd/qfw.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/develop/bootstd/qfw.rst b/doc/develop/bootstd/qfw.rst index 70086ad1817..fdc3ff71619 100644 --- a/doc/develop/bootstd/qfw.rst +++ b/doc/de

Re: [PATCH 3/3] wip: binman: Move processing after templates

2025-05-08 Thread Moteen Shah
Hey Simon, A gentle ping on this. Regards, Moteen On 28/04/25 16:53, Moteen Shah wrote: Hey Simon, Thanks for the suggestions and review. On 23/04/25 17:59, Simon Glass wrote: Do the bootph processing after templates are handled, since templates can change the tree structure quite a bit. Als

Re: [PATCH v2 4/7] arm: dts: k3-{j721s2/j784s4}-binman: Pack HSM firmware inside tispl.bin

2025-05-08 Thread Beleswar Prasad Padhi
Hi Andrew, On 08/05/25 20:58, Andrew Davis wrote: > On 5/8/25 10:03 AM, Beleswar Prasad Padhi wrote: >> >> On 5/8/2025 5:29 PM, Anshul Dalal wrote: >>> On Wed May 7, 2025 at 8:53 PM IST, Andrew Davis wrote: On 5/7/25 9:56 AM, Beleswar Prasad Padhi wrote: > On 5/7/2025 3:09 PM, Anshul Dala

Re: [PATCH 0/2] *** boot: Add Kconfig options for script-based boot parameters ***

2025-05-08 Thread Wadim Egorov
On 5/8/25 10:32 PM, Tom Rini wrote: On Thu, May 08, 2025 at 03:16:39PM +0200, Wadim Egorov wrote: This series introduces new Kconfig options to configure default environment variables used in script-based boot scenarios. Specifically, it allows setting the following standard boot environment

[PATCH] imx95_evk: enable PCI early

2025-05-08 Thread Fabio Estevam
From: Tim Harvey Enable PCI early as the NETC device is an PCI ECAM device. Signed-off-by: Tim Harvey Signed-off-by: Fabio Estevam --- Resending because the original patch does not appear in patchwork or lore. configs/imx95_19x19_evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --gi

Re: [PATCH 0/7] rockchip: Add boot from USB OTG port

2025-05-08 Thread FUKAUMI Naoki
Hi Kever Yang, On 5/8/25 12:43, Kever Yang wrote: Hi Arnaud, On 2025/5/7 23:31, Arnaud Patard wrote: Hi, On Tue, 2025-05-06 at 15:53 +0800, Kever Yang wrote: Hi Naoki, On 2025/2/11 13:33, FUKAUMI Naoki wrote: This patch series adds the ability to boot from the USB OTG port to the RK3588, R

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

2025-05-08 Thread FUKAUMI Naoki
Hi Kever Yang, On 5/8/25 12:06, Kever Yang wrote: Hi Jonas,     Thanks for your patch, and the ramboot with usb download do help bootloader developers. On 2025/4/5 23:38, Jonas Karlman wrote: The BootROM in Rockchip SoCs will enter maskrom mode when boot firmware cannot be found in nand/s

Re: Odroid n2+ usb broken on reboot

2025-05-08 Thread Wayne Schroeder
I actually already have a working solution that I documented in my github repo (dubschro/odroid-n2). All I do is set BOOTCOMMAND to check/delete a flag file on my boot partition and if it is found, then reset usb and sleep for 10 seconds. I then have a systemd shutdown script only on reboot to to

Re: [PATCH 1/1] doc: RISC-V supports semihosting

2025-05-08 Thread Sean Anderson
Hi Heinrich, On 5/7/25 00:17, Heinrich Schuchardt wrote: > Mention that RISC-V supports semihosting. > > Update SPDX identifier to current format. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/semihosting.rst | 21 - > 1 file changed, 12 insertions(+), 9 deletion

[PATCH 1/1] cmd: ximg: handle Z_BUF_ERROR explicitly in GZIP decompression

2025-05-08 Thread Aristo Chen
When decompressing GZIP-compressed image parts via the `imxtract` command, explicitly handle the `Z_BUF_ERROR` return value from `gunzip()` to provide a clearer diagnostic. This error typically indicates that the destination buffer is too small to hold the uncompressed data. Signed-off-by: Aristo

Re: [PATCH v2] smbios: add support for type 9 system slot

2025-05-08 Thread Heinrich Schuchardt
Am 8. Mai 2025 16:10:33 MESZ schrieb Raymond Mao : >Implement SMBIOS Type 9 (System Slot). >SMBIOS library will look for a subnode "system-slot" under >"smbios" to construct the data of Type 9. >[1] is an example for the expected pattern of "system-slot". > The value of type 9 information comes w

[PATCH 3/3] doc: pytest: Document the test_button test

2025-05-08 Thread Tom Rini
Add this test to the documentation. No changes to the test itself were required. Signed-off-by: Tom Rini --- Cc: Heinrich Schuchardt Cc: Simon Glass --- doc/develop/pytest/index.rst | 1 + doc/develop/pytest/test_button.rst | 8 test/py/tests/test_button.py | 2 ++ 3 files

[PATCH 2/3] doc: pytest: Document the test_bootmenu test

2025-05-08 Thread Tom Rini
Add this test to the documentation. There was already a function comment that included the argument, so convert it to the right style to be rendered correctly in output. Signed-off-by: Tom Rini --- Cc: Heinrich Schuchardt Cc: Simon Glass --- doc/develop/pytest/index.rst | 1 + doc/deve

[PATCH 1/3] doc: pytest: Document the test_bind test

2025-05-08 Thread Tom Rini
Add this test to the documentation. None of the functions had comments, so attempt to explain what each does. Signed-off-by: Tom Rini --- Cc: Heinrich Schuchardt Cc: Simon Glass --- doc/develop/pytest/index.rst | 1 + doc/develop/pytest/test_bind.rst | 8 test/py/tests/test_bind

[PATCH 0/3] doc: Document remaining test_b* tests

2025-05-08 Thread Tom Rini
Hey all, This short series is a follow-up to my last series. It could have been longer, but I think this is a good point to get some feedback on a few points. As background, something I wondered about and the answer seems to be No is, can we automatically take things like: @pytest.mark.buildconfi

[PATCH 01/10] arm: mach-stm32: stm32h7: add initial lowlevel early function

2025-05-08 Thread Johannes Krottmayer
Add new assembly function 'arch_very_early_init' This functions setups the power supply for STM32H7 SoC's to direct SMPS mode, which is required for some boards like the STM32H747I-DISCO in the default configuration. If this isn't done in an early stage it cause a deadlock and also the SoC is run

[PATCH 07/10] include: configs: add STM32H747 discovery board

2025-05-08 Thread Johannes Krottmayer
Add initial support for the STM32H747 discovery board. The header is copied and modified from the STM32H743 discovery board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- include/configs/stm32h747-disco.h | 37 +++ 1 file changed, 3

[PATCH 03/10] arm: mach-stm32: stm32h7: add STM32H747-DISCO board

2025-05-08 Thread Johannes Krottmayer
Add initial support for the STM32H747-DISCO board in Kconfig. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/mach-stm32/stm32h7/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-stm32/stm32h7/Kconfig b/arch/arm/mach-stm32/

[PATCH 09/10] dts: upstream: arm: st: add STM32H747 discovery board

2025-05-08 Thread Johannes Krottmayer
Add initial device tree for the STM32H747 discovery board. Copied from the STM32H743 discovery board and modified for the STM32H747 discovery board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- dts/upstream/src/arm/st/stm32h747i-disco.dts | 115 ++

[PATCH 10/10] dts: upstream: arm: st: stm32h7-pinctrl: change pins for USART1

2025-05-08 Thread Johannes Krottmayer
The pins for USART1 have must be changed to other values, to support the STM32H747 discovery board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- dts/upstream/src/arm/st/stm32h7-pinctrl.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 08/10] arm: dts: add STM32H747 discovery board

2025-05-08 Thread Johannes Krottmayer
Add initial support for the STM32H747 discovery baord. Copied from the STM32H743 discovery board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/dts/stm32h747i-disco-u-boot.dtsi | 101 ++ 1 file changed, 101 insertions(+) create mo

[PATCH 06/10] configs: add STM32H747 discovery board

2025-05-08 Thread Johannes Krottmayer
Add initial support for the STM32H747 discovery board. The configuration is copied and modified from the STM32H743 discovery board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- configs/stm32h747-disco_defconfig | 35 +++ 1 file cha

[PATCH 04/10] arm: mach-stm32: add stm32h7 subdirectory

2025-05-08 Thread Johannes Krottmayer
Add 'stm32h7' subdirectory to main Makefile. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/mach-stm32/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-stm32/Makefile b/arch/arm/mach-stm32/Makefile index 03d535d8148..8af4943

[PATCH 05/10] board: st: add STM32H747 discovery board

2025-05-08 Thread Johannes Krottmayer
The code was copied from the STM32H743 discovery board and modified for the STM32H747 discovery board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- board/st/stm32h747-disco/Kconfig | 15 board/st/stm32h747-disco/MAINTAINERS | 8

[PATCH 02/10] arm: mach-stm32: stm32h7: add initial Makefile

2025-05-08 Thread Johannes Krottmayer
Add initial Makefile for the STM32H7 series: Currently it includes only one additional assembly source file which is required for the STM32H747I-DISCO board. Signed-off-by: Johannes Krottmayer Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/mach-stm32/stm32h7/Makefile | 6 ++ 1 file

[PATCH 00/10] add STM32H747 discovery board

2025-05-08 Thread Johannes Krottmayer
These patch series adds support for the STM32H747 discovery board from STMicroelectronics. Johannes Krottmayer (10): arm: mach-stm32: stm32h7: add initial lowlevel early function arm: mach-stm32: stm32h7: add initial Makefile arm: mach-stm32: stm32h7: add STM32H747-DISCO board arm: mach-st

Re: [PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros

2025-05-08 Thread Tom Rini
On Thu, May 08, 2025 at 07:00:28PM +, Johannes Krottmayer wrote: > Since GNU binutils version 2.44, assembly functions must include > the assembler directive .type name, %function. If not a call to > these functions fails with the error message 'Unknown destination > type (ARM/Thumb)' and the

Re: [PATCH 0/2] *** boot: Add Kconfig options for script-based boot parameters ***

2025-05-08 Thread Tom Rini
On Thu, May 08, 2025 at 03:16:39PM +0200, Wadim Egorov wrote: > This series introduces new Kconfig options to configure default environment > variables used in script-based boot scenarios. Specifically, it allows > setting the following standard boot environment variables: > > - boot_script_dhcp

Re: [PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros

2025-05-08 Thread Tom Rini
On Thu, May 08, 2025 at 07:09:33PM +, Johannes Krottmayer wrote: > Hi Tom! > > I have tested the patch on real hardware and it works. But have > must add an additional board which is currently not in the U-Boot > tree from STMicroelectronis. Maybe I will release a patch series > too. OK, tha

Re: [PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros

2025-05-08 Thread Johannes Krottmayer
Hi Tom! I have tested the patch on real hardware and it works. But have must add an additional board which is currently not in the U-Boot tree from STMicroelectronis. Maybe I will release a patch series too. On 5/8/25 21:00, Johannes Krottmayer wrote: > Since GNU binutils version 2.44, assembly f

[PATCH v2 2/3] efi_loader: fix dtbdump output color and format

2025-05-08 Thread Adriano Cordova
Imitate in dtbdump what initrddump does for color, newlines and input handling. The output parsing in the CI is strict and with the current output the CI is not recongnizing the prompt '=>'. Signed-off-by: Adriano Cordova Reviewed-by: Heinrich Schuchardt --- (no changes since v1) lib/efi_load

[PATCH v2 3/3] test/py/test_efi_fit: test fdt and initrd

2025-05-08 Thread Adriano Cordova
Add tests to check initrd and dtb loading Signed-off-by: Adriano Cordova --- Changes in v2: - provide a commit message test/py/tests/test_efi_fit.py | 156 +++--- 1 file changed, 124 insertions(+), 32 deletions(-) diff --git a/test/py/tests/test_efi_fit.py b/te

[PATCH v2 1/1] arm: cpu: armv7m: add ENTRY/ENDPROC macros

2025-05-08 Thread Johannes Krottmayer
Since GNU binutils version 2.44, assembly functions must include the assembler directive .type name, %function. If not a call to these functions fails with the error message 'Unknown destination type (ARM/Thumb)' and the error message 'dangerous relocation: unsupported relocation' at linking. The

[PATCH v2 1/3] scripts/Makefile.lib: add PLATFORM_LIBS to efi linking

2025-05-08 Thread Adriano Cordova
Link .efi applications using libgcc Signed-off-by: Adriano Cordova --- changes in v2: - Address the root of the problem. In v1 I was modifying printx in initrddump.efi not to generate __lshrdi3 instructions, but a better fix is to provide those instructions with libgcc scripts/

[PATCH v2 0/3] efi_loader: test EFI booting FIT images with initrd and dtb

2025-05-08 Thread Adriano Cordova
Test booting a FIT image with an EFI kernel and either a dtb or an initrd. For this, some changes to dtbdump and initrddump are needed. test_efi_fit creates a test image as follows: - helloworld.efi as first "kernel" binary - dtbdump.efi as second "kernel" binary - initrddump.efi as third "kernel"

Please pull u-boot-tegra staging

2025-05-08 Thread Svyatoslav Ryhel
Dear Tom, The following changes since commit 48db49b0977cc1c9c9abf82c0fb704238fcef4fd: Merge patch series "include: env: phytec: k3_net: Remove net_apply_extensions" (2025-05-07 07:59:09 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tegra.gi

Re: Please pull u-boot-tegra staging

2025-05-08 Thread Tom Rini
On Thu, 08 May 2025 18:13:10 +0300, Svyatoslav Ryhel wrote: > The following changes since commit 48db49b0977cc1c9c9abf82c0fb704238fcef4fd: > > Merge patch series "include: env: phytec: k3_net: Remove > net_apply_extensions" (2025-05-07 07:59:09 -0600) > > are available in the Git repository a

Re: Pull request: u-boot-rockchip-20250508

2025-05-08 Thread Tom Rini
On Thu, 08 May 2025 15:29:51 +0800, Kever Yang wrote: > Please pull the updates for rockchip platform: > - New Board support: rk3566 LCKFB TaishanPi, rk3588 Xunlong Orange Pi 5 Max; > - Add rk3288 rmii support; > - pinctrl driver fix; > - binman description update; > > CI: > https://source.denx.d

[PATCH v2 2/7] board: phytec: phycore_am64x: Update environment for fitboot

2025-05-08 Thread Wadim Egorov
From: Nathan Morrisson Add fit_addr_r to the environment to allow us to boot from a FIT image. Signed-off-by: Nathan Morrisson Signed-off-by: Wadim Egorov --- v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html v2: No changes --- board/phytec/phycore_am64x/phycore_am64x.env | 1

Re: [PATCH v2 09/22] advantech: Include env.h in imx8qm_dmsse20_a1

2025-05-08 Thread Oliver Graute
On 30/04/25, Simon Glass wrote: > This file uses the environment but does not include the header file. > Update it. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a

Re: Odroid n2+ usb broken on reboot

2025-05-08 Thread Ferass El Hafidi
On Wed May 7, 2025 at 1:03 PM UTC, Wayne Schroeder wrote: > It's hard for me to quantify if usb works in u-boot as I'm not loading > off of any usb storage devices. It certainly never lets me use the > keyboard to abort auto boot, and never has. On reboot, to reliably You can send bytes via UART

Re: [PATCH v2 12/22] amlogic: Include env.h to permit reading the environment

2025-05-08 Thread Viacheslav
01/05/2025 04.04, Simon Glass via groups.io wrote: This file reads from the environment but does not include the correct header. Update it. Signed-off-by: Simon Glass --- (no changes since v1) board/amlogic/jethub-j100/jethub-j100.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bo

Re: [PATCH 2/2] mtd: bootdev: Add Kconfig option for defining script parameters

2025-05-08 Thread Wadim Egorov
Am 08.05.25 um 18:27 schrieb Tom Rini: On Thu, May 08, 2025 at 03:16:41PM +0200, Wadim Egorov wrote: Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default environment values for loading boot scripts from SPI flash. When enabled, SPI_FLASH_SCRIPT_OFFSET and SPI_FLASH_SCRIPT_SIZE

Re: [PATCH v1 1/1] gpio: msm_gpio: return correct value for gpio read

2025-05-08 Thread neil . armstrong
On 08/05/2025 13:36, Aswin Murugan wrote: In the current implementation, the GPIO read operation considers both the input and outbut bits (bits 0 and 1). It should only consider the state of input bit, i.e bit 0. To address this, mask input bit alone and read it. Signed-off-by: Aswin Murugan --

[PATCH V4] tiny-printf: Handle formatting of %p with an extra Kconfig

2025-05-08 Thread Christoph Niedermaier
The formatting with %pa / %pap behaves like %x, which results in an incorrect value being output. To improve this, a new fine-tuning Kconfig SPL_USE_TINY_PRINTF_POINTER_SUPPORT for pointer formatting has been added. If it is enabled, the output of %pa / %pap should be correct, and if it is disabled

[PATCH v2 4/7] configs: phycore_am6xx: Default BOOTCOMMAND to standard boot

2025-05-08 Thread Wadim Egorov
Make the "bootflow scan -lb" command execute first and fallback to the legacy BSP boot scripts. Signed-off-by: Wadim Egorov --- v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html v2: No changes --- configs/phycore_am62ax_a53_defconfig | 2 +- configs/phycore_am62x_a53_defconfig |

Re: [PATCH 2/2] mtd: bootdev: Add Kconfig option for defining script parameters

2025-05-08 Thread Tom Rini
On Thu, May 08, 2025 at 06:31:52PM +0300, Wadim Egorov wrote: > Am 08.05.25 um 18:27 schrieb Tom Rini: > > On Thu, May 08, 2025 at 03:16:41PM +0200, Wadim Egorov wrote: > > > Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default > > > environment values for loading boot scripts fr

Re: [PATCH v2 4/7] arm: dts: k3-{j721s2/j784s4}-binman: Pack HSM firmware inside tispl.bin

2025-05-08 Thread Andrew Davis
On 5/8/25 10:03 AM, Beleswar Prasad Padhi wrote: On 5/8/2025 5:29 PM, Anshul Dalal wrote: On Wed May 7, 2025 at 8:53 PM IST, Andrew Davis wrote: On 5/7/25 9:56 AM, Beleswar Prasad Padhi wrote: On 5/7/2025 3:09 PM, Anshul Dalal wrote: On Tue May 6, 2025 at 4:11 PM IST, Beleswar Padhi wrote:

Re: [PATCH 2/2] mtd: bootdev: Add Kconfig option for defining script parameters

2025-05-08 Thread Tom Rini
On Thu, May 08, 2025 at 03:16:41PM +0200, Wadim Egorov wrote: > Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default > environment values for loading boot scripts from SPI flash. When enabled, > SPI_FLASH_SCRIPT_OFFSET and SPI_FLASH_SCRIPT_SIZE define the default > script_offset_

[PATCH v2 3/7] board: phytec: phycore_am6xx: Set bootmeths & boot_targets environment

2025-05-08 Thread Wadim Egorov
As part of our migration to the standard boot process, configure the default values for the bootmeths and boot_targets environment variables. Signed-off-by: Wadim Egorov --- v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html v2: - Rebased on current master, fixing conflicts after

[PATCH v2 5/7] board: phytec: common: k3: Update boot_targets at runtime

2025-05-08 Thread Wadim Egorov
Factor out boot device detection from board_late_init() into a new boot_targets_setup() helper. Adjust the boot_targets environment variable to favor the device we just booted from. If boot_targets is still at its default value, prepend the current boot device to the list; otherwise leave any user

[PATCH v2 6/7] board: phytec: common: k3: Factor out mac address setup

2025-05-08 Thread Wadim Egorov
Factor out the mac address setup into setup_mac_from_eeprom(). Signed-off-by: Wadim Egorov --- v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html v2: - Move setup_mac_from_eeprom() inside IS_ENABLED(CONFIG_BOARD_LATE_INIT) --- board/phytec/common/k3/board.c | 44

[PATCH v2 7/7] configs: phycore_am6xx_a53_defconfig: Enable BOOTDEV_SPI_FLASH

2025-05-08 Thread Wadim Egorov
Enable standard boot with SPI Flash & sync after savedefconfig. Signed-off-by: Wadim Egorov --- configs/phycore_am62ax_a53_defconfig | 2 +- configs/phycore_am62x_a53_defconfig | 2 +- configs/phycore_am64x_a53_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/co

[PATCH v2 1/7] board: phytec: phycore_am62x: Update environment for fitboot

2025-05-08 Thread Wadim Egorov
From: Nathan Morrisson Add fit_addr_r to the environment to allow us to boot from a FIT image. Signed-off-by: Nathan Morrisson Signed-off-by: Wadim Egorov --- v1: https://lists.denx.de/pipermail/u-boot/2025-April/588142.html v2: No changes --- board/phytec/phycore_am62x/phycore_am62x.env | 1

Re: [PATCH v2 4/7] arm: dts: k3-{j721s2/j784s4}-binman: Pack HSM firmware inside tispl.bin

2025-05-08 Thread Beleswar Prasad Padhi
On 5/8/2025 5:29 PM, Anshul Dalal wrote: On Wed May 7, 2025 at 8:53 PM IST, Andrew Davis wrote: On 5/7/25 9:56 AM, Beleswar Prasad Padhi wrote: On 5/7/2025 3:09 PM, Anshul Dalal wrote: On Tue May 6, 2025 at 4:11 PM IST, Beleswar Padhi wrote: Pack the HSM firmware in tispl.bin fit image so t

Re: [PATCH v2] smbios: add support for type 9 system slot

2025-05-08 Thread Raymond Mao
Hi Heinrich, On Thu, 8 May 2025 at 10:27, Heinrich Schuchardt wrote: > > Am 8. Mai 2025 16:10:33 MESZ schrieb Raymond Mao : > >Implement SMBIOS Type 9 (System Slot). > >SMBIOS library will look for a subnode "system-slot" under > >"smbios" to construct the data of Type 9. > >[1] is an example for

[PATCH v2] smbios: add support for type 9 system slot

2025-05-08 Thread Raymond Mao
Implement SMBIOS Type 9 (System Slot). SMBIOS library will look for a subnode "system-slot" under "smbios" to construct the data of Type 9. [1] is an example for the expected pattern of "system-slot". If "system-slot" node does not exist, or any of its properties are missing, as a fallback, SMBIOS

Re: [PATCH 1/2] BeagleBoard: Bring it back with updates.

2025-05-08 Thread Robert Nelson
On Thu, May 8, 2025 at 7:50 AM OMAP at BSF wrote: > > * Converted to using DM_I2C. > * New config file for xM. > * Run 'patman' on patches. Thank you for looking into this! > Signed-off-by: Nevets Llih > --- > arch/arm/dts/Makefile | 9 + > arch/arm/dts/omap3-beagle-u-b

U-Boot STM32H747i-DISCO support

2025-05-08 Thread Johannes Krottmayer
Hello! For a long time ago, I have wanted to release an patch series to support the still active STM32H747i-DISCO board. Currently I have added support for this board in my local Git repository for U-Boot. But must do some tests on real hardware now. When I have tested it, can I release a patch

[PATCH v1 4/6] phy: qcom: Enable QMP UFS PHY driver for QCS8300

2025-05-08 Thread Balaji Selvanathan
Enable QMP phy for QCS8300, referenced from Linux. Signed-off-by: Balaji Selvanathan --- drivers/phy/qcom/phy-qcom-qmp-ufs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/qcom/phy-qcom-qmp-ufs.c b/drivers/phy/qcom/phy-qcom-qmp-ufs.c index 449b9767778..18cc665647f 100644 --- a/

[PATCH 2/2] mtd: bootdev: Add Kconfig option for defining script parameters

2025-05-08 Thread Wadim Egorov
Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default environment values for loading boot scripts from SPI flash. When enabled, SPI_FLASH_SCRIPT_OFFSET and SPI_FLASH_SCRIPT_SIZE define the default script_offset_f and script_size_f variables. Signed-off-by: Wadim Egorov --- driv

Re: [Upstream] [PATCH 0/2] *** boot: Add Kconfig options for script-based boot parameters ***

2025-05-08 Thread Wadim Egorov
Am 08.05.25 um 16:16 schrieb Wadim Egorov: This series introduces new Kconfig options to configure default environment variables used in script-based boot scenarios. Specifically, it allows setting the following standard boot environment variables: - boot_script_dhcp via BOOTSCRIPT_DHCP - script

[PATCH 2/2] mtd: bootdev: Add Kconfig option for defining script parameters

2025-05-08 Thread Wadim Egorov
Introduce USE_SPI_FLASH_SCRIPT Kconfig option to enable setting default environment values for loading boot scripts from SPI flash. When enabled, SPI_FLASH_SCRIPT_OFFSET and SPI_FLASH_SCRIPT_SIZE define the default script_offset_f and script_size_f variables. Signed-off-by: Wadim Egorov --- driv

[PATCH 0/2] *** boot: Add Kconfig options for script-based boot parameters ***

2025-05-08 Thread Wadim Egorov
This series introduces new Kconfig options to configure default environment variables used in script-based boot scenarios. Specifically, it allows setting the following standard boot environment variables: - boot_script_dhcp via BOOTSCRIPT_DHCP - script_offset_f and script_size_f via USE_SPI_FLASH

[PATCH 1/2] boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp env

2025-05-08 Thread Wadim Egorov
Introduce a new Kconfig option BOOTSCRIPT_DHCP to allow setting a value for boot_script_dhcp in the default environment. Signed-off-by: Wadim Egorov --- boot/Kconfig | 18 ++ include/env_default.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/boot/Kconfig b/b

[PATCH 1/2] boot: Add BOOTSCRIPT_DHCP Kconfig option for boot_script_dhcp env

2025-05-08 Thread Wadim Egorov
Introduce a new Kconfig option BOOTSCRIPT_DHCP to allow setting a value for boot_script_dhcp in the default environment. Signed-off-by: Wadim Egorov --- boot/Kconfig | 18 ++ include/env_default.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/boot/Kconfig b/b

[PATCH 0/2] *** boot: Add Kconfig options for script-based boot parameters ***

2025-05-08 Thread Wadim Egorov
This series introduces new Kconfig options to configure default environment variables used in script-based boot scenarios. Specifically, it allows setting the following standard boot environment variables: - boot_script_dhcp via BOOTSCRIPT_DHCP - script_offset_f and script_size_f via USE_SPI_FLASH

Re: [PATCH] imx95_evk: enable PCI early

2025-05-08 Thread Fabio Estevam
Hi Tim, On Mon, May 5, 2025 at 6:37 PM Tim Harvey wrote: > > Enable PCI early as the NETC device is an PCI ECAM device. > > Signed-off-by: Tim Harvey This path looks good, but I don't see it at https://lore.kernel.org/u-boot/ nor in patchwork.

[PATCH 1/2] BeagleBoard: Bring it back with updates.

2025-05-08 Thread OMAP at BSF
* Converted to using DM_I2C. * New config file for xM. * Run 'patman' on patches. Signed-off-by: Nevets Llih --- arch/arm/dts/Makefile | 9 + arch/arm/dts/omap3-beagle-u-boot.dtsi | 14 + arch/arm/dts/omap3-beagle-xm-ab-u-boot.dtsi | 14 + arch/arm/dts/omap3-beagl

[PATCH v1 3/6] clk/qcom: qcs8300: Add GCC clock driver for QCS8300

2025-05-08 Thread Balaji Selvanathan
* Port Linux's gcc-qcs8300.c driver to U-Boot for basic bring-up. * Enable QCS8300 clocks in qcom_defconfig. Signed-off-by: Balaji Selvanathan --- drivers/clk/qcom/Kconfig | 8 ++ drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/clock-qcs8300.c | 146

[PATCH] EXT4: add CRC16 dependency

2025-05-08 Thread Marius Dinu
CRC16 is used in ext4_common.c. Build fails without it. PS: This is my first patch sent to a mailing list. If there is anything wrong with it (email format, whitespace, etc.) please let me know. Signed-off-by: Marius Dinu --- fs/ext4/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/f

[PATCH 0/1] Enable bloblist support on Total_Compute

2025-05-08 Thread Jayanth Dodderi Chidanand
This patch enhances the total_compute platform by enabling bloblist support. This facilitates information passing from TF-A via the firmware firmware handoff framework. Jayanth Dodderi Chidanand (1): board: total_Compute: enable bloblist for SPL handoff arch/arm/Kconfig

[PATCH 1/1] board: total_Compute: enable bloblist for SPL handoff

2025-05-08 Thread Jayanth Dodderi Chidanand
Add bloblist support to total_comput platform for passing data from TF-A using the firmware handoff framework. Signed-off-by: Jayanth Dodderi Chidanand --- arch/arm/Kconfig | 2 +- board/armltd/total_compute/Makefile | 2 +- board/armltd/total_compute/total_c

u-boot on x86

2025-05-08 Thread Michael
Hello!, i'm currently working on a project that could use several architectures (arm / x86). To have a common base for all systems, i want to use u-boot as unified bootloader for both platforms. At the moment i try to get u-boot working on x86. These systems are more general pcs than classic embed

Re: [PATCH v2 1/5] boot/image-android: Workaround kernel/ramdisk invalid addr

2025-05-08 Thread george chan
Hi Mattijs, Thx for feedback. 在 2025年5月7日週三 15:47,Mattijs Korpershoek 寫道: > Hi George, > > Thank you for the patch. > I really prefer this solution to the one proposed in v1. > > I have tested this on Khadas VIM3 board (using > khadas-vim3_android_defconfig) > > I have a couple of small remarks

[PATCH 2/2] BeagleBoard: Fix memory detection error.

2025-05-08 Thread OMAP at BSF
GPIOs are read to determine which BeagleBoard variant we are running on. It also affects the memory timings for LPDDR. The GPIO lines are not valid for SPL until we are attempting the first boot device. The GPIO lines need to be checked again in U-Boot because they were not valid early on in SPL. T

[PATCH v1 1/1] gpio: msm_gpio: return correct value for gpio read

2025-05-08 Thread Aswin Murugan
In the current implementation, the GPIO read operation considers both the input and outbut bits (bits 0 and 1). It should only consider the state of input bit, i.e bit 0. To address this, mask input bit alone and read it. Signed-off-by: Aswin Murugan --- drivers/gpio/msm_gpio.c | 2 +- 1 file ch

[PATCH v1 5/6] qcom_defconfig: Enable QCS8300 clock driver

2025-05-08 Thread Balaji Selvanathan
Enable the QCS8300 clock driver in Qualcomm defconfig. Signed-off-by: Balaji Selvanathan --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 537806450dc..5a3e5aa8e97 100644 --- a/configs/qcom_defconfig +++ b/configs

[PATCH v1 6/6] configs: add qcs8300_defconfig

2025-05-08 Thread Balaji Selvanathan
Introduce a defconfig for QCS8300 based boards. Signed-off-by: Balaji Selvanathan --- configs/qcs8300_defconfig | 21 + 1 file changed, 21 insertions(+) create mode 100644 configs/qcs8300_defconfig diff --git a/configs/qcs8300_defconfig b/configs/qcs8300_defconfig new file

[PATCH v1 0/6] Introduce support for QCS8300 SoC based IQ8 Series Platform

2025-05-08 Thread Balaji Selvanathan
These patches introduce the initial support code needed for the QTI QCS8300 SoC based IQ8 Series Platform. Please see [1] for SoC related details Thanks Balaji 1 - https://docs.qualcomm.com/bundle/publicresource/87-83839-1_REV_A_Qualcomm_IQ8_Series_Product_Brief.pdf Balaji Selvanathan

[PATCH v1 2/6] dts: qcs8300-ride-u-boot.dtsi: Add memory entry to bootup

2025-05-08 Thread Balaji Selvanathan
Added the memory entry to bootup. Signed-off-by: Balaji Selvanathan --- arch/arm/dts/qcs8300-ride-u-boot.dtsi | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 arch/arm/dts/qcs8300-ride-u-boot.dtsi diff --git a/arch/arm/dts/qcs8300-ride-u-boot.dtsi b/arch/arm/dts/q

[PATCH v1 1/6] dt-bindings: power: rpmpd: Add QCS8300 Power Domain Indexes

2025-05-08 Thread Balaji Selvanathan
Added QCS8300 Power Domain Indexes in dt-bindings/power/qcom-rpmhpd.h Signed-off-by: Balaji Selvanathan --- .../include/dt-bindings/power/qcom-rpmpd.h| 19 +++ 1 file changed, 19 insertions(+) diff --git a/dts/upstream/include/dt-bindings/power/qcom-rpmpd.h b/dts/upstream/i

Re: [PATCH v2 7/7] arm: mach-k3: r5: common: Add support to boot HSM M4 core

2025-05-08 Thread Anshul Dalal
On Tue May 6, 2025 at 4:12 PM IST, Beleswar Padhi wrote: > The tispl.bin fit image is packed with the HSM firmware image. Populate > the "os" info of the image so that it can be detected and used to load > the HSM core. Further, invoke the load and boot of HSM core at R5 SPL > stage. Boot flow for

Re: [PATCH v2 4/7] arm: dts: k3-{j721s2/j784s4}-binman: Pack HSM firmware inside tispl.bin

2025-05-08 Thread Anshul Dalal
On Wed May 7, 2025 at 8:53 PM IST, Andrew Davis wrote: > On 5/7/25 9:56 AM, Beleswar Prasad Padhi wrote: >> >> On 5/7/2025 3:09 PM, Anshul Dalal wrote: >>> On Tue May 6, 2025 at 4:11 PM IST, Beleswar Padhi wrote: Pack the HSM firmware in tispl.bin fit image so that it can be unloaded and

RE: [PATCH V3] tiny-printf: Handle formatting of %p with an extra Kconfig

2025-05-08 Thread Christoph Niedermaier
From: Tom Rini Sent: Wednesday, May 7, 2025 7:43 PM > On Wed, Apr 30, 2025 at 12:35:48PM +0200, Christoph Niedermaier wrote: > >> The formatting with %pa / %pap behaves like %x, which results in an >> incorrect value being output. To improve this, a new fine-tuning >> Kconfig SPL_USE_TINY_PRINTF_

Re: [PATCH v2 4/7] arm: dts: k3-{j721s2/j784s4}-binman: Pack HSM firmware inside tispl.bin

2025-05-08 Thread Anshul Dalal
On Wed May 7, 2025 at 8:53 PM IST, Andrew Davis wrote: > On 5/7/25 9:56 AM, Beleswar Prasad Padhi wrote: >> >> On 5/7/2025 3:09 PM, Anshul Dalal wrote: >>> On Tue May 6, 2025 at 4:11 PM IST, Beleswar Padhi wrote: Pack the HSM firmware in tispl.bin fit image so that it can be unloaded and

Re: [PATCH v6 1/9] spl: Kconfig: allow K3 devices to use falcon mode

2025-05-08 Thread Anshul Dalal
On Thu May 8, 2025 at 9:32 AM IST, Vignesh Raghavendra wrote: > > > On 5/8/2025 8:42 AM, Anshul Dalal wrote: >> On Wed May 7, 2025 at 11:36 PM IST, Andrew Davis wrote: >>> On 5/6/25 10:33 PM, Anshul Dalal wrote: On Tue May 6, 2025 at 8:03 PM IST, Andrew Davis wrote: > On 4/28/25 9:12 AM, A

[PATCH] qcom_defconfig: Enable AUTOBOOT_KEYED support

2025-05-08 Thread Sumit Garg
From: Sumit Garg When debug serial port isn't connected, it is at least reported on RB1 that autoboot gets interrupted. It is probably due to random characters on the UART RX line when disconnected. Lets try to fix this inconsistent behaviour via enabling AUTOBOOT_KEYED such that the autoboot get

Re: Adding Device Tree Overlays for MIPI-CSI2 Camera and libcamera to u-boot in a buildroot or Yocto Build

2025-05-08 Thread Mike Looijmans
On 07-05-2025 18:30, u-b...@cairnwater.com wrote: Hi, Does anyone have any advice on how to add DTOs needed by libcamera to a u-boot in a buildroot or Yocto build or on whether it's more appropriate to add them as part of u-boot or as another part of the build? We'd like to add Kieran's DTO

Re: [PATCH] riscv: dts: jh7110: override syscrg assigned clock rates with defaults

2025-05-08 Thread Leo Liang
On Sat, May 03, 2025 at 05:29:44AM -0700, E Shattow wrote: > JH7110 drivers are missing support for CPU frequency scaling, so override > upstream device-tree to use default clock rates for syscrg. This override > duplicates a portion of jh7110-common-u-boot.dtsi file planned for removal. > > Signe

Re: Adding Device Tree Overlays for MIPI-CSI2 Camera and libcamera to u-boot in a buildroot or Yocto Build

2025-05-08 Thread Quentin Schulz
Hi Will, On 5/7/25 6:30 PM, u-b...@cairnwater.com wrote: [You don't often get email from u-b...@cairnwater.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi, Does anyone have any advice on how to add DTOs needed by libcamera to a u-boot in a buildroot or Y

Re: [PATCH 1/1] doc: RISC-V supports semihosting

2025-05-08 Thread Leo Liang
On Wed, May 07, 2025 at 06:17:16AM +0200, Heinrich Schuchardt wrote: > Mention that RISC-V supports semihosting. > > Update SPDX identifier to current format. > > Signed-off-by: Heinrich Schuchardt > --- > doc/usage/semihosting.rst | 21 - > 1 file changed, 12 insertions(+),

[PATCH 03/20] u_boot_pylib: Speed up determining the upstream branch

2025-05-08 Thread Simon Glass
Use --decorate to quickly detect the upstream branch, since this is much faster than using 'git name-rev' on every possible commit. Signed-off-by: Simon Glass --- tools/u_boot_pylib/gitutil.py | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/tool

[PATCH 18/20] patman: Move -H out of the send command

2025-05-08 Thread Simon Glass
This is the help for the whole of patman, so move it to the start of the control function, rather than being inside 'patman send'. Signed-off-by: Simon Glass --- tools/patman/cmdline.py | 2 +- tools/patman/control.py | 14 ++ 2 files changed, 11 insertions(+), 5 deletions(-) diff

Re: [PATCH] riscv: insn-def.h: Fix header guard

2025-05-08 Thread Leo Liang
On Mon, Apr 28, 2025 at 04:48:45AM +, Mayuresh Chitale wrote: > Fix the erroneous header guard for insn-def.h to reflect the correct > header name. > > Fixes: bfc8ca3f7f6 ("riscv: Add support for defining instructions") > Signed-off-by: Mayuresh Chitale > --- > arch/riscv/include/asm/insn-de

Pull request: u-boot-rockchip-20250508

2025-05-08 Thread Kever Yang
tags/u-boot-rockchip-20250508 for you to fetch changes up to 115a0cb9a28e0e85c9bf8680c537f087e3b15abc: net: gmac_rockchip: Add RMII support for rk3288 (2025-05-08 11:48:13 +0800) Chen-Yu Tsai (1): rockchip: io-domain: Enable

[PATCH 19/20] patman: Tidy up function comments in the series module

2025-05-08 Thread Simon Glass
This module is missing some comments, so add them. Signed-off-by: Simon Glass --- tools/patman/series.py | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/tools/patman/series.py b/tools/patman/series.py index 66839a3dbea..97bb048c4b7 100644

[PATCH 17/20] patman: Move arguments for sent into the correct parser

2025-05-08 Thread Simon Glass
Most of the arguments for the main parser are actually arguments for the 'send' parser. Move them there, in a separate function. Fix a pylint warning for -D and the imports while here. Signed-off-by: Simon Glass --- tools/patman/cmdline.py | 124 +++- 1 file

[PATCH 20/20] patman: Support collecting all lines in the commit message

2025-05-08 Thread Simon Glass
In some cases we want to collect all lines in the commit message so that the commit can be recreated with the same message as before, or perhaps with light filtering. Add support for this. Signed-off-by: Simon Glass --- tools/patman/patchstream.py | 23 +++ 1 file changed,

[PATCH 16/20] patman: Split subparsers into their own functions

2025-05-08 Thread Simon Glass
Simplify the main parser by moving subparser code into separate functions. Fix a few pylint warnings while here. Signed-off-by: Simon Glass --- tools/patman/cmdline.py | 142 1 file changed, 87 insertions(+), 55 deletions(-) diff --git a/tools/patman/cm

  1   2   >