Re: [PATCH] arch: arm: dts: k3-j7200-r5-evm: Enable AVS feature

2024-10-07 Thread Limaye, Aniket
On 9/11/2024 2:07 PM, Udit Kumar wrote: During DT sync with kernel 6.6, AVS feature was removed by mistake. So adding back AVS feature. Fixes: df73e791ce09("arm: dts: j7200: dts sync with Linux 6.6-rc1") Signed-off-by: Udit Kumar Reviewed-by: Aniket Limaye --- Test logs with this patch

Re: [PATCH 1/4] mach-k3: common.c: Add dma device remove in spl exit

2024-10-07 Thread Prasanth Mantena
On 09:59, Kumar, Udit wrote: > Hi Prasanth, > > On 10/6/2024 2:26 PM, Prasanth Mantena wrote: > > On 20:09-20241004, Kumar, Udit wrote: > > Hi Udit, > > > Hi Prasant, > > > > > > Thanks for series, > > > > > > Could we update the subject of patch something like > > > > > > Remove dma device in

[PATCH v6 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-10-07 Thread Venkatesh Yadav Abbarapu
Add i2c initialization hook and set usb5744 platform data with function having required i2c initialization sequence. Apart from the USB command attach, prevent the hub from suspend. when the “USB Attach with SMBUS (0xAA56)” command is issued to the hub, the hub is getting enumerated and then it pu

[PATCH v6 7/7] arm64: zynqmp: Update the usb5744 hub node as per binding

2024-10-07 Thread Venkatesh Yadav Abbarapu
Updating the usb5744 hub node as per the latest upstream DT binding https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ tree/Documentation/devicetree/bindings/usb/microchip,usb5744.yaml?h=v6.8.8 Signed-off-by: Venkatesh Yadav Abbarapu Acked-by: Michal Simek --- arch/arm/dts/zynqmp

[PATCH v6 6/7] configs: zynqmp_kria: Enable the USB onboard hub

2024-10-07 Thread Venkatesh Yadav Abbarapu
USB host support on ZYNQMP KRIA SOM needs onboard USB hub driver for handling reset GPIO and for i2c initialization sequence. Signed-off-by: Venkatesh Yadav Abbarapu Acked-by: Michal Simek --- configs/xilinx_zynqmp_kria_defconfig | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-)

[PATCH v6 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-10-07 Thread Venkatesh Yadav Abbarapu
The .bind function is implemented to bind the correct "half" of the hub that the driver wants to bind, and returning -ENODEV for the other "half". Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 21 + 1 file changed, 21 inserti

[PATCH v6 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-10-07 Thread Venkatesh Yadav Abbarapu
Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub. The usb5744 driver trigger hub reset signal after soft reset. The usb5744 hub need to reset after the phy initialization, which toggles the gpio. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_

[PATCH v6 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Venkatesh Yadav Abbarapu
As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu --- common/usb_onboard_hub.c | 45 +++

[PATCH v6 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-10-07 Thread Venkatesh Yadav Abbarapu
Don't error out if there is no vdd regulator supply, as these are optional properties. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut --- common/usb_onboard_hub.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/usb_onboard_hub.c b/common

[PATCH v6 0/7] Add the USB5744 hub driver as per new DT binding

2024-10-07 Thread Venkatesh Yadav Abbarapu
Add the usb5744/usb2744 hub driver which does the reset gpio toggling and the i2c initialization sequence. Tested the USB5744/USB2744 usb hub for usb0, usb1 with the DT nodes on KR260 board. Changes in v2: - Added the power_on_reset_us variable, for post-reset time. - Removed the DM_REGULATOR ifd

Re: [PATCH v4 0/7] Add AVS support for J721S2

2024-10-07 Thread Manorit Chawdhry
Hi Simon, On 09:23-20241007, Simon Glass wrote: > Hi Manorit, > > On Fri, 4 Oct 2024 at 00:24, Manorit Chawdhry wrote: > > > > This series adds support for AVS on J721S2. > > What is AVS? You should write an abbreviation out in full at least > once in the series.

Re: [PATCH] sandbox: dts: Add missing sandbox,emul phandle to sandbox-pmic

2024-10-07 Thread Heiko Schocher
Hello Marek, On 05.10.24 16:33, Marek Vasut wrote: This phandle was missing in the sandbox DT, add it, otherwise sandbox-i2c driver cannot look up the emulator via i2c_emul_find(). This fixes the following i2c_emul_find() error: " $ ./u-boot -Dc "" ... i2c_emul_find() No emulators for d

Re: [PATCH 4/4] clk: scmi: Add workaround for set_rate/enable/disable

2024-10-07 Thread Tom Rini
On Tue, Oct 08, 2024 at 03:02:13AM +, Peng Fan wrote: > > Subject: Re: [PATCH 4/4] clk: scmi: Add workaround for > > set_rate/enable/disable > > > > On Sun, Oct 06, 2024 at 05:38:25PM +0800, alice@oss.nxp.com > > wrote: > > > From: Ye Li > > > > > > Add workaround to set_rate/enable/disab

RE: [PATCH 4/4] clk: scmi: Add workaround for set_rate/enable/disable

2024-10-07 Thread Peng Fan
> Subject: Re: [PATCH 4/4] clk: scmi: Add workaround for > set_rate/enable/disable > > On Sun, Oct 06, 2024 at 05:38:25PM +0800, alice@oss.nxp.com > wrote: > > From: Ye Li > > > > Add workaround to set_rate/enable/disable to bus clock that SM will > > reply DENIED error. > > > > Signed-off-by

RE: [PATCH v1] arm: global_data: add scmi pointer

2024-10-07 Thread Peng Fan
> Subject: Re: [PATCH v1] arm: global_data: add scmi pointer > > On Sun, Oct 06, 2024 at 05:52:28PM +0800, alice@oss.nxp.com > wrote: > > From: Peng Fan > > > > Add scmi device and channel pointer for i.MX9. > > > > Signed-off-by: Peng Fan > > Signed-off-by: Alice Guo > > Reviewed-by: Ye Li

RE: [PATCH] mmc: dw_mmc: Fix FIFO data transfer timeout

2024-10-07 Thread Peng Fan
> Subject: [PATCH] mmc: dw_mmc: Fix FIFO data transfer timeout > > The commit 0252924ac6d4 ("mmc: dw_mmc: Extract FIFO data > transfer into a separate routine") unintentionally changed behavior of > the FIFO data transfer routine. > > When data is read and size reaches 0 the original loop would w

[PATCH] mmc: dw_mmc: Fix FIFO data transfer timeout

2024-10-07 Thread Jonas Karlman
The commit 0252924ac6d4 ("mmc: dw_mmc: Extract FIFO data transfer into a separate routine") unintentionally changed behavior of the FIFO data transfer routine. When data is read and size reaches 0 the original loop would wait on DWMCI_INTMSK_DTO or timeout. The remaining size to read is no longer

[PATCH v4 3/3] cmd: mtd: add nand_read_test command support

2024-10-07 Thread Mikhail Kshevetskiy
This patch implements read-only test of nand flash devices. Test reads blocks of NAND flash in normal and raw modes and compares results. The following statuses can be returned for a block: * non-ecc reading failed, * ecc reading failed, * block is bad, * bitflips is above maximum, * actual n

[PATCH v4 1/3] cmd: mtd: add markbad command support

2024-10-07 Thread Mikhail Kshevetskiy
Some nand flashes (like spi-nand one) are registered with mtd subsystem only, thus nand command can't be used to work with such flashes. As result some functionality is missing. This patch implements 'nand markbad' functionality for mtd command. Signed-off-by: Mikhail Kshevetskiy --- cmd/Kconfi

[PATCH v4 2/3] cmd: mtd: add nand_write_test command support

2024-10-07 Thread Mikhail Kshevetskiy
Some nand flashes (like spi-nand one) are registered with mtd subsystem only, thus nand command can't be used to work with such flashes. As result some functionality is missing. This patch implements 'nand torture' functionality for mtd command. Signed-off-by: Mikhail Kshevetskiy --- cmd/Kconfi

[PATCH v4 0/3] cmd/mtd: add missed featuries

2024-10-07 Thread Mikhail Kshevetskiy
Some nand flashes (like spi-nand one) are registered with mtd subsystem only, thus nand command can't be used to work with such flashes. As result some functionality is missing. This patch series implements following subcommands: * markbad -- mark block as bad (clone of 'nand markbad') *

[PATCH] sunxi: power: axp809: Fix DCDC4 programming

2024-10-07 Thread Andre Przywara
When trying to set the DCDC4 regulator, the code was accidentally setting the voltage register for DCDC5 (VCC-DRAM). The higher voltage doesn't harm the DRAM chips, but upsets the Linux regulator driver: when it tried to correct that, it tripped over a separate DT bug. The DCDC5 DT limits are 1.425

[PATCH v10 13/13] net/httpd-upload: an example web-server implementation for file uploading

2024-10-07 Thread Mikhail Kshevetskiy
This is an example web-server implementation. It can be used for files uploading to u-boot using a web-browser. It acts much like tftpget, but no special servers needs to be installed by the user. This code can be used as a base for other implementations like firmware upgrade web-server used by so

[PATCH v10 12/13] net/httpd: add httpd common code

2024-10-07 Thread Mikhail Kshevetskiy
This patch adds HTTP/1.1 compatible web-server that can be used by other. Server supports GET, POST, and HEAD requests. On client request it will call user specified GET/POST callback. Then results will be transmitted to client. The following restrictions exist on the POST request at the moment:

[PATCH v10 11/13] net/netcat: add netcat over tcp support

2024-10-07 Thread Mikhail Kshevetskiy
This patch adds downloading/uploading of data with netcat. Client/server mode both supported. How to test: netcat-openbsd=1.219-1 from debian were used for a tests a) Load data from remote host. * U-Boot listen on tcp port 3456 * PC connects u-boot: netcat loa

[PATCH v10 10/13] net/net: fix include ordering

2024-10-07 Thread Mikhail Kshevetskiy
fix include ordering to follow https://docs.u-boot.org/en/latest/develop/codingstyle.html#include-files Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/net.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/net/net.c b/net/net.

[PATCH v10 08/13] net/tcp: simplify tcp header filling code

2024-10-07 Thread Mikhail Kshevetskiy
This patch: * remove useless code, * use a special function for pretty printing of tcp flags, * simplify the code The behavior should not be changed. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 66 +++ 1 fil

[PATCH v10 09/13] net/tcp: define a fallback value for rcv_wnd size

2024-10-07 Thread Mikhail Kshevetskiy
Some driver implements it's own network packet pool, so PKTBUFSRX is zero. This results in zero-size TCP receive window, so data transfer doesn't work. Avoid it by setting a reasonable fallback value. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 6 +- 1 file c

[PATCH v10 06/13] net/tcp: improve tcp framework, use better state machine

2024-10-07 Thread Mikhail Kshevetskiy
Changes: * Fix initial send sequence always zero issue * Use state machine close to RFC 9293. This should make TCP transfers more reliable (now we can upload a huge array of data from the board to external server) * Improve TCP framework a lot. This should make tcp client code much more

[PATCH v10 07/13] test/cmd/wget: fix the test

2024-10-07 Thread Mikhail Kshevetskiy
Changes: * update to new tcp stack * fix zero values for ISS and IRS issue (see RFC 9293) Previously this patch also fix incorrect values for tcp_ack & tcp_seq, but the issue was fixed in * dbb6b5a: sandbox: fix wget test failure after fixing wget issue Signed-off-by: Mikhail Kshevetskiy Revi

[PATCH v10 05/13] net/tcp: rename ack_edge and seq_init to more common rcv_nxt and irs

2024-10-07 Thread Mikhail Kshevetskiy
Use the names from RFC 9293 Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- include/net/tcp.h | 8 net/tcp.c | 32 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/include/net/tcp.h b/include/net/tcp.h index f224

[PATCH v10 04/13] net/tcp: add connection info to tcp_stream structure

2024-10-07 Thread Mikhail Kshevetskiy
Changes: * Avoid use net_server_ip in tcp code, use tcp_stream data instead * Ignore packets from other connections if connection already created. This prevents us from connection break caused by other tcp stream. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- include/net.

[PATCH v10 03/13] net/tcp: put connection specific data into a tcp_stream structure

2024-10-07 Thread Mikhail Kshevetskiy
no functional changes Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- include/net/tcp.h | 37 +++- net/net.c | 11 ++- net/tcp.c | 231 +++--- net/wget.c| 3 +- 4 files changed, 163 insertions(+), 119 deleti

[PATCH v10 02/13] net/tcp: fix selective acknowledge

2024-10-07 Thread Mikhail Kshevetskiy
Current code assume that all (except last) packets are of the same size. This is definitely wrong. Replace SACK code with a new one, that does not rely on this assumption. Also this code uses less memory. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 200 ++

[PATCH v10 01/13] net/tcp: fix TCP options processing

2024-10-07 Thread Mikhail Kshevetskiy
Current TCP code may miss an option if TCP_O_NOP option was used before it for proper aligning. Signed-off-by: Mikhail Kshevetskiy Reviewed-by: Simon Glass --- net/tcp.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/tcp.c b/net/tcp.c index b0cc8a1fe3e..3e3118de45

[PATCH v10 00/13] net: tcp: improve tcp support

2024-10-07 Thread Mikhail Kshevetskiy
U-Boot support of LWIP is not ready for a moment, but we already have some kind of tcp support. Unfrotunately this support is really bad. Some of the known issues: * tcp packet from other connection can break a current one * tcp send sequence always starts from zero * bad tcp options processing

modify live DT with OF_LIVE breaking phy_connect?

2024-10-07 Thread Tim Harvey
Greetings, I have a need to adjust the U-Boot device-tree live with some board revision specific fixups. It would seem I need to enable OF_LIVE to do so but when I do this on imx8mm U-Boot proper seems to fail phy_connect() called from the network device probe. The board I'm working with is an im

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

2024-10-07 Thread Tom Rini
On Mon, Oct 07, 2024 at 08:17:44PM +0200, Richard Weinberger wrote: > - Ursprüngliche Mail - > > Von: "Tom Rini" > > An: "u-boot" > > CC: "Simon Glass" , "Joao Marcos Costa" > > , "Thomas Petazzoni" > > , "Jerome Forissier" > > , "Sughosh Ganu" > > , "Caleb Connolly" , > > "richard" >

Re: [PATCH 3/4] drivers: nand: bcmbca: Enable on BCM6846

2024-10-07 Thread Michael Nazzareno Trimarchi
Hi On Mon, Sep 30, 2024 at 3:25 PM Linus Walleij wrote: > > The BCM6846 has the BRCMBCA NAND controller so enable > it. > > Signed-off-by: Linus Walleij > --- > arch/arm/mach-bcmbca/bcm6846/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-bcmbca/bcm6846/Kconfig

Re: [PATCH 1/4] mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver

2024-10-07 Thread Michael Nazzareno Trimarchi
Hi Linus On Mon, Sep 30, 2024 at 3:24 PM Linus Walleij wrote: > > The Broadcom BCA platforms are broadband access SoCs. > This is a port of the upstream Linux driver to U-Boot. > > Signed-off-by: Linus Walleij > --- > drivers/mtd/nand/raw/Kconfig| 7 ++ > drivers/mtd/nand/raw/

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

2024-10-07 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Tom Rini" > An: "u-boot" > CC: "Simon Glass" , "Joao Marcos Costa" > , "Thomas Petazzoni" > , "Jerome Forissier" > , "Sughosh Ganu" > , "Caleb Connolly" , > "richard" > Gesendet: Montag, 7. Oktober 2024 19:15:05 > Betreff: Fwd: New Defects reported by Co

Re: [PATCH v1] scmi_protocols: Update discover list protocol message

2024-10-07 Thread Fabio Estevam
Hi Alice and NXP folks, > Changing a constant from 3 to 4 isn't good, please define something and > add a comment explaining what the constant means so it'll be clear > when/why someone changes it to 5. Thanks. Please improve all the commit messages from the recent patches. All patches need a cl

[PATCH] watchdog: introduce separate SPL symbol for WDT_GPIO

2024-10-07 Thread Rasmus Villemoes
Currently, enabling WDT_GPIO on a board which uses SPL, but does not have SPL_WDT, SPL_DM_GPIO or SPL_OF_CONTROL enabled, breaks the build. Make it possible to use the WDT_GPIO driver on such boards by introducing a separate symbol controlling whether the driver is built for SPL. Make it default t

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

2024-10-07 Thread Tom Rini
Now that I've merged next to master, there's a number of issues to address. -- Forwarded message - From: Date: Mon, Oct 7, 2024 at 10:59 AM 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-

Re: [PATCH v1] arm: global_data: add scmi pointer

2024-10-07 Thread Tom Rini
On Sun, Oct 06, 2024 at 05:52:28PM +0800, alice@oss.nxp.com wrote: > From: Peng Fan > > Add scmi device and channel pointer for i.MX9. > > Signed-off-by: Peng Fan > Signed-off-by: Alice Guo > Reviewed-by: Ye Li > --- > arch/arm/include/asm/global_data.h | 3 +++ > 1 file changed, 3 inser

Re: [PATCH v1] scmi_protocols: Update discover list protocol message

2024-10-07 Thread Tom Rini
On Sun, Oct 06, 2024 at 05:50:22PM +0800, alice@oss.nxp.com wrote: > From: Ye Li > > When work with System Manager, System Manager provides vendor specific > protocol, so the protocol array size is not enough. > > Signed-off-by: Ye Li > Signed-off-by: Alice Guo > --- > include/scmi_protoc

Re: [PATCH 4/4] clk: scmi: Add workaround for set_rate/enable/disable

2024-10-07 Thread Tom Rini
On Sun, Oct 06, 2024 at 05:38:25PM +0800, alice@oss.nxp.com wrote: > From: Ye Li > > Add workaround to set_rate/enable/disable to bus clock that SM > will reply DENIED error. > > Signed-off-by: Ye Li > Signed-off-by: Alice Guo > Reviewed-by: Peng Fan In general, please include a cover le

Re: [PATCH 14/19] configs: nand2_defconfig: Enable configs for nand boot

2024-10-07 Thread Michael Nazzareno Trimarchi
Hi On Mon, Oct 7, 2024 at 4:23 AM Maniyam, Dinesh wrote: > > > -Original Message- > > From: Tom Rini > > Sent: Saturday, 5 October 2024 11:21 pm > > To: Michael Nazzareno Trimarchi > > Cc: Maniyam, Dinesh ; u-boot@lists.denx.de; > > Marek ; Simon ; Dario > > Binacchi ; Johan Jonker > >

Re: [PATCH v1 2/2] firmware: scmi: smt: enable doorbel return

2024-10-07 Thread Tom Rini
On Sun, Oct 06, 2024 at 03:07:02PM +0800, alice@oss.nxp.com wrote: > From: Viorel Suman > > Enable doorbel return to work iMX95 System Manager. > > Signed-off-by: Viorel Suman > Signed-off-by: Alice Guo > Reviewed-by: Ye Li > --- > drivers/firmware/scmi/smt.c | 3 +++ > drivers/firmware

Re: [PATCH v1 1/2] firmware: scmi: use PAGE_SIZE alignement for ARM64

2024-10-07 Thread Tom Rini
On Sun, Oct 06, 2024 at 03:07:01PM +0800, alice@oss.nxp.com wrote: > From: Peng Fan > > For ARMv7, the alignment could be SECTION size. But for ARM64, use > PAGE_SIZE. > > Signed-off-by: Peng Fan > Signed-off-by: Alice Guo > Reviewed-by: Ye Li > --- > drivers/firmware/scmi/smt.c | 15 +++

Re: [PATCH v1] firmware: scmi: dump error string

2024-10-07 Thread Tom Rini
On Sun, Oct 06, 2024 at 03:13:17PM +0800, alice@oss.nxp.com wrote: > From: Peng Fan > > When error happends, dump string is more intuitive. > > Signed-off-by: Peng Fan > Signed-off-by: Alice Guo > Reviewed-by: Ye Li > --- > drivers/firmware/scmi/scmi_agent-uclass.c | 26 +

Re: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Marek Vasut
On 10/7/24 5:03 PM, Abbarapu, Venkatesh wrote: [...] static int usb_onboard_hub_probe(struct udevice *dev) { struct onboard_hub *hub = dev_get_priv(dev); @@ -30,7 +67,11 @@ static int usb_onboard_hub_probe(struct udevice *dev) if (ret) dev_err(dev, "can't e

Re: [PATCH 2/2] Makefile: Drop SPL_FIT_GENERATOR support

2024-10-07 Thread Simon Glass
On Fri, 4 Oct 2024 at 17:08, Marek Vasut wrote: > > The SPL_FIT_GENERATOR is long superseded by binman, drop SPL_FIT_GENERATOR > support as there are no more users. > > Signed-off-by: Marek Vasut > --- > Cc: AKASHI Takahiro > Cc: Heinrich Schuchardt > Cc: Ilias Apalodimas > Cc: Marcel Ziswiler

Re: [PATCH v2 1/2] dts: Add ability to build fallback DTBOs from arch/$(ARCH)/dts

2024-10-07 Thread Simon Glass
On Fri, 4 Oct 2024 at 19:13, Marek Vasut wrote: > > Currently the enablement of OF_UPSTREAM results on the build system > searching for DTs only in dts/upstream/ . There are platforms which > use U-Boot specific DTBOs applied on top of U-Boot control DT during > SPL stage, and source DTs for these

Re: [PATCH 1/2] Makefile: Drop SPL_FIT_SOURCE support

2024-10-07 Thread Simon Glass
On Fri, 4 Oct 2024 at 17:08, Marek Vasut wrote: > > The SPL_FIT_SOURCE is long superseded by SPL_FIT_GENERATOR which > is long superseded by binman, drop SPL_FIT_SOURCE support as there > are no more users. > > Signed-off-by: Marek Vasut > --- > Cc: AKASHI Takahiro > Cc: Heinrich Schuchardt > C

Re: [PATCH] board: rpi: Pass CMA through from firmware DT

2024-10-07 Thread Simon Glass
On Fri, 4 Oct 2024 at 02:41, Peter Robinson wrote: > > For a lot of usecases, such as display, camera, media > the Raspberry Pi needs a lot more CMA than distros > configure as default so we should pass this parameter > through so things work as expected. Fix a spelling > mistake while we're at it

Re: [PATCH v11 06/29] test: boot: fix bootflow_cmd_label for when DSA_SANDBOX is disabled

2024-10-07 Thread Simon Glass
Hi Jerome, On Fri, 4 Oct 2024 at 06:01, Jerome Forissier wrote: > > > > On 10/4/24 11:37, Ilias Apalodimas wrote: > > On Fri, 4 Oct 2024 at 11:46, Jerome Forissier > > wrote: > >> > >> > >> > >> On 10/4/24 08:55, Ilias Apalodimas wrote: > >>> Hi Jerome, > >>> > >>> On Thu, 3 Oct 2024 at 18:23, J

Re: [PATCH v4 0/7] Add AVS support for J721S2

2024-10-07 Thread Simon Glass
Hi Manorit, On Fri, 4 Oct 2024 at 00:24, Manorit Chawdhry wrote: > > This series adds support for AVS on J721S2. What is AVS? You should write an abbreviation out in full at least once in the series. > > AVS Test for J721S2: > https://gist.github.com/manorit2001/b2fd9f6764a863294d4aa0755c83c84

Re: [PATCH v2] dts: Deduplicate dtbs target

2024-10-07 Thread Simon Glass
On Thu, 3 Oct 2024 at 18:11, Marek Vasut wrote: > > The dtbs: target is almost identical in all architecture Makefiles. > All architecture Makefiles include scripts/Makefile.dts . Deduplicate > the dtbs: target into scripts/Makefile.dts . No functional change. > > Reviewed-by: Sumit Garg > Signed

Re: [PATCH v2 4/4] doc: board/qualcomm: describe phone support and bringup

2024-10-07 Thread Simon Glass
Hi Caleb, On Fri, 4 Oct 2024 at 06:47, Caleb Connolly wrote: > > Add some documentation which attempts to describe Qualcomm smartphone > support with the qcom-phone.config fragment, as well as a high level > debugging guide for diagnosing U-Boot issues when UART and framebuffer > are unavailable.

Re: [PATCH v2 1/4] board/qualcomm: introduce phone config

2024-10-07 Thread Simon Glass
On Fri, 4 Oct 2024 at 06:46, Caleb Connolly wrote: > > Phones don't have keyboards! Introduce a phone-specific config fragment > and associated environment file to make U-Boot more useful on these > devices. This allows for navigating via the buttons and enabling > various USB gadget modes or disp

Re: [PATCH v11 03/29] linker_lists: set LINKER_LIST_ALIGN to 8 for CPU_MIPS64

2024-10-07 Thread Simon Glass
Hi Heinrich, On Fri, 4 Oct 2024 at 06:16, Heinrich Schuchardt wrote: > > On 03.10.24 17:22, Jerome Forissier wrote: > > Note: Patch posted separately [0]. > > > > [0] > > https://patchwork.ozlabs.org/project/uboot/patch/20241003142030.1610222-1-jerome.foriss...@linaro.org/ > > > > CPU_MIPS64 nee

RE: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Abbarapu, Venkatesh
Hi, > -Original Message- > From: Marek Vasut > Sent: Monday, October 7, 2024 5:39 PM > To: Abbarapu, Venkatesh ; u-boot@lists.denx.de > Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git > (AMD-Xilinx) > Subject: Re: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support > > On 10/7/

[ANN] U-Boot v2024.10 released

2024-10-07 Thread Tom Rini
Hey all, It's release day and so here is v2024.07. We had a few last minute bug fixes come in, and while I'd prefer they come in earlier in the release cycle, I'm still happier people are testing before the release comes out instead of after the release is out. I want to thank everyone that's cont

Re: [PATCH 00/10] SMBIOS improvements

2024-10-07 Thread Raymond Mao
Hi Tom and Heinrich, On Thu, 19 Sept 2024 at 13:48, Tom Rini wrote: > On Thu, Sep 19, 2024 at 04:13:02PM +0200, Simon Glass wrote: > > Hi, > > > > On Sun, 15 Sept 2024 at 20:28, Tom Rini wrote: > > > > > > On Sun, Sep 15, 2024 at 07:57:19PM +0200, Heinrich Schuchardt wrote: > > > > On 8/26/24 2

Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable

2024-10-07 Thread Tom Rini
On Mon, Oct 07, 2024 at 11:46:03AM +, Peng Fan wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: Monday, October 7, 2024 6:51 AM > > To: Marek Vasut > > Cc: Alice Guo (OSS) ; u-boot@lists.denx.de; > > sba...@denx.de; feste...@gmail.com; dl-uboot-imx > i...@nxp.com>; Pe

Re: [PATCH] linker_lists: set LINKER_LIST_ALIGN to 8 for CPU_MIPS64

2024-10-07 Thread Jerome Forissier
On 10/3/24 16:20, Jerome Forissier wrote: > CPU_MIPS64 needs 8-byte alignment on the linker lists, otherwise an > exception may occur. Fixes an issue found on malta64 with QEMU: > > Breakpoint 1, lists_driver_lookup_name (name=0xbe043578 > "root_driver") at /home/uboot/u-boot/drivers/cor

Re: [PATCH] linker_lists: set LINKER_LIST_ALIGN to 8 if 64BIT

2024-10-07 Thread Jerome Forissier
On 10/7/24 15:31, Heinrich Schuchardt wrote: > On 07.10.24 14:55, Jerome Forissier wrote: >> >> >> On 10/7/24 11:42, Jerome Forissier wrote: >>> CPU_MIPS64 needs 8-byte alignment on the linker lists, otherwise an >>> exception may occur. In fact all 64BIT architectures should default >>> to 8; t

Re: [PATCH] linker_lists: set LINKER_LIST_ALIGN to 8 if 64BIT

2024-10-07 Thread Heinrich Schuchardt
On 07.10.24 14:55, Jerome Forissier wrote: On 10/7/24 11:42, Jerome Forissier wrote: CPU_MIPS64 needs 8-byte alignment on the linker lists, otherwise an exception may occur. In fact all 64BIT architectures should default to 8; that's what this patch does. Fixes an issue found on malta64 with Q

Re: [PATCH v11 00/29] Introduce the lwIP network stack

2024-10-07 Thread Jerome Forissier
On 10/4/24 20:30, Tom Rini wrote: > On Thu, Oct 03, 2024 at 05:22:46PM +0200, Jerome Forissier wrote: > >> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip >> library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP >> stack [2] [3] as an alternative t

[PATCH] WIP: binman: expand test coverage to nxpimx8mcst

2024-10-07 Thread Brian Ruley
Add coverage for IMX8M code siging. Create PKI tree and other assets required by `cst' using `hab4_pki_tree.sh' script in `cst_3.4.1' [1]. [1] https://www.nxp.com/webapp/Download?colCode=IMX_CST_TOOL_NEW Signed-off-by: Brian Ruley --- tools/binman/ftest.py | 4 ++ tools/binma

Re: [PATCH 1/1] rpi: Fix build error when CONFIG_VIDEO is disabled for Raspberry Pi

2024-10-07 Thread Martin Stolpe
Hi Devarsh, Am Do., 26. Sept. 2024 um 18:45 Uhr schrieb Devarsh Thakkar : > > Thanks for taking a look, I have posted them to the list [1], it would > be great if you could provide a Reviewed-by or Tested-by too. > I've tried to compile the project for am64x_evm_a53 with the patches applied and

Re: [PATCH v3 1/2] binman: cosmetic: code formatting fixes

2024-10-07 Thread Brian Ruley
On Wed, Oct 02, 2024 at 04:55:30PM -0600, Simon Glass wrote: > > Hi Brian, > > On Wed, 2 Oct 2024 at 00:41, Brian Ruley wrote: > > > > On Mon, Sep 30, 2024 at 12:52:24PM -0600, Simon Glass wrote: > > > > > > WARNING: This email originated from outside of GE HealthCare. Please > > > validate the

[PATCH] arm: mach-k3: j784s4: Add clk and power support for wkup_uart

2024-10-07 Thread Bhavya Kapoor
Add clk and device data which can be used by wkup_uart driver to configure clocks and PSC. Signed-off-by: Bhavya Kapoor --- arch/arm/mach-k3/r5/j784s4/clk-data.c | 18 +- arch/arm/mach-k3/r5/j784s4/dev-data.c | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/

[PATCH] binman: Add option for pointing to external description

2024-10-07 Thread Michal Simek
Adding binman node with target images description can be unwanted feature but as of today there is no way to disable it. Also on size constrained systems it is not useful to add binman description to DTB. Introduce BINMAN_EXTERNAL_DTB Kconfig symbol which allows separate DTB for target from DTB for

Re: [PATCH 1/1] rpi: Fix build error when CONFIG_VIDEO is disabled for Raspberry Pi

2024-10-07 Thread Devarsh Thakkar
Hi Martin, On 07/10/24 18:24, Martin Stolpe wrote: > Hi Devarsh, > > Am Do., 26. Sept. 2024 um 18:45 Uhr schrieb Devarsh Thakkar > : > >> >> Thanks for taking a look, I have posted them to the list [1], it would >> be great if you could provide a Reviewed-by or Tested-by too. >> > > I've tried

Re: [PATCH] linker_lists: set LINKER_LIST_ALIGN to 8 if 64BIT

2024-10-07 Thread Jerome Forissier
On 10/7/24 11:42, Jerome Forissier wrote: > CPU_MIPS64 needs 8-byte alignment on the linker lists, otherwise an > exception may occur. In fact all 64BIT architectures should default > to 8; that's what this patch does. > Fixes an issue found on malta64 with QEMU: > > Breakpoint 1, lists_driver

Re: [PATCH v2] usb: gadget: cdns3: Fix cdns3_ep_config() by setting ep.maxpacket

2024-10-07 Thread Roger Quadros
On 07/10/2024 15:19, Siddharth Vadapalli wrote: > The function cdns3_ep_config() calculates the maximum packet size based > on the Endpoint Type and the Gadget Speed and stores it in the variable > "max_packet_size". This value is then programmed in the USB Controller > for the corresponding End

Re: [PATCH] usb: gadget: cdns3: Fix cdns3_ep_config() by setting ep.maxpacket

2024-10-07 Thread Siddharth Vadapalli
On Mon, Oct 07, 2024 at 05:37:52PM +0530, Siddharth Vadapalli wrote: > On Mon, Oct 07, 2024 at 03:02:34PM +0300, Roger Quadros wrote: > > Hello Roger, [...] > > from include/linux/usb/gadget.h > > > > * struct usb_ep - device side representation of USB endpoint > > ... > > * @maxpacket:The ma

[PATCH v2] usb: gadget: cdns3: Fix cdns3_ep_config() by setting ep.maxpacket

2024-10-07 Thread Siddharth Vadapalli
The function cdns3_ep_config() calculates the maximum packet size based on the Endpoint Type and the Gadget Speed and stores it in the variable "max_packet_size". This value is then programmed in the USB Controller for the corresponding Endpoint. This may result in a mismatch between the maximum pa

Re: [PATCH v5 5/7] usb: onboard-hub: Bail out if peer hub is already probed

2024-10-07 Thread Marek Vasut
On 10/7/24 6:45 AM, Venkatesh Yadav Abbarapu wrote: The .bind function is implemented to bind the correct "half" of the hub that the driver wants to bind, and returning -ENODEV for the other "half". Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut

Re: [PATCH v5 4/7] usb: onboard-hub: Add i2c initialization for usb5744 hub

2024-10-07 Thread Marek Vasut
On 10/7/24 6:45 AM, Venkatesh Yadav Abbarapu wrote: @@ -99,6 +199,7 @@ static int usb_onboard_hub_remove(struct udevice *dev) static const struct onboard_hub_data usb5744_data = { .reset_us = 1, .power_on_delay_us = 1, + .init = usb5744_i2c_init, }; static

Re: [PATCH v5 3/7] usb: onboard-hub: add support for Microchip USB5744

2024-10-07 Thread Marek Vasut
On 10/7/24 6:45 AM, Venkatesh Yadav Abbarapu wrote: Add support for the Microchip USB5744 USB3.0 and USB2.0 Hub. The usb5744 driver trigger hub reset signal after soft reset. The usb5744 hub need to reset after the phy initialization, which toggles the gpio. Signed-off-by: Venkatesh Yadav Abbara

Re: [PATCH v5 2/7] usb: onboard-hub: Fix the return values of regulator APIs

2024-10-07 Thread Marek Vasut
On 10/7/24 6:45 AM, Venkatesh Yadav Abbarapu wrote: Don't error out if there is no vdd regulator supply, as these are optional properties. Signed-off-by: Venkatesh Yadav Abbarapu Reviewed-by: Marek Vasut

Re: [PATCH v5 1/7] usb: onboard-hub: Add reset-gpio support

2024-10-07 Thread Marek Vasut
On 10/7/24 6:45 AM, Venkatesh Yadav Abbarapu wrote: As part of the reset, sets the direction of the pin to output before toggling the pin. Delay of millisecond is added in between low and high to meet the setup and hold time requirement of the reset. Signed-off-by: Venkatesh Yadav Abbarapu ---

Re: [PATCH v3 00/13] ufs: enhancements to support Qualcomm UFS controllers

2024-10-07 Thread neil . armstrong
On 07/10/2024 10:17, Neha Malcom Francis wrote: Hi Neil On 07/10/24 13:43, Neil Armstrong wrote: Hi Bhupesh, Neha Malcom Francis, On 30/09/2024 14:44, Neil Armstrong wrote: This serie regroups all the fixes and base enhancements required to support the Qualcomm UFS controllers in U-Boot. Thi

Re: [PATCH] usb: gadget: cdns3: Fix cdns3_ep_config() by setting ep.maxpacket

2024-10-07 Thread Siddharth Vadapalli
On Mon, Oct 07, 2024 at 03:02:34PM +0300, Roger Quadros wrote: Hello Roger, > On 07/10/2024 13:42, Siddharth Vadapalli wrote: > > The function cdns3_ep_config() calculates the maximum packet size based > > on the Endpoint Type and the Gadget Speed and stores it in the variable > > "max_packet_siz

Re: [PATCH] usb: gadget: cdns3: Fix cdns3_ep_config() by setting ep.maxpacket

2024-10-07 Thread Roger Quadros
On 07/10/2024 13:42, Siddharth Vadapalli wrote: > The function cdns3_ep_config() calculates the maximum packet size based > on the Endpoint Type and the Gadget Speed and stores it in the variable > "max_packet_size". This value is then programmed in the USB Controller > for the corresponding End

Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable

2024-10-07 Thread Marek Vasut
On 10/7/24 1:23 PM, Peng Fan wrote: Hi Marek, Hi, Subject: Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable On 10/6/24 11:23 PM, Tom Rini wrote: On Sun, Oct 06, 2024 at 07:31:16AM +0800, alice@oss.nxp.com wrote: From: Peng Fan Make CONFIG_IMX8_ROMAPI could be configured

[PATCH v3 2/2] arm64: dts: imx: Switch to using upstream DT on DH i.MX8MP DHCOM PDK2/PDK3

2024-10-07 Thread Marek Vasut
Enable OF_UPSTREAM to use upstream DT and add freescale/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi and DTBOs from arch/$(ARCH)/dts/ directory. Reviewed-by: Sumit Garg Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team"

[PATCH v3 1/2] dts: Add ability to build fallback DTBOs from arch/$(ARCH)/dts

2024-10-07 Thread Marek Vasut
Currently the enablement of OF_UPSTREAM results on the build system searching for DTs only in dts/upstream/ . There are platforms which use U-Boot specific DTBOs applied on top of U-Boot control DT during SPL stage, and source DTs for these are located in arch/$(ARCH)/dtb. Add dedicated 'dtbos' ta

Re: [PATCH v4 7/7] configs: j721s2_evm_r5_defconfig: Add AVS Configs

2024-10-07 Thread Nishanth Menon
On 11:35-20241007, Manorit Chawdhry wrote: > On 11:34-20241007, Manorit Chawdhry wrote: > > Hi Nishanth, > > > > On 06:30-20241004, Nishanth Menon wrote: > > > On 11:54-20241004, Manorit Chawdhry wrote: > > > > Add AVS and PMIC regulator configs > &

Re: [PATCH v4 3/7] arm: dts: k3-j7*-r5: Add MPU clock in clocks property

2024-10-07 Thread Nishanth Menon
On 11:18-20241007, Manorit Chawdhry wrote: > Hi Nishanth, > > On 06:30-20241004, Nishanth Menon wrote: > > On 11:54-20241004, Manorit Chawdhry wrote: > > > MPU clock had been missing. Distinguish multiple clocks with clock-names > > > and add MPU clock as well. &g

Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable

2024-10-07 Thread Fabio Estevam
On Sat, Oct 5, 2024 at 8:32 PM wrote: > > From: Peng Fan > > Make CONFIG_IMX8_ROMAPI could be configured in defconfig. Please state a clear motivation for doing this and send a v2.

RE: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable

2024-10-07 Thread Peng Fan
> -Original Message- > From: Tom Rini > Sent: Monday, October 7, 2024 6:51 AM > To: Marek Vasut > Cc: Alice Guo (OSS) ; u-boot@lists.denx.de; > sba...@denx.de; feste...@gmail.com; dl-uboot-imx i...@nxp.com>; Peng Fan ; Ross, Fedor > ; Ye Li ; sean...@gmail.com; > Alice Guo > Subject:

RE: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI configurable

2024-10-07 Thread Peng Fan
Hi Marek, > Subject: Re: [PATCH v1] imx: Kconfig: make IMX8_ROMAPI > configurable > > On 10/6/24 11:23 PM, Tom Rini wrote: > > On Sun, Oct 06, 2024 at 07:31:16AM +0800, alice@oss.nxp.com > wrote: > > > >> From: Peng Fan > >> > >> Make CONFIG_IMX8_ROMAPI could be configured in defconfig. > >>

[PATCH] usb: gadget: cdns3: Fix cdns3_ep_config() by setting ep.maxpacket

2024-10-07 Thread Siddharth Vadapalli
The function cdns3_ep_config() calculates the maximum packet size based on the Endpoint Type and the Gadget Speed and stores it in the variable "max_packet_size". This value is then programmed in the USB Controller for the corresponding Endpoint. This may result in a mismatch between the maximum pa

Re: [PATCH 2/9] ARM: dts: socfpga: add Enclustra Intel AA1

2024-10-07 Thread Sumit Garg
On Sat, 5 Oct 2024 at 07:14, Marek Vasut wrote: > > On 9/29/24 9:19 PM, Lothar Rubusch wrote: > > On Sun, Sep 29, 2024 at 6:55 PM Marek Vasut wrote: > >> > >> On 9/28/24 12:47 AM, Lothar Rubusch wrote: > >> > >> [...] > >> > > Ideally I like to setup some Kconfig choice for base board selecti

Re: [PATCH v2 2/2] arm64: dts: imx: Switch to using upstream DT on DH i.MX8MP DHCOM PDK2/PDK3

2024-10-07 Thread Sumit Garg
On Sat, 5 Oct 2024 at 06:43, Marek Vasut wrote: > > Enable OF_UPSTREAM to use upstream DT and add freescale/ prefix to the > DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ > including *-u-boot.dtsi and DTBOs from arch/$(ARCH)/dts/ directory. > > Signed-off-by: Marek Vas

Re: [PATCH v2 1/2] dts: Add ability to build fallback DTBOs from arch/$(ARCH)/dts

2024-10-07 Thread Sumit Garg
Hi Marek, On Sat, 5 Oct 2024 at 06:43, Marek Vasut wrote: > > Currently the enablement of OF_UPSTREAM results on the build system > searching for DTs only in dts/upstream/ . There are platforms which > use U-Boot specific DTBOs applied on top of U-Boot control DT during > SPL stage, and source DT

  1   2   >