Re: [PATCH] arm: dts: k3-am65-iot2050: Fix boot

2023-10-05 Thread Roger Quadros
On 05/10/2023 07:37, Jan Kiszka wrote: > From: Jan Kiszka > > Since commit [1] A53 u-boot proper is broken. This is because nodes > marked as 'bootph-pre-ram' are not available at u-boot proper before > relocation. > > To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. > > [1]

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-05 Thread Michael Walle
Hi, >> >> Add a compatible string for binman, so we can extend fixed-partitions >> >> in various ways. >> > >> > I've been thinking at the proper way to describe the binman partitions. >> > I am wondering if we should really extend the fixed-partitions >> > schema. This description is really

Re: [PATCH v4 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-10-05 Thread Nishanth Menon
On 10:29-20231005, Manorit Chawdhry wrote: > Hi Nishanth, > > On 07:24-20231004, Nishanth Menon wrote: > > On 10:43-20231004, Manorit Chawdhry wrote: > > > > > These are required to remove the firewall configurations that are done > > > by ROM, those

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-05 Thread Nishanth Menon
On 06:18-20231005, Jan Kiszka wrote: > On 04.10.23 14:15, Nishanth Menon wrote: > > On 22:26-20231003, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> Since commit [1] A53 u-boot proper is broken. This is because nodes > >> marked as 'bootph-pre-r

Re: [PATCH v5 05/16] firmware: scmi: implement SCMI base protocol

2023-10-05 Thread Etienne CARRIERE - foss
Hello Akashi-san, > From: U-Boot on behalf of AKASHI Takahiro > > Sent: Tuesday, September 26, 2023 8:57 AM > > SCMI base protocol is mandatory according to the SCMI specification. > > With this patch, SCMI base protocol can be accessed via SCMI transport > layers. All the commands, except

Re: [PATCH 2/2] Revert "arm: mvebu: x240: Use i2c-gpio instead of built in controller"

2023-10-05 Thread Stefan Roese
On 10/3/23 05:57, Chris Packham wrote: This reverts commit 5c1c6b7306f2b4c0fd50c7cb5d757e245b93606e. The reason for switching to i2c-gpio was due to an issue we were seeing in the Linux kernel where the CPU would lock up on certain adverse I2C bus conditions. We were never able to reproduce the

[PULL] u-boot-riscv/master

2023-10-05 Thread Leo Liang
Hi Tom, The following changes since commit 65b9b3462bec2966911658836983819ab4e4823e: Merge branch 'next_pinctrl_sync' of https://source.denx.de/u-boot/custodians/u-boot-sh (2023-10-02 15:19:02 -0400) are available in the Git repository at:

Re: [PATCH v4 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-05 Thread Nishanth Menon
On 11:56-20231004, Reid Tonking wrote: > Sync j7200 dts with Linux 6.6-rc1 [..] > diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts > b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts > index e62f9218e8..9469dca39f 100644 > --- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts > +++

Re: [PATCH v5 01/16] scmi: refactor the code to hide a channel from devices

2023-10-05 Thread Etienne CARRIERE - foss
> From: U-Boot on behalf of AKASHI Takahiro > > Sent: Tuesday, September 26, 2023 8:57 AM > > The commit 85dc58289238 ("firmware: scmi: prepare uclass to pass channel > reference") added an explicit parameter, channel, but it seems to make > the code complex. > > Hiding this parameter will

Re: [PATCH v5 02/16] firmware: scmi: use a protocol's own channel if assigned

2023-10-05 Thread Etienne CARRIERE - foss
> From: U-Boot on behalf of AKASHI Takahiro > > Sent: Tuesday, September 26, 2023 8:57 AM > > SCMI specification allows any protocol to have its own channel for > the transport. While the current SCMI driver may assign its channel > from a device tree, the core function,

Re: [PATCH v5 03/16] firmware: scmi: support dummy channels for sandbox agent

2023-10-05 Thread Etienne CARRIERE - foss
> > From: U-Boot on behalf of Simon Glass > > Sent: Monday, October 2, 2023 3:17 AM > > On Tue, 26 Sept 2023 at 00:58, AKASHI Takahiro > wrote: > > > > In sandbox scmi agent, channels are not used at all. But in this patch, > > dummy channels are supported in order to test protocol-specific

Re: [PATCH 1/2] arm: mvebu: x240: Disable SMBIOS

2023-10-05 Thread Stefan Roese
On 10/3/23 05:57, Chris Packham wrote: The x240 doesn't make use of EFI or SMBIOS. Recently we started seeing boot failures such as WARNING: SMBIOS table_address overflow 23f60c020 Failed to write SMBIOS table initcall failed at event 10/(unknown) (err=-22) ### ERROR ###

Re: [PATCH] arm: dts: k3-am65-iot2050: Fix boot

2023-10-05 Thread Nishanth Menon
On 06:37-20231005, Jan Kiszka wrote: > From: Jan Kiszka > > Since commit [1] A53 u-boot proper is broken. This is because nodes > marked as 'bootph-pre-ram' are not available at u-boot proper before > relocation. > > To fix this we mark all nodes in u-boot.dtsi as

Re: [PATCH v5 04/16] test: dm: add protocol-specific channel test

2023-10-05 Thread Etienne CARRIERE - foss
> From: U-Boot on behalf of Simon Glass > > Sent: Monday, October 2, 2023 3:17 AM > > On Tue, 26 Sept 2023 at 00:58, AKASHI Takahiro > wrote: > > > > Any SCMI protocol may have its own channel. > > Test this feature on sandbox as the necessary framework was added > > in a prior commit. > > >

Re: [PATCH 09/16] pinctrl: renesas: Add RZ/G2L PFC driver

2023-10-05 Thread Paul Barker
On 05/10/2023 03:24, Marek Vasut wrote: > On 10/4/23 21:43, Paul Barker wrote: > > [...] > >> +/* >> + * We need to ensure that the module clock is enabled and all resets are >> + * de-asserted before using either the gpio or pinctrl functionality. >> Error >> + * handling

Re: [PATCH 09/16] pinctrl: renesas: Add RZ/G2L PFC driver

2023-10-05 Thread Marek Vasut
On 10/5/23 11:39, Paul Barker wrote: On 05/10/2023 03:24, Marek Vasut wrote: On 10/4/23 21:43, Paul Barker wrote: [...] +/* + * We need to ensure that the module clock is enabled and all resets are + * de-asserted before using either the gpio or pinctrl functionality. Error + * handling can

Re: [PATCH RESEND v2 2/2] usb: udc: Try to clarify an error message

2023-10-05 Thread Mattijs Korpershoek
On lun., oct. 02, 2023 at 15:46, Miquel Raynal wrote: > At some point when trying to use USB gadgets, two situations may arise > and lead to a failure. Either the UDC (USB Device Controller) is not > available at all (not described or not probed) or the UDC is already in > use. For instance, as

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-05 Thread Tom Rini
On Wed, Oct 04, 2023 at 07:23:47PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 24 Sept 2023 at 17:27, Tom Rini wrote: > > > > On Sun, Sep 24, 2023 at 02:39:23PM -0600, Simon Glass wrote: > > > Some commands assume that CONFIG_SYS_LONGHELP is always defined. > > > Declaration of long help

[PATCH v3 4/8] phy: move clk enable/disable in init/exit

2023-10-05 Thread Alexey Romanov
It is better to place clk_enable() in phy_meson_g12a_usb2_init() and clk_disable() in phy_meson_g12a_usb2_exit(). For more detailed information, please see comments in the review of a similar driver in the Linux Kernel:

[PATCH v3 5/8] phy: support Amlogic A1 family

2023-10-05 Thread Alexey Romanov
Setting G12A and A1 is similar, so we can use G12A phy driver with little changes. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- drivers/phy/Kconfig | 2 +- drivers/phy/meson-g12a-usb2.c | 79 --- 2 files changed, 66 insertions(+), 15

[PATCH v3 3/8] phy: get rid of raw hex values

2023-10-05 Thread Alexey Romanov
It is better to use defines instead of write raw hex values in regmap. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- drivers/phy/meson-g12a-usb2.c | 161 -- 1 file changed, 153 insertions(+), 8 deletions(-) diff --git

[PATCH v3 8/8] ad401: enable USB stack

2023-10-05 Thread Alexey Romanov
Currently we have all drivers for use USB stack on A1-series SoC's. Let's enable USB options for the Amlogic AD401 reference A1 SoC board. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- configs/ad401_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 6/8] a1: clk: Add missing USB_PHY_IN and USB_PHY gates

2023-10-05 Thread Alexey Romanov
From: Igor Prusov We use this clocks in dwc3 driver. Signed-off-by: Igor Prusov Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- drivers/clk/meson/a1.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/meson/a1.c b/drivers/clk/meson/a1.c index

Re: [PATCH RESEND v2 1/2] cmd: bind: Try to improve the (un)bind help

2023-10-05 Thread Marek Vasut
On 10/2/23 15:46, Miquel Raynal wrote: While it may sound totally obvious for the regular U-Boot developer to get the parameters of the bind/unbind commands from the output of 'dm tree', it did not felt straightforward to me until I was explicitly told to look there. And even when I knew the

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Andrew Davis
On 10/4/23 8:54 AM, Nishanth Menon wrote: On 08:48-20231004, Andrew Davis wrote: On 10/4/23 8:23 AM, Roger Quadros wrote: ti_mmc is not a valid boot_target for standard boot flow so Is there some way to make it into a valid boot_target? Otherwise how do we use uEnv.txt files, or boot from

[PATCH] arm: mach-k3: Remove secure device makefile

2023-10-05 Thread Andrew Davis
This is now done using binman but this file was leftover and is now unused, remove it. Signed-off-by: Andrew Davis --- MAINTAINERS | 1 - arch/arm/mach-k3/config_secure.mk | 44 --- 2 files changed, 45 deletions(-) delete mode 100644

[PATCH v3 1/8] dt-bindings: reset: add Meson A1 reset bindings

2023-10-05 Thread Alexey Romanov
Get this from Linux 6.6-rc3. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- .../reset/amlogic,meson-a1-reset.h| 76 +++ 1 file changed, 76 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-reset.h diff --git

[PATCH v3 2/8] reset: add support for Amlogic A1 family

2023-10-05 Thread Alexey Romanov
This patch adds reset support for the Amlogic A1 family. We add the structure meson_reset_drvdata, which in the future will allow this driver to be used for other families by declaring only the correct parameters reg_count and level_offset. Signed-off-by: Alexey Romanov Reviewed-by: Neil

[PATCH v3 0/8] Support USB for Meson A1

2023-10-05 Thread Alexey Romanov
Hello! This patchset adds USB stack support for Amlogic A1 SoC's series. Made reset / phy / dwc3 drivers more flexible and added support for A1 board. V2: - Made power domain for PHY optional. - Add missing CLKID_USB_PHY gate. - Drop patch with USB stack initialization in board-a1.c. Instead

Re: [PATCH v1] drivers: sm: fix build warning

2023-10-05 Thread neil . armstrong
On 05/10/2023 10:19, Alexey Romanov wrote: This fixes following warning during u-boot build: WARNING: unmet direct dependencies detected for MESON_SM Depends on [n]: SM [=n] Selected by [y]: - MESON64_COMMON [=y] && ARM [=y] && ARCH_MESON [=y] Fixes: 9849712e7655 ("drivers: introduce

Re: [PATCH v4 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-05 Thread reidt
On 06:33-20231005, Nishanth Menon wrote: > On 11:56-20231004, Reid Tonking wrote: > > Sync j7200 dts with Linux 6.6-rc1 > [..] > > diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts > > b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts > > index

[RFC PATCH] clk: scmi: Provide channel information to every clock

2023-10-05 Thread Michal Simek
When assigned-clocks/assigned-clock-rates is defined U-Boot DM core finds out leaf which is registered via clk_register(). But new clock doesn't have information about channel which is stored in private data. That's why copy parents private data (channel only now) to all childs. It will fix the

Re: [PATCH 10/16] serial: sh: Add RZ/G2L SCIF support

2023-10-05 Thread Paul Barker
On 04/10/2023 20:41, Marek Vasut wrote: > On 10/4/23 18:38, Paul Barker wrote: >> On Wed, Oct 04, 2023 at 05:17:55PM +0200, Marek Vasut wrote: >>> On 10/4/23 15:43, Paul Barker wrote: On Wed, Oct 04, 2023 at 02:26:49PM +0200, Marek Vasut wrote: > On 10/4/23 10:48, Paul Barker wrote:

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-05 Thread Simon Glass
Hi Michael, On Thu, 5 Oct 2023 at 02:54, Michael Walle wrote: > > Hi, > > >> >> >> Add a compatible string for binman, so we can extend fixed-partitions > >> >> >> in various ways. > >> >> > > >> >> > I've been thinking at the proper way to describe the binman > >> >> > partitions. > >> >> > I

Re: [PATCH RESEND v2 1/2] cmd: bind: Try to improve the (un)bind help

2023-10-05 Thread Mattijs Korpershoek
On lun., oct. 02, 2023 at 15:46, Miquel Raynal wrote: > While it may sound totally obvious for the regular U-Boot developer to > get the parameters of the bind/unbind commands from the output of 'dm > tree', it did not felt straightforward to me until I was explicitly > told to look there. And

Re: [PATCH RESEND v2 2/2] usb: udc: Try to clarify an error message

2023-10-05 Thread Marek Vasut
On 10/2/23 15:46, Miquel Raynal wrote: At some point when trying to use USB gadgets, two situations may arise and lead to a failure. Either the UDC (USB Device Controller) is not available at all (not described or not probed) or the UDC is already in use. For instance, as the USB Ethernet gadget

[PATCH 2/2] MAINTAINERS: fastboot: add Mattijs

2023-10-05 Thread Mattijs Korpershoek
Fastboot has been marked as orphaned since 2021. Since I'm interested in maintaining this, assign myself. Signed-off-by: Mattijs Korpershoek --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 008c593f30ee..6790f4ddbd45 100644

[PATCH v2 0/2] board: ti: am6x: Switch to standard boot

2023-10-05 Thread Roger Quadros
Hi, This series switches am64x to standard boot flow. Also minor fix to am62x boot targets. NOTE: Tested on AM64x GP EVM but I had to hand edit the grub.cfg file provided with the TI release [1] from, menuentry 'boot'{ linux /Image root=PARTUUID=3a4a99a8-02 rootwait rootfstype=ext4 } to,

[PATCH v2 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Roger Quadros
ti_mmc is not a valid boot_target for standard boot flow so remove it. Prefer mmc1 (sd-card) over mmc0 (emmc). Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- board/ti/am62x/am62x.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/am62x/am62x.env

Re: [PATCH v4 1/6] arm: mach-k3: j721e: dev-data: Add mcu_timer0 ID

2023-10-05 Thread Tom Rini
On Wed, Sep 27, 2023 at 06:39:51PM +0530, Neha Malcom Francis wrote: > U-Boot uses mcu_timer0 as the tick-timer, so add it to device list. > > Signed-off-by: Neha Malcom Francis > Reviewed-by: Manorit Chawdhry > Reviewed-by: Nishanth Menon For the series, applied to u-boot/master, thanks!

Re: Please pull u-boot-dm

2023-10-05 Thread Tom Rini
On Wed, Oct 04, 2023 at 12:00:32PM -0600, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/18014 > (usual azure branch but I cannot get the link) > > The following changes since commit 65b9b3462bec2966911658836983819ab4e4823e: > > Merge branch

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 06:18:08AM +0200, Jan Kiszka wrote: > On 04.10.23 14:15, Nishanth Menon wrote: > > On 22:26-20231003, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> Since commit [1] A53 u-boot proper is broken. This is because nodes > >> marked as 'bootph-pre-ram' are not available at

Re: [PATCH 03/25] autoboot: Correct dependencies on CMDLINE

2023-10-05 Thread Tom Rini
On Tue, Oct 03, 2023 at 08:11:11PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 24 Sept 2023 at 18:40, Tom Rini wrote: > > > > On Sun, Sep 24, 2023 at 02:39:21PM -0600, Simon Glass wrote: > > > > > Make AUTOBOOT depend on CMDLINE since it is mostly meaningless without it. > > > > > >

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-05 Thread Simon Glass
Hi Michael, On Thu, 5 Oct 2023 at 07:28, Simon Glass wrote: > > Hi Michael, > > On Thu, 5 Oct 2023 at 02:54, Michael Walle wrote: > > > > Hi, > > > > >> >> >> Add a compatible string for binman, so we can extend > > >> >> >> fixed-partitions > > >> >> >> in various ways. > > >> >> > > > >> >>

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Simon Glass
Hi Roger, On Thu, 5 Oct 2023 at 07:07, Roger Quadros wrote: > > Switch to using bootstd. Note with this change, we will stop using > distro_bootcmd and instead depend entirely on bootflow method of > starting the system up. > > Drop header files that are no longer needed in am64x_evm.h. >

[PATCH v1] drivers: sm: fix build warning

2023-10-05 Thread Alexey Romanov
This fixes following warning during u-boot build: WARNING: unmet direct dependencies detected for MESON_SM Depends on [n]: SM [=n] Selected by [y]: - MESON64_COMMON [=y] && ARM [=y] && ARCH_MESON [=y] Fixes: 9849712e7655 ("drivers: introduce Meson Secure Monitor driver") Signed-off-by:

[PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Roger Quadros
Switch to using bootstd. Note with this change, we will stop using distro_bootcmd and instead depend entirely on bootflow method of starting the system up. Drop header files that are no longer needed in am64x_evm.h. k3_dfu.h is available via k3_dfu.env in am64x.env. Drop unused macro

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Nishanth Menon
On 16:06-20231005, Roger Quadros wrote: > Switch to using bootstd. Note with this change, we will stop using > distro_bootcmd and instead depend entirely on bootflow method of > starting the system up. > > Drop header files that are no longer needed in am64x_evm.h. > k3_dfu.

Re: [PATCH v1 0/1] virtio-blk support for xen board

2023-10-05 Thread Nastya Vicodin
Reviewed-by On Tue, Oct 3, 2023 at 10:58 AM Andrii Chepurnyi wrote: > Hello. > > This patch adds the ability to use virtio-blk in the guest domain > under Xen hypervisor. To do such you need to build U-boot > with xenguest_arm64_virtio_defconfig. > > The patch was tested on a specific build

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix Boot

2023-10-05 Thread Tom Rini
On Mon, Oct 02, 2023 at 10:00:53AM -0500, Nishanth Menon wrote: > Since commit [1] A53 u-boot proper is broken. This is because nodes > marked as 'bootph-pre-ram' are not available at u-boot proper before > relocation. > > To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. > > [1] >

Re: [PATCH 1/6] arm: dts: k3-am64-evm: Fix boot

2023-10-05 Thread Tom Rini
On Fri, Sep 29, 2023 at 04:46:41PM +0300, Roger Quadros wrote: > Since commit [1] A53 u-boot proper is broken. > This is because nodes marked as 'bootph-pre-ram' are > not available at u-boot proper before relocation. > > To fix this we mark all nodes in sk-u-boot.dtsi as > 'bootph-all'. > >

[PATCH v3 7/8] dwc3: add support for Amlogic A1 family

2023-10-05 Thread Alexey Romanov
Now the driver supports also A1 phy layer. Signed-off-by: Alexey Romanov Reviewed-by: Neil Armstrong --- drivers/usb/dwc3/dwc3-meson-g12a.c | 79 ++ 1 file changed, 69 insertions(+), 10 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c

ZFS support in custom u-boot build...

2023-10-05 Thread Stacey Pellegrino
To all those of concern, I am in need of help regarding building u-boot with ZFS support for the Orange Pi 5 Plus. I have tried working out the following... https://github.com/u-boot/u-boot/blob/22ad69b7987eb4b10221330661db4427e40174fb/doc/README.zfs The URL link above specifies using the

Re: [PATCH v3 0/8] Support USB for Meson A1

2023-10-05 Thread neil . armstrong
From: Neil Armstrong Hi, On Thu, 5 Oct 2023 11:54:21 +0300, Alexey Romanov wrote: > This patchset adds USB stack support for Amlogic A1 SoC's > series. Made reset / phy / dwc3 drivers more flexible and > added support for A1 board. > > V2: > > - Made power domain for PHY optional. > - Add

[PATCH 1/2] MAINTAINERS: usb gadget: add Mattijs

2023-10-05 Thread Mattijs Korpershoek
It seems that Lukasz and Marek could get some help in maintaining the usb gadget drivers. Assign myself as maintainer. Signed-off-by: Mattijs Korpershoek --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4df79254dfe1..008c593f30ee 100644 ---

[PATCH 0/2] MAINTAINERS: Add Mattijs to USB/fastboot maintainers

2023-10-05 Thread Mattijs Korpershoek
ons(+), 1 deletion(-) --- base-commit: 65b9b3462bec2966911658836983819ab4e4823e change-id: 20231005-mattijs-usb-6b83dde256f0 Best regards, -- Mattijs Korpershoek

Re: [PATCH] arm: dts: k3-am625-beagleplay: Fix boot

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 10:49:19AM -0400, Tom Rini wrote: > On Thu, Oct 05, 2023 at 06:18:08AM +0200, Jan Kiszka wrote: > > On 04.10.23 14:15, Nishanth Menon wrote: > > > On 22:26-20231003, Jan Kiszka wrote: > > >> From: Jan Kiszka > > >> > > >> Since commit [1] A53 u-boot proper is broken. This

Re: [PATCH v5 05/16] firmware: scmi: implement SCMI base protocol

2023-10-05 Thread AKASHI Takahiro
Hi Etienne, On Thu, Oct 05, 2023 at 07:06:47AM +, Etienne CARRIERE - foss wrote: > Hello Akashi-san, > > > > From: U-Boot on behalf of AKASHI Takahiro > > > > Sent: Tuesday, September 26, 2023 8:57 AM > > > > SCMI base protocol is mandatory according to the SCMI specification. > > > >

Re: [PATCH RESEND v2 1/2] cmd: bind: Try to improve the (un)bind help

2023-10-05 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Thu, 5 Oct 2023 15:01:51 +0200: > On 10/2/23 15:46, Miquel Raynal wrote: > > While it may sound totally obvious for the regular U-Boot developer to > > get the parameters of the bind/unbind commands from the output of 'dm > > tree', it did not felt

Re: [PATCH v4 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-05 Thread Nishanth Menon
On 09:04-20231005, reidt wrote: [...] > > > - clk_200mhz: dummy_clock_200mhz { > > > - compatible = "fixed-clock"; > > > - #clock-cells = <0>; > > > - clock-frequency = <2>; > > > - bootp

[PATCH v5 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-05 Thread Reid Tonking
Sync j7200 dts with Linux 6.6-rc1 - k3-j7200-r5-common-proc-board.dts now inherits from k3-j7200-common-proc-board.dts instead of k3-j7200-som-p0.dtsi. This allows us to trim down the r5 file considerably by using existing properties - remove pimux nodes from r5 file - remove duplicate

[PATCH v5 1/2] arm: mach-k3: j7200: Add mcu_timer0 id to the dev list

2023-10-05 Thread Reid Tonking
mcu_timer0 is now used as the tick timer in u-boot, so this adds the timer to the soc device list so it can be enabled via the k3 power controller. Reviewed-by: Nishanth Menon Signed-off-by: Reid Tonking --- arch/arm/mach-k3/j7200/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v5 0/2] J7200 device tree sync from v6.6-rc1 to u-boot

2023-10-05 Thread Reid Tonking
This series tries to sync device tree files from Linux v6.6-rc1 while making changes to the u-boot.dtsi and r5-common-proc-board.dts files in order to remove duplicate nodes and achieve successful boot. DMA fixes [0] are currently being upstreamed to Linux. They'll be fixed in U-boot post their

Re: [PATCH 10/16] serial: sh: Add RZ/G2L SCIF support

2023-10-05 Thread Marek Vasut
On 10/5/23 18:18, Paul Barker wrote: On 04/10/2023 13:26, Marek Vasut wrote: On 10/4/23 10:48, Paul Barker wrote: On 03/10/2023 14:23, Marek Vasut wrote: On 9/20/23 14:42, Paul Barker wrote: + if (IS_ENABLED(CONFIG_RZG2L)) { + struct reset_ctl rst; + int

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote: > On 10/4/23 8:54 AM, Nishanth Menon wrote: > > On 08:48-20231004, Andrew Davis wrote: > > > On 10/4/23 8:23 AM, Roger Quadros wrote: > > > > ti_mmc is not a valid boot_target for standard boot flow so > > > > > > Is there some way to

[PATCH] doc: Migrate Renesas board docs to rst

2023-10-05 Thread Paul Barker
Some of the information in README.rmobile is obsolete, references defconfigs which no longer exist in u-boot or has broken links. The information which is still relevant is moved into the reStructuredText documentation under `doc/board/renesas`, and `doc/README.rmobile` is dropped. The list of

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 12:14:07PM -0500, Nishanth Menon wrote: > On 12:31-20231005, Tom Rini wrote: > [...] > > > > > /* Now for the remaining common defines */ > > > > #include > > > > > > It looks like this file still includes distro_b

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Nishanth Menon
On 12:22-20231005, Andrew Davis wrote: > On 10/5/23 12:16 PM, Nishanth Menon wrote: > > On 12:10-20231005, Nishanth Menon wrote: > > > On 12:36-20231005, Tom Rini wrote: > > > > On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote: > > > >

Re: [PATCH 10/16] serial: sh: Add RZ/G2L SCIF support

2023-10-05 Thread Paul Barker
On 04/10/2023 13:26, Marek Vasut wrote: > On 10/4/23 10:48, Paul Barker wrote: >> On 03/10/2023 14:23, Marek Vasut wrote: >>> On 9/20/23 14:42, Paul Barker wrote: + if (IS_ENABLED(CONFIG_RZG2L)) { + struct reset_ctl rst; + int ret; + + ret =

[PATCH] arm: dts: k3-j721e-sk/common-proc-board: Fix boot

2023-10-05 Thread Nishanth Menon
Since commit 9e644284ab81 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'.

Re: [PATCH 11/16] mmc: renesas-sdhi: Initialize module on RZ/G2L

2023-10-05 Thread Paul Barker
On 03/10/2023 14:25, Marek Vasut wrote: > On 9/20/23 14:42, Paul Barker wrote: >> On the Renesas RZ/G2L SoC family, we must ensure that the required clock >> signals are enabled and the reset signal is de-asserted before we try to >> communicate with the SDHI module. >> >> Signed-off-by: Paul

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Nishanth Menon
On 12:36-20231005, Tom Rini wrote: > On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote: > > On 10/4/23 8:54 AM, Nishanth Menon wrote: > > > On 08:48-20231004, Andrew Davis wrote: > > > > On 10/4/23 8:23 AM, Roger Quadros wrote: > > > > > t

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Simon Glass
Hi Tom, On Thu, 5 Oct 2023 at 10:31, Tom Rini wrote: > > On Thu, Oct 05, 2023 at 09:01:42AM -0600, Simon Glass wrote: > > Hi Roger, > > > > On Thu, 5 Oct 2023 at 07:07, Roger Quadros wrote: > > > > > > Switch to using bootstd. Note with this change, we will stop using > > > distro_bootcmd and

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Simon Glass
Hi Nishanth, On Thu, 5 Oct 2023 at 11:16, Nishanth Menon wrote: > > On 12:10-20231005, Nishanth Menon wrote: > > On 12:36-20231005, Tom Rini wrote: > > > On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote: > > > > On 10/4/23 8:54 AM, Nishanth Menon w

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-05 Thread Andrew Davis
On 10/5/23 12:16 PM, Nishanth Menon wrote: On 12:10-20231005, Nishanth Menon wrote: On 12:36-20231005, Tom Rini wrote: On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote: On 10/4/23 8:54 AM, Nishanth Menon wrote: On 08:48-20231004, Andrew Davis wrote: On 10/4/23 8:23 AM, Roger

Re: [PATCH RESEND v2 2/2] usb: udc: Try to clarify an error message

2023-10-05 Thread Miquel Raynal
Hi Marek, ma...@denx.de wrote on Thu, 5 Oct 2023 15:04:25 +0200: > On 10/2/23 15:46, Miquel Raynal wrote: > > At some point when trying to use USB gadgets, two situations may arise > > and lead to a failure. Either the UDC (USB Device Controller) is not > > available at all (not described or not

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 09:01:42AM -0600, Simon Glass wrote: > Hi Roger, > > On Thu, 5 Oct 2023 at 07:07, Roger Quadros wrote: > > > > Switch to using bootstd. Note with this change, we will stop using > > distro_bootcmd and instead depend entirely on bootflow method of > > starting the system

Re: [PATCH v4 2/2] arm: dts: j7200: dts sync with Linux 6.6-rc1

2023-10-05 Thread reidt
On 12:04-20231005, Nishanth Menon wrote: > On 09:04-20231005, reidt wrote: > [...] > > > > - clk_200mhz: dummy_clock_200mhz { > > > > - compatible = "fixed-clock"; > > > > - #clock-cells = <0

error on h616 ID axp806 legacy kernel

2023-10-05 Thread project-tvbox project-tvbox
In the legacy kernel, when starting, the error appears: the chip id is 0x5d00 ic cant match axp, please check... well, in the axp.h code the id is defined as 0x40, I tried changing it to 0x5d00, but it does not accept the u-boot compilation error, does anyone know how to change it, it seems to be

Re: [PATCH 1/1] [u-boot][master][PATCH v4] pico-imx7d: add baseboard SD card boot detect

2023-10-05 Thread Fabio Estevam
On Thu, Oct 5, 2023 at 6:40 PM wrote: > > From: Benjamin Szőke > > Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. > > Signed-off-by: Benjamin Szőke Still not good: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #57: Take

Re: [PATCH] arm: dts: k3-j721e-sk/common-proc-board: Fix boot

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 01:15:14PM -0500, Nishanth Menon wrote: > Since commit 9e644284ab81 ("dm: core: Report bootph-pre-ram/sram node > as pre-reloc after relocation") A53 u-boot proper is broken. This is > because nodes marked as 'bootph-pre-ram' are not available at u-boot > proper before

Re: [PATCH 16/16] board: rzg2l: Add RZ/G2L SMARC EVK board

2023-10-05 Thread Paul Barker
On 03/10/2023 14:36, Marek Vasut wrote: > On 9/20/23 14:42, Paul Barker wrote: >> The Renesas RZ/G2L SMARC Evaluation Board Kit consists of the RZ/G2L >> System-on-Module (SOM) based on the R9A07G044L2 SoC, and a common SMARC >> carrier board. >> >> The ARM TrustedFirmware code for the Renesas

Re: [PATCH] test: Fix SPL tests not being run

2023-10-05 Thread Sean Anderson
On 10/2/23 14:56, Simon Glass wrote: > Hi Sean, > > On Mon, 2 Oct 2023 at 08:38, Sean Anderson wrote: >> >> On 10/1/23 15:36, Simon Glass wrote: >> > Hi Sean, >> > >> > On Fri, 29 Sept 2023 at 10:12, Sean Anderson >> > wrote: >> >> >> >> On 9/29/23 12:06, Sean Anderson wrote: >> >> > SPL

[RFC PATCH v2 3/4] disk: part: fall-through if "ubi" requested but ubifs not mounted

2023-10-05 Thread Sam Edwards
Since we're adding the ability to access static UBI volumes as block devices, it is no longer an error to use the "ubi" ifname with UBIFS unmounted. Ideally, the access to UBIFS should instead be called "ubifs" but it would break backwards compatibility to change this. Instead, use the UBIFS

[RFC PATCH v2 1/4] mtd: ubi: register UBI attachments as DM devices

2023-10-05 Thread Sam Edwards
This is in preparation for exposing static UBI volumes as block devices. A UBI uclass and driver are introduced, and a "ubi0" virtual device with the proper driver is created below whichever MTD device is attached as the active UBI partition. This virtual device will soon be the parent for the

[RFC PATCH v2 4/4] HACK: enable access to `ubi 0:volname` block devices

2023-10-05 Thread Sam Edwards
--- disk/part.c | 55 + 1 file changed, 55 insertions(+) diff --git a/disk/part.c b/disk/part.c index a4b6d265da..7c995f583c 100644 --- a/disk/part.c +++ b/disk/part.c @@ -14,6 +14,9 @@ #include #include #include +#include +#include

H616 DRAM support on mailine kernel

2023-10-05 Thread project-tvbox project-tvbox
dears, How can I edit the drm parameters directly in the mainline kernel, since the mainline dts does not have these options like the legacy one, I saw that the dram.c drives in the legacy and mailline are similar, for example: [dram_para] dram_clk = 600 dram_type = 3 dram_dx_odt = 0x03030303

[PATCH 1/1] [u-boot][master][PATCH v4] pico-imx7d: add baseboard SD card boot detect

2023-10-05 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 57 +++ board/technexion/pico-imx7d/spl.c| 91 ++--

[RFC PATCH v2 0/4] mtd: ubi: Enable accessing RO filesystems in UBI vols

2023-10-05 Thread Sam Edwards
Hi list, This is the second version of my RFC patchset to treat static UBI volumes as DM block devices, allowing users to access read-only filesystems (SquashFS, EROFS) contained within such volumes. This is a rebased and updated version, as requested by Heiko. Previously, we have agreed on a

[RFC PATCH v2 2/4] mtd: ubi: bind block device driver for static volumes

2023-10-05 Thread Sam Edwards
This makes static UBI volumes readable as block devices, however no mechanism for selecting these volume devices yet exists. Signed-off-by: Sam Edwards --- drivers/mtd/ubi/ubi-uclass.c | 111 +++ 1 file changed, 111 insertions(+) diff --git

Re: [PATCH] sphinx: Bump urllib3 version

2023-10-05 Thread Simon Glass
On Thu, 5 Oct 2023 at 10:27, Tom Rini wrote: > > While not a direct issue for us, urllib3 before 1.26.17 is vulnerable to > CVE-2023-43804 to bump our version up. > > Reported-by: GitHub dependabot > Signed-off-by: Tom Rini > --- > Cc: Heinrich Schuchardt > --- > doc/sphinx/requirements.txt |

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-05 Thread Simon Glass
Hi Tom, On Thu, 5 Oct 2023 at 08:53, Tom Rini wrote: > > On Wed, Oct 04, 2023 at 07:23:47PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 24 Sept 2023 at 17:27, Tom Rini wrote: > > > > > > On Sun, Sep 24, 2023 at 02:39:23PM -0600, Simon Glass wrote: > > > > Some commands assume that

Re: [PATCH v4 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-10-05 Thread Manorit Chawdhry
Hi Nishanth, On 06:26-20231005, Nishanth Menon wrote: > On 10:29-20231005, Manorit Chawdhry wrote: > > Hi Nishanth, > > > > On 07:24-20231004, Nishanth Menon wrote: > > > On 10:43-20231004, Manorit Chawdhry wrote: > > > > > > > These

Re: [PATCH] arm: dts: k3-j721e-sk/common-proc-board: Fix boot

2023-10-05 Thread Neha Malcom Francis
Hi Nishanth, On 05/10/23 23:45, Nishanth Menon wrote: Since commit 9e644284ab81 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-05 Thread Tom Rini
On Thu, Oct 05, 2023 at 07:41:49PM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 5 Oct 2023 at 08:53, Tom Rini wrote: > > > > On Wed, Oct 04, 2023 at 07:23:47PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sun, 24 Sept 2023 at 17:27, Tom Rini wrote: > > > > > > > > On Sun, Sep 24,

[PATCH v7 0/7] J721S2 DTS Sync from v6.6-rc1 to u-boot

2023-10-05 Thread Manorit Chawdhry
The sync tries to ensure that U-boot remains functional with the updated Linux DTS and all the fixes from Linux move to U-boot during the sync. The series tries to sync from Linux v6.6-rc1 along with addition of the documentation for J721S2 that had been previously missing. DMA fixes [0] are

[PATCH v7 1/7] configs: j721s2_evm_r5_defconfig: Increase malloc pool size in DRAM

2023-10-05 Thread Manorit Chawdhry
From: Udit Kumar The malloc capacity in DRAM at R5 SPL is set to 1MB which isn't sufficient to load the new tispl.bin to enable loading of tispl.bin the size is increased by 256KB to 1.25MB. Cc: Nikhil M Jain Signed-off-by: Udit Kumar Reviewed-by: Nishanth Menon Signed-off-by: Manorit

[PATCH v7 4/7] arm: dts: k3-j721s2: Sync from Linux tag v6.6-rc1

2023-10-05 Thread Manorit Chawdhry
The following commit syncs the device tree from Linux tag v6.6-rc1 to U-boot and fixes the following to be compatible with the future syncs - - Include k3-j721s2-common-proc-board.dts file Remove the duplicated pinmuxes from r5 and -u-boot.dtsi files and include

[PATCH v7 2/7] Revert "arm: dts: k3-j7*: ddr: Update to 0.10 version of DDR config tool"

2023-10-05 Thread Manorit Chawdhry
The update causes instability in am68-sk boards so revert the patch in the meantime till fix is available. This reverts commit f1edf4bb6aa19732574ac23ca90cb9a0ba395ec1. Signed-off-by: Manorit Chawdhry --- arch/arm/dts/k3-j721e-ddr-evm-lp4-4266.dtsi | 98 +++---

[PATCH v7 5/7] arm: dts: k3-am68: Sync from Linux tag v6.6-rc1

2023-10-05 Thread Manorit Chawdhry
The following commit syncs the device tree from Linux tag v6.6-rc1 to U-boot and fixes the following to be compatible with the future syncs - - Include k3-am68-sk-base-board.dts file Remove the duplicated pinmuxes from r5 and -u-boot.dtsi files and include k3-am68-sk-base-board.dts for

  1   2   >