Re: [PATCH v1 00/12] Support OF_UPSTREAM for StarFive JH7110

2024-10-04 Thread E Shattow
Hi, On Thu, Oct 3, 2024 at 10:23 AM Hal Feng wrote: > > > On 01.10.24 01:56, Heinrich Schuchardt wrote: > > Another approach would be to build all device-trees into U-Boot and use the > > EEPROM information to select the correct one at runtime. > > > > This approach is selected by Wandboard defco

Re: [PATCH v11 20/29] net-lwip: lwIP wget supports user defined port in the uri, so allow it.

2024-10-04 Thread Jon Humphreys
Jerome Forissier writes: > On 10/4/24 09:11, Ilias Apalodimas wrote: >> On Thu, 3 Oct 2024 at 18:47, Jerome Forissier >> wrote: >>> >>> From: Jonathan Humphreys >> >> A short description is missing here > > I will fold this patch into the previous one since it was a review > comment from Jonat

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

2024-10-04 Thread Marek Vasut
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 selection and one for boot-mode. 1.) In the documentation control.rst I read that the u

Re: [PATCH 2/3] dts: Add ability to build DTOs only from arch/$(ARCH)/dts

2024-10-04 Thread Marek Vasut
On 10/4/24 7:40 AM, Sumit Garg wrote: On Fri, 4 Oct 2024 at 07:15, Marek Vasut wrote: On 10/3/24 9:58 AM, Sumit Garg wrote: [...] IMHO, the OF_UPSTREAM migration can wait until all the required DT sources (.dts and .dtso) are present upstream. If we start to mix and match DT sources then it

[PATCH v2 3/3] ARM: dts: stm32: Generate u-boot.itb using binman on DH STM32 DHSOM

2024-10-04 Thread Marek Vasut
Describe the u-boot.its generation in stm32mp15xx-dhsom-u-boot.dtsi binman {} DT node as a replacement for current CONFIG_SPL_FIT_SOURCE use, dispose of both u-boot-dhcom.its and u-boot-dhcor.its. Use fdt-SEQ/config-SEQ to generate a list of fdt-N fitImage images {} and matching configuration {} n

[PATCH v2 2/3] ARM: dts: stm32: Switch to using upstream DT on DH STM32 DHSOM

2024-10-04 Thread Marek Vasut
Enable OF_UPSTREAM to use upstream DT and add st/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi from arch/$(ARCH)/dts/ directory. The previous setup used generic SoC prefix like stm32mp15xx-dhco* for generic DTs which could be used

[PATCH v2 1/3] ARM: dts: stm32: Duplicate cpu0-opp-table node into stm32mp15-u-boot.dtsi

2024-10-04 Thread Marek Vasut
The cpu0-opp-table {} node does not exist in upstream Linux stm32mp151.dtsi file, in order to enable conversion to OF_UPSTREAM, duplicate the node from current U-Boot stm32mp151.dtsi into stm32mp15-u-boot.dtsi. This makes STM32 DTs buildable even with OF_UPSTREAM enabled. No functional change, sinc

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

2024-10-04 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. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Caleb Connolly Cc:

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

2024-10-04 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] ARM: stm32: Update MAINTAINERS file globs for STM32MP DHSOM

2024-10-04 Thread Marek Vasut
On 10/5/24 12:14 AM, Tom Rini wrote: On Fri, Oct 04, 2024 at 11:51:46PM +0200, Marek Vasut wrote: Update the MAINTAINERS file glob to cover all of STM32MP DHSOM related files. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Tom Rini Cc: u-b...@dh-electronics.com

[PATCH v2] ARM: stm32: Update MAINTAINERS file globs for STM32MP DHSOM

2024-10-04 Thread Marek Vasut
Update the MAINTAINERS file glob to cover all of STM32MP DHSOM related files. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: uboot-st...@st-md-mailman.stormreply.com --- V2: Use multiple N: instead of multiple F: --- boar

Re: [PATCH 3/3] board: rockchip: Fix panel detection for mainline A-TF

2024-10-04 Thread Chris Morgan
On Mon, Sep 30, 2024 at 04:59:41PM +0800, Kever Yang wrote: > > On 2024/9/19 21:15, Chris Morgan wrote: > > On Thu, Sep 19, 2024 at 09:48:58AM +0800, Kever Yang wrote: > > > Hi Chris, > > > > > > On 2024/9/18 21:38, Chris Morgan wrote: > > > > On Wed, Sep 18, 2024 at 11:06:34AM +0800, Kever Yang

[PATCH 2/2] Makefile: Drop SPL_FIT_GENERATOR support

2024-10-04 Thread Marek Vasut
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 Cc: Mattijs Korpershoek Cc: Patrice Chotard Cc: Patrick Delaunay

[PATCH 1/2] Makefile: Drop SPL_FIT_SOURCE support

2024-10-04 Thread Marek Vasut
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 Cc: Ilias Apalodimas Cc: Marcel Ziswiler Cc: Mattijs Korpershoek C

[PATCH 3/3] ARM: dts: stm32: Generate u-boot.itb using binman on DH STM32 DHSOM

2024-10-04 Thread Marek Vasut
Describe the u-boot.its generation in stm32mp15xx-dhsom-u-boot.dtsi binman {} DT node as a replacement for current CONFIG_SPL_FIT_SOURCE use, dispose of both u-boot-dhcom.its and u-boot-dhcor.its. Use fdt-SEQ/config-SEQ to generate a list of fdt-N fitImage images {} and matching configuration {} n

[PATCH 2/3] ARM: dts: stm32: Switch to using upstream DT on DH STM32 DHSOM

2024-10-04 Thread Marek Vasut
Enable OF_UPSTREAM to use upstream DT and add st/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi from arch/$(ARCH)/dts/ directory. The previous setup used generic SoC prefix like stm32mp15xx-dhco* for generic DTs which could be used

[PATCH 1/3] ARM: dts: stm32: Duplicate cpu0-opp-table node into stm32mp15-u-boot.dtsi

2024-10-04 Thread Marek Vasut
The cpu0-opp-table {} node does not exist in upstream Linux stm32mp151.dtsi file, in order to enable conversion to OF_UPSTREAM, duplicate the node from current U-Boot stm32mp151.dtsi into stm32mp15-u-boot.dtsi. This makes STM32 DTs buildable even with OF_UPSTREAM enabled. No functional change, sinc

Re: [PATCH] ARM: stm32: Update MAINTAINERS file globs for STM32MP DHSOM

2024-10-04 Thread Tom Rini
On Fri, Oct 04, 2024 at 11:51:46PM +0200, Marek Vasut wrote: > Update the MAINTAINERS file glob to cover all of STM32MP DHSOM related files. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chotard > Cc: Patrick Delaunay > Cc: Tom Rini > Cc: u-b...@dh-electronics.com > Cc: uboot-st...@st-md-

Re: [PATCH v2 03/18] bootstd: Avoid sprintf() in SPL when creating bootdevs

2024-10-04 Thread Tom Rini
On Fri, Sep 20, 2024 at 10:12:42AM +0200, Simon Glass wrote: > The name of the bootdev device is not that important, particular in SPL. > Save a little code space by using a simpler name. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > boot/bootdev-uclass.c | 10 --

[PATCH] ARM: stm32: Update MAINTAINERS file globs for STM32MP DHSOM

2024-10-04 Thread Marek Vasut
Update the MAINTAINERS file glob to cover all of STM32MP DHSOM related files. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Tom Rini Cc: u-b...@dh-electronics.com Cc: uboot-st...@st-md-mailman.stormreply.com --- board/dhelectronics/dh_stm32mp1/MAINTAINERS | 5 ++-

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

2024-10-04 Thread Tom Rini
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 to the current implementation in net/, > sele

Re: [PATCH v8 05/27] sha1: Remove sha1 non-watchdog API

2024-10-04 Thread Raymond Mao
Hi Rasmus, On Fri, 4 Oct 2024 at 03:50, Rasmus Villemoes wrote: > Raymond Mao writes: > > > We don't need an API specially for non-watchdog since sha1_csum_wd > > supports it by disabling CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG. > > Set 0x1 as default chunk size for SHA1. > > > > I have to s

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

2024-10-04 Thread Ilias Apalodimas
Tom On Fri, 4 Oct 2024 at 21: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] a

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

2024-10-04 Thread Tom Rini
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 to the current implementation in net/, > sele

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

2024-10-04 Thread Tom Rini
On Fri, Oct 04, 2024 at 02:55:58PM +0200, Jerome Forissier wrote: > > > On 10/4/24 14:04, 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

Re: [PATCH v11 25/29] CI: add qemu_arm64_lwip to the test matrix

2024-10-04 Thread Tom Rini
On Thu, Oct 03, 2024 at 05:46:29PM +0200, Jerome Forissier wrote: > Build and run qemu_arm64_lwip_defconfig in CI. This tests the lightweight > IP (lwIP) implementation of the dhcp, tftpboot and ping commands. > > Signed-off-by: Jerome Forissier > --- > .azure-pipelines.yml | 7 +++ > 1 file

Re: [PATCH v2 3/4] bootretry: check for bootretry variable changes

2024-10-04 Thread Tom Rini
On Fri, Oct 04, 2024 at 02:46:52PM +0200, Caleb Connolly wrote: > To enable more complex sequencing of the bootmenu, autoboot, and > bootretry, handle changes to the bootretry variable between tries. This > makes it possible to turn bootretry off (e.g. to drop to a shell) and > then back on again.

Re: [PULL] Please pull qcom/qcom-next

2024-10-04 Thread Tom Rini
On Fri, Oct 04, 2024 at 04:22:19PM +0200, Caleb Connolly wrote: > Various improvements and fixes for Qualcomm > > * Initial UFS PHY driver > * Support for SM8150 (clock and pinctrl) > * Allow writing configuration to PMIC GPIOs again > * Support for configuring "special" pins (e.g. UFS reset or s

Re: [PATCH] Update directories for new name of TF-A directories

2024-10-04 Thread Tom Rini
On Fri, 04 Oct 2024 11:40:44 +0100, Peter Robinson wrote: > The TF-A URL was updated, as a result the name of the > directory changed as part of the new git URL and not > all the referenced directories were updated. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH] rockchip: Provid SPL control over otp presence

2024-10-04 Thread Tom Rini
On Fri, 04 Oct 2024 06:21:34 +, Jonas Karlman wrote: > The series "rockchip: Add efuse and otp support to more SoCs" [1], > merged in v2023.04, refactored and extended the Rockchip efuse and otp > driver to support reading eFUSE/OTP for all supported Rockchip SoCs. > > Due to use of different

Re: [PATCH 13/13] global_data.h: remove unnecesary include of cyclic.h

2024-10-04 Thread Tom Rini
On Thu, Oct 03, 2024 at 11:28:02PM +0200, Rasmus Villemoes wrote: > Nothing in cyclic.h is needed to define struct global_data, so do not > include that header. > > If any .c file relies on getting cyclic.h through asm/global_data.h, > it needs to include it itself. > > Signed-off-by: Rasmus Vil

Re: [PATCH 04/13] m68k: asm/ptrace.h: include linux/types.h

2024-10-04 Thread Tom Rini
On Thu, Oct 03, 2024 at 11:27:53PM +0200, Rasmus Villemoes wrote: > Modifying a generic header like watchdog.h, removing not directly used > #includes, can apparently break the build of m68k, because the > asm/ptrace.h header relies on whoever includes it to already have > included something that

Re: [PATCH v2 2/4] cli_hush: run bootmenu on retry

2024-10-04 Thread Tom Rini
On Fri, Oct 04, 2024 at 02:46:51PM +0200, Caleb Connolly wrote: > When CONFIG_BOOT_RETRY is enabled, make hush shell always run the > bootcmd. This is an improvement over failing to build. > > Signed-off-by: Caleb Connolly > --- > common/cli_hush.c | 2 +- > common/cli_hush_upstream.c |

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

2024-10-04 Thread Marek Vasut
On 10/4/24 4:57 PM, Abbarapu, Venkatesh wrote: Hi, -Original Message- From: Marek Vasut Sent: Friday, October 4, 2024 7:22 PM To: Abbarapu, Venkatesh ; u-boot@lists.denx.de Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git (AMD-Xilinx) Subject: Re: [PATCH v3 1/7] usb: onboard-hub:

Re: [PATCH v2 18/18] rockchip: Provided SPL control over efuse presence

2024-10-04 Thread Tom Rini
On Fri, Oct 04, 2024 at 08:28:40AM +0200, Jonas Karlman wrote: > Hi Tom, > > On 2024-10-04 00:25, Tom Rini wrote: > > On Fri, Sep 20, 2024 at 05:08:52PM +0200, Jonas Karlman wrote: > >> Hi Simon, > >> > >> On 2024-09-20 09:24, Simon Glass wrote: > >>> This driver should not generally be present in

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

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

Re: [PATCH 4/4] dma: ti: k3-udma: Move DMA channel[0] allocation to probe and add udma_remove()

2024-10-04 Thread Kumar, Udit
On 10/4/2024 6:50 PM, Prasanth Babu Mantena wrote: From: Santhosh Kumar K Currently, the allocation of DMA channel[0] for memcpy is happening in udma_transfer() for every transfer, which leads to a huge overhead for each transfer, especially in case of nand page reads. So, move this [..]

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

2024-10-04 Thread Kumar, Udit
Hi Prasant, Thanks for series, Could we update the subject of patch something like Remove dma device in spl exit, Sorry but Add dma device remove in spl exit looks little confusing , are we adding or removing ? On 10/4/2024 6:50 PM, Prasanth Babu Mantena wrote: While exiting from spl, rem

Re: [PATCH 2/2] wget: rework the logic to validate the load address

2024-10-04 Thread Caleb Connolly
On 16/09/2024 17:20, Sughosh Ganu wrote: Use the lmb_read_check() function to verify if it is safe to use a region of memory to load data from the wget command. The current logic checks the amount of free memory available, starting from the 'load address'. This call fails if the same region of

[PULL] Please pull qcom/qcom-next

2024-10-04 Thread Caleb Connolly
Various improvements and fixes for Qualcomm * Initial UFS PHY driver * Support for SM8150 (clock and pinctrl) * Allow writing configuration to PMIC GPIOs again * Support for configuring "special" pins (e.g. UFS reset or sdhc pins) * Support for "clk dump" command to decode various clocks. CI: htt

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

2024-10-04 Thread Marek Vasut
On 10/4/24 2:03 PM, Abbarapu, Venkatesh wrote: Hi, -Original Message- From: Marek Vasut Sent: Friday, October 4, 2024 4:52 PM To: Abbarapu, Venkatesh ; u-boot@lists.denx.de Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git (AMD-Xilinx) Subject: Re: [PATCH v3 1/7] usb: onboard-hub:

[PATCH 4/4] dma: ti: k3-udma: Move DMA channel[0] allocation to probe and add udma_remove()

2024-10-04 Thread Prasanth Babu Mantena
From: Santhosh Kumar K Currently, the allocation of DMA channel[0] for memcpy is happening in udma_transfer() for every transfer, which leads to a huge overhead for each transfer, especially in case of nand page reads. So, move this allocation to udma_probe(), as a result, the allocation is done

[PATCH 3/4] dma: ti: k3-udma: Move udma_probe() below all APIs

2024-10-04 Thread Prasanth Babu Mantena
From: Santhosh Kumar K The udma_probe() function was placed above many important APIs related to bcdma, pktdma, which restricts these APIs to be accessed during probe. So, move udma_probe() below all of them. Signed-off-by: Santhosh Kumar K Signed-off-by: Prasanth Babu Mantena --- drivers/dma

[PATCH 2/4] configs: k3: Enable device removal in SPL

2024-10-04 Thread Prasanth Babu Mantena
Enable CONFIG_SPL_DM_DEVICE_REMOVE in a72 and r5. Signed-off-by: Prasanth Babu Mantena --- configs/am62ax_evm_a53_defconfig | 1 + configs/am62ax_evm_r5_defconfig | 1 + configs/am62x_evm_a53_defconfig | 1 + configs/am62x_evm_r5_defconfig | 1 + configs/j7200_evm_a72_defconfig | 1 + confi

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

2024-10-04 Thread Prasanth Babu Mantena
While exiting from spl, remove any dma device active through spl_board_prepare_for_boot(). This is required for cleaning up any dma channels being used in spl and avoid issues with overlapping channel allocation in the next stage bootloaders. Signed-off-by: Prasanth Babu Mantena --- arch/arm/mac

[PATCH 0/4] Cleanup dma device in spl and move dma channel[0]

2024-10-04 Thread Prasanth Babu Mantena
The channel allocation and deallocation for dma copy was happening on every dma transfer. This is a overhead for transactions like NAND, which does page reads recursively for complete data. So, moving the dma allocation to probe and implement corresponding remove function and cleanup dma device wh

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

2024-10-04 Thread Jerome Forissier
On 10/4/24 14:04, 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 needs 8-byte alignment on the link

[PATCH] lxr2: Add DA9063 watchdog support

2024-10-04 Thread Fabio Estevam
From: Fabio Estevam The LXR2 board has a DA9063 that can provide watchdog functionality. The DA9063 watchdog can cause a full POR reset, which is preferred over the built-in i.MX6 watchdog. Signed-off-by: Fabio Estevam --- configs/lxr2_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff

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

2024-10-04 Thread Caleb Connolly
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. Signed-off-by: Caleb Connolly --- doc/board/qualcomm/board.rst | 5

Re: [PATCH] Update the ARM trusted firmware git URL

2024-10-04 Thread Diederik de Haas
Hi, On Wed Oct 2, 2024 at 8:08 PM CEST, Peter Robinson wrote: > The primary upstream URL for tf-a has moved, in some cases > things like tags are not always pushed to the old URL so > update the URLs to the primary upstream project URL. > > Signed-off-by: Peter Robinson > --- > board/rockchip/ev

Issue on dwc_eth_qos.c

2024-10-04 Thread Antonio Cremonini
<<< image/jpeg: EXCLUDED >>>

Re: [PATCH v11 13/29] net-lwip: add DHCP support and dhcp commmand

2024-10-04 Thread Jerome Forissier
On 10/4/24 08:50, Ilias Apalodimas wrote: > Hi Jerome, > > [...] > > >> +#define DHCP_TIMEOUT_MS 1 >> + >> +#ifdef CONFIG_CMD_TFTPBOOT >> +/* Boot file obtained from DHCP (if present) */ >> +static char boot_file_name[DHCP_BOOT_FILE_LEN]; >> +#endif >> + >> +static void call_lwip_dhcp_fin

Re: [PATCH v8 05/27] sha1: Remove sha1 non-watchdog API

2024-10-04 Thread Rasmus Villemoes
Raymond Mao writes: > We don't need an API specially for non-watchdog since sha1_csum_wd > supports it by disabling CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG. > Set 0x1 as default chunk size for SHA1. > I have to say I believe this is a step in the wrong direction. Having everybody call a funct

Re: [PATCH v11 13/29] net-lwip: add DHCP support and dhcp commmand

2024-10-04 Thread Ilias Apalodimas
Hi Jerome, [...] > +#define DHCP_TIMEOUT_MS 1 > + > +#ifdef CONFIG_CMD_TFTPBOOT > +/* Boot file obtained from DHCP (if present) */ > +static char boot_file_name[DHCP_BOOT_FILE_LEN]; > +#endif > + > +static void call_lwip_dhcp_fine_tmr(void *ctx) > +{ > + dhcp_fine_tmr(); > + sys_

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

2024-10-04 Thread Caleb Connolly
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 displaying info about U-Boot. Signed-off-by: Caleb Connolly ---

[PATCH v2 3/4] bootretry: check for bootretry variable changes

2024-10-04 Thread Caleb Connolly
To enable more complex sequencing of the bootmenu, autoboot, and bootretry, handle changes to the bootretry variable between tries. This makes it possible to turn bootretry off (e.g. to drop to a shell) and then back on again. This makes it possible to have a persistent bootmenu (the only way to n

[PATCH v2 2/4] cli_hush: run bootmenu on retry

2024-10-04 Thread Caleb Connolly
When CONFIG_BOOT_RETRY is enabled, make hush shell always run the bootcmd. This is an improvement over failing to build. Signed-off-by: Caleb Connolly --- common/cli_hush.c | 2 +- common/cli_hush_upstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/c

[PATCH v2 0/4] Better smartphone support (Qualcomm)

2024-10-04 Thread Caleb Connolly
Improve support for running U-Boot on [Qualcomm] smartphones, with: * A boot menu which can be entered by holding power during boot * Hang on panic (so errors can be read on the display) * Serial gadget which can be enabled by holding volume down or via boot menu In its current form, U-Boot's b

Re: [PATCH v3] da9063: Add watchdog support

2024-10-04 Thread Stefan Roese
Hi Fabio, On 10/4/24 14:32, Fabio Estevam wrote: Hi Stefan, On 20/09/2024 07:00, Stefan Roese wrote: Changes since v2: - Use u8 instead of char. (Stefan) - Keep the Copyright header from Linux. (Stfan) Reviewed-by: Stefan Roese Would it be OK if I take this patch via the u-boot-imx tree?

Re: [PATCH 0/4] Qualcomm smartphone support

2024-10-04 Thread Caleb Connolly
On 02/10/2024 16:52, Caleb Connolly wrote: On Sat, 31 Aug 2024 17:48:50 +0100, Caleb Connolly wrote: Improve support for running U-Boot on Qualcomm smartphones, with: * A boot menu which can be entered by holding power during boot * Hang on panic (so errors can be read on the display) * Ser

Re: [PATCH v3] da9063: Add watchdog support

2024-10-04 Thread Fabio Estevam
Hi Stefan, On 20/09/2024 07:00, Stefan Roese wrote: Changes since v2: - Use u8 instead of char. (Stefan) - Keep the Copyright header from Linux. (Stfan) Reviewed-by: Stefan Roese Would it be OK if I take this patch via the u-boot-imx tree? I have a patch that adds the DA9063 watchdog supp

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

2024-10-04 Thread Heinrich Schuchardt
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 needs 8-byte alignment on the linker lists, otherwise an exception may occur. Fixes an issue found

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

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

Re: [PATCH v11 15/29] net-lwip: add TFTP support and tftpboot command

2024-10-04 Thread Ilias Apalodimas
On Thu, 3 Oct 2024 at 18:47, Jerome Forissier wrote: > > Implement do_tftpb(). This implementation of the tftp command > supports an optional port number. For example: > > tftp 192.168.0.30:9069:file.bin > > It also supports taking the server IP from ${tftpserverip} if > defined, before falling b

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

2024-10-04 Thread Jerome Forissier
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, Jerome Forissier >>> wrote: When DSA_SANDBOX is not set, the sandbox tests fail

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

2024-10-04 Thread Marek Vasut
On 10/4/24 5:02 AM, Abbarapu, Venkatesh wrote: Hi Marek, -Original Message- From: Marek Vasut Sent: Thursday, October 3, 2024 10:35 PM To: Abbarapu, Venkatesh ; u-boot@lists.denx.de Cc: Simek, Michal ; fabrice.gasn...@foss.st.com; git (AMD-Xilinx) Subject: Re: [PATCH v3 1/7] usb: onbo

Re: [PATCH v3 2/3] usb: dwc3: fix dcache flush range calculation

2024-10-04 Thread Marek Vasut
On 10/4/24 9:16 AM, neil.armstr...@linaro.org wrote: On 03/10/2024 15:19, Marek Vasut wrote: On 10/3/24 2:49 PM, Neil Armstrong wrote: On 02/10/2024 16:55, Marek Vasut wrote: On 10/2/24 4:39 PM, Neil Armstrong wrote: The current flush operation will omit doing a flush/invalidate on the first

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

2024-10-04 Thread Nishanth Menon
On 11:54-20241004, Manorit Chawdhry wrote: > Add AVS and PMIC regulator configs > > Signed-off-by: Manorit Chawdhry > --- > configs/am68_sk_r5_defconfig| 4 > configs/j721s2_evm_r5_defconfig | 6 ++ > 2 files changed, 10 insertions(+) > > diff --git a/c

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

2024-10-04 Thread Nishanth Menon
On 11:54-20241004, Manorit Chawdhry wrote: > MPU clock had been missing. Distinguish multiple clocks with clock-names > and add MPU clock as well. > > Signed-off-by: Manorit Chawdhry We have been a bit hacky with GTC - do we want to pull it out as a separate IP? > --- > arch/

Re: [PATCH 00/13] disentangling cyclic API from schedule()

2024-10-04 Thread Stefan Roese
Hi Rasmus, On 10/3/24 23:27, Rasmus Villemoes wrote: These patches are part of a longer-term plan to properly deal with the HW_WATCHDOG vs WATCHDOG dichotomy, and getting rid of the legacy HW_WATCHDOG concept completely. As part of that, clean up which headers include other headers. While sched

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

2024-10-04 Thread Matthias Brugger
On 4/10/24 10: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. Signed-off-by: P

[PATCH] Update directories for new name of TF-A directories

2024-10-04 Thread Peter Robinson
The TF-A URL was updated, as a result the name of the directory changed as part of the new git URL and not all the referenced directories were updated. Fixes: 0ec0207fe07 ("Update the ARM trusted firmware git URL") Signed-off-by: Peter Robinson --- board/rockchip/evb_rk3399/README | 4 ++-- boa

RE: [PATCH v1] arm: imx: imx8m: soc: Fix VPU fdt disable fixup

2024-10-04 Thread Peng Fan
> Subject: [PATCH v1] arm: imx: imx8m: soc: Fix VPU fdt disable fixup > > From: Vitor Soares > > With the introduction of downstream Linux 6.6, the iMX8MP VPU > block control node in DTS was renamed "blk-ctl@3833" and will > not match the ones found in `node_path_imx8mp` resulting in the > n

RE: [PATCH] ARM: imx: Drop bogus newline

2024-10-04 Thread Peng Fan
> Subject: [PATCH] ARM: imx: Drop bogus newline > > This shows up in 'help' output and introdues bogus gap: > " > mfgprot - Manufacturing Protection > > mii - MII utility commands > " > Drop the newline to fix this. > > Signed-off-by: Marek Vasut > --- Acked-by: Peng Fan

RE: [PATCH V2 1/5] mmc: fsl_esdhc_imx: Enable AHB/IPG clk with clk bulk API

2024-10-04 Thread Peng Fan
> Subject: Re: [PATCH V2 1/5] mmc: fsl_esdhc_imx: Enable AHB/IPG clk > with clk bulk API > > On Tue, Oct 1, 2024 at 9:04 AM Peng Fan (OSS) > wrote: > > > #if CONFIG_IS_ENABLED(CLK) > > /* Assigned clock already set clock */ > > - ret = clk_get_by_name(dev, "per", &priv->per_clk);

Re: [PATCH] Update the ARM trusted firmware git URL

2024-10-04 Thread Peter Robinson
Hey, > > The primary upstream URL for tf-a has moved, in some cases > > things like tags are not always pushed to the old URL so > > update the URLs to the primary upstream project URL. > > > > Signed-off-by: Peter Robinson > > --- > > board/rockchip/evb_rk3399/README | 2 +- > > board/sun

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

2024-10-04 Thread Ilias Apalodimas
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, Jerome Forissier > > wrote: > >> > >> When DSA_SANDBOX is not set, the sandbox tests fail as follows: > >> > >> $ ./test/py/test.py --build-d

Re: [PATCH v11 14/29] lwip: tftp: bind to TFTP port only when in server mode

2024-10-04 Thread Jerome Forissier
On 10/4/24 08:11, Ilias Apalodimas wrote: > Hi Jerome, > > On Thu, 3 Oct 2024 at 18:47, Jerome Forissier > wrote: >> >> The TFTP app should not bind to the TFTP server port when configured as >> a client. Instead, the local port should be chosen from the dynamic >> range (49152 ~ 65535) so tha

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

2024-10-04 Thread Jerome Forissier
On 10/4/24 08:55, Ilias Apalodimas wrote: > Hi Jerome, > > On Thu, 3 Oct 2024 at 18:23, Jerome Forissier > wrote: >> >> When DSA_SANDBOX is not set, the sandbox tests fail as follows: >> >> $ ./test/py/test.py --build-dir=$(pwd) -k bootdev_test_any >> [...] >> Scanning for bootflows with la

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

2024-10-04 Thread Peter Robinson
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. Signed-off-by: Peter Robinson --- board/raspberrypi/rpi/rpi

Re: [PATCH v11 20/29] net-lwip: lwIP wget supports user defined port in the uri, so allow it.

2024-10-04 Thread Jerome Forissier
On 10/4/24 09:11, Ilias Apalodimas wrote: > On Thu, 3 Oct 2024 at 18:47, Jerome Forissier > wrote: >> >> From: Jonathan Humphreys > > A short description is missing here I will fold this patch into the previous one since it was a review comment from Jonathan H. ; Jonathan I hope you don't mi

Re: [PATCH v11 10/29] net: move copy_filename() to new file net/net-common.c

2024-10-04 Thread Jerome Forissier
On 10/4/24 08:52, Ilias Apalodimas wrote: > On Thu, 3 Oct 2024 at 18:24, Jerome Forissier > wrote: >> >> copy_filename() can be useful when NET_LWIP is enabled, therefore >> move it out of net/net.c which is built only when networking choice >> is NET. >> >> Signed-off-by: Jerome Forissier >>

Re: [PATCH v6 25/37] board: emulation: Add QEMU sbsa support

2024-10-04 Thread Patrick Rudolph
Hi Simon, On Thu, Oct 3, 2024 at 3:50 PM Simon Glass wrote: > > Hi Tom, > > On Wed, 2 Oct 2024 at 19:35, Tom Rini wrote: > > > > On Wed, Oct 02, 2024 at 04:55:34PM -0600, Simon Glass wrote: > > > Hi Patrick, > > > > > > On Wed, 2 Oct 2024 at 03:52, Patrick Rudolph > > > wrote: > > > > > > > > Ad

Re: [PATCH v3 2/3] usb: dwc3: fix dcache flush range calculation

2024-10-04 Thread neil . armstrong
On 03/10/2024 15:19, Marek Vasut wrote: On 10/3/24 2:49 PM, Neil Armstrong wrote: On 02/10/2024 16:55, Marek Vasut wrote: On 10/2/24 4:39 PM, Neil Armstrong wrote: The current flush operation will omit doing a flush/invalidate on the first and last bytes if the base address and size are not al

Re: [PATCH v11 04/29] sandbox: add dummy driver ETH_SANDBOX_LWIP

2024-10-04 Thread Ilias Apalodimas
On Thu, 3 Oct 2024 at 18:23, Jerome Forissier wrote: > > Introduce ETH_SANDBOX_LWIP which enables a mock driver similar to > ETH_SANDOX but without the dependencies on the legacy network stack > (NET) so that it may be enabled when the lwIP stack (NET_LWIP) is > introduced. The driver does nothing

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

2024-10-04 Thread Ilias Apalodimas
On Thu, 3 Oct 2024 at 18:23, 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 needs 8-byte alignment on the linker lists, otherwise an > exception may occu

Re: [PATCH v11 20/29] net-lwip: lwIP wget supports user defined port in the uri, so allow it.

2024-10-04 Thread Ilias Apalodimas
On Thu, 3 Oct 2024 at 18:47, Jerome Forissier wrote: > > From: Jonathan Humphreys A short description is missing here Thanks /Ilias > > Signed-off-by: Jonathan Humphreys > Signed-off-by: Jerome Forissier > --- > net/lwip/wget.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/ne