Re: [PATCH v5 01/17] riscv: cpu: jh7110: Add support for jh7110 SoC

2023-05-15 Thread yanhong wang
On 2023/5/12 13:50, Bo Gan wrote: > On 3/28/23 8:42 PM, Yanhong Wang wrote: >> +void harts_early_init(void) >> +{ >> +    ulong *ptr; >> +    u8 *tmp; >> +    ulong len, remain; >> +    /* >> + * Feature Disable CSR >> + * >> + * Clear feature disable CSR to '0' to turn on all featur

Fit Signature booting without public key

2023-05-15 Thread Manorit Chawdhry
Hi All, I recently came upon a discussion that had happened a while back [0]. I want to continue the discussion as I believe the issue still persists and the checks around fit signature booting are still the same, that allows booting the fit without changing the uboot dtb. Allowing the signed fit

Pull request efi-2023-07-rc3

2023-05-15 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit e94fbdd2729fdcd570035d43f67adda8e0dfc115: Merge https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-05-11 08:40:33 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2023-07-rc3

Re: [PATCH] Fix sparse checks processing

2023-05-15 Thread Christophe Leroy
Le 15/05/2023 à 23:12, Tom Rini a écrit : > On Fri, May 05, 2023 at 10:39:39AM +0200, Christophe Leroy wrote: > >> 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 inclu

Re: [PATCH v3 2/3] Boot var automatic management for removable medias

2023-05-15 Thread Ilias Apalodimas
On Tue, May 02, 2023 at 12:12:19PM -0700, Raymond Mao wrote: > Changes for complying to EFI spec §3.5.1.1 > 'Removable Media Boot Behavior'. > Boot variables can be automatically generated during a removable > media is probed. At the same time, unused boot variables will be > detected and removed.

Re: [PATCH v3 1/3] Move bootorder and bootoption apis to lib

2023-05-15 Thread Ilias Apalodimas
Hi Raymond, Heinrichm you had some concerns on the previous version of this patchset wrt to the current code. Do you think the rework should take place here? Or are you ok in cleaning it up in a follow up series? Thanks /Ilias On Tue, May 02, 2023 at 12:12:17PM -0700, Raymond Mao wrote: > Rename

Re: [PATCH v3 3/3] Load option with short device path for boot vars

2023-05-15 Thread Ilias Apalodimas
Hi Raymond, On Tue, May 02, 2023 at 12:12:21PM -0700, Raymond Mao wrote: > The boot variables automatically generated for removable medias > should be with short form of device path without device nodes. > This is a requirement for the case that a removable media is > plugged into a different port

Re: [External] - Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-15 Thread Stefan Wahren
Am 15.05.23 um 19:57 schrieb Vincent Fazio: Stefan -Original Message- From: Stefan Wahren Sent: Monday, May 15, 2023 11:35 AM To: Vincent Fazio ; Nuno Gonçalves ; u-boot@lists.denx.de; pbrobin...@gmail.com Subject: Re: [External] - Re: Issues with bcm2835-host: let firmware manage the

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

2023-05-15 Thread Neha Malcom Francis
Hi Tom On 04/05/23 11:10, Manorit Chawdhry wrote: On 09:57-20230503, Tom Rini wrote: On Wed, May 03, 2023 at 12:57:13PM +0530, Neha Malcom Francis wrote: Hi Tom On 27/04/23 04:07, Tom Rini wrote: On Fri, Apr 21, 2023 at 06:01:44PM +0530, Neha Malcom Francis wrote: This series aims to elimi

[PATCH tiU23.04 PATCH v7 4/4] arm: mach-k3: Increase SYSFW max image size

2023-05-15 Thread Manorit Chawdhry
From: Dave Gerlach When booting with HS silicon, the system firmware image is 278270, which is slightly larger than currently allocated amount. This can cause unexpected behavior if this overlap interferes with other things in memory, so increase this with a slightly margin added as well to avoi

[PATCH tiU23.04 PATCH v7 3/4] Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region

2023-05-15 Thread Manorit Chawdhry
In non-combined boot flow for K3, 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 PSRAM region is still locked. The K3 MCU Scratchpad for j721e was set to a PSRAM region triggering the firewall excep

[PATCH tiU23.04 PATCH v7 2/4] configs: j721e: Merge the HS and non-HS defconfigs

2023-05-15 Thread Manorit Chawdhry
K3 devices have runtime type board detection. Make the default defconfig include the secure configuration. Then remove the HS specific config. Non-HS devices will continue to boot due to runtime device type detection. If TI_SECURE_DEV_PKG is not set the build will emit warnings, for non-HS devices

[PATCH tiU23.04 v7 0/4] J721E HS Fixes

2023-05-15 Thread Manorit Chawdhry
This series fixes the support for J721E board along with some maintainance for it. --- Changes in v7: - rebased on top of upstream-master - Link to v6: https://lore.kernel.org/r/20230324-j721e-upstream-hs-v6-0-5aa43a481...@ti.com --- Andrew Davis (1): arm: k3: config.mk: Add missing depend

[PATCH tiU23.04 PATCH v7 1/4] arm: k3: config.mk: Add missing dependencies on tispl.bin HS

2023-05-15 Thread Manorit Chawdhry
From: Andrew Davis When building for secure devices using non-buildman based image generation the signed tispl.bin file is called tispl.bin_HS. Also build the unsigned tispl.bin file as expected. Signed-off-by: Andrew Davis Signed-off-by: Manorit Chawdhry --- arch/arm/mach-k3/config.mk | 2 ++

[PATCH v2 1/2] sunxi: dts: arm/arm64: update devicetree files from Linux-v6.4-rc2

2023-05-15 Thread Andre Przywara
Sync the devicetree files from the official Linux kernel tree, v6.4-rc2. This is covering both 64-bit and 32-bit Allwinner SoCs with Arm Ltd. cores, we skip the new RISC-V bits for now, as sunxi RISC-V support is still work in progress. Among smaller cosmetic changes, this adds a SATA regulator no

[PATCH v2 2/2] sunxi: defconfig: Add Lctech Pi F1C200s board

2023-05-15 Thread Andre Przywara
The Lctech Pi F1C200s (also previously known under the Cherry Pi brand) is a small development board with the Allwinner F1C200s SoC. This is the same as the F1C100s, but with 64MB instead of 32MB co-packaged DRAM. Add a defconfig for this board, enabling the most basic features. This uses the new

[PATCH v2 0/2] sunxi: DT update plus new board support

2023-05-15 Thread Andre Przywara
Hi, the main purpose of this series is to update the Allwinner devicetree files to the latest versions from the Linux kernel repository. Compared to the v1 post, this uses the officially released 6.4-rc2 tree instead of just linux-next, which adds the dma-names order changes that were missing the

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2023-05-15 Thread Ehsan Mohandesi
On 5/8/2023 3:20 PM, Tom Rini wrote: Here's the latest defect report: -- Forwarded message - From: Date: Mon, May 8, 2023, 2:29 PM Subject: New Defects reported by Coverity Scan for Das U-Boot To: Hi, Please find the latest report on new defect(s) introduced to Das U-Boot foun

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-15 Thread Michael Nazzareno Trimarchi
Hi Il lun 15 mag 2023, 23:12 Tom Rini ha scritto: > On Tue, May 09, 2023 at 09:09:28AM +0200, Frieder Schrempf wrote: > > Hi Michael, hi Dario, > > > > On 18.04.23 15:46, Frieder Schrempf wrote: > > > Hi Michael, Dario, > > > > > > On 28.03.23 09:57, Frieder Schrempf wrote: > > >> Hi Michael, >

Re: [PATCH 2/2] kbuild: Allow DTB overlays to built from .dtso named source files

2023-05-15 Thread Tom Rini
On Thu, May 04, 2023 at 02:26:44PM +0200, Rasmus Villemoes wrote: > [Linux commit 363547d2191c] > > Currently DTB Overlays (.dtbo) are build from source files with the same > extension (.dts) as the base DTs (.dtb). This may become confusing and > even lead to wrong results. For example, a compos

Re: [PATCH 1/2] kbuild: add dtc as dependency on .dtb files

2023-05-15 Thread Tom Rini
On Thu, May 04, 2023 at 02:26:43PM +0200, Rasmus Villemoes wrote: > [Linux commit b8fc5b2157b1] > > If dtc is rebuilt, we should rebuild .dtb files with the new dtc. > > [Import notes: Back then there was no .dtbo rule in Linux's > Makefile.lib, but the current .dtbo rules in Linux also have the

Re: [PATCH] scripts/Makefile.dts: tweak logic for deciding which dtbs to build

2023-05-15 Thread Tom Rini
On Thu, May 04, 2023 at 01:33:08PM +0200, Rasmus Villemoes wrote: > The idea in 3609e1dc5f4d (dts: automatically build necessary .dtb > files) was fine, but the implementation was suboptimal due to some > misunderstandings on my part (and possibly defects in some defconfig > files): > > - Sometim

Re: [PATCH] scripts: dtc-version: support git version strings too

2023-05-15 Thread Tom Rini
On Wed, May 03, 2023 at 12:23:39PM +0200, Martin Hundebøll wrote: > Building dtc from git causes the version number to start with a 'v' > (e.g. v1.7.0). printf then fails to parse 'v1' as a decimal value, and > prints '000700' instead of '010700'. Subsequently, the build fails, > because '000700'

Re: [PATCH] Fix sparse checks processing

2023-05-15 Thread Tom Rini
On Fri, May 05, 2023 at 10:39:39AM +0200, Christophe Leroy wrote: > 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

Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation

2023-05-15 Thread Tom Rini
On Tue, May 09, 2023 at 09:09:28AM +0200, Frieder Schrempf wrote: > Hi Michael, hi Dario, > > On 18.04.23 15:46, Frieder Schrempf wrote: > > Hi Michael, Dario, > > > > On 28.03.23 09:57, Frieder Schrempf wrote: > >> Hi Michael, > >> > >> On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote: > >>>

[PATCH] drivers: clk: Adjust temp var data type to properly match that of struct clk_ops

2023-05-15 Thread Nathan Barrett-Morrison
In commit 5c5992cb90cf ("clk: Add debugging for return values"), a temporary storage variable was added around the ops->get_rate() call inside clk_get_rate(), so that the result could be passed through log_ret. This temporary variable was declared as an int, yet when we look in struct clk_ops, we

RE: [PATCH] net: dsa: Fix OF fallback lookup for ports

2023-05-15 Thread Claudiu Manoil
> -Original Message- > From: Marcus Comstedt > Sent: Monday, May 15, 2023 6:44 PM > To: u-boot@lists.denx.de > Cc: Marcus Comstedt ; Claudiu Manoil > ; Joe Hershberger ; > Ramon Fried > Subject: [PATCH] net: dsa: Fix OF fallback lookup for ports > > The variable 'node' was already invali

Re: [External] : Re: [PATCH] usb: kbd: dwc2: Increase wait for dwc2 controller reset by 125us

2023-05-15 Thread Filip Žaludek
Hi Marek, On 5/15/23 20:09, Marek Vasut wrote: On 5/15/23 16:53, Filip Zaludek wrote: Two following performance patches applied together occasionally harm usb keyboard on RPi3. 'dwc2: use the nonblock argument in submit_int_msg' commit 9dcab2c4d2cb50ab1864c818b82a72393c160236 'console: u

Re: [PATCH] usb: kbd: dwc2: Increase wait for dwc2 controller reset by 125us

2023-05-15 Thread Marek Vasut
On 5/15/23 16:53, Filip Zaludek wrote: Two following performance patches applied together occasionally harm usb keyboard on RPi3. 'dwc2: use the nonblock argument in submit_int_msg' commit 9dcab2c4d2cb50ab1864c818b82a72393c160236 'console: usb: kbd: Limit poll frequency to improve performance'

Re: Please pull u-boot-cfi-flash/master

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 01:29:21PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following CFI flash patch. It's a bit late in the > release process, but this patch only now runs w/o any issues > in CI build: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

[PATCH] net: dsa: Fix OF fallback lookup for ports

2023-05-15 Thread Marcus Comstedt
The variable 'node' was already invalid, so using it for further lookup will not work. Signed-off-by: Marcus Comstedt --- net/dsa-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dsa-uclass.c b/net/dsa-uclass.c index dd78e5744d..f64c68e340 100644 --- a/net/dsa-uc

Re: [PATCH] board: rockchip: Add Support for RG353PS and Panel Auto Detection

2023-05-15 Thread Chris Morgan
On Mon, May 15, 2023 at 10:49:43AM +0800, Kever Yang wrote: > Hi Chris, > >     Please split this patch into a series with: Thanks, sorry. I probably should have done it this way to begin with. > > - driver update > > - dts update > > - config update. > > > Thanks, > > - Kever > > On 2023

RE: [External] - Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-15 Thread Vincent Fazio
Stefan > -Original Message- > From: Stefan Wahren > Sent: Monday, May 15, 2023 11:35 AM > To: Vincent Fazio ; Nuno Gonçalves > ; u-boot@lists.denx.de; pbrobin...@gmail.com > Subject: Re: [External] - Re: Issues with bcm2835-host: let firmware manage > the clock divisor > > Hi Vincent, >

Re: [External] - Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-15 Thread Stefan Wahren
Hi Vincent, Am 15.05.23 um 14:10 schrieb Vincent Fazio: All -Original Message- From: Stefan Wahren Sent: Sunday, May 14, 2023 1:55 PM To: Nuno Gonçalves ; u-boot@lists.denx.de; Vincent Fazio ; pbrobin...@gmail.com Subject: [External] - Re: Issues with bcm2835-host: let firmware manage

[PATCH V2 6/6] doc: anbernic: Update RGxx3 Docs for panel detection

2023-05-15 Thread Chris Morgan
From: Chris Morgan Update the Anbernic RGxx3 documentation to note that panel detection has been added and how it works. Signed-off-by: Chris Morgan --- doc/board/anbernic/rgxx3.rst | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/doc/board/

[PATCH V2 5/6] configs: Update anbernic-rgxx3_defconfig for panel detection

2023-05-15 Thread Chris Morgan
From: Chris Morgan Update the anbernic-rgxx3_defconfig file to support panel autodetection and automatically updating the compatible string in the devicetree. Signed-off-by: Chris Morgan --- configs/anbernic-rgxx3_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/c

[PATCH V2 4/6] board: rockchip: Add panel auto-detection for Anbernic RGxx3

2023-05-15 Thread Chris Morgan
From: Chris Morgan Add support to automatically detect the panel for the Anbernic RGxx3. This is done by creating a "pseudo driver" that provides only the bare minimum to start the DSI controller and DSI DPHY. Once started, we then can query the panel for its panel ID and compare it to a table of

[PATCH V2 1/6] board: rockchip: Correct i2c2 pinctrl for RGxx3

2023-05-15 Thread Chris Morgan
From: Chris Morgan The pinctrl on the Anbernic RGxx3 for the i2c2 bus does not use the default value, so explicitly define it. Fixes: 6cf6fe25370c ("board: rockchip: add Anbernic RGXX3 Series Devices") Signed-off-by: Chris Morgan --- arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi | 2 ++ 1 fil

[PATCH V2 3/6] board: rockchip: Add support for RG353PS to RGxx3

2023-05-15 Thread Chris Morgan
From: Chris Morgan Add support for the RG353PS to the Anbernic RGxx3. This device is a slightly pared down version of the RG353P with no eMMC, no touchscreen, and only 1GB of RAM. Refactor board logic so that all supported devices are defined with ADC values and that future boards can be added b

[PATCH V2 2/6] board: rockchip: add DSI and DSI-DPHY for Anbernic RGxx3

2023-05-15 Thread Chris Morgan
From: Chris Morgan Add support for the DSI and DSI-DPHY to U-Boot for the RGxx3. These are needed so we can send a panel ID request to determine which panel is being used. Signed-off-by: Chris Morgan --- arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi | 8 1 file changed, 8 insertions(

[PATCH V2 0/6] Add Support for RG353PS and Panel Auto Detection

2023-05-15 Thread Chris Morgan
From: Chris Morgan Add support for panel auto detection for the Anbernic RGxx3 series. This requires us to probe the DSI and DSI-DPHY controllers so that we may send a MIPI_DCS_GET_DISPLAY_ID command to the panel to find out which panel we are running. This requires creating a kind of "skeleton"

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

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 11:25:58AM -0400, Maxim Uvarov wrote: > On Thu, 11 May 2023 at 09:52, Tom Rini wrote: > > > On Fri, May 05, 2023 at 10:25:24AM +, Maxim Uvarov wrote: > > > > > Greetings, > > > > > > This RFC patchset is an attempt to try to use an already existing IP > > network stack

Re: [PATCH resend v5 2/6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-05-15 Thread Jonas Karlman
Hi Eugen, On 2023-05-15 11:59, Eugen Hristev wrote: > Enable USB command, USB drivers, PHY and regulators, for USB host > operations. > > Reviewed-by: Kever Yang > Signed-off-by: Eugen Hristev > --- > configs/rock5b-rk3588_defconfig | 18 ++ > 1 file changed, 18 insertions(+) >

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

2023-05-15 Thread Maxim Uvarov
On Thu, 11 May 2023 at 09:52, Tom Rini wrote: > On Fri, May 05, 2023 at 10:25:24AM +, 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 wge

[PATCH v3] console: usb: kbd: Limit poll frequency to improve performance

2023-05-15 Thread Filip Žaludek
Hi Simon, On 5/3/23 03:28, Simon Glass wrote: Hi Filip, On Tue, 2 May 2023 at 12:43, Filip Žaludek wrote: Hi Simon, Michal, Marek, On 4/26/23 03:04, Simon Glass wrote: Hi Filip, On Tue, 25 Apr 2023 at 06:36, Filip Žaludek wrote: Hi Simon, On 4/19/23 03:49, Simon Glass wrote

[PATCH] usb: kbd: dwc2: Increase wait for dwc2 controller reset by 125us

2023-05-15 Thread Filip Zaludek
Two following performance patches applied together occasionally harm usb keyboard on RPi3. 'dwc2: use the nonblock argument in submit_int_msg' commit 9dcab2c4d2cb50ab1864c818b82a72393c160236 'console: usb: kbd: Limit poll frequency to improve performance' commit 96991e652f541323a03c5b7e075d54a11

Re: [PATCH 3/5] freescale: fix header inclusion guard

2023-05-15 Thread Fabio Estevam
Hi Andre, > What do you mean, exactly? > To put *some* context into the commit message, I tried to find out what > this "vsc" device is about, and found "crosspoint switch" somewhere > (doc/README.VSC3316-3308). Is that not what it is about? Or is not a > Freescale device, but just used by Freesca

Re: [PATCH 4/5] exynos: fix header inclusion guard

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:13PM +0100, Andre Przywara wrote: > It seems like the header inclusion guard for the Exynos pinctrl header > was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works as expected. > >

Re: [PATCH 2/5] arm: uniphier: fix header inclusion guard

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:11PM +0100, Andre Przywara wrote: > It seems like the header inclusion guard for some Uniphier DDR PHY > header was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works as expected. >

Re: [PATCH 5/5] faraday: remove orphaned header file

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:14PM +0100, Andre Przywara wrote: > Commit 11232139e399 ("nds32: Remove the architecture") removed the nds32 > architecture, and with it the last user of the Faraday AHB controller > header file. > > Consequently remove that header file as well. > > This was found b

Re: [PATCH 0/5] Fix inclusion guards

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:09PM +0100, Andre Przywara wrote: > A patch by Sam [1] reminded me to check for misspelled inclusion guards. > I wrote some crude tool, with a high false positive rate, and was able > to find some other occurences where the "#ifndef" and "#define" parts > were not mat

Re: [PATCH 3/5] freescale: fix header inclusion guard

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:12PM +0100, Andre Przywara wrote: > It seems like the header inclusion guard for some Freescale crosspoint > switch header was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works as

Re: [PATCH 3/5] freescale: fix header inclusion guard

2023-05-15 Thread Andre Przywara
On Mon, 15 May 2023 11:17:14 -0300 Fabio Estevam wrote: Hi Fabio, > On Mon, May 15, 2023 at 10:52 AM Andre Przywara > wrote: > > > > It seems like the header inclusion guard for some Freescale crosspoint > > switch header was misspelled. > > > > Make the preprocessor symbol for the #ifndef and

Re: [PATCH 1/5] imx: fix header inclusion guards

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 02:52:10PM +0100, Andre Przywara wrote: > It seems like the header inclusion guards for some IMX related headers > were misspelled or got out of sync. > > Make the preprocessor symbols for the #ifndef and #define lines the > same, so that the double inclusion protection wo

[PATCH] arm: baltos: switch to CONFIG_DM_I2C

2023-05-15 Thread yegorslists
From: Yegor Yefremov Also use the TPS65910 driver directly. Signed-off-by: Yegor Yefremov --- board/vscom/baltos/board.c | 44 ++--- configs/am335x_baltos_defconfig | 8 +++--- 2 files changed, 23 insertions(+), 29 deletions(-) diff --git a/board/vscom/baltos

Re: [PATCH 3/5] freescale: fix header inclusion guard

2023-05-15 Thread Fabio Estevam
H Andre, On Mon, May 15, 2023 at 10:52 AM Andre Przywara wrote: > > It seems like the header inclusion guard for some Freescale crosspoint > switch header was misspelled. > > Make the preprocessor symbol for the #ifndef and #define lines the > same, so that the double inclusion protection works a

Re: [PATCH 1/1] efi_loader: support booting semihosting file

2023-05-15 Thread Andre Przywara
On Sat, 13 May 2023 02:30:44 +0200 Heinrich Schuchardt wrote: > Executing an EFI binary fails for files loaded via semihosting. > > Construct a dummy device path for EFI binaries loaded via semihosting. > > A future complete solution may include the creation of a handle with a > simple file sys

[PATCH 5/5] faraday: remove orphaned header file

2023-05-15 Thread Andre Przywara
Commit 11232139e399 ("nds32: Remove the architecture") removed the nds32 architecture, and with it the last user of the Faraday AHB controller header file. Consequently remove that header file as well. This was found because the inclusion guard was misspelled. Signed-off-by: Andre Przywara ---

[PATCH 4/5] exynos: fix header inclusion guard

2023-05-15 Thread Andre Przywara
It seems like the header inclusion guard for the Exynos pinctrl header was misspelled. Make the preprocessor symbol for the #ifndef and #define lines the same, so that the double inclusion protection works as expected. Signed-off-by: Andre Przywara --- drivers/pinctrl/exynos/pinctrl-exynos.h |

[PATCH 3/5] freescale: fix header inclusion guard

2023-05-15 Thread Andre Przywara
It seems like the header inclusion guard for some Freescale crosspoint switch header was misspelled. Make the preprocessor symbol for the #ifndef and #define lines the same, so that the double inclusion protection works as expected. Signed-off-by: Andre Przywara --- board/freescale/common/vsc33

[PATCH 2/5] arm: uniphier: fix header inclusion guard

2023-05-15 Thread Andre Przywara
It seems like the header inclusion guard for some Uniphier DDR PHY header was misspelled. Make the preprocessor symbol for the #ifndef and #define lines the same, so that the double inclusion protection works as expected. Signed-off-by: Andre Przywara --- arch/arm/mach-uniphier/dram/ddrphy-init

[PATCH 1/5] imx: fix header inclusion guards

2023-05-15 Thread Andre Przywara
It seems like the header inclusion guards for some IMX related headers were misspelled or got out of sync. Make the preprocessor symbols for the #ifndef and #define lines the same, so that the double inclusion protection works as expected. Signed-off-by: Andre Przywara --- arch/arm/include/asm/

[PATCH 0/5] Fix inclusion guards

2023-05-15 Thread Andre Przywara
A patch by Sam [1] reminded me to check for misspelled inclusion guards. I wrote some crude tool, with a high false positive rate, and was able to find some other occurences where the "#ifndef" and "#define" parts were not matching. Those patches fix those preprocessor symbols. One header wasn't a

[PATCH v4 2/2] configs: rockchip: rock5b-rk3588: add pinctrl to SPL

2023-05-15 Thread Eugen Hristev
Add pinctrl driver in SPL. Do not remove pinctrl properties for SPL dtb. Signed-off-by: Eugen Hristev --- Changes in v4: - rebased on master: Warning ! This is rebased on top of the USB 2.0 series ! Changes in v2,v3: - no change configs/rock5b-rk3588_defconfig | 3 ++- 1 file changed, 2 inserti

[PATCH v4 1/2] ARM: dts: rk3588-rock-5b-u-boot: add bootph-all to pinctrl for sdmmc

2023-05-15 Thread Eugen Hristev
To be able to initialize the pinctrl correctly at SPL level and read u-boot proper from SD-Card, the pinctrl must be initialized. Signed-off-by: Eugen Hristev --- Changes in v4: - rebased on latest master: This is also on top of the USB 2.0 series ! Changes in v3: - change to bootph-all props. C

Re: [PATCH 0/6] corstone1000: fwu metadata and GPT

2023-05-15 Thread Rui Miguel Silva
Hi, Rui Miguel Silva writes: > Now that the nvmxip block driver is merged we can add on top > of it the platform code to use GPT and FWU metadata in the > Corstone1000. > > But first, push 2 fixes that are needed to make all this work: > - move nvmxip header to include > - setup fwu metadata str

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

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 03:57:14PM +0300, Eugen Hristev wrote: > On 5/15/23 15:52, Tom Rini wrote: > > On Mon, May 15, 2023 at 03:36:24PM +0300, Eugen Hristev wrote: > > > On 5/6/23 01:03, Tom Rini wrote: > > > > On Tue, Apr 25, 2023 at 04:06:59PM +0300, Eugen Hristev wrote: > > > > > Add the rtl81

[PATCH v1] toradex: tdx-cfg-block: add 0070 verdin i.mx 8m plus quad sku

2023-05-15 Thread Francesco Dolcini
From: Emanuele Ghidoli Add new i.MX 8M Plus Quad SKU to ConfigBlock handling. 0070: Verdin iMX8M Plus Quad 8GB WB IT This SKU is identical to 0066 but supporting Industrial Temperature range. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/common/tdx-cfg-b

[PATCH] riscv: add backtrace support

2023-05-15 Thread Ben Dooks
When debugging, it is useful to have a backtrace to find out what is in the call stack as the previous function (RA) may not have been the culprit. Since this adds size to the build, do not add it by default and avoid putting it in the SPL build if not needed. Signed-off-by: Ben Dooks --- arch/

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

2023-05-15 Thread Eugen Hristev
On 5/15/23 15:52, Tom Rini wrote: On Mon, May 15, 2023 at 03:36:24PM +0300, Eugen Hristev wrote: On 5/6/23 01:03, Tom Rini wrote: 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 thi

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

2023-05-15 Thread Tom Rini
On Mon, May 15, 2023 at 03:36:24PM +0300, Eugen Hristev wrote: > On 5/6/23 01:03, Tom Rini wrote: > > 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

[PATCH v2] atmel_sdhci: Force card-detect if MMC_CAP_NONREMOVABLE.

2023-05-15 Thread Zixun LI
Signed-off-by: Zixun LI --- drivers/mmc/atmel_sdhci.c | 40 +-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/atmel_sdhci.c b/drivers/mmc/atmel_sdhci.c index 37b0beeed4..ae56266f57 100644 --- a/drivers/mmc/atmel_sdhci.c +++ b/drive

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

2023-05-15 Thread Eugen Hristev
On 5/6/23 01:03, Tom Rini wrote: 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

Re: [PULL] u-boot-sh/master_rzn1/rzn1

2023-05-15 Thread Tom Rini
On Sat, May 13, 2023 at 04:37:53PM +0200, Marek Vasut wrote: > The following changes since commit e94fbdd2729fdcd570035d43f67adda8e0dfc115: > > Merge https://source.denx.de/u-boot/custodians/u-boot-x86 (2023-05-11 > 08:40:33 -0400) > > are available in the Git repository at: > > https://so

RE: [External] - Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-15 Thread Vincent Fazio
All > -Original Message- > From: Stefan Wahren > Sent: Sunday, May 14, 2023 1:55 PM > To: Nuno Gonçalves ; u-boot@lists.denx.de; Vincent > Fazio ; pbrobin...@gmail.com > Subject: [External] - Re: Issues with bcm2835-host: let firmware manage the > clock divisor > > Hi Nuno, > > Am 14.05

Re: [PATCH] phy: ti: phy-j721e-wiz: Add j721s2-wiz-10g module support

2023-05-15 Thread Ravi Gunasekaran
On 15/05/23 4:20 pm, Ravi Gunasekaran wrote: > Add support for j721s2-wiz-10g device to use clock-names interface > instead of explicitly defining clock nodes within device tree node. > > Signed-off-by: Ravi Gunasekaran > --- > drivers/phy/ti/phy-j721e-wiz.c | 21 - > 1 fi

[PATCH] phy: ti: phy-j721e-wiz: Add j721s2-wiz-10g module support

2023-05-15 Thread Ravi Gunasekaran
Add support for j721s2-wiz-10g device to use clock-names interface instead of explicitly defining clock nodes within device tree node. Signed-off-by: Ravi Gunasekaran --- drivers/phy/ti/phy-j721e-wiz.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/driv

Re: Issues with bcm2835-host: let firmware manage the clock divisor

2023-05-15 Thread Nuno Gonçalves
On Sun, May 14, 2023 at 7:54 PM Stefan Wahren wrote: > Yes, this is very likely. But how can U-Boot assume that at least Linux > is booting afterwards. How about the other OSes with devicetree support? > I don't know what other OSes the patch author have tested it and if there was any good argum

Re: atmel_sdhci: SDMMC_CD pin still needed for card detection despite EMMC set to non-removable

2023-05-15 Thread Eugen Hristev
Hi Zixun, I cannot apply your patch, there is some error. can you use git send-email yourfile.patch --to u-boot@lists.denx.de --to eugen.hris...@collabora.com such that I can grab it from patchwork ? Thanks, Eugen On 5/4/23 17:59, Zixun Li wrote: Can't we do this in a different place? W

Please pull u-boot-cfi-flash/master

2023-05-15 Thread Stefan Roese
Hi Tom, please pull the following CFI flash patch. It's a bit late in the release process, but this patch only now runs w/o any issues in CI build: - cfi: respect reg address length (Nuno) --

Re: [PATCH v4] mtd: cfi: respect reg address length

2023-05-15 Thread Stefan Roese
On 5/11/23 13:19, Nuno Sá wrote: flash_get_size() will get the flash size from the device itself and go through all erase regions to read protection status. However, the device mappable region (eg: devicetree reg property) might be lower than the device full size which means that the above cycle

Re: [PATCH] phy: ti: phy-j721e-wiz: Add j721s2-wiz-10g module support

2023-05-15 Thread Roger Quadros
On 15/05/2023 13:50, Ravi Gunasekaran wrote: > Add support for j721s2-wiz-10g device to use clock-names interface > instead of explicitly defining clock nodes within device tree node. > > Signed-off-by: Ravi Gunasekaran Reviewed-by: Roger Quadros

[PATCH resend] reset: rockchip: implement rk3588 lookup table

2023-05-15 Thread Eugen Hristev
The current DT bindings for the rk3588 clock use a different ID than the one that is supposed to be written to the hardware registers. Thus, we cannot use directly the id provided in the phandle, but rather use a lookup table to correctly setup the hardware. This approach has been implemented alre

Re: [PATCH 18/18] x86: coral: Adjust various config options

2023-05-15 Thread Bin Meng
Hi Simon, On Sat, Apr 29, 2023 at 3:18 AM Simon Glass wrote: > > Add NVME support. I don't see NVMe config is added? > > 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. (typical

Re: [PATCH 17/18] x86: coreboot: Adjust various config options

2023-05-15 Thread Bin Meng
Hi Simon, On Sat, Apr 29, 2023 at 3:18 AM Simon Glass wrote: > > 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 > ve

Re: [PATCH 16/18] bootstd: Add a simple bootmeth for ChromiumOS

2023-05-15 Thread Bin Meng
On Sat, Apr 29, 2023 at 3:21 AM Simon Glass wrote: > > 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 > --- > > boot/Kconfig | 11 ++ > boot/Makefile

Re: [PATCH 15/18] x86: zimage: Export the function to obtain the cmdline

2023-05-15 Thread Bin Meng
On Sat, Apr 29, 2023 at 3:18 AM Simon Glass wrote: > > Allow reading the command line from a zimage, so that it can be recorded > in the bootflow. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/zimage.h | 10 ++ > arch/x86/lib/zimage.c | 11 --- > 2 files c

Re: [PATCH 14/18] x86: Add a function to boot a zimage

2023-05-15 Thread Bin Meng
On Sat, Apr 29, 2023 at 3:18 AM Simon Glass wrote: > > 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 > --- > > arch/x86/include/asm/zimage.h | 17 > arch/x86/lib/zimage.c

Re: [PATCH 13/18] bootstd: Support automatically setting Linux parameters

2023-05-15 Thread Bin Meng
On Sat, Apr 29, 2023 at 3:26 AM Simon Glass wrote: > > 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

Re: [PATCH 12/18] bootstd: Add support for updating elements of the cmdline

2023-05-15 Thread Bin Meng
On Sat, Apr 29, 2023 at 3:27 AM Simon Glass wrote: > > Add a bootflow command to update the command line more easily. This allows > changing a particular parameter rather than editing a very long strings. > It is also easier to handle with scripting. > > The new 'bootflow cmdline' command allows g

Re: [PATCH 11/18] bootstd: Add a function to update a command line

2023-05-15 Thread Bin Meng
Hi Simon, On Sat, Apr 29, 2023 at 3:27 AM Simon Glass wrote: > > 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 lo

Re: [RFC PATCH v2 1/7] clk: zynq: Move soc_clk_dump to Zynq clock driver

2023-05-15 Thread Michal Simek
On 5/3/23 22:37, Igor Prusov wrote: Move clock dump function in preparation for switching to dump function in clk_ops. Signed-off-by: Igor Prusov --- arch/arm/mach-zynq/clk.c | 57 --- drivers/clk/clk_zynq.c | 58 ++

Re: AW: Booting verdin-imx8mm_defconfig fails

2023-05-15 Thread Marcel Ziswiler
Hi Manu On Tue, 2023-05-09 at 09:49 +, Traut Manuel LCPF-CH wrote: > Hi Marc, > > Thanks for your quick reply. > > > > I am not sure if I built/using u-boot as intended for this platform. > > > > I would advice to stick to the documentation [1]. > > Thanks for the reference. You are very

[PATCH resend v5 6/6] phy: Keep balance of counts when ops is missing

2023-05-15 Thread Eugen Hristev
From: Jonas Karlman Reviewed-by: Kever Yang Fixes: 226fce6108fe ("phy: Track power-on and init counts in uclass") Signed-off-by: Jonas Karlman --- drivers/phy/phy-uclass.c | 80 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/drivers/phy

[PATCH resend v5 4/6] phy: remove phy-supply related code

2023-05-15 Thread Eugen Hristev
phy-supply is now handled at uclass level. Remove it from the drivers that implement it at the driver level. Acked-by: Neil Armstrong Suggested-by: Jonas Karlman Signed-off-by: Eugen Hristev --- drivers/phy/meson-g12a-usb2.c | 48 --- drivers/phy/meson-gxbb-usb2

[PATCH resend v5 3/6] phy: add support for phy-supply

2023-05-15 Thread Eugen Hristev
Some phys require a phy-supply property that is a phandle to a regulator that needs to be enabled for phy operations. Implement basic supply lookup, enable and disabling, if DM_REGULATOR is available. Reviewed-by: Kever Yang [jo...@kwiboo.se: use regulator_set_enable_if_allowed and disable if pow

[PATCH resend v5 5/6] phy: rockchip-inno-usb2: add initial support for rk3588 PHY

2023-05-15 Thread Eugen Hristev
Add initial support for the rk3588 PHY variant. The lookup for the host-port reg inside the struct now does a do {} while() instead of a while() {} in order to allow a first check for reg == 0. Reviewed-by: Kever Yang Co-developed-by: Frank Wang Signed-off-by: Frank Wang Signed-off-by: Eugen Hr

[PATCH resend v5 1/6] ARM: dts: rockchip: rk3588-rock-5b-u-boot: add USB 2.0 host

2023-05-15 Thread Eugen Hristev
Add USB 2.0 host nodes and PHYs. Reviewed-by: Kever Yang Co-developed-by: William Wu Signed-off-by: William Wu Signed-off-by: Eugen Hristev --- Changes in v5: - none Changes in v4: - removed u-boot,dm-spl on regulator which was useless - moved usb nodes to rk3588s-u-boot-dtsi Changes in v2,v

[PATCH resend v5 2/6] configs: rockchip: rock5b-rk3588: enable USB and regulators

2023-05-15 Thread Eugen Hristev
Enable USB command, USB drivers, PHY and regulators, for USB host operations. Reviewed-by: Kever Yang Signed-off-by: Eugen Hristev --- configs/rock5b-rk3588_defconfig | 18 ++ 1 file changed, 18 insertions(+) diff --git a/configs/rock5b-rk3588_defconfig b/configs/rock5b-rk3588_

Re: [PATCH] sunxi: Fix typo in include guard

2023-05-15 Thread Andre Przywara
On Fri, 12 May 2023 15:22:14 -0600 Sam Edwards wrote: Hi Sam, Good catch! It's not the first time we see misspelled preprocessor symbols, although that typically happens with Kconfig names. How did you find this? Just by accident? I was wondering if we could check the tree automatically for tho

  1   2   >