[PATCH v2] net: tftpboot: clear timeout_count on every successful block

2024-12-31 Thread Mikhail Kshevetskiy
We have a some boards that rarely starts networking abnormally, so there are many timeouts during file transfer. In the same time there is a normal transfer between timeouts. In this case we can continue transfer (instead of connection aborting) by just clearing timeout counter on every successfull

[PATCH] net/netcat: add netcat over tcp support

2024-12-31 Thread Mikhail Kshevetskiy
This patch adds downloading/uploading of data with netcat utility. Client/server modes are supported both. This patch is also an example of using new tcp api for legacy stack. How to test: netcat-openbsd=1.219-1 from debian were used for a tests a) Load data from remote host.

Re: [PATCH v2] dma: ti: k3-udma: Fix BCDMA probe by adding check for MMR_RFLOW

2024-12-31 Thread Tom Rini
On Wed, 18 Dec 2024 18:30:45 +0530, Prasanth Babu Mantena wrote: > RFLOW config related MMR does not exist incase of BCDMA. > Add check to bypass the RFLOW MMR extraction. > Without this, the probe sequence fails checking for > the MMR_RFLOW region, which is valid only for packet based > DMA and o

Fwd: New Defects reported by Coverity Scan for Das U-Boot

2024-12-31 Thread Tom Rini
Hey all, here's the latest report. -- Forwarded message - From: Date: Mon, Dec 30, 2024, 10:44 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity Scan. 2 new defe

Re: [PATCH 0/2] Initial support for PXA1908 and samsung-coreprimevelte

2024-12-31 Thread Duje Mihanović
On Monday 30 December 2024 16:25:33 Central European Standard Time Tom Rini wrote: > Yes, this is about moving to OF_UPSTREAM. Strictly and only with respect > to things that we have to deal with due to other bootloaders can we deal > with problems like that in the -u-boot.dtsi file. Otherwise we

UEFI ConOut with systemd-boot: attributes aren't working

2024-12-31 Thread Kevin P. Fleming
I've got a couple of Traverse ten64 machines, which have serial consoles and are using U-Boot 2023.07-rc2 (a bit old, granted). I connect to their consoles using Minicom on a Debian machine. If I stop the U-Boot autoboot process, the U-Boot menu itself is displayed as expected, with 'reverse' h

Re: Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64

2024-12-31 Thread Tom Rini
On Tue, Dec 31, 2024 at 11:58:29AM +0530, Santhosh Kumar K wrote: > Hi, Tom, > > On 30/12/24 23:12, Tom Rini wrote: > > Hey all, > > > > As part of testing the SPI fixes, I tracked down a problem on my AM64X > > SR1.0 GP to the above series. With the series applied, I get: > > => sf probe > > jed

Re: [PATCH v2 0/8] usb: dwc2: Refactor and update USB DWC2 driver

2024-12-31 Thread Peter Robinson
On Mon, 30 Dec 2024 at 14:35, Junhui Liu via B4 Relay < devnull+liujh2818.outlook@kernel.org> wrote: > This series improves the USB DWC2 driver by extracting register > definitions into a common file for better readability and updating the > reset method to reflect changes in version 4.20a, in

Re: rpi: Compute Module 5 doesn't autoboot without debug UART

2024-12-31 Thread Peter Robinson
On Tue, 24 Dec 2024 at 14:00, Gijs Peskens wrote: > I'm working on getting a compute module working with Yocto using U-Boot > as bootloader, which mostly works thanks to previous work to get RPi 5 > working. > However I'm running into a strange issue: if I turn on the CM5 without > the debug UART

Re: [PATCH 0/2] Initial support for PXA1908 and samsung-coreprimevelte

2024-12-31 Thread Tom Rini
On Tue, Dec 31, 2024 at 12:16:28PM +0100, Duje Mihanović wrote: > On Monday 30 December 2024 16:25:33 Central European Standard Time Tom Rini > wrote: > > Yes, this is about moving to OF_UPSTREAM. Strictly and only with respect > > to things that we have to deal with due to other bootloaders can w

Re: [PATCH v5 9/9] board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled

2024-12-31 Thread Tom Rini
On Fri, Dec 13, 2024 at 04:01:29PM +0530, Santhosh Kumar K wrote: > As there are few redundant functions in board/ti/*/evm.c files, pull > them to a common location of access to reuse and include the common file > to access the functions. > > Call k3-ddrss driver through fixup_ddr_driver_for_ecc(

[PATCH] qconfig.py: Update resync message

2024-12-31 Thread Tom Rini
When using qconfig.py to resync defconfig files and commit the result, update it to say: Resync all defconfig files using qconfig.py Signed-off-by: Tom Rini --- tools/qconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qconfig.py b/tools/qconfig.py index 058d72cf

Re: [PATCH v2] dma: ti: k3-udma: Fix BCDMA probe by adding check for MMR_RFLOW

2024-12-31 Thread Tom Rini
On Wed, 18 Dec 2024 18:30:45 +0530, Prasanth Babu Mantena wrote: > RFLOW config related MMR does not exist incase of BCDMA. > Add check to bypass the RFLOW MMR extraction. > Without this, the probe sequence fails checking for > the MMR_RFLOW region, which is valid only for packet based > DMA and o

Re: [PATCH] drivers: firmware: ti_sci: Add DM_FLAG_PRE_RELOC to driver

2024-12-31 Thread Tom Rini
On Tue, 17 Dec 2024 14:24:37 +0530, Manorit Chawdhry wrote: > Currently the driver relies on bootph flag to probe it during PRE_RELOC > stage but with the upcoming cleanup of v6.13, we don't have the bootph > property in the parent nodes anymore and ti_sci driver being one of the > parent nodes re

Re: [PATCH v2 0/4] Fix OSPI boot for J722S

2024-12-31 Thread Tom Rini
On Wed, 18 Dec 2024 18:43:37 +0530, Prasanth Babu Mantena wrote: > This series fixes OSPI boot for J722S. It contains fixes for DMSC > communication, R5 regmap for ospi and dma specific overrides for ospi. > > Test log: > https://gist.github.com/PrasanthBabuMantena/ad469dd09ab7263f85f87dadda46c8

Re: [PATCH] arm: dts: k3-am62p-sk-binman: add SE security variant builds

2024-12-31 Thread Tom Rini
On Tue, 10 Dec 2024 15:43:30 -0600, Bryan Brattlof wrote: > The Texas Instruments Foundational Security (TIFS) firmware must match > the security level configured on the SoC. To boot Security Enforced (SE) > variants of the AM62Px, add another tiboot3 build which packages the > Security Enforced (

Re: [PATCH] arm: dts: k3-j721e-beagleboneai: Move to OF_UPSTREAM

2024-12-31 Thread Tom Rini
On Wed, 18 Dec 2024 11:25:14 +0530, Udit Kumar wrote: > Move to using OF_UPSTREAM config and thus using the devicetree > subtree and remove unused device tree files. > > Applied to u-boot/next, thanks! -- Tom

Re: [EXT] Re: [PATCH v2 16/17] imx95_evk: add i.MX95 19x19 EVK board basic support

2024-12-31 Thread Tim Harvey
On Mon, Dec 30, 2024 at 6:34 PM Alice Guo (OSS) wrote: > > > 主题: [EXT] Re: [PATCH v2 16/17] imx95_evk: add i.MX95 19x19 EVK board > > basic support > > > > > I gave this series a go on top of 5cfbf8c364 origin/next on an EVK I have > > here > > and I saw no u-boot proper output after the ATF. > >

Re: [PATCH v5 0/4] Select CONFIG_64BIT for sandbox64 and x86_64

2024-12-31 Thread Tom Rini
On Mon, 16 Dec 2024 18:07:32 +, Andrew Goodbody wrote: > Picking up a series from Dan Carpenter and applying requested > changes for v2. > > I had previously set CONFIG_64BIT for arm64. This patchset does the > same thing for sandbox and x86_64. (Mips and riscv were already > doing it). Th

Re: [PATCH 00/10] Cumulative fixes and updates for MediaTek ethernet driver

2024-12-31 Thread Tom Rini
On Tue, 17 Dec 2024 16:38:53 +0800, Weijie Gao wrote: > This patch series contains fixes and updates for mtk_eth driver. > > Weijie Gao (10): > clk: mediatek: mt7629: fix parent clock of some top clock muxes > arm: dts: mt7629: fix sgmii clock selection for ethernet > net: mediatek: use cor

Re: [PATCH 0/2] Keep the access to dtb_dt_embedded() within fdtdec

2024-12-31 Thread Tom Rini
On Wed, 11 Dec 2024 01:39:56 +0300, Evgeny Bachinin wrote: > The 1st patch addresses comments from the post-review, available by > link [1]. > > The 2nd patch fixes problems of dtb_dt_embedded() with checkpatch. > > Links: > [1] > https://lore.kernel.org/u-boot/caflsztgekamsa6ftnjzrewqblkqar7

Re: [PATCH v2 7/8] usb: dwc2: Unify flush and reset logic with v4.20a support

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Kongyang Liu This patch merges flush and reset logic for both host and gadget code into a common set of functions, reducing duplication. It also adds support for the updated reset logic to compatible with core version since v4.20a. This

Re: [PATCH v2 4/8] usb: dwc2: Clean up with bitfield macros

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: [...] diff --git a/drivers/usb/gadget/dwc2_udc_otg_regs.h b/drivers/usb/gadget/dwc2_udc_otg_regs.h index 198ba7a7c37d05dca084ef017534265f5fb5fd70..33359ba56f7864525fb435ab52f2b21538e4647f 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_regs.h

Re: [PATCH v2 0/8] usb: dwc2: Refactor and update USB DWC2 driver

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: This series improves the USB DWC2 driver by extracting register definitions into a common file for better readability and updating the reset method to reflect changes in version 4.20a, including the new GRSTCTL_CSFTRST_DONE bit for reset complet

Re: [PATCH v2 5/8] usb: dwc2: Align macros with Linux kernel definitions

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Kongyang Liu Update the DWC2 macros to match those used in the Linux kernel, making it easier to synchronize updates with kernel. Also removed some unused macros to cleanup the code. Signed-off-by: Kongyang Liu Signed-off-by: Junhui Li

Re: [PATCH v2 8/8] usb: dwc2: Replace uint_t types with u

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Kongyang Liu Updates all instances of uint8_t, uint16_t, and uint32_t to u8, u16, and u32 respectively, ensuring consistent use of kernel-preferred types and resolving checkpatch.pl warnings. Signed-off-by: Kongyang Liu Signed-off-by:

Re: [PATCH v2 2/8] usb: dwc2: Fix incorrect ULPI_UTMI_SEL bit setting

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Junhui Liu The ULPI_UTMI_SEL bit in the DWC2 driver was set incorrectly. According to the datasheet [1], this bit should be set to 0 for UTMI interface and 1 for ULPI interface. The existing code had this logic reversed, causing the inte

Re: [PATCH v2 3/8] USB: dwc2: Fix HBstLen setting for external DMA mode

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Kongyang Liu The loop used to calculate HBstLen for extern DMA mode does not produce the correct result according to the datasheet [1]. Replacing that loop with a direct calculation using LOG2 to correctly assign the burst length in the

Re: [PATCH v2 1/8] usb: dwc2: Extract register definitions to common header file

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Kongyang Liu The same registers are accessed in both the otg and gatet drivers of dwc2, and these registers are repeatedly defined in these two parts. Extract register definitions into a common header file to reduce redundancy and make t

Re: [PATCH v2 6/8] usb: dwc2: Extract macro definitions to common header

2024-12-31 Thread Marek Vasut
On 12/30/24 4:30 AM, Junhui Liu via B4 Relay wrote: From: Kongyang Liu Some macros are shared between host and gadget code, causing duplicated definitions. Move DWC2 macro definitions from host and gadget code into a common header to reduce duplication. Signed-off-by: Kongyang Liu Signed-off-

[PATCH v1] riscv: dts: starfive: split out visionfive2 target specific configuration

2024-12-31 Thread E Shattow
Split out StarFive VisionFive2 multi-board target specific configuration into starfive-visionfive2-binman.dtsi in preparation for removal of jh7110-u-boot and jh7110-common-u-boot in part or whole as sent upstream. Signed-off-by: E Shattow --- arch/riscv/dts/jh7110-common-u-boot.dtsi | 95

[PATCH v2 0/3] Initial support for PXA1908 and samsung-coreprimevelte

2024-12-31 Thread Duje Mihanović
Hello, This series adds initial support for Marvell's PXA1908 ARM64 SoC and Samsung's Galaxy Core Prime VE LTE, a smartphone based on said SoC. On this board, U-Boot is used as a secondary bootloader to work around certain quirks of the factory S-Boot. Signed-off-by: Duje Mihanović --- Changes

[PATCH v2 2/3] arm: mmp: add initial support for PXA1908 SoC

2024-12-31 Thread Duje Mihanović
Add initial support for Marvell PXA1908. The SoC has 4 Cortex-A53 cores, a GC7000UL GPU and a variety of peripheral controllers. Signed-off-by: Duje Mihanović --- MAINTAINERS| 8 arch/arm/Kconfig | 11 + arch/arm/Makefile | 1 + arch/arm/dts/pxa19

[PATCH v2 1/3] serial: ns16550: Add Intel XScale support

2024-12-31 Thread Duje Mihanović
Add compatible string for the Intel XScale variant of the 16550. Needed to match upstream. Signed-off-by: Duje Mihanović --- drivers/serial/ns16550.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 3f6860f39162df74c3d1f03d3f9aa900902

[PATCH v2 3/3] board: samsung: add initial support for coreprimevelte board

2024-12-31 Thread Duje Mihanović
Samsung Galaxy Core Prime VE LTE is an entry-level PXA1908-based smartphone. It has 1GB of DRAM, 8GB eMMC and USB connectivity. Signed-off-by: Duje Mihanović --- arch/arm/dts/Makefile | 2 + arch/arm/dts/pxa1908-samsung-coreprimevelte.dts | 74 +