[PATCH 3/3] binman: x86: Write skip-at-start when end-at-4gb is used

2025-02-15 Thread Simon Glass
The end-at-4gb property implies a value for skip-at-start so add it into the output FDT so that U-Boot can read it. Now that skip-at-start is implemented, we can drop the workarounds used in the x86 code to obtain the correct image-pos value. Signed-off-by: Simon Glass --- arch/x86/cpu/intel_c

[PATCH 2/3] binman: Read the skip-at-start value on startup

2025-02-15 Thread Simon Glass
This value provides an offset for all image-pos values in the image. Read it on startup so that we can take account of it when calculating positions. Signed-off-by: Simon Glass --- lib/binman.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/binman.c b/

[PATCH 1/3] x86: Stop working around skip-at-start

2025-02-15 Thread Simon Glass
With a recent Binman change, the skip-at-start property is now honoured, meaning that all image-pos values in the affected section start from the skip-at-start value. The x86 code works around the old behaviour at present, so update it. This fixes booting on coral Signed-off-by: Simon Glass ---

[PATCH 0/3] binman: x86: Tidy up skip-at-start settings

2025-02-15 Thread Simon Glass
A recent series [1] adjusted how Binman handles the skip-at-start property. This first patch in this series fixes a bug in coral due to this change. The remaining two patches remove work-arounds which are no-longer needed on x86 [1] https://patchwork.ozlabs.org/project/uboot/list/?series=441782

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

2025-02-15 Thread Tom Rini
On Sat, 15 Feb 2025 22:18:51 +0100, Marek Vasut wrote: > Add empty weak assembler function armv8_switch_to_el2_prep() which is > jumped to just before U-Boot determines which EL it is running in and > decides which path to take to boot the Linux kernel. Add IH_TYPE_TFA_BL31 > into supported images

Re: Can't get U-Boot working on Geniatech XPI-3566-ZERO

2025-02-15 Thread MIZSEI Zoltán
Hi, I have managed to get output from the board using UART7 GPIO pins! My USB-UART adapter is not reliable at 1.5M baud, therefore I had to reduce the baudrate. However while I get output from the board, my inputs are silently ignored, eg. I can't type anything in the U-boot console. I suspect t

Re: [PATCH] lib: lmb: conditionally include EFI loader notification

2025-02-15 Thread Heinrich Schuchardt
On 2/15/25 04:11, 1425075...@qq.com wrote: From: Liya Huang <1425075...@qq.com> Compiling with CONFIG_CC_OPTIMIZE_FOR_DEBUG=y without CONFIG_EFI_LOADER enabled will result in an undefined reference to 'efi_add_memory_map_pg'. Hello Liva, Thank you for reporting the issue. It is reproducible w

[PULL] u-boot-sh/master

2025-02-15 Thread Marek Vasut
Add empty weak assembler function armv8_switch_to_el2_prep() which is jumped to just before U-Boot determines which EL it is running in and decides which path to take to boot the Linux kernel. Add IH_TYPE_TFA_BL31 into supported images type, to allow implementation of board specific U_BOOT_FIT_LOAD

Re: [PATCH v2 0/1] spi: soft_spi: Add support for SPI_3WIRE

2025-02-15 Thread Tom Rini
On Fri, 31 Jan 2025 10:38:40 +0900, Hironori KIKUCHI wrote: > Add support for SPI_3WIRE on soft_spi driver. > > v2: > - Remove the wrong patch > - Add `GPIOD_PULL_UP` to prevent the bus from floating > > Hironori KIKUCHI (1): > spi: soft_spi: Add support for SPI_3WIRE > > [...] A

Re: [PATCH 0/6] Rework requirements.txt files

2025-02-15 Thread Tom Rini
On Tue, 04 Feb 2025 17:12:03 -0600, Tom Rini wrote: > Hey all, > > A challenge we've run in to is making it easier for more people to use > various python tools that we include in the tree. Part of the problem is > that when we have a requirements.txt file, aside from the doc one we > share with

Re: [PATCH] board: ti: am62px: tifs-rm-cfg/rm-cfg: Update DMA resource sharing for CPSW

2025-02-15 Thread Tom Rini
On Wed, 05 Feb 2025 18:44:40 +0530, Siddharth Vadapalli wrote: > The CPSW3G instance of CPSW on AM62PX SoC provides Ethernet functionality. > Currently, Ethernet is supported on Linux which runs on the A53 core on the > SoC, by allocating all of the DMA resources associated with CPSW to A53_2. >

Re: [PATCH v2 35/35] bloblist: Allow using a different bloblist address

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 10:23:05AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 15 Feb 2025 at 07:59, Tom Rini wrote: > > > > On Sat, Feb 15, 2025 at 04:58:24AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 11 Feb 2025 at 07:08, Tom Rini wrote: > > > > > > > > On Tue, Feb 11, 20

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 10:24:50AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 15 Feb 2025 at 08:01, Tom Rini wrote: > > > > On Sat, Feb 15, 2025 at 05:11:45AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 15 Feb 2025 at 05:06, Simon Glass wrote: > > > > > > > > Hi Tom, > > > >

Re: [PATCH v3 00/46] pxe: Support read_all() for extlinux and PXE

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 10:24:08AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 15 Feb 2025 at 07:46, Tom Rini wrote: > > > > On Sat, Feb 15, 2025 at 05:06:42AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 24 Jan 2025 at 12:18, Tom Rini wrote: > > > > > > > > On Thu, Dec 05, 20

Re: [PATCH v1 1/1] video: bridge-uclass: add get_display_timing ops

2025-02-15 Thread Svyatoslav Ryhel
сб, 15 лют. 2025 р. о 20:07 Simon Glass пише: > > Hi Svyatoslav, > > On Sat, 15 Feb 2025 at 10:42, Svyatoslav Ryhel wrote: > > > > сб, 15 лют. 2025 р. о 19:24 Simon Glass пише: > > > > > > Hi Svyatoslav, > > > > > > On Sat, 15 Feb 2025 at 08:52, Svyatoslav Ryhel wrote: > > > > > > > > Add get_d

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 10:21:16AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 15 Feb 2025 at 07:41, Tom Rini wrote: > > > > On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 10 Feb 2025 at 09:25, Tom Rini wrote: > > > > > > > > On Thu, Feb 06, 20

Re: [PATCH v1 1/1] core: ofnode: add of_graph parsing helpers

2025-02-15 Thread Svyatoslav Ryhel
сб, 15 лют. 2025 р. о 20:08 Simon Glass пише: > > Hi Svyatoslav, > > On Sat, 15 Feb 2025 at 10:55, Svyatoslav Ryhel wrote: > > > > Add a mostly complete list of ofnode analogs of of_graph > > parsing helpers. > > > > Signed-off-by: Svyatoslav Ryhel > > --- > > drivers/core/Makefile | 2

Re: [PATCH v1 1/1] core: ofnode: add of_graph parsing helpers

2025-02-15 Thread Simon Glass
Hi Svyatoslav, On Sat, 15 Feb 2025 at 10:55, Svyatoslav Ryhel wrote: > > Add a mostly complete list of ofnode analogs of of_graph > parsing helpers. > > Signed-off-by: Svyatoslav Ryhel > --- > drivers/core/Makefile | 2 +- > drivers/core/ofnode_graph.c | 217

Re: [PATCH v1 1/1] video: bridge-uclass: add get_display_timing ops

2025-02-15 Thread Simon Glass
Hi Svyatoslav, On Sat, 15 Feb 2025 at 10:42, Svyatoslav Ryhel wrote: > > сб, 15 лют. 2025 р. о 19:24 Simon Glass пише: > > > > Hi Svyatoslav, > > > > On Sat, 15 Feb 2025 at 08:52, Svyatoslav Ryhel wrote: > > > > > > Add get_display_timing ops for internal bridges linked to > > > panels that do

[PATCH v1 1/1] core: ofnode: add of_graph parsing helpers

2025-02-15 Thread Svyatoslav Ryhel
Add a mostly complete list of ofnode analogs of of_graph parsing helpers. Signed-off-by: Svyatoslav Ryhel --- drivers/core/Makefile | 2 +- drivers/core/ofnode_graph.c | 217 include/dm/ofnode_graph.h | 90 +++ 3 files changed, 308 inse

[PATCH v1 0/1] core: ofnode: add of_graph parsing helpers

2025-02-15 Thread Svyatoslav Ryhel
Add a mostly complete list of ofnode analogs of of_graph parsing helpers. Svyatoslav Ryhel (1): core: ofnode: add of_graph parsing helpers drivers/core/Makefile | 2 +- drivers/core/ofnode_graph.c | 217 include/dm/ofnode_graph.h | 90 +++

Re: [PATCH v1 1/1] video: bridge-uclass: add get_display_timing ops

2025-02-15 Thread Svyatoslav Ryhel
сб, 15 лют. 2025 р. о 19:24 Simon Glass пише: > > Hi Svyatoslav, > > On Sat, 15 Feb 2025 at 08:52, Svyatoslav Ryhel wrote: > > > > Add get_display_timing ops for internal bridges linked to > > panels that do not support EDID (MIPI-DSI panels for example) > > or have EDID not routed. > > > > Signe

Re: [BUG report] spl: image size check fails in spl_load()

2025-02-15 Thread Sean Anderson
On 2/14/25 06:12, Anshul Dalal wrote: Hi all! I was trying to implement falcon boot on TI AM62x EVM with the kernel image on SD card's filesystem but the following check in `_spl_load` at `include/spl_load.h:95` fails to -EIO as per the latest commit [89d]: return read < spl_image->

Re: [PATCH v1 1/1] video: bridge-uclass: add get_display_timing ops

2025-02-15 Thread Simon Glass
Hi Svyatoslav, On Sat, 15 Feb 2025 at 08:52, Svyatoslav Ryhel wrote: > > Add get_display_timing ops for internal bridges linked to > panels that do not support EDID (MIPI-DSI panels for example) > or have EDID not routed. > > Signed-off-by: Svyatoslav Ryhel > --- > drivers/video/bridge/video-br

Re: [PATCH 4/4] test: Make net tests depend on CONFIG_CMD_NET

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 07:38, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 06:02:39AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 25 Jan 2025 at 16:01, Tom Rini wrote: > > > > > > On Sat, Jan 25, 2025 at 03:56:02PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 08:01, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 05:11:45AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 15 Feb 2025 at 05:06, Simon Glass wrote: > > > > > > Hi Tom, > > > > > > On Tue, 11 Feb 2025 at 06:59, Tom Rini wrote: > > > > > > > > On Tue, Feb 1

Re: [PATCH v3 00/46] pxe: Support read_all() for extlinux and PXE

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 07:46, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 05:06:42AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 24 Jan 2025 at 12:18, Tom Rini wrote: > > > > > > On Thu, Dec 05, 2024 at 07:35:39PM -0700, Simon Glass wrote: > > > > > > > This series implements r

Re: [PATCH 1/1] efi_driver: create a parent device for all EFI block devices

2025-02-15 Thread Simon Glass
Hi Heinrich, On Sat, 15 Feb 2025 at 08:22, Heinrich Schuchardt wrote: > > Up to now root has been the parent device for all block devices created via > calling ConnectController(). This does not work well together with the > implementation of bootstd. > > Add a dummy parent device for all EFI blo

Re: [PATCH v2 35/35] bloblist: Allow using a different bloblist address

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 07:59, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 04:58:24AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 11 Feb 2025 at 07:08, Tom Rini wrote: > > > > > > On Tue, Feb 11, 2025 at 06:09:03AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 07:41, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 10 Feb 2025 at 09:25, Tom Rini wrote: > > > > > > On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote: > > > > > > > This is a global default

Re: [PATCH v2 5/6] test/py: Show info about module-loading

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 07:49, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 05:17:48AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 10 Feb 2025 at 08:52, Tom Rini wrote: > > > > > > On Sun, Feb 09, 2025 at 09:07:18AM -0700, Simon Glass wrote: > > > > > > > It is sometimes tricky t

Re: [PATCH 19/21] py/tests: test_efi_selftest: Add test for counting EFI netdevices

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 07:52, Tom Rini wrote: > > On Sat, Feb 15, 2025 at 06:38:27AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 24 Jan 2025 at 13:34, Tom Rini wrote: > > > > > > On Fri, Jan 24, 2025 at 12:43:29PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri

Re: [PATCH] efi_loader: Clean up usage of structure jmp_buf_data

2025-02-15 Thread Heinrich Schuchardt
On 15.02.25 16:54, Yao Zi wrote: Structure jmp_buf_data provides the underlying format of jmp_buf, which we actually don't care about. Clean up existing code to use the standard jmp_buf type. This introduces no functional change. Signed-off-by: Yao Zi --- include/efi_loader.h | 4 ++-

[PATCH v1 0/1] video: bridge-uclass: add get_display_timing ops

2025-02-15 Thread Svyatoslav Ryhel
Add get_display_timing ops for internal bridges linked to panels that do not support EDID (MIPI-DSI panels for example) or have EDID not routed. Svyatoslav Ryhel (1): video: bridge-uclass: add get_display_timing ops drivers/video/bridge/video-bridge-uclass.c | 11 +++ include/video_bri

[PATCH] efi_loader: Clean up usage of structure jmp_buf_data

2025-02-15 Thread Yao Zi
Structure jmp_buf_data provides the underlying format of jmp_buf, which we actually don't care about. Clean up existing code to use the standard jmp_buf type. This introduces no functional change. Signed-off-by: Yao Zi --- include/efi_loader.h | 4 ++-- lib/efi_loader/efi_boottime.c | 8

[PATCH v1 1/1] video: bridge-uclass: add get_display_timing ops

2025-02-15 Thread Svyatoslav Ryhel
Add get_display_timing ops for internal bridges linked to panels that do not support EDID (MIPI-DSI panels for example) or have EDID not routed. Signed-off-by: Svyatoslav Ryhel --- drivers/video/bridge/video-bridge-uclass.c | 11 +++ include/video_bridge.h | 18 ++

Re: [PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

2025-02-15 Thread Marek Vasut
On 2/15/25 2:38 PM, Simon Glass wrote: Hi Marek, On Sat, 8 Feb 2025 at 14:27, Marek Vasut wrote: On 2/7/25 1:49 AM, Simon Glass wrote: Hi Marek, On Thu, 6 Feb 2025 at 13:52, Marek Vasut wrote: On 2/6/25 1:42 PM, Simon Glass wrote: Hi, FAILED (errors=1) So where is the SRK_1_2_3_4_tab

[PATCH 1/1] efi_driver: create a parent device for all EFI block devices

2025-02-15 Thread Heinrich Schuchardt
Up to now root has been the parent device for all block devices created via calling ConnectController(). This does not work well together with the implementation of bootstd. Add a dummy parent device for all EFI block devices. With this change EFI block devices are also accessible via commands li

Re: [PATCH] Add 'bootsource' /chosen property

2025-02-15 Thread Daniel Golle
Hi Quentin, On 10 February 2025 16:25:23 UTC, Quentin Schulz wrote: > [...] >What I can say from glancing at the code is that for Rockchip they do the >following: > >Register a bootsource type (e.g. MMC, SPI, I2C, USB, etc...), a bootsource >instance of that type (e.g. MMC0, SPI3, I2C7, ...).

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 05:11:45AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 15 Feb 2025 at 05:06, Simon Glass wrote: > > > > Hi Tom, > > > > On Tue, 11 Feb 2025 at 06:59, Tom Rini wrote: > > > > > > On Tue, Feb 11, 2025 at 06:10:54AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > >

Re: [PATCH v2 35/35] bloblist: Allow using a different bloblist address

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 04:58:24AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 11 Feb 2025 at 07:08, Tom Rini wrote: > > > > On Tue, Feb 11, 2025 at 06:09:03AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 10 Feb 2025 at 07:33, Tom Rini wrote: > > > > > > > > On Sun, Feb 09, 20

Re: [PATCH 19/21] py/tests: test_efi_selftest: Add test for counting EFI netdevices

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 06:38:27AM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 24 Jan 2025 at 13:34, Tom Rini wrote: > > > > On Fri, Jan 24, 2025 at 12:43:29PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 24 Jan 2025 at 12:17, Tom Rini wrote: > > > > > > > > On Fri, Jan 24, 20

Re: [PATCH 07/32] scripts: Update build-efi to support arm64

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 05:05:06AM -0700, Simon Glass wrote: > Hi Heinrich, > > On Sun, 9 Feb 2025 at 12:05, Heinrich Schuchardt wrote: > > > > Am 3. Februar 2025 18:42:00 MEZ schrieb Simon Glass : > > >Provide a -A flag to select ARM instead of x86. For now, only the app > > >is supported and on

Re: [PATCH v2 5/6] test/py: Show info about module-loading

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 05:17:48AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 10 Feb 2025 at 08:52, Tom Rini wrote: > > > > On Sun, Feb 09, 2025 at 09:07:18AM -0700, Simon Glass wrote: > > > > > It is sometimes tricky to figure out what modules test.py is loading > > > when it starts up. The

Re: [PATCH v3 00/46] pxe: Support read_all() for extlinux and PXE

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 05:06:42AM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, 24 Jan 2025 at 12:18, Tom Rini wrote: > > > > On Thu, Dec 05, 2024 at 07:35:39PM -0700, Simon Glass wrote: > > > > > This series implements read_all() so that it is possible to read all the > > > files relating to

Re: [PATCH 4/4] test: Make net tests depend on CONFIG_CMD_NET

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 06:02:39AM -0700, Simon Glass wrote: > Hi Tom, > > On Sat, 25 Jan 2025 at 16:01, Tom Rini wrote: > > > > On Sat, Jan 25, 2025 at 03:56:02PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 25 Jan 2025 at 15:50, Tom Rini wrote: > > > > > > > > On Sat, Jan 25, 20

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-02-15 Thread Tom Rini
On Sat, Feb 15, 2025 at 04:59:40AM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 10 Feb 2025 at 09:25, Tom Rini wrote: > > > > On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote: > > > > > This is a global default, so put it under 'default' like the tags. > > > > > > Signed-off-by: Sim

Re: [PATCH] binman: Fill in most of the imx8mimage and imx8mcst tests

2025-02-15 Thread Simon Glass
Hi Marek, On Sat, 8 Feb 2025 at 14:27, Marek Vasut wrote: > > On 2/7/25 1:49 AM, Simon Glass wrote: > > Hi Marek, > > > > On Thu, 6 Feb 2025 at 13:52, Marek Vasut wrote: > >> > >> On 2/6/25 1:42 PM, Simon Glass wrote: > >> > >> Hi, > >> > > FAILED (errors=1) > > > > So where is the S

Re: [PATCH 19/21] py/tests: test_efi_selftest: Add test for counting EFI netdevices

2025-02-15 Thread Simon Glass
Hi Tom, On Fri, 24 Jan 2025 at 13:34, Tom Rini wrote: > > On Fri, Jan 24, 2025 at 12:43:29PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 24 Jan 2025 at 12:17, Tom Rini wrote: > > > > > > On Fri, Jan 24, 2025 at 11:57:28AM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu

Re: [PATCH 01/32] Convert build-efi script to Python

2025-02-15 Thread Simon Glass
Hi Heinrich, On Sun, 9 Feb 2025 at 11:55, Heinrich Schuchardt wrote: > > Am 3. Februar 2025 18:41:54 MEZ schrieb Simon Glass : > >Before this gets any longer, convert it to Python so it is easier to > >maintain. > > > >Signed-off-by: Simon Glass > >--- > > > > MAINTAINERS

Re: [PATCH 0/3] rockchip: remove u-boot.rom generation and use binaries from simple-bin in simple-bin-image

2025-02-15 Thread Simon Glass
Hi Quentin, On Thu, 13 Feb 2025 at 06:54, Simon Glass wrote: > > Hi Quentin, > > On Tue, 11 Feb 2025 at 03:29, Quentin Schulz wrote: > > > > This gets rid of u-boot.rom generation as that was used only on Rockchip > > Chromebooks and their maintainer (Simon) seems to agree[1] that > > u-boot-roc

Re: Security vulnerabilities report to Das-U-Boot

2025-02-15 Thread Jonathan Bar Or
Please disregard the previous message, those are the actual CVE numbers: - CVE-2025-26726 :SquashFS directory table parsing buffer overflow - CVE-2025-26727: SquashFS inode parsing buffer overflow. - CVE-2025-26728: SquashFS nested file reading buffer overflow. - CVE-2025-26729: EroFS symlink reso

[PATCH v4 00/29] arm: Support building as an EFI app

2025-02-15 Thread Simon Glass
The original x86 EFI-app was written back in 2015, about a year before the EFI-loader was introduced. At that point, ARM mostly used U-Boot and FIT (Flat Image Tree). Today, sadly, there are a few efforts to re-invent FIT poorly, to cater to more primitive boot-environments than U-Boot. One justif

Re: Security vulnerabilities report to Das-U-Boot

2025-02-15 Thread Jonathan Bar Or
Hi folks. Here are the CVEs assigned by MITRE: - CVE-2025-26721: buffer overflow in the persistent storage for file creation - CVE-2025-26722: buffer overflow in SquashFS symlink resolution - CVE-2025-26723: buffer overflow in EXT4 symlink resolution - CVE-2025-26724: buffer overflow in CramFS sym

Re: [PATCH] Add 'bootsource' /chosen property

2025-02-15 Thread Simon Glass
Hi Mark, On Sat, 15 Feb 2025 at 05:47, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Sat, 15 Feb 2025 04:59:06 -0700 > > Hi Siomon, Quentin, > > > Hi Quentin, > > > > On Mon, 10 Feb 2025 at 09:25, Quentin Schulz > > wrote: > > > > > > Hi Simon, > > > > > > On 2/9/25 3:28 PM, Simon Gla

Re: [PATCH 4/4] test: Make net tests depend on CONFIG_CMD_NET

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 25 Jan 2025 at 16:01, Tom Rini wrote: > > On Sat, Jan 25, 2025 at 03:56:02PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Sat, 25 Jan 2025 at 15:50, Tom Rini wrote: > > > > > > On Sat, Jan 25, 2025 at 03:47:26PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sat

Re: [RFC] Raspberry Pi: copy /system/linux, {serial, revision} from firmware

2025-02-15 Thread Peter Robinson
Hi Fiona, I'll review and test this the coming week and provide feedback. On Tue, 11 Feb 2025 at 13:58, Fiona Klute wrote: > Both the Raspberry Pi downstream kernel [1] and some userspace tools > [2] use the revision property to identify the board, and the latter > fails if it is absent. The fi

Re: [PATCH] Add 'bootsource' /chosen property

2025-02-15 Thread Mark Kettenis
> From: Simon Glass > Date: Sat, 15 Feb 2025 04:59:06 -0700 Hi Siomon, Quentin, > Hi Quentin, > > On Mon, 10 Feb 2025 at 09:25, Quentin Schulz wrote: > > > > Hi Simon, > > > > On 2/9/25 3:28 PM, Simon Glass wrote: > > > Hi Quentin, > > > > > > On Thu, 6 Feb 2025 at 08:46, Quentin Schulz > >

Re: [PATCH v2 5/6] test/py: Show info about module-loading

2025-02-15 Thread Simon Glass
Hi Tom, On Mon, 10 Feb 2025 at 08:52, Tom Rini wrote: > > On Sun, Feb 09, 2025 at 09:07:18AM -0700, Simon Glass wrote: > > > It is sometimes tricky to figure out what modules test.py is loading > > when it starts up. The result can be a silent failure with no clue as to > > what when wrong. > > >

Re: [PATCH v2 14/35] rockchip: dts: Use the new binman template for the SPI image too

2025-02-15 Thread Simon Glass
Hi Jonas, On Mon, 10 Feb 2025 at 15:11, Jonas Karlman wrote: > > Hi Simon, > > On 2025-02-09 22:14, Simon Glass wrote: > > 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

Re: [PATCH v2 12/35] rockchip: dts: Create a template for the FIT

2025-02-15 Thread Simon Glass
Hi Jonas, On Mon, 10 Feb 2025 at 14:52, Jonas Karlman wrote: > > Hi Simon, > > On 2025-02-09 22:14, Simon Glass wrote: > > 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 > > --- > > > > (no changes s

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-15 Thread Simon Glass
Hi Tom, On Sat, 15 Feb 2025 at 05:06, Simon Glass wrote: > > Hi Tom, > > On Tue, 11 Feb 2025 at 06:59, Tom Rini wrote: > > > > On Tue, Feb 11, 2025 at 06:10:54AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 10 Feb 2025 at 07:33, Tom Rini wrote: > > > > > > > > On Sun, Feb 09, 202

Re: [PATCH v3 00/46] pxe: Support read_all() for extlinux and PXE

2025-02-15 Thread Simon Glass
Hi Tom, On Fri, 24 Jan 2025 at 12:18, Tom Rini wrote: > > On Thu, Dec 05, 2024 at 07:35:39PM -0700, Simon Glass wrote: > > > This series implements read_all() so that it is possible to read all the > > files relating to a bootflow, make adjustments and then boot. > > > > Unfortunately quite a few

Re: [PATCH v2 33/35] RFC: Revert "bloblist: Load the bloblist from the previous loader"

2025-02-15 Thread Simon Glass
Hi Tom, On Tue, 11 Feb 2025 at 06:59, Tom Rini wrote: > > On Tue, Feb 11, 2025 at 06:10:54AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 10 Feb 2025 at 07:33, Tom Rini wrote: > > > > > > On Sun, Feb 09, 2025 at 02:14:54PM -0700, Simon Glass wrote: > > > > > > > The logic of this has be

Re: [RFC] Raspberry Pi: copy /system/linux, {serial, revision} from firmware

2025-02-15 Thread Simon Glass
Hi Fiona, On Tue, 11 Feb 2025 at 07:56, Fiona Klute wrote: > > Both the Raspberry Pi downstream kernel [1] and some userspace tools > [2] use the revision property to identify the board, and the latter > fails if it is absent. The firmware creates the /system node, so we > need to do the same. >

Re: [PATCH 07/32] scripts: Update build-efi to support arm64

2025-02-15 Thread Simon Glass
Hi Heinrich, On Sun, 9 Feb 2025 at 12:05, Heinrich Schuchardt wrote: > > Am 3. Februar 2025 18:42:00 MEZ schrieb Simon Glass : > >Provide a -A flag to select ARM instead of x86. For now, only the app > >is supported and only for 64-bit ARM. > > > >Signed-off-by: Simon Glass > >--- > > > > script

Re: [PATCH 1/1] tools: binman: etype: Allow to replace 'NAME' in node names

2025-02-15 Thread Simon Glass
Hi Paul, On Thu, 21 Nov 2024 at 03:53, Paul HENRYS wrote: > > Hi Simon, > > On 20/11/2024 14:35, Simon Glass wrote: > > This Mail comes from Outside of SoftAtHome: Do not answer, click links or > > open attachments unless you recognize the sender and know the content is > > safe. > > > > Hi Pau

Re: [PATCH v3 1/2] CI: Move default image under global defaults

2025-02-15 Thread Simon Glass
Hi Tom, On Mon, 10 Feb 2025 at 09:25, Tom Rini wrote: > > On Thu, Feb 06, 2025 at 03:38:55PM -0700, Simon Glass wrote: > > > This is a global default, so put it under 'default' like the tags. > > > > Signed-off-by: Simon Glass > > Suggested-by: Tom Rini > > Reviewed-by: Tom Rini > > Please mak

Re: [PATCH] Add 'bootsource' /chosen property

2025-02-15 Thread Simon Glass
Hi Quentin, On Mon, 10 Feb 2025 at 09:25, Quentin Schulz wrote: > > Hi Simon, > > On 2/9/25 3:28 PM, Simon Glass wrote: > > Hi Quentin, > > > > On Thu, 6 Feb 2025 at 08:46, Quentin Schulz > > wrote: > >> > >> Hi Simon, > >> > >> On 2/6/25 1:33 PM, Simon Glass wrote: > >>> Hi Quentin, > >>> > >>

Re: [PATCH v2 35/35] bloblist: Allow using a different bloblist address

2025-02-15 Thread Simon Glass
Hi Tom, On Tue, 11 Feb 2025 at 07:08, Tom Rini wrote: > > On Tue, Feb 11, 2025 at 06:09:03AM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 10 Feb 2025 at 07:33, Tom Rini wrote: > > > > > > On Sun, Feb 09, 2025 at 02:14:56PM -0700, Simon Glass wrote: > > > > > > > Where the bloblist is lo