Re: [EXTERNAL] Re: [PATCH 0/2] Mitigate warnings occurred during compilation

2023-06-20 Thread Nikhil M Jain
Hi Tom, On 19/06/23 18:48, Tom Rini wrote: On Mon, Jun 19, 2023 at 03:14:01PM +0530, Nikhil M Jain wrote: This patch series aims at mitigating warnings occurred during compilation by including required header files and using appropriate types for variables which are typecasted. Nikhil M Jain

Re: [PATCH 5/7] Makefile: Add a target for building capsules

2023-06-20 Thread Sughosh Ganu
hi Simon, On Mon, 19 Jun 2023 at 18:07, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 15 Jun 2023 at 17:25, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Thu, 15 Jun 2023 at 14:44, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Tue, 13 Jun 2023 at 11:39, Sughosh Ganu > > >

Re: [PATCH 1/7] capsule: authenticate: Embed capsule public key in platform's dtb

2023-06-20 Thread Sughosh Ganu
hi Simon, On Mon, 19 Jun 2023 at 18:07, Simon Glass wrote: > > Hi Sughosh, > > On Thu, 15 Jun 2023 at 17:11, Sughosh Ganu wrote: > > > > hi Simon, > > > > On Thu, 15 Jun 2023 at 14:44, Simon Glass wrote: > > > > > > Hi Sughosh, > > > > > > On Tue, 13 Jun 2023 at 11:41, Sughosh Ganu > > >

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Marek Vasut
On 6/20/23 22:40, Detlev Casanova wrote: On Tuesday, June 20, 2023 4:03:18 P.M. EDT Marek Vasut wrote: On 6/20/23 19:49, Detlev Casanova wrote: On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: On 6/19/23 20:27, Detlev Casanova wrote: On Monday, June 19, 2023 12:11:18 P.M. EDT

Re: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Marek Vasut
On 6/21/23 04:55, Chong, Teik Heng wrote: -Original Message- From: Marek Vasut Sent: Wednesday, 21 June, 2023 9:20 AM To: Chong, Teik Heng ; u-boot@lists.denx.de Cc: Jagan Teki ; Vignesh R ; Simon ; Kris ; Chee, Tien Fong ; Hea, Kok Kiang ; Lokanathan, Raaj ; Maniyam, Dinesh ; Ng, Boon

[PATCH v1 17/17] tools: binman: update binman tool for agilex5

2023-06-20 Thread Jit Loon Lim
From: Sieu Mun Tang This is for new platform enablement for agilex5. Update binman tool for new platform. Signed-off-by: Sieu Mun Tang --- tools/binman/control.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/binman/control.py b/tools/binman/control.py

[PATCH v1 12/17] drivers: phy: add combo phy driver for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add combo phy driver for new platform. Signed-off-by: Jit Loon Lim --- drivers/phy/cadence/Kconfig| 9 + drivers/phy/cadence/Makefile | 1 + drivers/phy/cadence/phy-cadence-combophy.c | 855 +

[PATCH v1 16/17] includes: add and update configuration for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add in new configuration that needed to boot new platform. Signed-off-by: Jit Loon Lim --- arch/arm/mach-socfpga/Kconfig | 55 + configs/socfpga_agilex5_defconfig | 2 + configs/socfpga_agilex5_legacy_defconfig

[PATCH v1 15/17] drivers: watchdog: update watchdog driver for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Update watchdog timeout timer for new platform. Signed-off-by: Jit Loon Lim --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index

[PATCH v1 14/17] drivers: sysreset: add system driver for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add cold, warm reset logic for new platform. Signed-off-by: Jit Loon Lim --- drivers/sysreset/Kconfig| 7 drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_socfpga_agilex5.c | 44

[PATCH v1 13/17] drivers: reset: add reset driver for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add reset driver for new platform. Signed-off-by: Jit Loon Lim --- drivers/reset/reset-socfpga.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/drivers/reset/reset-socfpga.c

[PATCH v1 11/17] drivers: mmc: add mmc/cadence driver for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add mmc and cadence host driver for new platform. Signed-off-by: Jit Loon Lim --- drivers/mmc/mmc.c | 27 +++--- drivers/mmc/sdhci-cadence.c | 164 2 files changed, 160 insertions(+), 31

[PATCH v1 09/17] drivers: clk: altera: add clock support for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new clock files for new platform.Add Signed-off-by: Jit Loon Lim --- drivers/clk/altera/Makefile | 1 + drivers/clk/altera/clk-agilex5.c | 736 +++ drivers/clk/altera/clk-agilex5.h | 263 +++ 3 files

[PATCH v1 08/17] drivers: ddr: altera: add ddr support for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new ddr and iossm mailbox files for new platform.Add Signed-off-by: Jit Loon Lim --- drivers/ddr/altera/Makefile| 5 +- drivers/ddr/altera/iossm_mailbox.c | 786 + drivers/ddr/altera/iossm_mailbox.h | 141

[PATCH v1 10/17] drivers: misc: update driver misc for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Update secure registers, Kconfig and makefile for new platform. Signed-off-by: Jit Loon Lim --- drivers/misc/Kconfig | 9 +++ drivers/misc/Makefile | 1 + drivers/misc/socfpga_secreg.c | 116 ++

[PATCH v1 06/17] configs: add new platform agilex5 defconfig

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new platform defconfig for new platform. Signed-off-by: Jit Loon Lim --- configs/socfpga_agilex5_defconfig| 123 +++ configs/socfpga_agilex5_legacy_defconfig | 85 2 files changed, 208

[PATCH v1 07/17] doc: device-tree-bindings: misc: add secreg text file for agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new secure register text file for new platform. Signed-off-by: Jit Loon Lim --- .../misc/socfpga_secreg.txt | 397 ++ 1 file changed, 397 insertions(+) create mode 100644

[PATCH v1 05/17] board: intel: add new platform agilex5 socdk

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add new platform socdk and update maintainer list. Signed-off-by: Jit Loon Lim --- board/intel/agilex5-socdk/MAINTAINERS | 8 board/intel/agilex5-socdk/Makefile| 7 +++ board/intel/agilex5-socdk/socfpga.c | 7 +++ 3 files

[PATCH v1 04/17] arch: arm: mach-socfpga: include: mach: add new platform agilex5 mach-socfpga enablement

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add platform related header files to enable new product. Signed-off-by: Jit Loon Lim --- .../include/mach/base_addr_soc64.h| 43 +- .../mach-socfpga/include/mach/clock_manager.h | 5 +- .../include/mach/clock_manager_agilex5.h

[PATCH v1 03/17] arch: arm: mach-socfpga: add new platform agilex5 mach-socfpga enablement

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add platform related files to enable new product. Signed-off-by: Jit Loon Lim --- arch/arm/mach-socfpga/Kconfig | 37 +++ arch/arm/mach-socfpga/Makefile| 69 - arch/arm/mach-socfpga/board.c |

[PATCH v1 02/17] arch: arm: dts: add dts and dtsi for new platform agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5. Add agilex5 dtsi and dts. Update checkpatch error for stratix10. Signed-off-by: Jit Loon Lim --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_agilex5-u-boot.dtsi | 459 +

[PATCH v1 01/17] arch: arm: update kconfig for new platform agilex5

2023-06-20 Thread Jit Loon Lim
This is for new platform enablement for agilex5 Signed-off-by: Jit Loon Lim --- arch/arm/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 99264a6478..8e36456fa8 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@

[PATCH v1 00/17] Agilex5 Platform Enablement

2023-06-20 Thread Jit Loon Lim
Intel Agilex5 is a midrange FPGAs optimized for applications requiring high performance, lower power, and smaller form factors and lower logic densities. U-Boot is one of the bootloader to boot along with ARM trusted Firmware to boot the board up. *** BLURB HERE *** Jit Loon Lim (16):

[PATCH v3 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread teik . heng . chong
From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields This bug was found during the testing on Simics model. Referring to specification DesignWare Cores USB 2.0 Hi-Speed On-The-Go (OTG) Databook

RE: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Chong, Teik Heng
> -Original Message- > From: Marek Vasut > Sent: Wednesday, 21 June, 2023 9:20 AM > To: Chong, Teik Heng ; u-boot@lists.denx.de > Cc: Jagan Teki ; Vignesh R > ; Simon ; Kris > ; Chee, Tien Fong ; Hea, > Kok Kiang ; Lokanathan, Raaj > ; Maniyam, Dinesh > ; Ng, Boon Khai ; > Yuslaimi, Alif

Re: [PATCH v5 10/11] ram: starfive: Read memory size information from EEPROM

2023-06-20 Thread Rick Chen
> From: Yanhong Wang > Sent: Thursday, June 15, 2023 5:37 PM > To: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) ; Leo > Yu-Chi Liang(梁育齊) ; Joe Hershberger > ; Ramon Fried > Cc: Yanhong Wang ; Torsten Duwe ; > Leyfoon Tan ; samin . guo > ; Walker Chen ; Hal > Feng > Subject: [PATCH v5

Re: [PATCH v5 11/11] board: starfive: Dynamic configuration of DT for 1.2A and 1.3B

2023-06-20 Thread Rick Chen
> From: Yanhong Wang > Sent: Thursday, June 15, 2023 5:37 PM > To: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) ; Leo > Yu-Chi Liang(梁育齊) ; Joe Hershberger > ; Ramon Fried > Cc: Yanhong Wang ; Torsten Duwe ; > Leyfoon Tan ; samin . guo > ; Walker Chen ; Hal > Feng > Subject: [PATCH v5

Re: [PATCH v2 2/3] riscv: dts: sync mpfs-icicle devicetree with linux

2023-06-20 Thread Rick Chen
> From: Conor Dooley > Sent: Thursday, June 15, 2023 6:13 PM > To: u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > ; Padmarao Begari ; > Conor Dooley > Subject: [PATCH v2 2/3] riscv: dts: sync mpfs-icicle devicetree with linux > > The "notable" disappearances are:

Re: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Marek Vasut
On 6/21/23 02:57, Chong, Teik Heng wrote: -Original Message- From: Marek Vasut Sent: Wednesday, 21 June, 2023 5:38 AM To: Chong, Teik Heng ; u-boot@lists.denx.de Cc: Jagan Teki ; Vignesh R ; Simon ; Kris ; Chee, Tien Fong ; Hea, Kok Kiang ; Lokanathan, Raaj ; Maniyam, Dinesh ; Ng,

RE: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Chong, Teik Heng
-Original Message- From: Marek Vasut Sent: Wednesday, 21 June, 2023 5:38 AM To: Chong, Teik Heng ; u-boot@lists.denx.de Cc: Jagan Teki ; Vignesh R ; Simon ; Kris ; Chee, Tien Fong ; Hea, Kok Kiang ; Lokanathan, Raaj ; Maniyam, Dinesh ; Ng, Boon Khai ; Yuslaimi, Alif Zakuan ; Zamri,

[PATCH] arm: mvebu: Enable gpio-fan for Thecus N2350 board

2023-06-20 Thread Tony Dinh
Add gpio-fan in the DTS and enable the GPIO in board file to start the fan during boot. Note that this patch depends on https://patchwork.ozlabs.org/project/uboot/patch/20230606214539.4229-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh --- arch/arm/dts/armada-385-thecus-n2350.dts | 15

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Marek Vasut
On 6/20/23 12:43, Xavier Drudis Ferran wrote: El Tue, Jun 20, 2023 at 11:49:36AM +0200, Marek Vasut deia: Default, see: $ git grep CONFIG_BOOTCOMMAND configs/ I'm lost. I called default what Kconfig used as default. You seem to call default what's in board specific config files. Whatever.

Re: imx8m optee load address?

2023-06-20 Thread Tim Harvey
On Mon, Jun 19, 2023 at 1:40 PM Tim Harvey wrote: > > On Fri, Jun 16, 2023 at 4:52 PM Tim Harvey wrote: > > > > On Thu, Jun 15, 2023 at 8:31 PM Peng Fan wrote: > > > > > > > > > > > > On 6/16/2023 9:56 AM, Tim Harvey wrote: > > > > Greetings, > > > > > > > > I've seen several IMX8M boards

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-20 Thread Sam Edwards
Hi Andre, On 6/20/23 06:42, Andre Przywara wrote: So yeah, the request of a "Enter FEL" command came up multiple times, but so far no one could be bothered to implement this properly. The idea would be to have a generic command (more like "fel-reset" than efex), and allow each SoC (family) to

Re: [PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread Marek Vasut
On 6/20/23 15:52, teik.heng.ch...@intel.com wrote: From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields Signed-off-by: Teik Heng Chong --- V1->V2 - update subject tags to usb:dwc2 ---

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Tom Rini
On Tue, Jun 20, 2023 at 08:36:11AM +0200, Michal Simek wrote: > > > On 6/19/23 19:04, Eugen Hristev wrote: > > On 6/19/23 19:07, Marek Vasut wrote: > > > On 6/19/23 15:26, Eugen Hristev wrote: > > > > On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: > > > > > [ Felipe: Ported from Linux kernel

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Detlev Casanova
On Tuesday, June 20, 2023 4:03:18 P.M. EDT Marek Vasut wrote: > On 6/20/23 19:49, Detlev Casanova wrote: > > On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: > >> On 6/19/23 20:27, Detlev Casanova wrote: > >>> On Monday, June 19, 2023 12:11:18 P.M. EDT Marek Vasut wrote: > On

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Marek Vasut
On 6/20/23 19:49, Detlev Casanova wrote: On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: On 6/19/23 20:27, Detlev Casanova wrote: On Monday, June 19, 2023 12:11:18 P.M. EDT Marek Vasut wrote: On 6/19/23 16:42, Detlev Casanova wrote: On Friday, June 16, 2023 8:43:33 P.M. EDT

[PATCH] doc: statistics: Re-generate the last 3 releases

2023-06-20 Thread Tom Rini
With some changes to our mapping files in gitdm, re-generate the last few releases worth of statistics to correctly reflect contributions. We only go back this far to try and find a balance between highlighting contributions and still being reviewable. Signed-off-by: Tom Rini ---

Re: [PATCH] rockchip: Pinebook Pro: Fix emmc default configuration

2023-06-20 Thread Vagrant Cascadian
On 2023-05-01, Wolfgang Zarre wrote: > If u-boot is installed on the internal emmc, then this will > allow to boot without failure. > > Signed-off-by: Wolfgang Zarre > Reviewed-by: Kever Yang This is marked as accepted in patchwork, but I do not see it in git yet... Is this planned to land in

[PATCH] mailbox: k3-sec-proxy: Fill non-message tx data fields with 0x0

2023-06-20 Thread Nishanth Menon
Sec proxy data buffer is 60 bytes with the last of the registers indicating transmission completion. This however poses a bit of a challenge. The backing memory for sec_proxy is regular memory, and all sec proxy does is to trigger a burst of all 60 bytes of data over to the target thread backing

Re: [PATCH] usb: eth: lan78xx: Fix logic in lan78xx_read_otp() to avoid a warning

2023-06-20 Thread Tom Rini
On Thu, 04 Jun 2020 16:35:15 -0400, Tom Rini wrote: > In lan78xx_read_otp() we want to know if sig is LAN78XX_OTP_INDICATOR_1 > or LAN78XX_OTP_INDICATOR_2. In the case of matching the first one we > set offset to itself, and clang warns about this. Rework the logic so > that if sig is the

Re: [PATCH] spl: spl-nor: return error if no valid image was loaded

2023-06-20 Thread Tom Rini
On Mon, 30 Jan 2023 10:21:43 +0100, Mario Kicherer wrote: > If only FIT images are enabled and loading the FIT image fails, > spl_nor_load_image() should return an error instead of zero. > > Without this patch: > > >>SPL: board_init_r() > spl_init > Trying to boot from NOR > Unsupported OS

Re: [PATCH v1 3/4] sysinfo: rcar3: Implement BOARD_ID and BOARD_REVISION

2023-06-20 Thread Detlev Casanova
On Monday, June 19, 2023 5:54:44 P.M. EDT Marek Vasut wrote: > On 6/19/23 20:27, Detlev Casanova wrote: > > On Monday, June 19, 2023 12:11:18 P.M. EDT Marek Vasut wrote: > >> On 6/19/23 16:42, Detlev Casanova wrote: > >>> On Friday, June 16, 2023 8:43:33 P.M. EDT Marek Vasut wrote: > On

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Simon Glass
Hi Jan, On Tue, 20 Jun 2023 at 18:05, Jan Kiszka wrote: > > On 20.06.23 16:36, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 20 Jun 2023 at 11:37, Jan Kiszka wrote: > >> > >> On 20.06.23 12:11, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: >

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Jan Kiszka
On 20.06.23 16:36, Simon Glass wrote: > Hi Jan, > > On Tue, 20 Jun 2023 at 11:37, Jan Kiszka wrote: >> >> On 20.06.23 12:11, Simon Glass wrote: >>> Hi Jan, >>> >>> On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: On 19.06.23 16:09, Simon Glass wrote: > Hi Jan, > > On Mon,

Re: [PATCH 3/3] arm: dts: imx8mn: protect the firmware/optee node with ifdef

2023-06-20 Thread Fabio Estevam
On Tue, Jun 20, 2023 at 12:19 PM Tim Harvey wrote: > > There is no need to include the firmware/optee node if the optee > driver is not enabled. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH 2/3] arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi

2023-06-20 Thread Fabio Estevam
On Tue, Jun 20, 2023 at 12:19 PM Tim Harvey wrote: > > Move the firmware/optee node to the common imx8mp-u-boot.dtsi and > protect it with an ifdef CONFIG_OPTEE as it is a meaningless node > without the optee driver enabled. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH 1/3] arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi

2023-06-20 Thread Fabio Estevam
On Tue, Jun 20, 2023 at 12:19 PM Tim Harvey wrote: > > Move the firmware/optee node to the common imx8mm-u-boot.dtsi and > protect it with an ifdef CONFIG_OPTEE as it is a meaningless node > without the optee driver enabled. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

[PATCH 3/3] arm: dts: imx8mn: protect the firmware/optee node with ifdef

2023-06-20 Thread Tim Harvey
There is no need to include the firmware/optee node if the optee driver is not enabled. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mn-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx8mn-u-boot.dtsi b/arch/arm/dts/imx8mn-u-boot.dtsi index

[PATCH 2/3] arm: dts: imx8mp: move firmware/optee node to common imx8mp-u-boot.dtsi

2023-06-20 Thread Tim Harvey
Move the firmware/optee node to the common imx8mp-u-boot.dtsi and protect it with an ifdef CONFIG_OPTEE as it is a meaningless node without the optee driver enabled. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mp-beacon-kit-u-boot.dtsi | 7 ---

[PATCH 1/3] arm: dts: imx8mm: move firmware/optee node to common imx8mm-u-boot.dtsi

2023-06-20 Thread Tim Harvey
Move the firmware/optee node to the common imx8mm-u-boot.dtsi and protect it with an ifdef CONFIG_OPTEE as it is a meaningless node without the optee driver enabled. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi | 7 ---

Re: [PATCH] spl: spl_nor: use panic instead of hang if booting fails

2023-06-20 Thread Tom Rini
On Mon, Jan 30, 2023 at 11:03:03AM +0100, Mario Kicherer wrote: > On systems without a watchdog, using hang() prevents a system to > recover from an error. For example, a board could implement a boot > counter to switch to an alternative load address after some failed > tries. > > Signed-off-by:

Re: [PATCH] Add Renesas patch attribution domain mapping

2023-06-20 Thread Tom Rini
On Tue, Jun 20, 2023 at 01:49:43PM +0200, Marek Vasut wrote: > Add domain mapping for the +renesas mail, so that the patches get > attributed to to Renesas Electronics correctly. > > Signed-off-by: Marek Vasut Applied to gitdm/u-boot, thanks! -- Tom signature.asc Description: PGP signature

Rockchip DWC2 issue

2023-06-20 Thread Jagan Teki
Hi, Has anyone tried to use dwc2 and echi port together with USB disk? look like this is not working with this combination on any Rockchip SoC's Here are the issues that I've reproduced in RK3328 where the disk connected in EHCI port is detecting but DWC2 is not. Any clue? => usb start starting

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Simon Glass
Hi Jan, On Tue, 20 Jun 2023 at 11:37, Jan Kiszka wrote: > > On 20.06.23 12:11, Simon Glass wrote: > > Hi Jan, > > > > On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: > >> > >> On 19.06.23 16:09, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Mon, 19 Jun 2023 at 14:28, Jan Kiszka wrote: >

Re: [PATCH v2] board_f: Relocate fdt even if GD_FLG_SKIP_RELOC is set

2023-06-20 Thread Simon Glass
On Tue, 20 Jun 2023 at 11:50, Kunihiko Hayashi wrote: > > In case of OF_SEPARATE (!OF_EMBED), the devicetree blob is placed > after _end, and fdt_find_separate() always returns _end. There is > a .bss section after _end and the section is cleared before relocation. > > When GD_FLG_SKIP_RELOC is

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Simon Glass
On Tue, 20 Jun 2023 at 12:20, Xavier Drudis Ferran wrote: > > El Tue, Jun 20, 2023 at 11:03:57AM +0100, Simon Glass deia: > > Hi Xavier, > > > > Hi Simon, > > > > > > > It is also possible that one day a device that is not UCLASS_BLK, > > > UCLASS_BOOTDEV or UCLASS_USB_EMUL is put as children of

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-06-20 Thread Ilias Apalodimas
[...] > > diff --git a/MAINTAINERS b/MAINTAINERS > index 43603522fd..0d960731cf 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -269,7 +269,9 @@ F: configs/cortina_presidio-asic-pnand_defconfig > ARM FF-A > M: Abdellatif El Khlifi > S: Maintained > +F: cmd/armffa.c > F:

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Michal Simek
On 6/20/23 16:13, Marek Vasut wrote: On 6/20/23 15:36, Michal Simek wrote: On 6/20/23 11:54, Marek Vasut wrote: On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07,

Re: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-20 Thread Michal Simek
On 6/20/23 16:14, Jassi Brar wrote: On Tue, 20 Jun 2023 at 05:05, Ilias Apalodimas wrote: Sorry for being late to the party, +cc Jose who maintains DEN0118 On Mon, Jun 19, 2023 at 11:16:53AM -0500, Jassi Brar wrote: Hi Michal, On Mon, 19 Jun 2023 at 10:02, Michal Simek wrote: Hi

Re: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-20 Thread Jassi Brar
On Tue, 20 Jun 2023 at 05:05, Ilias Apalodimas wrote: > > Sorry for being late to the party, > > +cc Jose who maintains DEN0118 > > On Mon, Jun 19, 2023 at 11:16:53AM -0500, Jassi Brar wrote: > > Hi Michal, > > > > On Mon, 19 Jun 2023 at 10:02, Michal Simek wrote: > > > > > > Hi Jassi, > > > > >

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Marek Vasut
On 6/20/23 15:36, Michal Simek wrote: On 6/20/23 11:54, Marek Vasut wrote: On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26,

Re: [PATCH v13 01/10] arm64: smccc: add support for SMCCCv1.2 x0-x17 registers

2023-06-20 Thread Ilias Apalodimas
Hi Abdellatif, On Fri, 16 Jun 2023 at 18:28, Abdellatif El Khlifi wrote: > > add support for x0-x17 registers used by the SMC calls > > In SMCCC v1.2 [1] arguments are passed in registers x1-x17. > Results are returned in x0-x17. > > This work is inspired from the following kernel commit: > >

[PATCH v2 1/1] usb: dwc2: Fix the write to W1C fields in HPRT register

2023-06-20 Thread teik . heng . chong
From: Teik Heng Chong Fix the write to the HPRT register which treat W1C fields as if they were mere RW. This leads to unintended clearing of such fields Signed-off-by: Teik Heng Chong --- V1->V2 - update subject tags to usb:dwc2 --- drivers/usb/host/dwc2.c | 34

Re: [PATCH v4 0/4] SPL NVMe support

2023-06-20 Thread Tom Rini
On Sat, 03 Jun 2023 19:32:52 +0530, Mayuresh Chitale wrote: > This patchset adds support to load images of the SPL's next booting > stage from a NVMe device. > > Changes in v4: > - Drop patch 4 > - Modify patch 2 to use generic fs.h APIs > > [...] With one change, which is that the

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Michal Simek
On 6/20/23 11:54, Marek Vasut wrote: On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00,

Re: [RFC PATCH 00/17] sunxi: rework pinctrl and add T113s support

2023-06-20 Thread Andre Przywara
On Sun, 18 Jun 2023 13:01:33 -0600 Sam Edwards wrote: Hi Sam, thanks for the reply, that's very helpful. > On 6/14/23 18:07, Andre Przywara wrote: > > So I finally found some time to address some issues in the series, > > especially in the first patches (pinctrl rework and preparation). > > I

[PATCH] Add Renesas patch attribution domain mapping

2023-06-20 Thread Marek Vasut
Add domain mapping for the +renesas mail, so that the patches get attributed to to Renesas Electronics correctly. Signed-off-by: Marek Vasut --- u-boot-config/domain-map | 3 +++ 1 file changed, 3 insertions(+) diff --git a/u-boot-config/domain-map b/u-boot-config/domain-map index

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Tue, Jun 20, 2023 at 11:03:57AM +0100, Simon Glass deia: > Hi Xavier, > Hi Simon, > > > > It is also possible that one day a device that is not UCLASS_BLK, > > UCLASS_BOOTDEV or UCLASS_USB_EMUL is put as children of a usb storage > > device (just imagine a future system similar to bootstd for

[PATCH v2] board_f: Relocate fdt even if GD_FLG_SKIP_RELOC is set

2023-06-20 Thread Kunihiko Hayashi
In case of OF_SEPARATE (!OF_EMBED), the devicetree blob is placed after _end, and fdt_find_separate() always returns _end. There is a .bss section after _end and the section is cleared before relocation. When GD_FLG_SKIP_RELOC is set, relocation is skipped, so the blob is still in .bss section,

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Tue, Jun 20, 2023 at 11:49:36AM +0200, Marek Vasut deia: > > Default, see: > $ git grep CONFIG_BOOTCOMMAND configs/ > I'm lost. I called default what Kconfig used as default. You seem to call default what's in board specific config files. Whatever. Fix the wording in the commit message if

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Jan Kiszka
On 20.06.23 12:11, Simon Glass wrote: > Hi Jan, > > On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: >> >> On 19.06.23 16:09, Simon Glass wrote: >>> Hi Jan, >>> >>> On Mon, 19 Jun 2023 at 14:28, Jan Kiszka wrote: On 19.06.23 14:36, Simon Glass wrote: > Hi Jan, > > On Fri,

Re: [PATCH] board_f: Relocate fdt if SKIP_RELOC and fdt is in bss

2023-06-20 Thread Kunihiko Hayashi
Hi Simon, On 2023/06/19 21:36, Simon Glass wrote: Hi Kunihiko, On Fri, 16 Jun 2023 at 00:59, Kunihiko Hayashi wrote: Hi Simon, Thank you for your comment. On 2023/06/13 6:17, Simon Glass wrote: Hi Kunihiko, On Thu, 8 Jun 2023 at 07:53, Kunihiko Hayashi wrote: There are cases that the

Re: [PATCH v13 05/10] arm_ffa: introduce armffa command

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > Provide armffa command showcasing the use of the U-Boot FF-A support > > armffa is a command showcasing how to invoke FF-A operations. > This provides a guidance to the client developers on how to > call the FF-A bus interfaces. The

Re: [PATCH v13 09/10] arm_ffa: efi: introduce FF-A MM communication

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > Add MM communication support using FF-A transport > > This feature allows accessing MM partitions services through > EFI MM communication protocol. MM partitions such as StandAlonneMM > or smm-gateway secure partitions which reside in

Re: [PATCH v13 04/10] arm_ffa: introduce Arm FF-A support

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > Add Arm FF-A support implementing Arm Firmware Framework for Armv8-A v1.0 > > The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1] > describes interfaces (ABIs) that standardize communication > between the Secure World

Re: [PATCH v13 03/10] lib: uuid: introduce testcase for uuid_str_to_le_bin

2023-06-20 Thread Simon Glass
On Fri, 16 Jun 2023 at 16:28, Abdellatif El Khlifi wrote: > > provide a test case > > Signed-off-by: Abdellatif El Khlifi > Cc: Simon Glass > > --- > > Changelog: > === > > v11: > > * use ut_asserteq_mem() > > MAINTAINERS | 5 + > test/lib/Makefile | 1 + >

Re: [PATCH] mkimage: Use PATH_MAX for path length

2023-06-20 Thread Simon Glass
On Mon, 19 Jun 2023 at 17:25, wrote: > > From: Mingli Yu > > Fixed when build xilinx_zynqmp in long directory ( >256): > | >

Re: [PATCH u-boot 0/3] Revert broken Bootmenu commits

2023-06-20 Thread Simon Glass
Hi Tom, Pali, On Wed, 14 Jun 2023 at 20:51, Tom Rini wrote: > > On Sun, Jun 11, 2023 at 02:53:21PM +0200, Pali Rohár wrote: > > > These 3 commits broke support for U-Boot Bootmenu on Nokia N900. > > Issues were reported more than month ago, but nobody reacted to them. > > So revert these broken

Re: [PATCH 1/3] binman: Allow to define custom arguments

2023-06-20 Thread Simon Glass
Hi Jan, On Mon, 19 Jun 2023 at 16:09, Jan Kiszka wrote: > > On 19.06.23 16:09, Simon Glass wrote: > > Hi Jan, > > > > On Mon, 19 Jun 2023 at 14:28, Jan Kiszka wrote: > >> > >> On 19.06.23 14:36, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Fri, 16 Jun 2023 at 16:42, Jan Kiszka wrote: >

Re: [PATCH v6 0/6] FWU: Add support for mtd backed feature on DeveloperBox

2023-06-20 Thread Ilias Apalodimas
Sorry for being late to the party, +cc Jose who maintains DEN0118 On Mon, Jun 19, 2023 at 11:16:53AM -0500, Jassi Brar wrote: > Hi Michal, > > On Mon, 19 Jun 2023 at 10:02, Michal Simek wrote: > > > > Hi Jassi, > > > > On 5/31/23 07:28, jaswinder.si...@linaro.org wrote: > > > From: Jassi Brar

Re: [BUG] bind command leads to invalid state where plaform data is NULL

2023-06-20 Thread Simon Glass
Hi Heinrich, On Mon, 19 Jun 2023 at 18:51, Heinrich Schuchardt wrote: > > On 6/19/23 14:57, Simon Glass wrote: > > I suggest a simple device that needs no setup. The original commit[1] > > suggests using USB - does that worK? > > > > Regards, > > Simon > > > > [1] 49c752c93a78 ("cmd: Add

Re: [PATCH] axi: fix a warning

2023-06-20 Thread Simon Glass
On Mon, 19 Jun 2023 at 21:36, Sergei Antonov wrote: > > Fix an enum/integer mismatch encountered in 'sandbox_defconfig' build. > > .../u-boot/drivers/axi/axi-emul-uclass.c:16:5: warning: conflicting types for > ‘axi_sandbox_get_emul’ due to enum/integer mismatch; have ‘int(struct udevice > *,

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Simon Glass
Hi Xavier, On Wed, 14 Jun 2023 at 09:40, Xavier Drudis Ferran wrote: > > > Thanks for explaining, Simon Glass. > > Can someone please stop me if I'm splitting hairs or bikeshedding or > something ? I guess we agree both checking for null or UCLASS_BOOTDEV > would work right now but we are

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Marek Vasut
On 6/20/23 11:42, Michal Simek wrote: On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: [ Felipe:

Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Marek Vasut
On 6/20/23 11:17, Xavier Drudis Ferran wrote: El Mon, Jun 19, 2023 at 11:49:18PM +0200, Marek Vasut deia: On 6/19/23 12:12, Xavier Drudis Ferran wrote: It seems the email addresses are being constantly corrupted in each email. This time the ML address is wrong and missing an e at the end.

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Michal Simek
On 6/20/23 11:23, Marek Vasut wrote: On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: [ Felipe: Ported from Linux kernel commit  

Re: [SPAM] Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Marek Vasut
On 6/20/23 09:03, Xavier Drudis Ferran wrote: El Tue, Jun 20, 2023 at 02:50:48AM +0200, Marek Vasut deia: On 6/13/23 08:52, Xavier Drudis Ferran wrote: U-Boot TPL 2023.07-rc2-00144-g497967f1ee (Jun 12 2023 - 11:15:47) Next is already at rc4 , what's this rc2 ? It's a test I did last week

Re: [UBOOT PATCH 1/3] usb: dwc3: core: improve reset sequence

2023-06-20 Thread Marek Vasut
On 6/20/23 08:36, Michal Simek wrote: On 6/19/23 19:04, Eugen Hristev wrote: On 6/19/23 19:07, Marek Vasut wrote: On 6/19/23 15:26, Eugen Hristev wrote: On 5/8/23 06:00, Venkatesh Yadav Abbarapu wrote: [ Felipe: Ported from Linux kernel commit   f59dcab17629 ("usb: dwc3: core: improve

Re: [PATCH] cmd: usb: Prevent reset in usb tree/info command

2023-06-20 Thread Xavier Drudis Ferran
El Mon, Jun 19, 2023 at 11:49:18PM +0200, Marek Vasut deia: > On 6/19/23 12:12, Xavier Drudis Ferran wrote: > > It seems the email addresses are being constantly corrupted in each email. > This time the ML address is wrong and missing an e at the end. There is some > e@ nonexistent address which

[PATCH v2 19/19] x86: coral: Adjust various config options

2023-06-20 Thread Simon Glass
Add ms so it is easier to search for tables in memory. Expand the command-line and print buffers so that we can deal with the very long ChromeOS command lines. (typically 700 characters). Enable BOOTSTD_FULL to get the full set of standard-boot options. Replace the existing manual script with

[PATCH v2 18/19] x86: coreboot: Adjust various config options

2023-06-20 Thread Simon Glass
Drop IDE since this is not widely used anymore. Add NVME since it is becoming more popular. Add ms so it is easier to search for tables in memory. Expand the command-line and print buffers so that we can deal with the very long ChromeOS command lines. (typically 700 characters). Enable

[PATCH v2 17/19] bootstd: Add a simple bootmeth for ChromiumOS

2023-06-20 Thread Simon Glass
It is possible to boot x86-based ChromeOS machines by parsing a table and locating the kernel and command line. Add a bootmeth for this. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) boot/Kconfig | 11 ++ boot/Makefile| 1 +

[PATCH v2 14/19] bootstd: Support automatically setting Linux parameters

2023-06-20 Thread Simon Glass
Some Linux parameters can be set automatically by U-Boot, if it knows the device being used. For example, since U-Boot knows the serial console being used, it can add parameters for earlycon and console. Add support for this. Note that this is an experimental feature and we will see how useful

[PATCH v2 16/19] x86: zimage: Export the function to obtain the cmdline

2023-06-20 Thread Simon Glass
Allow reading the command line from a zimage, so that it can be recorded in the bootflow. Reviewed-by: Bin Meng Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/include/asm/zimage.h | 10 ++ arch/x86/lib/zimage.c | 11 --- 2 files changed, 18

[PATCH v2 15/19] x86: Add a function to boot a zimage

2023-06-20 Thread Simon Glass
Add a direct interface to booting a zimage, so that bootstd can call it without going through the command-line interface. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- (no changes since v1) arch/x86/include/asm/zimage.h | 17 arch/x86/lib/zimage.c | 82

[PATCH v2 10/19] bootstd: Add a function to update a command line

2023-06-20 Thread Simon Glass
The Linux command line consists of a number of words with optional values. At present U-Boot allows this to be changed using the bootargs environment variable. But this is quite painful, since the command line can be very long. Add a function which can adjust a single field in the command line,

[PATCH v2 12/19] x86: qemu: Create a little more room for U-Boot

2023-06-20 Thread Simon Glass
We want to enable some of the more interesting bootstd features. Move SPL up to create some room for the larger U-Boot binary. Also disable microcode since this is not needed Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to create a little more room for U-Boot on qemu-x86_64

[PATCH v2 13/19] x86: qemu: Switch to standard boot

2023-06-20 Thread Simon Glass
Drop use of the distro boot script and use standard boot instead. Moving to a text-based environment would be desirable also, but requires additional work. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to switch x86 qemu to standard boot configs/qemu-x86_64_defconfig | 2 +-

  1   2   >