[PATCH] arm: dts: imx8mp-beacon-kit: Resync DTS with Linux 6.8

2024-03-10 Thread Adam Ford
The device tree has evolved over time, so re-sync. This also partial reverts one change on the PCIe, because U-Boot doesn't have a proper driver. However, since the clock is configured to generate a 100MHz reference clock by default, a proper driver isn't really necessary. Signed-off-by: Adam

[PATCH v2 1/4] rockchip: Update the default USB Product ID value

2024-03-10 Thread Jonas Karlman
RK3036 is using the USB product id normally used by RK3066B, and RK3328 is using the product id normally used by RK3368. Fix this and update the default USB_GADGET_PRODUCT_NUM Kconfig option for remaining supported Rockchip SoCs to match the product id used in Maskrom mode. Also remove a

[PATCH v2 4/4] rockchip: Migrate to use DM_USB_GADGET on RK3328

2024-03-10 Thread Jonas Karlman
USB gadget is not working fully as expected on RK3328, it uses a board_usb_init() function to initialize the DWC2 OTG port. The board_usb_init() function does not intgrate with the generic phy framework and as a result the USB phy is not properly configured before or after USB gadget use. Having

[PATCH v2 2/4] rockchip: board: Prepare for use of DM_USB_GADGET with DWC2_OTG

2024-03-10 Thread Jonas Karlman
The board_usb_init() and board_usb_cleanup() functions is always included when USB_GADGET and USB_GADGET_DWC2_OTG is enabled. Prepare for a change to use DM_USB_GADGET with DWC2_OTG by adding an extra ifdef condition. The extra separate ifdef for USB_GADGET prepare for next patch that adds a

[PATCH v2 3/4] rockchip: board: Use a common USB Product ID for UMS

2024-03-10 Thread Jonas Karlman
Change to use the common Product ID 0x0010 when the ums command is used. This matches downstream vendor U-Boot and is a Product ID that tools such as rkdeveloptool and RKDevTool will identify as MSC mode. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v2: - No change - Collect r-b

Re: [RFC 2/5] riscv: set fdtfile on Milk-V Mars

2024-03-10 Thread E Shattow
On Fri, Mar 8, 2024 at 2:57 PM Heinrich Schuchardt < heinrich.schucha...@canonical.com> wrote: ... > > I do not like this practice of force setting fdtfile environment > > variable. If I set fdtfile from u-boot prompt and saveenv, I expect that > > my action as the user will persist over a reboot

[PATCH] CI: Update to using clang-17

2024-03-10 Thread Tom Rini
Currently, llvm-17 is the stable release. Update our container and CI to fetch and use that. Signed-off-by: Tom Rini --- .azure-pipelines.yml| 6 +++--- .gitlab-ci.yml | 4 ++-- tools/docker/Dockerfile | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [PATCH v3] Makefile: use shell to calculate map_size

2024-03-10 Thread Dragan Simic
On 2024-03-05 18:15, Dragan Simic wrote: On 2024-03-05 17:46, Leon M. Busch-George wrote: From: "Leon M. Busch-George" The error message "bc: command not found" is easily missed since the build continues. bc is not a part of coreutils or base-devel. POSIX sh can also do the calculation.

[PATCH 1/3] board: milkv_duo: Add init code for Milk-V Duo ethernet

2024-03-10 Thread Kongyang Liu
Initialize register in cv1800b ethernet phy to make it compatible with generic phy driver Signed-off-by: Kongyang Liu --- board/sophgo/milkv_duo/Makefile | 3 +- board/sophgo/milkv_duo/board.c| 4 ++ board/sophgo/milkv_duo/ethernet.c | 79 +++

[PATCH] arm: Check FEAT_CCIDX when parsing ccsidr_el1 register

2024-03-10 Thread Lukasz Wiecaszek
Current Cache Size ID Register (ccsidr_el1) has two "flavors" depending on whether FEAT_CCIDX is implemented or not. When FEAT_CCIDX is implemented Associativity parameter is coded on bits [23:3] and NumSets parameter on bits [55:32]. When FEAT_CCIDX is not implemented then Associativity parameter

[PATCH 3/3] configs: milkv_duo: Add ethernet configs

2024-03-10 Thread Kongyang Liu
Add configs related to ethernet and ethernet boot command for Sophgo Milk-V Duo board Signed-off-by: Kongyang Liu --- configs/milkv_duo_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig index e8413d7aa9..f66c4c5358

[PATCH 0/3] board: sophgo: milkv_duo: Add ethernet support for Milk-V Duo board

2024-03-10 Thread Kongyang Liu
This series add init code for cv1800b ethernet phy and enable ethernet support for Sophgo Milk-V Duo board. In cv1800b, due to the PHY register phy_id being initialized to 0, it is necessary to initialize the PHY before the ethernet driver initialization. Therefore, the initialization code is

[PATCH 2/3] riscv: dts: sophgo: Add ethernet node

2024-03-10 Thread Kongyang Liu
Add ethernet node for cv1800b SoC Signed-off-by: Kongyang Liu --- arch/riscv/dts/cv18xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/dts/cv18xx.dtsi b/arch/riscv/dts/cv18xx.dtsi index ec99c4deeb..013372a40c 100644 --- a/arch/riscv/dts/cv18xx.dtsi +++

Re: [PATCH v2] Makefile: use shell to calculate map_size

2024-03-10 Thread Dragan Simic
Hello Leon, On 2024-03-04 21:44, Dragan Simic wrote: On 2024-03-04 21:38, Leon M. Busch-George wrote: From: "Leon M. Busch-George" The error message "bc: command not found" is easily missed since the build continues. bc is not a part of coreutils or base-devel. POSIX sh can also do the

[PATCH V2] mtd: spinand: Add support for XTX SPINAND

2024-03-10 Thread Bruce Suen
Add support for XTX XT26G0xA and XT26xxxD,the driver is ported from linux-6.7.1. Signed-off-by: Bruce Suen --- V1->V2: - remove patch errors --- drivers/mtd/nand/spi/Makefile | 2 +- drivers/mtd/nand/spi/core.c | 1 + drivers/mtd/nand/spi/xtx.c| 266 ++

Re: [PATCH v6 00/11] An effort to bring DT bindings compliance within U-Boot

2024-03-10 Thread Tony Dinh
Hi Sumit, Hi Tom, On Mon, Mar 4, 2024 at 4:29 AM Fabio Estevam wrote: > > On Mon, Mar 4, 2024 at 9:15 AM Sumit Garg wrote: > > > I suppose the earlier reference patch wasn't complete, can you rather > > try its v4 [1] instead? > > > > [1] > >

[PATCH v4] Makefile: use shell to calculate map_size

2024-03-10 Thread Leon M. Busch-George
From: "Leon M. Busch-George" The error message "bc: command not found" is easily missed since the build continues. bc is not a part of coreutils or base-devel. POSIX sh can also do the calculation. Signed-off-by: Leon M. Busch-George Reviewed-by: Dragan Simic --- Makefile | 15

RE: [PATCH] arm: dts: imx8mp-beacon-kit: Resync DTS with Linux 6.8

2024-03-10 Thread Peng Fan
> Subject: [PATCH] arm: dts: imx8mp-beacon-kit: Resync DTS with Linux 6.8 > > The device tree has evolved over time, so re-sync. This also partial reverts > one change on the PCIe, because U-Boot doesn't have a proper driver. > However, since the clock is configured to generate a 100MHz

[PATCH v3 v3 1/1] arch: arm: Agilex5 enablement

2024-03-10 Thread Jit Loon Lim
This patch is to enable Agilex5 platform for Intel product. Changes, modification and new files are created for board, dts, configs and makefile to create the base for Agilex5. Signed-off-by: Jit Loon Lim Changes v2 -> v3: - Added FPGA 240G DDR region Changes v1 -> v2: - fixed git auto merge

[PATCH v3 0/1] Agilex5 enablement

2024-03-10 Thread Jit Loon Lim
V1: https://patchwork.ozlabs.org/project/uboot/patch/20240220143603.22091-1-jit.loon@intel.com/ V2: Fixed Git auto-merge causing misalignment of code and insert/delete V3: Added 240G FPGA DDR region Jit Loon Lim (1): arch: arm: Agilex5 enablement arch/arm/Kconfig

Re: [PATCH] sunxi: h616: add initial support for T95 AXP313 TV Box

2024-03-10 Thread Andre Przywara
On Sat, 9 Mar 2024 19:24:26 + Kamil Kasperski wrote: Hi Kamil, many thanks for sending a patch, that looks mostly good from the technical point of view, only some smaller comments. But please note that the devicetree needs to go through the Linux mailing lists and repo first, and we

Re: [PATCH 1/4] rockchip: Update the default USB Product ID value

2024-03-10 Thread Kever Yang
Hi Jonas, On 2024/3/8 18:42, Jonas Karlman wrote: Hi Kever, On 2024-03-08 10:22, Kever Yang wrote: Hi Jonas,     Thanks for your patch. On 2024/2/27 07:08, Jonas Karlman wrote: RK3036 is using the USB product id normally used by RK3066B, and RK3328 is using the product id normally used

[PATCH v4] board: rockchip: add Rockchip Toybrick TB-RK3588X board

2024-03-10 Thread Elon Zhang
TB-RK3588X board is a Rockchip Toybrick RK3588 based development board. Specification: Rockchip Rk3588 SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 8/16GB Memory LPDDR4x Mali G610MC4 GPU 2× MIPI-CSI0 Connector 1x 2Lanes PCIe3.0 Connector 1x

Re: [PATCH v6] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

2024-03-10 Thread Anwar, Md Danish
On 3/7/2024 6:16 PM, Tom Rini wrote: > On Wed, Feb 28, 2024 at 05:36:45PM +0530, MD Danish Anwar wrote: >> Add APIs to set a firmware_name to a rproc and boot the rproc with the > >> same firmware. >> >> Clients can call rproc_set_firmware() API to set firmware_name for a rproc >> whereas