[PATCH 2/3] bootstd: usb: Avoid initing USB twice

2023-05-05 Thread Simon Glass
This causes crashes on some boards, e.g. rockpro64. In any case, we should not do it. Check the usb_started flag to avoid this. Signed-off-by: Simon Glass --- drivers/usb/host/usb_bootdev.c | 3 +++ test/boot/bootdev.c| 5 + 2 files changed, 8 insertions(+) diff --git

[PATCH 3/3] bootstd: Require HUSH_PARSER for script booting

2023-05-05 Thread Simon Glass
Armbian uses a script which needs the HUSH parser. It is likely that other distros will do the same. Enable it by default, just in case. Signed-off-by: Simon Glass --- boot/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/Kconfig b/boot/Kconfig index 8c27f52ec3ed..9882812eecb8

[PATCH 1/3] usb: Tidy up the usb_start flag

2023-05-05 Thread Simon Glass
This should be declared in a header file so that type-checking works correctly. Add a single declaration to usb.h and remove the others. Signed-off-by: Simon Glass --- cmd/usb.c | 1 - common/usb.c | 2 +- drivers/usb/host/usb-uclass.c | 1 - include/usb.h

Re: [PATCH v4 15/16] x86: nvme: coreboot: Enable NVMe

2023-05-05 Thread Bin Meng
On Fri, May 5, 2023 at 6:55 AM Simon Glass wrote: > > Enable support for NVMe storage devices. Update the driver to enable the > bus master bit, since coreboot does not do that automatically. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Drop unnecessary CONFIG options > - Drop

Re: [PATCH v4 14/16] nvme: Enable PCI bus mastering

2023-05-05 Thread Bin Meng
On Fri, May 5, 2023 at 6:55 AM Simon Glass wrote: > > U-Boot sets up devices ready for use, but coreboot does not. Enable this > so that NVMe works OK from coreboot. > > Signed-off-by: Simon Glass > --- > > Changes in v4: > - Split out patch to enable bus mastering > > drivers/nvme/nvme_pci.c |

Re: [PATCH 2/2] configs: rock5b-rk3588: add rtl8169 driver

2023-05-05 Thread Tom Rini
On Tue, Apr 25, 2023 at 04:06:59PM +0300, Eugen Hristev wrote: > Add the rtl8169 driver, which supports the rtl8125b device, which is > connected on the pciE bus on this board. > Enable also CONFIG_SYS_HAS_NONCACHED_MEMORY to have the descriptors stored. > > Signed-off-by: Eugen Hristev > --- >

Re: Pull Request / Patch: Enable Usage of ECC with DDR on AM654x

2023-05-05 Thread Roytburd, Benjamin
Nishanth, Agreed, this is very expensive for boot time, I could probably add a comment to address this. But I believe it is better to have this option than not, as I struggled to figure out that I even needed to prime ECC when I enabled it. What is the strategy for TODOs with U-boot? DMA would

Re: [PATCH 4/4] net: e1000: make use of multiple rx packets

2023-05-05 Thread Tom Rini
On Fri, Mar 03, 2023 at 09:48:44PM +0100, Christian Gmeiner wrote: > When facing a very busy network, the single rx packet > buffer was oftentimes overwritten before a desired > response packet (e.g. a Ping reply) could have been > processed. This change improves resistance to this > by utilising

mmc: Read eMMC partition access bits before card reset

2023-05-05 Thread Pali Rohár
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 commit: > commit 461fa17970de418a93832f734a595031c0b72128 > Author: Pali Rohár >

Re: [PATCH] ARM: stm32: Fix OF_LIST on DHCOR

2023-05-05 Thread Marek Vasut
On 5/5/23 02:11, Tom Rini wrote: The ITS file used to build the images here lists three dtb files as being used. Today, these are built by the logic that will over-build dtb files based on SOC/etc symbols being set. To future proof this platform and be generally correct, we list all 3 of the

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-05 Thread Tom Rini
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, stdin=serial,nc. Some recent Linux kernels will not boot with > only nc on the

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

2023-05-05 Thread Christian Gmeiner
Hi > > On 04/05/23 14:08, Christian Gmeiner wrote: > > Hi > > > >> > >> This series aims to eliminate the use of additional custom repositories > >> such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3 > >> Security Development Tools) that was plumbed into the U-Boot build flow

[GIT PULL] Please pull u-boot-mpc8xx

2023-05-05 Thread Christophe Leroy
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: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16261 Thanks Christophe The following changes since commit

Re: Please pull u-boot-video

2023-05-05 Thread Tom Rini
On Fri, May 05, 2023 at 10:25:53AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > please pull video updates for v2023.07-rc2. > > CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16257 > > Thanks, > Anatolij > > The following changes since commit

Re: [GIT PULL] please pull fsl-qoirq-2023-5-5

2023-05-05 Thread Tom Rini
On Fri, May 05, 2023 at 03:19:27AM +, Peng Fan wrote: > Hi Tom, > > Please pull fsl-qoirq-2023-5-5 > I've applied this to u-boot/master now, thanks. But please note that these are still outstanding in patchwork:

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-05 Thread Rob Herring
On Thu, May 4, 2023 at 11:42 AM Jassi Brar wrote: > > On Thu, 4 May 2023 at 11:31, Ilias Apalodimas > wrote: > > > > Replying to both Jassi and Tom here since it makes more sense, > > > > On Thu, 4 May 2023 at 19:19, Tom Rini wrote: > > > > > > On Thu, May 04, 2023 at 10:39:06AM -0500, Jassi

Re: [PATCH v4 1/3] net: ipv6: Add support for default gateway discovery.

2023-05-05 Thread Ehsan Mohandesi
On 5/4/2023 9:52 AM, Sergei Antonov wrote: On Sat, 22 Apr 2023 at 03:08, wrote: + if (prefix->on_link && ntohl(prefix->valid_lifetime)) { + net_prefix_length = prefix->prefix_len; + net_gateway6 = ip6->saddr; +

Re: Pull Request / Patch: Enable Usage of ECC with DDR on AM654x

2023-05-05 Thread Nishanth Menon
Benjamin, On 21:59-20230504, Tom Rini wrote: > On Thu, May 04, 2023 at 12:47:29PM +, Roytburd, Benjamin wrote: > o > > Hello, > > > > Recently, when working with the AM65x_GP_EVM development board, I found > > that the U-boot source code (specifically the SPL), does not properly > >

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

2023-05-05 Thread Nishanth Menon
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 the firewall for its usage > > along with the SRAM for R5 but the

Re: [PATCH] arm: dts: k3-am68-sk*: Remove pinmux nodes from R5 dts

2023-05-05 Thread Nishanth Menon
On 14:45-20230505, Sinthu Raja wrote: > From: Sinthu Raja > > Pin-mux nodes should not be present in the R5 dts file; instead, they > should be inherited from the board dts file. To enable/override the > appropriate configurations, remove the pinmux nodes from am68-sk-r5 dt

[PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-05 Thread Ravi Gunasekaran
From: Aswath Govindraju When the device port is in a low power state [U3/L2/Not Connected], accesses to usb device registers may take a long time. This could lead to potential core hang when the controller registers are accessed after the port is disabled by setting DEVDS field. Setting the fast

[RFC PATCH v2 4/5] pinctrl: meson: add pinctrl driver for Amlogic A1

2023-05-05 Thread Igor Prusov
Based on Linux kernel commit: dabad1ff85611 (pinctrl: meson: add pinctrl driver support for Meson-A1 SoC) Signed-off-by: Igor Prusov Reviewed-by: Neil Armstrong --- drivers/pinctrl/meson/Kconfig| 4 + drivers/pinctrl/meson/Makefile | 1 +

[RFC PATCH v2 5/5] board: amlogic: add support for AD401 board

2023-05-05 Thread Igor Prusov
The AD401 board is the Amlogic A1 SoC reference board Signed-off-by: Igor Prusov Reviewed-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig | 1 + board/amlogic/ad401/MAINTAINERS | 6 board/amlogic/ad401/Makefile| 4 +++ board/amlogic/ad401/ad401.c | 15 +

[RFC PATCH v2 0/5] Amlogic A1 SoC Family Support

2023-05-05 Thread Igor Prusov
This patch series adds basic support for Amlogic AD401 development board based on Amlogic A1 SoC family Changelog: v1 -> v2: - Add MAINTAINERS for new board instead of using one in the repo root Igor Prusov (5): ARM: dts: Add Amlogic Meson A1 DT from Linux 6.3-rc7 ARM: dts: sync

[RFC PATCH v2 3/5] ARM: meson: add A1 support

2023-05-05 Thread Igor Prusov
Add support for Amlogic A1 SoC family. Signed-off-by: Igor Prusov Signed-off-by: Evgeny Bachinin Reviewed-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/a1.h | 20 ++ arch/arm/mach-meson/Kconfig | 6 +++ arch/arm/mach-meson/Makefile | 1 +

[RFC PATCH v2 1/5] ARM: dts: Add Amlogic Meson A1 DT from Linux 6.3-rc7

2023-05-05 Thread Igor Prusov
Import Linux 6.3-rc7 Device tree and necessary bindings for Amlogic A1 board from 6a8f57ae2eb0 ("Linux 6.3-rc7"). Signed-off-by: Igor Prusov Reviewed-by: Neil Armstrong --- arch/arm/dts/meson-a1.dtsi | 161 +++ include/dt-bindings/gpio/meson-a1-gpio.h | 73

[RFC PATCH v2 2/5] ARM: dts: sync meson-a1-ad401 from Linux 6.3-rc7

2023-05-05 Thread Igor Prusov
Add meson-a1-ad401.dts file from Linux 6.3-rc7 Signed-off-by: Igor Prusov Reviewed-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-a1-ad401.dts | 30 ++ 2 files changed, 31 insertions(+) create mode 100644

Re: [PATCH] usb: cdns3: gadget.c: Set fast access bit

2023-05-05 Thread Roger Quadros
Hi Ravi, On 05/05/2023 15:13, Ravi Gunasekaran wrote: > From: Aswath Govindraju > > When the device port is in a low power state [U3/L2/Not Connected], > accesses to usb device registers may take a long time. This could lead to > potential core hang when the controller registers are accessed

Re: [PATCH 2/4] doc: signature: update algorithm addition description

2023-05-05 Thread Heinrich Schuchardt
On 5/3/23 03:28, Simon Glass wrote: On Mon, 1 May 2023 at 22:47, Baruch Siach wrote: U-Boot now uses the U_BOOT_CRYPTO_ALGO() macro. Signed-off-by: Baruch Siach --- doc/uImage.FIT/signature.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass

Re: [PATCH v2 00/11] Misc fixes + 8xx CPM relocation

2023-05-05 Thread Joakim Tjernlund
On Fri, 2023-05-05 at 12:51 +0200, Christophe Leroy wrote: > This series adds misc fixes for cssi boards and activates > CPM relocation in order to enable the use of SCC4 in > QMC (QUICC Multi-Channel) mode. > > Changes in v2: > - Patch 5: Update r1 at once (From Joakim) Thanks Joakim

[PATCH v2 08/11] powerpc: mpc8xx: Add SMC relocation CPM microcode

2023-05-05 Thread Christophe Leroy
In order to use QMC mode in the CPM, a SCC requires more space in parameter RAM. After SCC1 there is I2C parameter RAM and after SCC2 there is SPI parameter RAM. MPC866 and MPC885 can already relocate I2C and. SPI parameter RAM. But in order to free space after SCC3 and SCC4, SMC1 and SMC2 need

[PATCH v2 03/11] board: cssi: Load CMPC885's motherboard FPGA earlier

2023-05-05 Thread Christophe Leroy
In order to know the motherboard type earlier, perform I/O ports initialisation and FPGA loading in board_early_init_f() instead of board_early_init_r(). This is needed to be able to load mpc8xx CPM microcode base on motherboard type and before starting to use the CPM. Console is not available

[PATCH v2 07/11] powerpc: mpc885: Add CPM USB-SOF microcode for CPM15 ERRATA

2023-05-05 Thread Christophe Leroy
MPC885 CPU has the following ERRATA: When the USB controller is configured in Host mode, and the SOF generation (SFTE=1 in USMOD register) is being used, there may be false CRC error indication in other SCCs. Although the data is received correctly, the CRC result

[PATCH v2 09/11] spi, mpc8xx: Take parameter RAM relocation into account

2023-05-05 Thread Christophe Leroy
Instead of inhibiting parameter RAM relocation, take it into account. Signed-off-by: Christophe Leroy --- drivers/spi/mpc8xx_spi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c index 734b0751a9..5c8d760935 100644

[PATCH v2 02/11] board: cssi: Remove stale macro from cmpcpro.c

2023-05-05 Thread Christophe Leroy
Three unused macros were left over. Remove them. Signed-off-by: Christophe Leroy --- board/cssi/cmpcpro/cmpcpro.c | 5 - 1 file changed, 5 deletions(-) diff --git a/board/cssi/cmpcpro/cmpcpro.c b/board/cssi/cmpcpro/cmpcpro.c index 3e9ba6a4cc..8a30c48e35 100644 ---

[PATCH v2 01/11] board: cssi: Remove duplicated FPGA loading sequence on CMPC885

2023-05-05 Thread Christophe Leroy
A duplicated FPGA loading sequence appears after FPGA reset. Remove it. Fixes: dac3c6f625 ("board: cssi: Add new board MCR3000_2G") Signed-off-by: Christophe Leroy --- board/cssi/cmpc885/cmpc885.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/board/cssi/cmpc885/cmpc885.c

[PATCH v2 10/11] serial, mpc8xx: Take parameter RAM relocation into account

2023-05-05 Thread Christophe Leroy
Instead of inhibiting parameter RAM relacation, take into account the configured one. It means INIT_TRX command cannot be used and must be done manually as explained in the microcode patch application note. Signed-off-by: Christophe Leroy --- drivers/serial/serial_mpc8xx.c | 22

[PATCH v2 06/11] powerpc: Force cast on memcpy_toio()

2023-05-05 Thread Christophe Leroy
sparse reports the following warning: CHECK arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c:29:9: warning: cast removes address space '' of expression arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c:30:9: warning: cast removes address space '' of

[PATCH v2 04/11] powerpc: mpc8xx: CPM parameter RAM can be anywhere

2023-05-05 Thread Christophe Leroy
With relocation, CPM parameter RAM can be anywhere in the dual port RAM, so don't split dual port RAM. Remove dparam and dparam16 members of struct comm_proc PROFF_XXX become offsets from the start of dual port RAM, then they are now consistant with the offsets in RPBASE registers.

[PATCH v2 05/11] powerpc: mpc8xx: Reorganise init RAM

2023-05-05 Thread Christophe Leroy
Using SMC relocation microcode patch or USB-SOF microcode patch will disable DPRAM memory from 0x2000 to 0x2400 and from 0x2f00 to 0x3000. At the time being, init RAM is setup to use 0x2800-0x2e00, but the stack pointer goes beyond 0x2800 and even beyond 0x2400. For the time being we are not

[PATCH v2 11/11] board: cssi: Activate SMC relocation on CMPC885 board for MIAE device

2023-05-05 Thread Christophe Leroy
When CMPC885 board is used for MIAE device, SCC2 SCC3 and SMC2 are used for serial lines. Therefore only SCC4 is available for handling the TDM line. In order to use SCC4 in QMC mode without loosing SMC2, SMC2 must be relocated. Activate SMC relocation and relocate SMC2 at offset 0x1fc0 which is

[PATCH v2 00/11] Misc fixes + 8xx CPM relocation

2023-05-05 Thread Christophe Leroy
This series adds misc fixes for cssi boards and activates CPM relocation in order to enable the use of SCC4 in QMC (QUICC Multi-Channel) mode. Changes in v2: - Patch 5: Update r1 at once (From Joakim) - Patch 6: New to avoid sparse warnings with memcpy_toio() - Patch 7 and 8: Fixed sparse

[PATCH] Fix sparse checks processing

2023-05-05 Thread Christophe Leroy
A lot of errors are encountered when building with sparse checking activated (make C=1 or make C=2). Many of them are fixed in Linux. Resynchronise Makefile and include/linux/build_bug.h with Linux kernel sources by porting the following Linux commits into u-boot: - 6c49f359ca14 ("kbuild:

[RFC PATCH 2/5] lib/lwip: compile-in core files

2023-05-05 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- .gitignore | 3 + include/net.h | 2 +- lib/Kconfig| 2 + lib/Makefile | 2 + lib/lwip/Kconfig | 12 + lib/lwip/Makefile

[RFC PATCH 5/5] lwip: implement wget command from http_client.c example

2023-05-05 Thread Maxim Uvarov
Intend of RFC is to show how we can reuse existance lwip apps and examples inside u-boot. This commit shows how to do that with minimal changes. Signed-off-by: Maxim Uvarov --- .gitignore| 2 + doc/README.lwip | 34 lib/lwip/Makefile

[RFC PATCH 4/5] add doc/README.lwip.size

2023-05-05 Thread Maxim Uvarov
Add doc with size calculation accoding to original u-boot. Signed-off-by: Maxim Uvarov --- doc/README.lwip.size | 291 +++ 1 file changed, 291 insertions(+) create mode 100644 doc/README.lwip.size diff --git a/doc/README.lwip.size b/doc/README.lwip.size

[RFC PATCH 3/5] add doc/README.lwip

2023-05-05 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- doc/README.lwip | 56 + 1 file changed, 56 insertions(+) create mode 100644 doc/README.lwip diff --git a/doc/README.lwip b/doc/README.lwip new file mode 100644 index 00..df3462ca1b --- /dev/null +++

[RFC PATCH 1/5] add lwip-external submodule

2023-05-05 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- .gitmodules| 3 +++ lib/lwip/lwip-external | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 16 lib/lwip/lwip-external diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00..afc709af10 ---

[RFC PATCH 0/5] LWIP stack integration

2023-05-05 Thread Maxim Uvarov
Greetings, This RFC patchset is an attempt to try to use an already existing IP network stack inside U-boot. U-Boot recently got basic TCP/IP support, implementing wget, but in order to get a full IP stack with new features (e.g ipv6), it would be preferable to use an established embedded ip

Re: [RFC PATCH 0/5] LWIP stack integration

2023-05-05 Thread Ilias Apalodimas
+cc Tom and Simon at least on the cover letter so they can take a peek On Fri, 5 May 2023 at 13:25, Maxim Uvarov wrote: > > Greetings, > > This RFC patchset is an attempt to try to use an already existing IP network > stack inside U-boot. > U-Boot recently got basic TCP/IP support, implementing

[PATCH v2 0/2] Background firewall fix

2023-05-05 Thread Manorit Chawdhry
Signed-off-by: Manorit Chawdhry --- Changes in v2: - Change the series fundamentally as the previous patch seemed to break linux boot - Link to v1: https://lore.kernel.org/r/20230418-b4-upstream-j721s2-bg-fwl-fix-v1-1-7d42d1c1d...@ti.com --- Manorit Chawdhry (2): Revert "arm: mach-k3:

[PATCH v2 2/2] arm: mach-k3: common: reorder removal of firewalls

2023-05-05 Thread Manorit Chawdhry
K3 devices have some firewalls set up by ROM that we usually remove so that the development is easy in HS devices. While removing the firewalls disabling a background region before disabling the foreground regions keeps the firewall in a state where all the transactions will be blacklisted until

[PATCH v2 1/2] Revert "arm: mach-k3: common: don't reconfigure background firewalls"

2023-05-05 Thread Manorit Chawdhry
This reverts commit b8ebf24e7f4afb5093a31bdf122e1ed0781e5c3c. This patch seems to be fundamentally wrong and requires a different way on how the background firewalls should be configured so revert the patch Signed-off-by: Manorit Chawdhry --- arch/arm/mach-k3/common.c | 5 +

Re: [PATCH 00/42] imx: i.MX9 update

2023-05-05 Thread Peng Fan
Hi Stefano, Fabio Do you have time to give a look? Is there a chance to for this patchset landed in 2023.07? Thanks, Peng On 4/28/2023 12:08 PM, Peng Fan (OSS) wrote: From: Peng Fan This patchset includes updates mainly for i.MX9, such as Clock, Memory, Parts, Low drive mode, DDR, cpu

[PATCH] arm: dts: k3-am68-sk*: Remove pinmux nodes from R5 dts

2023-05-05 Thread Sinthu Raja
From: Sinthu Raja Pin-mux nodes should not be present in the R5 dts file; instead, they should be inherited from the board dts file. To enable/override the appropriate configurations, remove the pinmux nodes from am68-sk-r5 dts and inherit the nodes from board dts. Signed-off-by: Sinthu Raja

Re: [PATCH] dt/bindings: fwu-mdata-mtd: drop changes outside FWU

2023-05-05 Thread Michal Simek
On 5/4/23 17:19, Rob Herring wrote: On Thu, May 4, 2023 at 9:01 AM Jassi Brar wrote: On Thu, 4 May 2023 at 07:08, Ilias Apalodimas wrote: [...] I'm assuming it's per partition type rather than storage medium (e.g. SATA, USB, SD, NAND, SPI-NOR)? GPT, 'fixed-partitions', other DT

Re: [PATCH V9 00/14] Add splash screen support at u-boot SPL

2023-05-05 Thread Anatolij Gustschin
On Thu, 4 May 2023 20:56:11 -0400 Tom Rini tr...@konsulko.com wrote: ... > > Can this be applied, please? We have rc1 out now so this should really > > be in there by now. > > > > I have another series that depends on it, and it is also pending > > application. > > Anatolij ? Done. My

Re: [PATCH] build_bug.h: Also define static_assert() when __CHECKER__ is defined

2023-05-05 Thread Christophe Leroy
Le 04/05/2023 à 21:55, Tom Rini a écrit : > On Thu, May 04, 2023 at 05:32:12PM +, Christophe Leroy wrote: >> >> >> Le 04/05/2023 à 19:22, Christophe Leroy a écrit : >>> >>> >>> Le 04/05/2023 à 15:54, Tom Rini a écrit : On Thu, May 04, 2023 at 06:15:13AM +, Christophe Leroy wrote:

Re: [PATCH V9 00/14] Add splash screen support at u-boot SPL

2023-05-05 Thread Anatolij Gustschin
Hi Simon, On Thu, 4 May 2023 18:40:56 -0600 Simon Glass s...@chromium.org wrote: ... > Can this be applied, please? We have rc1 out now so this should really > be in there by now. > > I have another series that depends on it, and it is also pending application. Series applied to u-boot-video

Please pull u-boot-video

2023-05-05 Thread Anatolij Gustschin
Hi Tom, please pull video updates for v2023.07-rc2. CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16257 Thanks, Anatolij The following changes since commit b646e1f69fca5d6a002be1f4e32fab00e140c091: patman: Declare the future Series memory (2023-04-23 14:24:41 -0400)

AW: [PATCH v2 2/3] X86: Add support for distro boot

2023-05-05 Thread Mittelstaedt Thomas (XC-CT/EBV3)
Hi Simon, U-Boot can't start with boot script boot.scr, if BOOTSTD_DEFAULT is set. With this setting "bootflow scan -lb" is not supported. Booting with extlinux.conf works somehow. = Bootlog === U-Boot 2023.04-01135-g4ea415461d-dirty (May 05

[[PATCH v2] 4/4] cmd: tlv_eeprom: enable 'dev' subcommand before 'read'

2023-05-05 Thread Josua Mayer
Move the handler for "tlv_eeprom dev X" command to the beginning of do_tlv_eeprom, to allow using it before issuing a "read" command for currently selected eeprom. Also remove the check if eeprom exists, since that can only work after the first execution of read_eeprom triggered device lookup.

[[PATCH v2] 2/4] cmd: tlv_eeprom: remove use of global variable has_been_read

2023-05-05 Thread Josua Mayer
has_been_read is only used as an optimization for do_tlv_eeprom. Explicitly use and set inside this function, thus making read_eeprom stateless. Signed-off-by: Josua Mayer Reviewed-by: Stefan Roese Cc: Stefan Roese Cc: Baruch Siach Cc: Heinrich Schuchardt --- cmd/tlv_eeprom.c | 21

[[PATCH v2] 3/4] cmd: tlv_eeprom: handle -ENODEV error from read_eeprom function

2023-05-05 Thread Josua Mayer
When tlv eeprom does not exist, return error code instead of quietly making up tlv structure in memory. Signed-off-by: Josua Mayer Reviewed-by: Stefan Roese Cc: Stefan Roese Cc: Baruch Siach Cc: Heinrich Schuchardt --- cmd/tlv_eeprom.c | 22 -- 1 file changed, 16

[[PATCH v2] 1/4] cmd: tlv_eeprom: remove use of global variable current_dev

2023-05-05 Thread Josua Mayer
Make tlv_eeprom command device selection an explicit parameter of all function calls. Signed-off-by: Josua Mayer Cc: Stefan Roese Cc: Baruch Siach Cc: Heinrich Schuchardt --- cmd/tlv_eeprom.c | 50 ++-- include/tlv_eeprom.h | 3 ++- 2 files

[[PATCH v2] 0/4] cmd: tlv_eeprom: global variables and error cleanup

2023-05-05 Thread Josua Mayer
This patch-set removes some uses of global variables, and improves error reporting for the "read" command. It is intended to help switching to a split tlv library eventually, but general enough to apply independently. Changes since v1: - rebased on master 0160d58 - added first patch!!! I had

Re: [PATCH 1/3] cmd: tlv_eeprom: remove use of global variable has_been_read

2023-05-05 Thread Josua Mayer
Hi Stefan, Thanks for reviewing. I just rebased on https://source.denx.de/u-boot/u-boot.git / master, and will send new version soon. - Josua Mayer Am 03.05.23 um 09:55 schrieb Stefan Roese: Hi Josua, On 4/29/23 11:15, Josua Mayer wrote: has_been_read is only used as an optimization for

[PATCH 1/3] riscv: add generic link for

2023-05-05 Thread Ben Dooks
Add a link from to the generic one to allow things like ubifs to be built. This can be extended with riscv AMO ops at a later date. Signed-off-by: Ben Dooks --- arch/riscv/include/asm/atomic.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644

[PATCH 3/3] riscv: define test_and_{set,clear}_bit in asm/bitops.h

2023-05-05 Thread Ben Dooks
These seem to be missing, and trying to build ubifs without them is causing errors due to these being missing. Signed-off-by: Ben Dooks --- arch/riscv/include/asm/bitops.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h

[PATCH 2/3] riscv: implement local_irq_{save,restore} macros

2023-05-05 Thread Ben Dooks
Add implementations of the local_irq_{save,restore} macros so that can be used with riscv. Signed-off-by: Ben Dooks --- arch/riscv/include/asm/system.h | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/arch/riscv/include/asm/system.h

riscv: asm update for building ubifs

2023-05-05 Thread Ben Dooks
Fix misisng atomic and test_and_{set,clear}_bit macros to allow the ubi/ubifs code to be built for riscv. These are fairly simple but are not being used outside of ubifs on our builds. Ben Dooks (3): riscv: add generic link for riscv: implement local_irq_{save,restore} macros riscv: define

Re: [EXTERNAL] [PATCH v3 19/43] Show the malloc base with the bdinfo command

2023-05-05 Thread Nikhil M Jain
On 05/05/23 04:28, Simon Glass wrote: It is useful to see the base of the malloc region. This is visible when debugging but not in normal usage. Add it to the global data so that it can be shown. Signed-off-by: Simon Glass --- (no changes since v1) cmd/bdinfo.c | 1 +

Re: [EXTERNAL] [PATCH v3 11/43] bdinfo: Show the RAM top and approximate stack pointer

2023-05-05 Thread Nikhil M Jain
On 05/05/23 04:27, Simon Glass wrote: These are useful pieces of information when debugging. The RAM top shows where U-Boot started allocating memory from, before it relocated. The stack pointer can be checked to ensure it is in the correct region. Signed-off-by: Simon Glass --- (no changes

Re: [RFC PATCH v1 5/5] board: amlogic: add support for AD401 board

2023-05-05 Thread Neil Armstrong
On 24/04/2023 20:01, Igor Prusov wrote: The AD401 board is the Amlogic A1 SoC reference board Signed-off-by: Igor Prusov --- MAINTAINERS | 1 + arch/arm/mach-meson/Kconfig | 1 + board/amlogic/ad401/Makefile | 4 +++ board/amlogic/ad401/ad401.c | 15 ++

Re: [RFC PATCH v1 4/5] pinctrl: meson: add pinctrl driver for Amlogic A1

2023-05-05 Thread Neil Armstrong
On 24/04/2023 20:01, Igor Prusov wrote: Based on Linux kernel commit: dabad1ff85611 (pinctrl: meson: add pinctrl driver support for Meson-A1 SoC) Signed-off-by: Igor Prusov --- drivers/pinctrl/meson/Kconfig| 4 + drivers/pinctrl/meson/Makefile | 1 +

Re: [RFC PATCH v1 3/5] ARM: meson: add A1 support

2023-05-05 Thread Neil Armstrong
On 24/04/2023 20:01, Igor Prusov wrote: Add support for Amlogic A1 SoC family. Signed-off-by: Igor Prusov Signed-off-by: Evgeny Bachinin --- arch/arm/include/asm/arch-meson/a1.h | 20 ++ arch/arm/mach-meson/Kconfig | 6 +++ arch/arm/mach-meson/Makefile | 1 +

Re: [RFC PATCH v1 2/5] ARM: dts: sync meson-a1-ad401 from Linux 6.3-rc7

2023-05-05 Thread Neil Armstrong
On 24/04/2023 20:01, Igor Prusov wrote: Add meson-a1-ad401.dts file from Linux 6.3-rc7 Signed-off-by: Igor Prusov --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-a1-ad401.dts | 30 ++ 2 files changed, 31 insertions(+) create mode 100644

Re: [RFC PATCH v1 1/5] ARM: dts: Add Amlogic Meson A1 DT from Linux 6.3-rc7

2023-05-05 Thread Neil Armstrong
On 24/04/2023 20:01, Igor Prusov wrote: Import Linux 6.3-rc7 Device tree and necessary bindings for Amlogic A1 board from 6a8f57ae2eb0 ("Linux 6.3-rc7"). Signed-off-by: Igor Prusov --- arch/arm/dts/meson-a1.dtsi | 161 +++