Re: [EXTERNAL] [PATCH v3 15/43] video: Allow building video drivers for SPL

2023-05-07 Thread Nikhil M Jain
Hi Simon, On 05/05/23 04:28, Simon Glass wrote: Update the Makefile rules to allow video drivers in SPL. This is useful for 64-bit QEMU on x86, since the video BIOS can only be run from 32-bit mode (i.e. in SPL). Signed-off-by: Simon Glass --- (no changes since v1) drivers/Makefile | 3 ++-

Re: [PATCH v2 2/3] Kconfig: j721s2: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-05-07 Thread Manorit Chawdhry
On 10:27-20230508, Vignesh Raghavendra wrote: > > > On 08/05/23 10:21, Manorit Chawdhry wrote: > > Hi Nishanth, > > > > On 08:45-20230505, Nishanth Menon wrote: > >> Manorit, > >> > >> On 20:59-20230504, Tom Rini wrote: > >>> On Thu, May 04, 2023 at 11:07:07AM +0530, Manorit Chawdhry wrote: >

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-07 Thread Neha Malcom Francis
Hi Jan, On 07/05/23 17:41, Jan Kiszka wrote: On 04.05.23 08:13, Neha Malcom Francis wrote: Hi Jan On 04/05/23 10:13, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 22:04, Jan Kiszka wrote: On 03.05.23 14:56, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote:

Re: [PATCH v2 2/3] Kconfig: j721s2: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-05-07 Thread Vignesh Raghavendra
On 08/05/23 10:21, Manorit Chawdhry wrote: > Hi Nishanth, > > On 08:45-20230505, Nishanth Menon wrote: >> Manorit, >> >> On 20:59-20230504, Tom Rini wrote: >>> On Thu, May 04, 2023 at 11:07:07AM +0530, Manorit Chawdhry wrote: >>> On K3 HS-SE devices all the firewalls are locked by default

Re: [PATCH v2 2/3] Kconfig: j721s2: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-05-07 Thread Manorit Chawdhry
Hi Nishanth, On 08:45-20230505, Nishanth Menon wrote: > Manorit, > > On 20:59-20230504, Tom Rini wrote: > > On Thu, May 04, 2023 at 11:07:07AM +0530, Manorit Chawdhry wrote: > > > > > On K3 HS-SE devices all the firewalls are locked by default > > > until sysfw comes up. Rom configures some of

[PATCH] configs: am62ax_evm_a53_defconfig: Enable YMODEM support at A53 SPL

2023-05-07 Thread Vignesh Raghavendra
This is required for UART boot flow where u-boot.img needs to be downloaded via YMODEM. Signed-off-by: Vignesh Raghavendra --- configs/am62ax_evm_a53_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62ax_evm_a53_defconfig b/configs/am62ax_evm_a53_defconfig index

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-07 Thread Tony Dinh
Hi Tom, On Fri, May 5, 2023 at 11:34 AM Tom Rini wrote: > > On Mon, Apr 03, 2023 at 02:41:52PM -0700, Tony Dinh wrote: > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > > stdin/stdout/stder must be set to some primary console, in addtion to nc. > > For example,

[UBOOT PATCH 3/3] usb: dwc3: core: Only handle soft-reset in DCTL

2023-05-07 Thread Venkatesh Yadav Abbarapu
[ Nguyen/Greg: Ported from Linux kernel commit f4fd84ae0765a ("usb: dwc3: core: Only handle soft-reset in DCTL") ] Make sure not to set run_stop bit or link state change request while initiating soft-reset. Register read-modify-write operation may unintentionally start the controller

[UBOOT PATCH 2/3] usb: dwc3: gadget: Don't send unintended link state change

2023-05-07 Thread Venkatesh Yadav Abbarapu
[ Nguyen/Felipe/Greg: Ported from Linux kernel commit 5b738211fb59 ("usb: dwc3: gadget: Don't send unintended link state change") ] DCTL.ULSTCHNGREQ is a write-only field. When doing a read-modify-write to DCTL, the driver must make sure that there's no

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

2023-05-07 Thread Venkatesh Yadav Abbarapu
[ Felipe: Ported from Linux kernel commit f59dcab17629 ("usb: dwc3: core: improve reset sequence") ] According to Synopsys Databook, we shouldn't be relying on GCTL.CORESOFTRESET bit as that's only for debugging purposes. Instead, let's use DCTL.CSFTRST if we're OTG or PERIPHERAL mode.

[UBOOT PATCH 0/3] Port the usb reset patches from linux

2023-05-07 Thread Venkatesh Yadav Abbarapu
Port the usb reset patches from linux kernel. Venkatesh Yadav Abbarapu (3): usb: dwc3: core: improve reset sequence usb: dwc3: gadget: Don't send unintended link state change usb: dwc3: core: Only handle soft-reset in DCTL drivers/usb/dwc3/core.c | 51

Re: [PATCH v3 10/17] x86: spl: Show debugging for BSS

2023-05-07 Thread Bin Meng
On Fri, May 5, 2023 at 6:51 AM Simon Glass wrote: > > Show the area of memory cleared for BSS, when debugging is enabled. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Drop change to memset() > > arch/x86/lib/spl.c | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Bin Meng

Re: [PATCH v4 00/16] x86: Various minor enhancements for coreboot

2023-05-07 Thread Bin Meng
On Fri, May 5, 2023 at 6:55 AM Simon Glass wrote: > > This series includes some patches generated while getting U-Boot to boot > more nicely on Brya, an Adler Lake Chromebook. > > This includes: > - show the ACPI tables with 'acpi list' > - get the UART to work even if coreboot doesn't enable it

Re: [GIT PULL] Please pull u-boot-mpc8xx

2023-05-07 Thread Tom Rini
On Fri, May 05, 2023 at 05:16:25PM +, Christophe Leroy wrote: > Hi Tom, > > This pull request adds misc fixes for cssi boards and activates > CPM relocation in order to enable the use of SCC4 in > QMC (QUICC Multi-Channel) mode. > > CI:

Re: U-Boot Bootmenu's autoboot rendering is broken

2023-05-07 Thread Pali Rohár
On Sunday 07 May 2023 23:19:22 Pali Rohár wrote: > On Sunday 07 May 2023 23:08:45 Pali Rohár wrote: > > If you run bootmenu in U-Boot it will print following output: > > > > *** U-Boot Boot Menu *** > > > > Attached kernel > > Internal eMMC > > External SD card > >

Re: U-Boot Bootmenu's autoboot rendering is broken

2023-05-07 Thread Pali Rohár
On Sunday 07 May 2023 23:08:45 Pali Rohár wrote: > If you run bootmenu in U-Boot it will print following output: > > *** U-Boot Boot Menu *** > > Attached kernel > Internal eMMC > External SD card > U-Boot boot order > U-Boot consoleHit any key to stop autoboot:

U-Boot Bootmenu's autoboot rendering is broken

2023-05-07 Thread Pali Rohár
If you run bootmenu in U-Boot it will print following output: *** U-Boot Boot Menu *** Attached kernel Internal eMMC External SD card U-Boot boot order U-Boot consoleHit any key to stop autoboot: 30 Hit any key to stop autoboot: 29 Hit any key to stop autoboot:

U-Boot Bootmenu is broken on Nokia N900

2023-05-07 Thread Pali Rohár
Bootmenu on Nokia N900 is broken (on both HW and in qemu emulator). Bootmenu just prints garbage on the screen. I run git bisect and the result is: 72a0dd8bed010bef78028ae528763f9807758e6b is the first bad commit commit 72a0dd8bed010bef78028ae528763f9807758e6b Author: Simon Glass Date: Fri Jan

Re: mmc: Read eMMC partition access bits before card reset

2023-05-07 Thread Pali Rohár
On Sunday 07 May 2023 12:45:11 Tom Rini wrote: > On Sun, May 07, 2023 at 04:56:04PM +0200, Pali Rohár wrote: > > On Sunday 07 May 2023 10:40:44 Tom Rini wrote: > > > On Sun, May 07, 2023 at 04:01:04PM +0200, Pali Rohár wrote: > > > > On Sunday 07 May 2023 09:54:52 Tom Rini wrote: > > > > > On Fri,

Re: mmc: Read eMMC partition access bits before card reset

2023-05-07 Thread Tom Rini
On Sun, May 07, 2023 at 04:56:04PM +0200, Pali Rohár wrote: > On Sunday 07 May 2023 10:40:44 Tom Rini wrote: > > On Sun, May 07, 2023 at 04:01:04PM +0200, Pali Rohár wrote: > > > On Sunday 07 May 2023 09:54:52 Tom Rini wrote: > > > > On Fri, May 05, 2023 at 09:37:10PM +0200, Pali Rohár wrote: > >

Re: [PATCH v5 05/10] ram: cadence: add driver for Cadence EDAC

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: [...] diff --git a/drivers/ram/cadence/ddr_ctrl.c b/drivers/ram/cadence/ddr_ctrl.c new file mode 100644 index 00..35544fbb95 --- /dev/null +++ b/drivers/ram/cadence/ddr_ctrl.c [...] +void cdns_ddr_ctrl_start(void *ddr_ctrl_basex) +{ +

Re: [PATCH v5 10/10] doc: renesas: add Renesas board docs

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: [...] +++ b/doc/board/renesas/renesas.rst @@ -0,0 +1,45 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +Renesas +=== + +About this +-- + +This document describes the information about Renesas supported boards +and their usage steps. + +Renesas

Re: [PATCH v5 09/10] tools: spkgimage: add Renesas SPKG format

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: Renesas RZ/N1 devices contain BootROM code that loads a custom SPKG image from QSPI, NAND or USB DFU. Support this format in mkimage tool. SPKGs can optionally be signed, however creation of signed SPKG is not currently supported. Example of how to use

Re: [PATCH v5 08/10] board: schneider: add RZN1 board support

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: Add support for Schneider Electronics RZ/N1D and RZ/N1S boards, which are based on the Reneasas RZ/N1 SoC devices. The intention is to support both boards using a single defconfig, and to handle the differences at runtime. The DT comes from Linux kernel,

Re: [PATCH v5 07/10] ARM: rmobile: Add support for Renesas RZ/N1 SoC

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: [...] diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c index 7e7465a2c8..15be32af31 100644 --- a/arch/arm/mach-rmobile/cpu_info.c +++ b/arch/arm/mach-rmobile/cpu_info.c @@ -31,6 +31,7 @@ void enable_caches(void) #ifdef

Re: [PATCH v5 06/10] ARM: dts: add devicetree for Renesas RZ/N1 SoC

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: This is taken directly from Linux kernel 6.3-rc7. You can now use final 6.3 since it was released . A commit ID of that 6.3 (source commit in Linux) in the commit message is a good practice. Signed-off-by: Ralph Siemsen Reviewed-by: Marek Vasut

Re: [PATCH v5 03/10] clk: renesas: add R906G032 driver

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: [...] +static int r9a06g032_clk_probe(struct udevice *dev) +{ + struct r9a06g032_priv *priv = dev_get_priv(dev); + + priv->regmap = syscon_regmap_lookup_by_phandle(dev, "regmap"); + if (IS_ERR(priv->regmap)) { +

Re: [PATCH v5 02/10] clk: renesas: prepare for non R-Car clock drivers

2023-05-07 Thread Marek Vasut
On 4/24/23 03:15, Ralph Siemsen wrote: Add new CONFIG_CLK_RCAR to control compilation of shared code for R-Car clock drivers (renesas-cpg-mssr.c). Enable this for R-Car Gen2 and 3. This is necessary so that CONFIG_CLK_RENESAS can be enabled, allowing recursion into the drivers/clk/reneasas

Re: mmc: Read eMMC partition access bits before card reset

2023-05-07 Thread Pali Rohár
On Sunday 07 May 2023 10:40:44 Tom Rini wrote: > On Sun, May 07, 2023 at 04:01:04PM +0200, Pali Rohár wrote: > > On Sunday 07 May 2023 09:54:52 Tom Rini wrote: > > > On Fri, May 05, 2023 at 09:37:10PM +0200, Pali Rohár wrote: > > > > On Wednesday 03 May 2023 13:14:56 Tom Rini wrote: > > > > > On

Re: mmc: Read eMMC partition access bits before card reset

2023-05-07 Thread Tom Rini
On Sun, May 07, 2023 at 04:01:04PM +0200, Pali Rohár wrote: > On Sunday 07 May 2023 09:54:52 Tom Rini wrote: > > On Fri, May 05, 2023 at 09:37:10PM +0200, Pali Rohár wrote: > > > On Wednesday 03 May 2023 13:14:56 Tom Rini wrote: > > > > On Wed, May 03, 2023 at 11:18:39AM +0200, Stefan Roese wrote:

Re: mmc: Read eMMC partition access bits before card reset

2023-05-07 Thread Pali Rohár
On Sunday 07 May 2023 09:54:52 Tom Rini wrote: > On Fri, May 05, 2023 at 09:37:10PM +0200, Pali Rohár wrote: > > On Wednesday 03 May 2023 13:14:56 Tom Rini wrote: > > > On Wed, May 03, 2023 at 11:18:39AM +0200, Stefan Roese wrote: > > > > > > > Hi Tom, > > > > > > > > please pull this next batch

Re: mmc: Read eMMC partition access bits before card reset

2023-05-07 Thread Tom Rini
On Fri, May 05, 2023 at 09:37:10PM +0200, Pali Rohár wrote: > On Wednesday 03 May 2023 13:14:56 Tom Rini wrote: > > On Wed, May 03, 2023 at 11:18:39AM +0200, Stefan Roese wrote: > > > > > Hi Tom, > > > > > > please pull this next batch of mostly Marvell related patches: > > > > NAK. With

Re: [PATCH v2 0/3] initial support for the Videostrong KII Pro

2023-05-07 Thread Ferass EL HAFIDI
Superseded by v3 -- f_

[PATCH v3 3/3] doc: boards: amlogic: add documentation for KII Pro

2023-05-07 Thread Ferass El Hafidi
Add build instructions for the KII Pro set-top box. Signed-off-by: Ferass El Hafidi --- board/amlogic/p200/MAINTAINERS| 1 + doc/board/amlogic/index.rst | 1 + doc/board/amlogic/videostrong-kii-pro.rst | 112 ++ 3 files changed, 114

[PATCH v3 2/3] boards: amlogic: add KII Pro defconfig

2023-05-07 Thread Ferass El Hafidi
Add configurations for the Videostrong KII Pro set-top box. This defconfig is cloned from the WeTek Play2's. Signed-off-by: Ferass El Hafidi --- board/amlogic/p200/MAINTAINERS| 1 + configs/videostrong-kii-pro_defconfig | 70 +++ 2 files changed, 71

[PATCH v3 1/3] arm: dts: add support for Videostrong KII Pro

2023-05-07 Thread Ferass El Hafidi
Import the device tree from mainline linux (v6.4-rc1) and add the old PHY reset bindings in the PHY node, else U-Boot and linux won't be able to use the PHY. Signed-off-by: Ferass El Hafidi --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-gxbb-kii-pro-u-boot.dtsi |

[PATCH v3 0/3] initial support for the Videostrong KII Pro

2023-05-07 Thread Ferass El Hafidi
The Videostrong KII Pro is a set-top box based on the Amlogic p201 reference board and with the following specification: * Amlogic S905 ARM Cortex-A53 quad-core SoC @ 1.5GHz * ARM Mali 450 GPU * 2GB DDR3 SDRAM * 16GB eMMC * Gigabit Ethernet * Broadcom BCM4335 WiFi and BT 4.0 * HDMI 2.0

Re: [PATCH v3 00/19] Migration to using binman for bootloader

2023-05-07 Thread Jan Kiszka
On 04.05.23 08:13, Neha Malcom Francis wrote: > Hi Jan > > On 04/05/23 10:13, Neha Malcom Francis wrote: >> Hi Jan, >> >> On 03/05/23 22:04, Jan Kiszka wrote: >>> On 03.05.23 14:56, Neha Malcom Francis wrote: Hi Jan, On 03/05/23 12:57, Neha Malcom Francis wrote: > Hi Tom >

Re: [PATCH 0/3] initial support for the Videostrong KII Pro

2023-05-07 Thread Ferass EL HAFIDI
Superseded by v2 (will appear soon) -- f_

[PATCH v2 3/3] doc: boards: amlogic: add documentation for KII Pro

2023-05-07 Thread Ferass El Hafidi
Add build instructions for the KII Pro set-top box. Signed-off-by: Ferass El Hafidi --- board/amlogic/p200/MAINTAINERS| 1 + doc/board/amlogic/index.rst | 1 + doc/board/amlogic/videostrong-kii-pro.rst | 112 ++ 3 files changed, 114

[PATCH v2 2/3] boards: amlogic: add KII Pro defconfig

2023-05-07 Thread Ferass El Hafidi
Add configurations for the Videostrong KII Pro set-top box. This defconfig is cloned from the WeTek Play2's. Signed-off-by: Ferass El Hafidi --- board/amlogic/p200/MAINTAINERS| 1 + configs/videostrong-kii-pro_defconfig | 70 +++ 2 files changed, 71

[PATCH v2 1/3] arm: dts: add support for Videostrong KII Pro

2023-05-07 Thread Ferass El Hafidi
Import the device tree from mainline linux (v6.4-rc1) and add the old PHY reset bindings in the PHY node, else U-Boot and linux won't be able to use the PHY. Signed-off-by: Ferass El Hafidi --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-gxbb-kii-pro-u-boot.dtsi |

[PATCH v2 0/3] initial support for the Videostrong KII Pro

2023-05-07 Thread Ferass El Hafidi
The Videostrong KII Pro is a set-top box based on the Amlogic p201 reference board and with the following specification: - Amlogic S905 ARM Cortex-A53 quad-core SoC @ 1.5GHz - ARM Mali 450 GPU - 2GB DDR3 SDRAM - 16GB eMMC - Gigabit Ethernet - Broadcom BCM4335 WiFi and BT 4.0 - HDMI 2.0

[PATCH] cmd: fs: document where 'size' stores its result

2023-05-07 Thread Baruch Siach
Make it a little bit easier for the user to utilize the 'size' command. Signed-off-by: Baruch Siach --- cmd/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fs.c b/cmd/fs.c index 5ad11647c2d3..6044f73af5b4 100644 --- a/cmd/fs.c +++ b/cmd/fs.c @@ -20,7 +20,7 @@

U-Boot - Behaviour of 'go' command

2023-05-07 Thread Little Tree
I have written a minimal bare-metal Raspberry Pi-3B program (ARM64- CortexA53) to switch from EL2 (Exception Level 2) to EL1. U-Boot is used as the bootloader. The code is loaded to RAM using the "tftpboot" command. The "go" command is used to start the execution of my program. I am not expecting

[PATCH 1/1] fwu: fix config FWU_MULTI_BANK_UPDATE

2023-05-07 Thread Heinrich Schuchardt
Symbol CONFIG_EFI_SETUP_EARLY does not exist anymore. CONFIG_FWU_MULTI_BANK_UPDATE without CONFIG_FWU_MDATA results in lib/fwu_updates/fwu.c:49: undefined reference to `fwu_get_mdata' Fixes: 86794052418b ("FWU: Add support for the FWU Multi Bank Update feature") Fixes: 023d9c93932c