Re: dtc: "syntax error" linked to &{label/subnode} syntax

2025-02-02 Thread Patrice CHOTARD
On 1/31/25 17:01, Tom Rini wrote: > On Fri, Jan 31, 2025 at 03:41:37PM +0100, Patrice CHOTARD wrote: >> >> >> On 1/29/25 23:01, Tom Rini wrote: >>> On Tue, Jan 28, 2025 at 09:04:26AM -0600, Tom Rini wrote: On Tue, Jan 28, 2025 at 08:04:56AM -0600, Tom Rini wrote: > On Tue, Jan 28, 2025

Re: [PATCH v2 2/2] configs: j7200_evm_a72_defconfig: Re-enable MUX_MMIO at U-Boot proper

2025-02-02 Thread Dutta, Anurag
On 01-02-2025 14:48, Siddharth Vadapalli wrote: Commit under Fixes introduced support for Hyperflash boot but also disabled MUX_MMIO support at U-Boot proper. MUX_MMIO is required at U-Boot proper to setup the SERDES Lane Mapping as described by the device-tree. On J7200 SoC, PCIe functionality

Re: [PATCH 1/4] test/py: Shorten u_boot_console

2025-02-02 Thread Love Kumar
Hi Simon, On 26/01/25 4:28 am, Simon Glass wrote: Hi Tom, On Sat, 25 Jan 2025 at 15:55, Tom Rini wrote: On Sat, Jan 25, 2025 at 03:42:00PM -0700, Simon Glass wrote: Hi Tom, On Sat, 25 Jan 2025 at 14:51, Tom Rini wrote: On Sat, Jan 25, 2025 at 02:31:36PM -0700, Simon Glass wrote: This

[PATCH 1/2] mtd: spi-nor-ids: Add support for S28HL256T

2025-02-02 Thread tkuw584924
From: Takahiro Kuwano Infineon S28HL256T is 3.0V, 256Mb Flash device with Octal interface. It has the same functionalities with S28HS256T. Link:https://www.infineon.com/dgdl/Infineon-S28HS256T_S28HL256T_256Mb_SEMPER_Flash_Octal_interface_1_8V_3-DataSheet-v02_00-EN.pdf?fileId=8ac78c8c8fc2dd9c018f

[PATCH 2/2] mtd: spi-nor-ids: Add support for S28HL02GT

2025-02-02 Thread tkuw584924
From: Takahiro Kuwano Infineon S28HL02GT is 3.0V, 2Gb Flash device with Octal interface. It has the same functionalities with S28HS02GT. Link: https://www.infineon.com/dgdl/Infineon-S28HS02GT_S28HS04GT_S28HL02GT_S28HL04GT_2Gb_4Gb_SEMPER_Flash_Octal_interface_1.8V_3.0V-DataSheet-v01_00-EN.pdf?fi

[PATCH 0/2] Add support for Infineon S28HL256T and S28HL02GT

2025-02-02 Thread tkuw584924
From: Takahiro Kuwano Those are 3.0V, 256Mb/2Gb NOR Flash devices with Octal interface. Same fanctionalities with 1.8V version that are already supported. Takahiro Kuwano (2): mtd: spi-nor-ids: Add support for S28HL256T mtd: spi-nor-ids: Add support for S28HL02GT drivers/mtd/spi/spi-nor-id

Re: [RFC PATCH 2/2] riscv: dts: binman.dtsi: Include OP-TEE OS image

2025-02-02 Thread Leo Liang
On Sat, Jan 11, 2025 at 09:55:27AM +0800, Yu-Chien Peter Lin wrote: > The following diagram illustrates the boot flow for OP-TEE OS > initialization on RISC-V. > > (1)---+ > | U-Boot SPL | > ++ > | > v > (2)---

Re: [RFC PATCH 1/2] riscv: Add CONFIG_SPL_OPTEE_LOAD_ADDR

2025-02-02 Thread Leo Liang
On Sat, Jan 11, 2025 at 09:55:26AM +0800, Yu-Chien Peter Lin wrote: > Allow specifying load address of OP-TEE binary. It is > recommended that the specified address aligns with the > base address of an PMP-protected NAPOT region and matches > the CFG_TDDRAM_START configuration in OP-TEE. > > Signe

Re: [RFC PATCH 3/3] riscv: cpu: jh7110: fallback to generic cleanup_before_linux()

2025-02-02 Thread Leo Liang
On Thu, Jan 23, 2025 at 09:11:35AM +, Yao Zi wrote: > JH7110 SoC requires no specific handling before entering Linux kernel. > Let's drop the specific implementation to avoid duplication. > > Signed-off-by: Yao Zi > --- > arch/riscv/cpu/jh7110/Makefile | 1 - > arch/riscv/cpu/jh7110/cpu.c

Re: [RFC PATCH 2/3] riscv: cpu: generic: fallback to generic cleanup_before_linux()

2025-02-02 Thread Leo Liang
On Thu, Jan 23, 2025 at 09:11:34AM +, Yao Zi wrote: > The current implementation is equivalent to the fallback one, so > this shouldn't change any behaviour but cleans the code up only. > > Signed-off-by: Yao Zi > --- > arch/riscv/cpu/generic/Makefile | 1 - > arch/riscv/cpu/generic/cpu.c

Re: [RFC PATCH 1/3] riscv: add a generic implementation for cleanup_before_linux()

2025-02-02 Thread Leo Liang
On Thu, Jan 23, 2025 at 09:11:33AM +, Yao Zi wrote: > Most RISC-V SoCs have similar cleanup_before_linux() functions. Let's > provide a weak symbol as fallback to reduce duplicated code. > > Signed-off-by: Yao Zi > --- > arch/riscv/cpu/cpu.c | 17 + > 1 file changed, 17 inser

Re: [PATCH v4 0/5] rpi: Tidy up booting

2025-02-02 Thread Peter Robinson
On Thu, 30 Jan 2025 at 19:55, Simon Glass wrote: > Hi, > > On Thu, 19 Dec 2024 at 17:34, Simon Glass wrote: > > > > This series allows rpi to boot a compressed Ubuntu kernel with ~100MB > > ramdisk, by expanding the available space. > > > > It also tidies up some strange behaviour with the provi

Re: [PATCH v2 1/1] cmd: sbi: add bhyve SBI implementation ID

2025-02-02 Thread Leo Liang
On Fri, Jan 24, 2025 at 05:00:14PM +0100, Heinrich Schuchardt wrote: > Bhyve is the hypervisor used by FreeBSD. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > Fix typo in subject > --- > cmd/riscv/sbi.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Leo Yu-Chi Liang

Re: [PATCH 1/1] riscv: AVAILABLE_HARTS is not compatible with XIP

2025-02-02 Thread Leo Liang
On Thu, Jan 23, 2025 at 03:21:40AM +0100, Heinrich Schuchardt wrote: > If CONFIG_AVAILABLE_HARTS=y, variable available_harts_lock is created in > the data section which will not be writable while executing from flash. > > Signed-off-by: Heinrich Schuchardt > --- > arch/riscv/Kconfig | 1 + > 1 f

Re: [PATCH] net: lwip: move eth_init() out of new_netif()

2025-02-02 Thread E Shattow
On 1/30/25 06:50, Tom Rini wrote: > On Thu, Jan 30, 2025 at 09:22:20AM +0100, Jerome Forissier wrote: >> Move the initialization of the ethernet devices out of the new_netif() >> function. Indeed, new_netif() accepts a struct device argument, which >> is expected to be valid and active. The acti

[PATCH] efi_loader: Fix potential deref-after-null

2025-02-02 Thread Maks Mishin
After having been compared to a NULL value at efi_disk.c:426, pointer 'part_info' is dereferenced at efi_disk.c:534. Signed-off-by: Maks Mishin --- lib/efi_loader/efi_disk.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_

[PATCH] tools: ublimage: Fix memory leak in parse_cfg_file()

2025-02-02 Thread Maks Mishin
Dynamic memory, referenced by 'line', is allocated at ublimage.c:159 by calling function 'getline' and lost at ublimage.c:184. Signed-off-by: Maks Mishin --- tools/ublimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ublimage.c b/tools/ublimage.c index 8f9b58c798..a1bd807bfa 100

[PATCH] tools: imx8mimage: Fix potential memory leak

2025-02-02 Thread Maks Mishin
Dynamic memory, referenced by 'line', is allocated at imx8mimage.c:187 by calling function 'getline' and lost at imx8mimage.c:210. Signed-off-by: Maks Mishin --- tools/imx8mimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c index d60d293e64..0f24

[PATCH] tools: imx8image: Fix potential memory leak

2025-02-02 Thread Maks Mishin
Dynamic memory, referenced by 'line', is allocated at imx8image.c:270 by calling function 'getline' and lost at imx8image.c:294. Signed-off-by: Maks Mishin --- tools/imx8image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/imx8image.c b/tools/imx8image.c index 15510d3e71..0135b19095

Re: [PATCH v2 1/1] cmd/setexpr: support concatenation of direct strings

2025-02-02 Thread Tom Rini
On Sun, Feb 02, 2025 at 01:01:00PM +0100, Heinrich Schuchardt wrote: > On 1/20/25 21:52, Tom Rini wrote: > > On Sun, Jan 05, 2025 at 11:46:14AM +0100, Heinrich Schuchardt wrote: > > > > > The setexpr.s command allows to concatenate two strings. > > > > > > According to the description in doc/usag

Re: [PATCH v2 1/1] cmd/setexpr: support concatenation of direct strings

2025-02-02 Thread Heinrich Schuchardt
On 1/20/25 21:52, Tom Rini wrote: On Sun, Jan 05, 2025 at 11:46:14AM +0100, Heinrich Schuchardt wrote: The setexpr.s command allows to concatenate two strings. According to the description in doc/usage/cmd/setexpr.rst the parameters value1 and value2 can be either direct values or pointers to