[PATCH v1] arm: dts: k3-am625-verdin: fix DDRSS configuration

2023-12-19 Thread Francesco Dolcini
From: Emanuele Ghidoli The current DDR subsystem configuration occasionally results in write failures, impacting memory stability, on Verdin AM62 Solo 512MB WB IT 0072 SKU. This commit addresses the issue by adjusting Drive Pull-Up/Down and Write Latency to improve the eye diagram and ensure reli

Re: [PATCH v1] arm: dts: k3-am625-verdin: fix DDRSS configuration

2023-12-19 Thread Francesco Dolcini
On Tue, Dec 19, 2023 at 09:25:33AM +0100, Francesco Dolcini wrote: > From: Emanuele Ghidoli > > The current DDR subsystem configuration occasionally results in write > failures, > impacting memory stability, on Verdin AM62 Solo 512MB WB IT 0072 SKU. > This commit addresses the issue by adjusting

Re: [PATCH v1] arm: dts: k3-am625-verdin: fix DDRSS configuration

2023-12-19 Thread Marcel Ziswiler
On Tue, 2023-12-19 at 09:25 +0100, Francesco Dolcini wrote: > From: Emanuele Ghidoli > > The current DDR subsystem configuration occasionally results in write > failures, > impacting memory stability, on Verdin AM62 Solo 512MB WB IT 0072 SKU. > This commit addresses the issue by adjusting Drive

Re: Using uart1 on mediatek mt8195 derived board

2023-12-19 Thread mbrugger
El 2023-12-08 17:06, Thomas Schaefer va escriure: Hi Macpaul, Fabien, I'm referring to patch series https://patchwork.ozlabs.org/project/uboot/patch/20230804110448.24589-1-macpaul@mediatek.com/ where support for the mediatek mt8195 SOC is introduced into u-boot. We are developing a board bas

Re: [PATCH v3 1/7] rpi5: add initial memory map for bcm2712

2023-12-19 Thread Ivan T. Ivanov
On 12-18 23:25, Stefan Wahren wrote: > > > > +static struct mm_region bcm2712_mem_map[MEM_MAP_MAX_ENTRIES] = { > > + { > in comparison to mach-imx/imx9/soc.c most of the memory maps doesn't > have a describing comment. Yep, I have thinking to add more comments, but decided to not modify too muc

Re:Re: [PATCH v2 13/17] video: rockchip: Add rk3328 vop support

2023-12-19 Thread Andy Yan
Hi Jaqan, 在 2023-12-19 15:42:26,"Jagan Teki" 写道: >Hi Andy, > >On Tue, Dec 19, 2023 at 6:50 AM Andy Yan wrote: >> >> >> Hi Jaqan: >> >> At 2023-12-19 03:11:10, "Jagan Teki" wrote: >> >From: Jagan Teki >> > >> >Add support for Rockchip RK3328 VOP. >> > >> >Require VOP cleanup before handoff to

Re: [RFC PATCH] mxs: Don't enable 4P2 reg if mx28 is powered only from DCDC_BATT without 5V

2023-12-19 Thread Cody Green
On Fri, Dec 15, 2023 at 7:23 PM Fabio Estevam wrote: > > On Fri, Dec 15, 2023 at 1:20 PM Fabio Estevam wrote: > > > Ok, what about the patch below? > > > > https://patchwork.ozlabs.org/project/uboot/patch/20230703205700.9120-1-c...@londelec.com/ > > > > Is this still needed? > > I looked in the

Re: [PATCH v3 4/7] bcm2835: brcm,bcm2708-fb device is using r5g6b5 format

2023-12-19 Thread Ivan T. Ivanov
On 12-18 23:32, Stefan Wahren wrote: > > > > static const struct udevice_id bcm2835_video_ids[] = { > > - { .compatible = "brcm,bcm2835-hdmi" }, > > - { .compatible = "brcm,bcm2711-hdmi0" }, > > - { .compatible = "brcm,bcm2708-fb" }, > > + { .compatible = "brcm,bcm2835-hdmi", .data = VI

Re: [PATCH v2 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-19 Thread Neil Armstrong
On 18/12/2023 20:10, Jagan Teki wrote: From: Jagan Teki DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. Extend the vendor phy handling by adding platform phy hooks. Signed-off-by: Jagan Teki --- Changes for v2: - fix meson cfg drivers/video/dw_hdmi.c | 29 +

Re: [PATHv11 28/43] configs/turris_omnia_defconfig: enable LTO

2023-12-19 Thread Marek Behún
On Mon, 27 Nov 2023 18:57:11 +0600 Maxim Uvarov wrote: > Decrease allowed binary size to fit lwip code. > u-boot-with-spl.kwb exceeds file size limit: > limit: 0xf6000 bytes > actual: 0xf8600 bytes > excess: 0x2600 bytes > > Signed-off-by: Maxim Uvarov > --- > configs/turris_omnia_defco

Re: [PATCH v1 1/1] drivers: misc: Add socfpga_dtreg driver for Intel SoCFPGA

2023-12-19 Thread Marek Vasut
On 12/19/23 08:03, Chee, Tien Fong wrote: Hi, -Original Message- From: Lau, Wan Yee Sent: Friday, December 8, 2023 4:37 PM To: u-boot@lists.denx.de Cc: Simon Glass ; Kever Yang ; Bin Meng ; Jonas Karlman ; Jean-Marie Lemetayer ; Peng Fan ; Vladimir Zapolskiy ; Konrad Dybcio ; Marek Vas

Re: [PATCH 4/4] nvmem: layouts: add U-Boot env layout

2023-12-19 Thread Rafał Miłecki
On 19.12.2023 08:55, Miquel Raynal wrote: Hi Rafał, zaj...@gmail.com wrote on Mon, 18 Dec 2023 23:10:20 +0100: On 18.12.2023 15:21, Miquel Raynal wrote: Hi Rafał, zaj...@gmail.com wrote on Mon, 18 Dec 2023 14:37:22 +0100: From: Rafał Miłecki This patch moves all generic (NVMEM devices

[PATCH u-boot-marvell] arm: mvebu: turris_omnia: Enable networking via ethernet switch

2023-12-19 Thread Marek Behún
From: Marek Mojík The Turris Omnia contains the Marvell 88E6176 ethernet switch. Add config options and device tree to enable the support. Signed-off-by: Marek Mojík Signed-off-by: Marek Behún --- Stefan, this patch depends on [v2] net: mv88e6xxx: fix missing SMI address initialization h

Re: [PATCH 4/4] nvmem: layouts: add U-Boot env layout

2023-12-19 Thread Rafał Miłecki
On 19.12.2023 10:55, Rafał Miłecki wrote: On 19.12.2023 08:55, Miquel Raynal wrote: Hi Rafał, zaj...@gmail.com wrote on Mon, 18 Dec 2023 23:10:20 +0100: On 18.12.2023 15:21, Miquel Raynal wrote: Hi Rafał, zaj...@gmail.com wrote on Mon, 18 Dec 2023 14:37:22 +0100: From: Rafał Miłecki This

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-19 Thread Michael Walle
Hi Heinrich, > Any runtime device drivers for variable storage should not be in the > U-Boot runtime but live in the secure world (e.g. OP-TEE) FF-A is the > new ARM protocol for talking to the secure world and hence fits into > the picture. What if I just want a simple embedded boot stack where

Re: [PATHv11 00/43] net/lwip: add lwip library for the network stack

2023-12-19 Thread Alexander Dahl
Hello Maxim, Am Mon, Nov 27, 2023 at 06:56:43PM +0600 schrieb Maxim Uvarov: > Hello, > > Please find updated version of lwip patches. Changes are in the > changelog bellow. > > Thank you, > Maxim. > > changelog: > v11: - v11 is mosly respin of v10 patches with CI error fixes. >          

Re: [PATCH v2 0/2] ARM: meson: introduce GXL MDIO mux driver and switch to Linux v6.4 DT

2023-12-19 Thread Neil Armstrong
Hi, On Wed, 13 Dec 2023 10:30:11 +0100, Neil Armstrong wrote: > Linux v6.4 uses a new MDIO mux driver for GXL boards, let's port the driver > to U-Boot and sync the GXBB/GXL/GXM DT to make use of this driver. > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boo

AW: Using uart1 on mediatek mt8195 derived board

2023-12-19 Thread Thomas Schaefer
>El 2023-12-08 17:06, Thomas Schaefer va escriure: >> Hi Macpaul, Fabien, >> >> I'm referring to patch series >> https://patc/ >> hwork.ozlabs.org%2Fproject%2Fuboot%2Fpatch%2F20230804110448.24589-1-ma >> cpaul.lin%40mediatek.com%2F&data=05%7C02%7CThomas.Schaefer%40kontron.c >> om%7C7254656e8bcd4a

Re: [PATCH v3 4/7] bcm2835: brcm,bcm2708-fb device is using r5g6b5 format

2023-12-19 Thread Stefan Wahren
Hi Ivan, Am 19.12.23 um 09:51 schrieb Ivan T. Ivanov: On 12-18 23:32, Stefan Wahren wrote: static const struct udevice_id bcm2835_video_ids[] = { - { .compatible = "brcm,bcm2835-hdmi" }, - { .compatible = "brcm,bcm2711-hdmi0" }, - { .compatible = "brcm,bcm2708-fb" }, +

RE: [PATCH 09/13] pinctrl: exynos: Add pinctrl support for Exynos850

2023-12-19 Thread Chanho Park
> -Original Message- > From: U-Boot On Behalf Of Sam Protsenko > Sent: Wednesday, December 13, 2023 12:17 PM > To: Minkyu Kang ; Tom Rini ; > Lukasz Majewski ; Sean Anderson > Cc: Simon Glass ; Heinrich Schuchardt > ; u-boot@lists.denx.de > Subject: [PATCH 09/13] pinctrl: exynos: Add pinc

[RFC PATCH 01/16] dma: ti: k3-udma: Use ring_idx to pair k3 nav rings

2023-12-19 Thread MD Danish Anwar
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id added with bchan_cnt. Signed-off-by: MD Danish Anwar --- drivers/dma/ti/k3-udma.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) di

[RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2023-12-19 Thread MD Danish Anwar
Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI AM654 SR2.0. The ICSSG PRU Sub-system runs on EMAC firmware. This series Introduces support for ICSSG driver in uboot. This series also adds the driver's dependencies. The ICSSG2 node is added in device tree overlay so that i

[PATCH V3] ARM add initial support for the Phytium Pe2201 Board.

2023-12-19 Thread TracyMg_Li
From: TracyMg_Li Add pe2201 platform code and the device tree of pe2201 platform board. The initial support comprises the UART and PCIe. Signed-off-by: TracyMg_Li Changes since v1: fix space corrupt. Changes since v2: switch to bootstd and text environment. ---

[RFC PATCH 01/16] net: ti: icssg: Add Firmware Interface for ICSSG Ethernet driver.

2023-12-19 Thread MD Danish Anwar
Add firmware interface related headers and macros for ICSSG Ethernet driver. These macros will be later used by the ICSSG ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_switch_map.h | 209 ++ 1 file changed, 209 insertions(+) create mode 100

[RFC PATCH 02/16] net: ti: icssg: Add Firmware Interface for ICSSG Ethernet driver.

2023-12-19 Thread MD Danish Anwar
Add firmware interface related headers and macros for ICSSG Ethernet driver. These macros will be later used by the ICSSG ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_switch_map.h | 209 ++ 1 file changed, 209 insertions(+) create mode 100

[RFC PATCH 02/16] net: ti: icssg: Add Firmware config and classification APIs.

2023-12-19 Thread MD Danish Anwar
Add icssg_config.h / .c and icssg_classifier.c files. These are firmware configuration and classification related files. Add MII helper APIs and MACROs. These APIs and MACROs will be later used by ICSSG Ethernet driver. Also introduce icssg_prueth.h which has definition of prueth related structures

[RFC PATCH 03/16] net: ti: icssg: Add Firmware config and classification APIs.

2023-12-19 Thread MD Danish Anwar
Add icssg_config.h / .c and icssg_classifier.c files. These are firmware configuration and classification related files. Add MII helper APIs and MACROs. These APIs and MACROs will be later used by ICSSG Ethernet driver. Also introduce icssg_prueth.h which has definition of prueth related structures

[RFC PATCH 03/16] net: ti: icssg: Add icssg queues APIs and macros

2023-12-19 Thread MD Danish Anwar
Add icssg_queue.c file. This file introduces macros and APIs related to ICSSG queues. These will be used by ICSSG Ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_prueth.h | 5 drivers/net/ti/icssg_queues.c | 51 +++ 2 files changed,

[RFC PATCH 04/16] net: ti: icssg: Add ICSSG ethernet driver

2023-12-19 Thread MD Danish Anwar
This is the PURSS Ethernet driver for TI AM654 Sr2.0 and laterSoCs with the ICSSG PRU Sub-system running EMAC firmware. This driver caters to either of the slices(pru/rtu pair) of the icssg subsystem. One and exactly one of the slices is supported as the u-boot ethernet supports probing one interf

[RFC PATCH 04/16] net: ti: icssg: Add icssg queues APIs and macros

2023-12-19 Thread MD Danish Anwar
Add icssg_queue.c file. This file introduces macros and APIs related to ICSSG queues. These will be used by ICSSG Ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_prueth.h | 5 drivers/net/ti/icssg_queues.c | 51 +++ 2 files changed,

[RFC PATCH 05/16] net: ti: icssg: Add support sending FDB command to update rx_flow_id

2023-12-19 Thread MD Danish Anwar
ICSSG firmware supports FDB commands. Add support to send FDB commands from driver. Once rx_flow_id is obtained from dma, let firmware know that we are using this rx_flow_id by sending a FDB command. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_config.c | 66 ++

[RFC PATCH 05/16] net: ti: icssg: Add ICSSG ethernet driver

2023-12-19 Thread MD Danish Anwar
This is the PURSS Ethernet driver for TI AM654 Sr2.0 and laterSoCs with the ICSSG PRU Sub-system running EMAC firmware. This driver caters to either of the slices(pru/rtu pair) of the icssg subsystem. One and exactly one of the slices is supported as the u-boot ethernet supports probing one interf

[RFC PATCH 06/16] net: ti: icssg: Add support sending FDB command to update rx_flow_id

2023-12-19 Thread MD Danish Anwar
ICSSG firmware supports FDB commands. Add support to send FDB commands from driver. Once rx_flow_id is obtained from dma, let firmware know that we are using this rx_flow_id by sending a FDB command. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_config.c | 66 ++

[RFC PATCH 06/16] net: ti: icssg: Enforce pinctrl state on the MDIO child node

2023-12-19 Thread MD Danish Anwar
The binding represents the MDIO controller as a child device tree node of the MAC device tree node. The U-Boot driver mostly ignores that child device tree node and just hardcodes the resources it uses to support both the MAC and MDIO in a single driver. However, some resources like pinctrl muxin

[RFC PATCH 07/16] arm: dts: k3-am65: Add additional regs for DMA components

2023-12-19 Thread MD Danish Anwar
Add additional reg properties for UDMA and RingAcc nodes which are mostly used by bootloader components before Device Manager firmware services are available, in order to setup DMA transfers. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65-main.dtsi | 8 ++-- arch/arm/dts/k3-am65-mcu

[RFC PATCH 08/16] arm: dts: k3-am65: Add additional regs for DMA components

2023-12-19 Thread MD Danish Anwar
Add additional reg properties for UDMA and RingAcc nodes which are mostly used by bootloader components before Device Manager firmware services are available, in order to setup DMA transfers. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65-main.dtsi | 8 ++-- arch/arm/dts/k3-am65-mcu

[RFC PATCH 09/16] arm: dts: k3-am65: Add cfg reg region to ringacc node

2023-12-19 Thread MD Danish Anwar
Add register range of ringacc cfg node to k3-am65* dtsi files. This is normally under Device Management firmware control but some entities like bootloader have to access directly and thus required to be present in DT. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65-main.dtsi | 5 +++-- a

[RFC PATCH 07/16] net: ti: icssg: Enforce pinctrl state on the MDIO child node

2023-12-19 Thread MD Danish Anwar
The binding represents the MDIO controller as a child device tree node of the MAC device tree node. The U-Boot driver mostly ignores that child device tree node and just hardcodes the resources it uses to support both the MAC and MDIO in a single driver. However, some resources like pinctrl muxin

[RFC PATCH 09/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes

2023-12-19 Thread MD Danish Anwar
The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be sourced from either of the IP instance's ICSSG_IEP_GCLK or ICSSG_ICLK. Add the IEP

[RFC PATCH 10/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support

2023-12-19 Thread MD Danish Anwar
ICSSG2 provides dual Gigabit Ethernet support. Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso Signed-off-by: MD Danish Anwar --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am654-icssg2.dtso | 145 ++ 2 files changed, 147 insertions(+), 1

[RFC PATCH 08/16] arm: dts: k3-am65: Add cfg reg region to ringacc node

2023-12-19 Thread MD Danish Anwar
Add register range of ringacc cfg node to k3-am65* dtsi files. This is normally under Device Management firmware control but some entities like bootloader have to access directly and thus required to be present in DT. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65-main.dtsi | 5 +++-- a

[RFC PATCH 10/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes

2023-12-19 Thread MD Danish Anwar
The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be sourced from either of the IP instance's ICSSG_IEP_GCLK or ICSSG_ICLK. Add the IEP

[RFC PATCH 11/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support

2023-12-19 Thread MD Danish Anwar
ICSSG2 provides dual Gigabit Ethernet support. Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dts Signed-off-by: MD Danish Anwar --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am654-icssg2.dtso | 145 ++ 2 files changed, 147 insertions(+), 1 d

[RFC PATCH 11/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration

2023-12-19 Thread MD Danish Anwar
Add ICSSG2 overlay and configuration to tispl and u-boot images. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65x-binman.dtsi | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/dts/k3-am65x-binman.dtsi b/arch/arm/dts/k3-am65x-binman.dtsi index

[RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration

2023-12-19 Thread MD Danish Anwar
Add ICSSG2 overlay and configuration to tispl and u-boot images. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65x-binman.dtsi | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/dts/k3-am65x-binman.dtsi b/arch/arm/dts/k3-am65x-binman.dtsi index

[RFC PATCH 12/16] configs: am65x_evm_a53: Enable ICSSG Driver

2023-12-19 Thread MD Danish Anwar
Enable ICSSG driver in am65x_evm_a53_defconfig Signed-off-by: MD Danish Anwar --- configs/am65x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 55289b967b..e79a961317 100644 --- a/configs/am65x_evm_a53_

[RFC PATCH 13/16] configs: am65x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY

2023-12-19 Thread MD Danish Anwar
We want SPL to apply DTB overlays (e.g. NAND card overlay) so enable SPL_LOAD_FIT_APPLY_OVERLAY. Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs. Signed-off-by: MD Danish Anwar --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 ins

[RFC PATCH 13/16] configs: am65x_evm_a53: Enable ICSSG Driver

2023-12-19 Thread MD Danish Anwar
Enable ICSSG driver in am65x_evm_a53_defconfig Signed-off-by: MD Danish Anwar --- configs/am65x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 55289b967b..e79a961317 100644 --- a/configs/am65x_evm_a53_

[RFC PATCH 14/16] configs: am65x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY

2023-12-19 Thread MD Danish Anwar
We want SPL to apply DTB overlays (e.g. NAND card overlay) so enable SPL_LOAD_FIT_APPLY_OVERLAY. Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs. Signed-off-by: MD Danish Anwar --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 ins

[RFC PATCH 14/16] tools/fdtgrep: Include __symbols__ table

2023-12-19 Thread MD Danish Anwar
This is required for overlays to work at SPL. Loading of symbol table depends on DT Overlay support in SPL so make it compile-time dependent. Without this SPL fails to boot some platforms where this feature is not enabled (e.g. dra71-evm.) Without including the file, the symbol CONFIG_SPL_LOAD_F

[RFC PATCH 15/16] board: ti: am65x: Add check for k3-am654-icssg2 in board_fit_config_match()

2023-12-19 Thread MD Danish Anwar
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the icssg2 overlay in board_fit_config_match() API. Signed-off-by: MD Danish Anwar --- board/ti/am65x/evm.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.

[RFC PATCH 15/16] tools/fdtgrep: Include __symbols__ table

2023-12-19 Thread MD Danish Anwar
This is required for overlays to work at SPL. Loading of symbol table depends on DT Overlay support in SPL so make it compile-time dependent. Without this SPL fails to boot some platforms where this feature is not enabled (e.g. dra71-evm.) Without including the file, the symbol CONFIG_SPL_LOAD_F

[RFC PATCH 16/16] board: ti: am65x: Add check for k3-am654-icssg2 in board_fit_config_match()

2023-12-19 Thread MD Danish Anwar
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the icssg2 overlay in board_fit_config_match() API. Signed-off-by: MD Danish Anwar --- board/ti/am65x/evm.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.

[RFC PATCH 16/16] Revert "dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation"

2023-12-19 Thread MD Danish Anwar
This reverts commit 9e644284ab812f2db23f6185af77c0e771b0be73. --- drivers/core/ofnode.c | 2 +- include/dm/ofnode.h | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index 21a233f90f..cc2029e62d 100644 --- a/drivers/core/of

Re: [RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2023-12-19 Thread MD Danish Anwar
Hi All, Please ignore this thread. Some mails seems to have been duplicated. I will post another thread soon. Pls ignore this. Sorry for the inconvenience. On 19/12/23 3:41 pm, MD Danish Anwar wrote: > Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI > AM654 SR2.0. > > The

[RFC PATCH 01/16] dma: ti: k3-udma: Use ring_idx to pair k3 nav rings

2023-12-19 Thread MD Danish Anwar
Use ring_idx to pair rings. ring_idx will be same as tx flow_id for all non-negative flow_ids. For negative flow_ids, ring_idx will be tchan->id added with bchan_cnt. Signed-off-by: MD Danish Anwar --- drivers/dma/ti/k3-udma.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) di

[RFC PATCH 00/16] Introduce ICSSG Ethernet driver

2023-12-19 Thread MD Danish Anwar
Introduce ICSSG PRUETH support in uboot. The ICSSG driver is used in TI AM654 SR2.0. The ICSSG PRU Sub-system runs on EMAC firmware. This series Introduces support for ICSSG driver in uboot. This series also adds the driver's dependencies. The ICSSG2 node is added in device tree overlay so that i

[RFC PATCH 05/16] net: ti: icssg: Add ICSSG ethernet driver

2023-12-19 Thread MD Danish Anwar
This is the PURSS Ethernet driver for TI AM654 Sr2.0 and laterSoCs with the ICSSG PRU Sub-system running EMAC firmware. This driver caters to either of the slices(pru/rtu pair) of the icssg subsystem. One and exactly one of the slices is supported as the u-boot ethernet supports probing one interf

[RFC PATCH 06/16] net: ti: icssg: Add support sending FDB command to update rx_flow_id

2023-12-19 Thread MD Danish Anwar
ICSSG firmware supports FDB commands. Add support to send FDB commands from driver. Once rx_flow_id is obtained from dma, let firmware know that we are using this rx_flow_id by sending a FDB command. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_config.c | 66 ++

[RFC PATCH 02/16] net: ti: icssg: Add Firmware Interface for ICSSG Ethernet driver.

2023-12-19 Thread MD Danish Anwar
Add firmware interface related headers and macros for ICSSG Ethernet driver. These macros will be later used by the ICSSG ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_switch_map.h | 209 ++ 1 file changed, 209 insertions(+) create mode 100

[RFC PATCH 04/16] net: ti: icssg: Add icssg queues APIs and macros

2023-12-19 Thread MD Danish Anwar
Add icssg_queue.c file. This file introduces macros and APIs related to ICSSG queues. These will be used by ICSSG Ethernet driver. Signed-off-by: MD Danish Anwar --- drivers/net/ti/icssg_prueth.h | 5 drivers/net/ti/icssg_queues.c | 51 +++ 2 files changed,

[RFC PATCH 10/16] arm: dts: k3-am65-main: Add ICSSG IEP nodes

2023-12-19 Thread MD Danish Anwar
The ICSSG IP on AM65x SoCs have two Industrial Ethernet Peripherals (IEPs) to manage/generate Industrial Ethernet functions such as time stamping. Each IEP sub-module is sourced from an internal clock mux that can be sourced from either of the IP instance's ICSSG_IEP_GCLK or ICSSG_ICLK. Add the IEP

[RFC PATCH 03/16] net: ti: icssg: Add Firmware config and classification APIs.

2023-12-19 Thread MD Danish Anwar
Add icssg_config.h / .c and icssg_classifier.c files. These are firmware configuration and classification related files. Add MII helper APIs and MACROs. These APIs and MACROs will be later used by ICSSG Ethernet driver. Also introduce icssg_prueth.h which has definition of prueth related structures

[RFC PATCH 13/16] configs: am65x_evm_a53: Enable ICSSG Driver

2023-12-19 Thread MD Danish Anwar
Enable ICSSG driver in am65x_evm_a53_defconfig Signed-off-by: MD Danish Anwar --- configs/am65x_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 55289b967b..e79a961317 100644 --- a/configs/am65x_evm_a53_

[RFC PATCH 07/16] net: ti: icssg: Enforce pinctrl state on the MDIO child node

2023-12-19 Thread MD Danish Anwar
The binding represents the MDIO controller as a child device tree node of the MAC device tree node. The U-Boot driver mostly ignores that child device tree node and just hardcodes the resources it uses to support both the MAC and MDIO in a single driver. However, some resources like pinctrl muxin

[RFC PATCH 09/16] arm: dts: k3-am65: Add cfg reg region to ringacc node

2023-12-19 Thread MD Danish Anwar
Add register range of ringacc cfg node to k3-am65* dtsi files. This is normally under Device Management firmware control but some entities like bootloader have to access directly and thus required to be present in DT. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65-main.dtsi | 5 +++-- a

[RFC PATCH 08/16] arm: dts: k3-am65: Add additional regs for DMA components

2023-12-19 Thread MD Danish Anwar
Add additional reg properties for UDMA and RingAcc nodes which are mostly used by bootloader components before Device Manager firmware services are available, in order to setup DMA transfers. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65-main.dtsi | 8 ++-- arch/arm/dts/k3-am65-mcu

[RFC PATCH 16/16] board: ti: am65x: Add check for k3-am654-icssg2 in board_fit_config_match()

2023-12-19 Thread MD Danish Anwar
When CONFIG_TI_ICSSG_PRUETH is enabled, add config name check for the icssg2 overlay in board_fit_config_match() API. Signed-off-by: MD Danish Anwar --- board/ti/am65x/evm.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.

[RFC PATCH 12/16] arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration

2023-12-19 Thread MD Danish Anwar
Add ICSSG2 overlay and configuration to tispl and u-boot images. Signed-off-by: MD Danish Anwar --- arch/arm/dts/k3-am65x-binman.dtsi | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/dts/k3-am65x-binman.dtsi b/arch/arm/dts/k3-am65x-binman.dtsi index

[RFC PATCH 14/16] configs: am65x_evm_a53_defconfig: add SPL_LOAD_FIT_APPLY_OVERLAY

2023-12-19 Thread MD Danish Anwar
We want SPL to apply DTB overlays (e.g. NAND card overlay) so enable SPL_LOAD_FIT_APPLY_OVERLAY. Increase SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ and SPL_STACK_R_MALLOC_SIMPLE_LEN. Without this SPL hangs. Signed-off-by: MD Danish Anwar --- configs/am65x_evm_a53_defconfig | 3 +++ 1 file changed, 3 ins

[RFC PATCH 11/16] arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support

2023-12-19 Thread MD Danish Anwar
ICSSG2 provides dual Gigabit Ethernet support. Add ICSSG2 ethernet node to an overlay k3-am654-icssg2.dtso Signed-off-by: MD Danish Anwar --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/k3-am654-icssg2.dtso | 145 ++ 2 files changed, 147 insertions(+), 1

[RFC PATCH 15/16] tools/fdtgrep: Include __symbols__ table

2023-12-19 Thread MD Danish Anwar
This is required for overlays to work at SPL. Loading of symbol table depends on DT Overlay support in SPL so make it compile-time dependent. Without this SPL fails to boot some platforms where this feature is not enabled (e.g. dra71-evm.) Without including the file, the symbol CONFIG_SPL_LOAD_F

RE: [PATCH 08/13] clk: exynos: Add Exynos850 clock driver

2023-12-19 Thread Chanho Park
> -Original Message- > From: U-Boot On Behalf Of Sam Protsenko > Sent: Wednesday, December 13, 2023 12:17 PM > To: Minkyu Kang ; Tom Rini ; > Lukasz Majewski ; Sean Anderson > Cc: Simon Glass ; Heinrich Schuchardt > ; u-boot@lists.denx.de > Subject: [PATCH 08/13] clk: exynos: Add Exynos85

RE: [PATCH 07/13] clk: exynos: Add Samsung clock framework

2023-12-19 Thread Chanho Park
> -Original Message- > From: U-Boot On Behalf Of Sam Protsenko > Sent: Wednesday, December 13, 2023 12:17 PM > To: Minkyu Kang ; Tom Rini ; > Lukasz Majewski ; Sean Anderson > Cc: Simon Glass ; Heinrich Schuchardt > ; u-boot@lists.denx.de > Subject: [PATCH 07/13] clk: exynos: Add Samsung

RE: [PATCH 05/13] soc: samsung: Add Exynos PMU driver

2023-12-19 Thread Chanho Park
> -Original Message- > From: U-Boot On Behalf Of Sam Protsenko > Sent: Wednesday, December 13, 2023 12:17 PM > To: Minkyu Kang ; Tom Rini ; > Lukasz Majewski ; Sean Anderson > Cc: Simon Glass ; Heinrich Schuchardt > ; u-boot@lists.denx.de > Subject: [PATCH 05/13] soc: samsung: Add Exynos

RE: [PATCH 04/13] soc: samsung: Add Exynos USI driver

2023-12-19 Thread Chanho Park
> -Original Message- > From: U-Boot On Behalf Of Sam Protsenko > Sent: Wednesday, December 13, 2023 12:17 PM > To: Minkyu Kang ; Tom Rini ; > Lukasz Majewski ; Sean Anderson > Cc: Simon Glass ; Heinrich Schuchardt > ; u-boot@lists.denx.de > Subject: [PATCH 04/13] soc: samsung: Add Exynos

RE: [PATCH 06/13] clk: exynos: Move pll code into clk-exynos7420

2023-12-19 Thread Chanho Park
> -Original Message- > From: U-Boot On Behalf Of Sam Protsenko > Sent: Wednesday, December 13, 2023 12:17 PM > To: Minkyu Kang ; Tom Rini ; > Lukasz Majewski ; Sean Anderson > Cc: Simon Glass ; Heinrich Schuchardt > ; u-boot@lists.denx.de > Subject: [PATCH 06/13] clk: exynos: Move pll cod

Re: [PATCH v2 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-19 Thread Jagan Teki
On Tue, Dec 19, 2023 at 2:34 PM Neil Armstrong wrote: > > On 18/12/2023 20:10, Jagan Teki wrote: > > From: Jagan Teki > > > > DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. > > > > Extend the vendor phy handling by adding platform phy hooks. > > > > Signed-off-by: Jagan Teki > >

[PATCH] cmd/mem.c: use memmove in do_mem_cp()

2023-12-19 Thread Rasmus Villemoes
There's no 'mv' shell command for handling overlapping src and dst regions, and there's no point introducing one, when we can just make the existing 'cp' command DTRT in all cases. memmove() should at most be a few instructions more then memcpy() (to detect the appropriate direction to do the copy)

[PATCH] test/py: mdio: Add tests for mdio command

2023-12-19 Thread Love Kumar
Add below test cases for mdio commands: mdio_list - To list MDIO buses mdio_read - To read PHY's register at . mdio_write - To write PHY's register at . Signed-off-by: Love Kumar --- test/py/tests/test_mdio.py | 79 ++ 1 file changed, 79 insertions(+) create

[PATCH v3 0/9] acpi: add ACPI support on QEMU ARM and RISC-V

2023-12-19 Thread Heinrich Schuchardt
QEMU 8.1.2 can create ACPI tables for the ARM and RISC-V architectures Allow passing them through to the operating system. Provide a new config fragment that enables this. v3: let tables in global data depend on CONFIG_(SPL_)ACPI v2: consider ARM architecture too invoke wri

[PATCH v3 1/9] acpi: Kconfig symbol CONFIG_QFW_ACPI

2023-12-19 Thread Heinrich Schuchardt
We have two implementations of write_acpi_tables(). One for writing ACPI tables based on ACPI_WRITER() entries another based on copying tables from QEMU. Create a symbol CONFIG_QFW_ACPI that signifies copying ACPI tables from QEMU and use it consistently. Signed-off-by: Heinrich Schuchardt Revie

[PATCH v3 3/9] arm: add ACPI fields to global data

2023-12-19 Thread Heinrich Schuchardt
Add fields for the location of ACPI tables to the global data. Signed-off-by: Heinrich Schuchardt --- v3: let tables in global data depend on CONFIG_(SPL_)ACPI v2: new patch --- arch/arm/include/asm/global_data.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -

[PATCH v3 2/9] acpi: carve out qfw_acpi.c

2023-12-19 Thread Heinrich Schuchardt
Move the code related to copying tables from QEMU to a separate code module. Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- v3: no change v2: add missing blank line --- drivers/misc/Makefile | 1 + drivers/misc/qfw.c | 240 ---

[PATCH v3 4/9] risc-v: add ACPI fields to global data

2023-12-19 Thread Heinrich Schuchardt
Add fields for the location of ACPI tables to the global data. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v3: let tables in global data depend on CONFIG_(SPL_)ACPI v2: no change --- arch/riscv/include/asm/global_data.h | 6 ++ 1 file changed, 6 insertion

[PATCH v3 5/9] acpi: enable writing ACPI tables on QEMU

2023-12-19 Thread Heinrich Schuchardt
Invoke write_acpi_tables() via EVT_LAST_STAGE_INIT on QEMU except on X86. X86 calls write_acpi_tables() in write_tables(). Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v3: no change v2: new patch --- drivers/misc/qfw_acpi.c | 25 + 1 fi

[PATCH v3 7/9] risc-v: allow usage of ACPI

2023-12-19 Thread Heinrich Schuchardt
Select CONFIG_SUPPORT_ACPI to allow usage of ACPI tables with RISC-V. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v3: no change v2: no change --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index 2e0528d819..c2

[PATCH v3 6/9] risc-v: add support for QEMU firmware tables

2023-12-19 Thread Heinrich Schuchardt
Enable the QEMU firmware interface if ACPI tables are to be supported on the QEMU platform. Enable the QFW MMIO interface if the QEMU firmware interface is enabled. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas --- v3: no change v2: n

[PATCH v3 9/9] arm: enable support for QEMU firmware tables

2023-12-19 Thread Heinrich Schuchardt
Enable the QEMU firmware interface if ACPI tables are to be supported on the QEMU platform. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v3: no change v2: new patch --- board/emulation/qemu-arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/

[PATCH v3 8/9] configs: qemu: add config fragment for ACPI

2023-12-19 Thread Heinrich Schuchardt
Provide a configuration fragment to enable ACPI on QEMU. Signed-off-by: Heinrich Schuchardt Acked-by: Ilias Apalodimas Reviewed-by: Simon Glass --- v3: no change v2: no change --- MAINTAINERS | 1 + board/emulation/configs/acpi.config | 3 +++ doc/boar

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-19 Thread Mark Kettenis
> From: Michael Walle > Date: Tue, 19 Dec 2023 11:11:24 +0100 > > Hi Heinrich, Hi Michael, > > Any runtime device drivers for variable storage should not be in the > > U-Boot runtime but live in the secure world (e.g. OP-TEE) FF-A is the > > new ARM protocol for talking to the secure world and

Re: Proposal: U-Boot memory management

2023-12-19 Thread Tom Rini
On Tue, Dec 19, 2023 at 03:15:38AM +0100, Heinrich Schuchardt wrote: > > > Am 19. Dezember 2023 02:26:00 MEZ schrieb Tom Rini : > >On Tue, Dec 19, 2023 at 01:01:51AM +0100, Heinrich Schuchardt wrote: > >> > >> > >> Am 19. Dezember 2023 00:31:30 MEZ schrieb Tom Rini : > >> >On Tue, Dec 19, 2023

Re: Adding EFI runtime support to the Arm's FF-A bus

2023-12-19 Thread Michael Walle
Hi Mark, > Any runtime device drivers for variable storage should not be in the > U-Boot runtime but live in the secure world (e.g. OP-TEE) FF-A is the > new ARM protocol for talking to the secure world and hence fits into > the picture. What if I just want a simple embedded boot stack where I

Re: [PATCH V3] ARM add initial support for the Phytium Pe2201 Board.

2023-12-19 Thread Tom Rini
On Tue, Dec 19, 2023 at 10:27:27AM +0800, tracymg...@outlook.com wrote: > From: TracyMg_Li > > Add pe2201 platform code and the device tree of pe2201 platform board. > The initial support comprises the UART and PCIe. > > Signed-off-by: TracyMg_Li > Changes since v1: > fix space co

[PATCH v2] arm: spl: Use separate fault handlers instead of a single common one

2023-12-19 Thread Csókás Bence
It may be necessary to set breakpoints etc. on a specific fault handler in SPL. Add a Kconfig option to separate the different handlers into their own individual infinite loops. Signed-off-by: Csókás Bence --- Notes: Changes in v2: * Change `depends`: add `&& !ARM64 && !CPU_V7M` * R

Re: [PATCH v3 8/9] configs: qemu: add config fragment for ACPI

2023-12-19 Thread Bin Meng
Hi Heinrich, On Tue, Dec 19, 2023 at 8:25 PM Heinrich Schuchardt wrote: > > Provide a configuration fragment to enable ACPI on QEMU. > > Signed-off-by: Heinrich Schuchardt > Acked-by: Ilias Apalodimas > Reviewed-by: Simon Glass > --- > v3: > no change > v2: > no change > --- >

Re: [PATCH] lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure

2023-12-19 Thread Tom Rini
On Tue, Dec 19, 2023 at 02:38:59PM +0100, Csókás Bence wrote: > Thank you. Just one question: When can we expect it to be applied? General rule is at least 2 weeks. This will get pulled in for v2024.04. > > 2023. 12. 14. 18:54 keltezéssel, Tom Rini írta: > > On Thu, Dec 14, 2023 at 05:54:17PM +

Re: [PATCH] lib: rsa: Print detailed error info in rsa_engine_init() on engine resolution failure

2023-12-19 Thread Csókás Bence
Thank you. Just one question: When can we expect it to be applied? 2023. 12. 14. 18:54 keltezéssel, Tom Rini írta: On Thu, Dec 14, 2023 at 05:54:17PM +0100, Csókás Bence wrote: Signed-off-by: Csókás Bence Reviewed-by: Tom Rini Bence

Re: [PATCH v3 4/9] risc-v: add ACPI fields to global data

2023-12-19 Thread Bin Meng
On Tue, Dec 19, 2023 at 8:24 PM Heinrich Schuchardt wrote: > > Add fields for the location of ACPI tables to the global data. nits: I believe the tag should be 'riscv' instead of 'risc-v'. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass > --- > v3: > let tables in glo

[PATCH] ti: am335x: Remove unused linker script

2023-12-19 Thread Tom Rini
The board specific linker script has not been used in a long time here, remove it. Signed-off-by: Tom Rini --- board/ti/am335x/u-boot.lds | 164 - 1 file changed, 164 deletions(-) delete mode 100644 board/ti/am335x/u-boot.lds diff --git a/board/ti/am335x/u-b

  1   2   3   >