Pull request: u-boot-rockchip-20231007

2023-10-07 Thread Kever Yang
repository at: https://source.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20231007 for you to fetch changes up to a7c86c57fb404df0a807c2ad9717c510150b8ebb: configs: rockchip: rk3308: enable CONFIG_OF_LIBFDT_OVERLAY (2023-10-07 10:48:16 +0800

Re: Pull request: u-boot-rockchip-20231007

2023-10-07 Thread Kever Yang
since commit be2abe73df58a35da9e8d5afb13fccdf1b0faa8e: Merge https://source.denx.de/u-boot/custodians/u-boot-riscv (2023-10-05 13:26:44 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20231007 for you to

Pull request: u-boot-rockchip-20231007

2023-10-07 Thread Kever Yang
repository at: https://source.denx.de/u-boot/custodians/u-boot-rockchip.git tags/u-boot-rockchip-20231007 for you to fetch changes up to dd8d52c934e8858264f91e8e8e2d8c7d8b059dd7: rockchip: rk356x-u-boot: Add bootph-all to i2c0_xfer pinctrl node (2023-10-07 16:52:48 +0800

Re: Pull request: u-boot-rockchip-20231007

2023-10-07 Thread Jonas Karlman
> Merge https://source.denx.de/u-boot/custodians/u-boot-riscv (2023-10-05 > 13:26:44 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20231007 > > for you to fetch changes

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

2023-10-07 Thread Fabio Estevam
On Fri, Oct 6, 2023 at 6:37 PM wrote: > > From: Benjamin Szőke > > Take over codes from Techenxion to support Typo in Technexion. > mmc autodetect boot for pico-imx7d. Please explain better in the commit log that you are adding support for the SD card in variants like the nymph baseboard. >

Re: [PATCH] toradex: colibri_imx7: Enable nand/emmc detection and set boot variant

2023-10-07 Thread Fabio Estevam
On Mon, Oct 2, 2023 at 10:08 AM Hiago De Franco wrote: > > From: Hiago De Franco > > Add detection of eMMC vs NAND devices on the Colibri iMX7 > board. A GPIO is configured to detect the presence of an on-board resistor > that is configured differently based on the flash memory used. Depending on

Re: [PATCH] arm: mach-imx: Makefile: Extend u-boot-nand.imx padding

2023-10-07 Thread Fabio Estevam
On Tue, Oct 3, 2023 at 6:27 PM Hiago De Franco wrote: > > From: Hiago De Franco > > Extend the padding process of u-boot-nand.imx target by adding 10k bytes > of zeros to the end of the binary using the 'dd' command. > > The existing padding method did not generate a functional binary, > as discu

Re: [PATCH] toradex: verdin-imx8mm/imx8mp: Remove bootcmd_mfg

2023-10-07 Thread Fabio Estevam
On Wed, Oct 4, 2023 at 4:14 PM Francesco Dolcini wrote: > > From: Joao Paulo Goncalves > > The bootcmd_mfg env variable is legacy from IMX downstream u-boot branch > and is not needed on mainline. > > Signed-off-by: Joao Paulo Goncalves > Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Est

Re: [PATCH 1/2] arm: dts: imx93-11x11-evk: add bootph-some-ram property

2023-10-07 Thread Fabio Estevam
On Wed, Oct 4, 2023 at 6:09 AM Sébastien Szymanski wrote: > > i.MX93 11x11 EVK fails to boot: > > U-Boot SPL 2023.10-00558-g65b9b3462bec-dirty (Oct 03 2023 - 17:40:10 +0200) > SOC: 0xa0009300 > LC: 0x40010 > M33 prepare ok > Normal Boot > Trying to boot from BOOTROM > Boot Stage: Primary boot > im

Re: [PATCH 2/2] dm: adc: imx93-adc depends on ADC (fix boot)

2023-10-07 Thread Fabio Estevam
On Wed, Oct 4, 2023 at 6:09 AM Sébastien Szymanski wrote: > > The i.MX93 11x11 EVK fails to boot with following error: > > Model: NXP i.MX93 11X11 EVK board > DRAM: 2 GiB > Error binding driver 'imx93-adc': -96 > Some drivers failed to bind > Error binding driver 'simple_bus': -96 > Some dr

Re: [PATCH] usbarmory: Add DM_I2C and DM_SERIAL support

2023-10-07 Thread Fabio Estevam
On Thu, Sep 21, 2023 at 8:27 AM Andrej Rosano wrote: > > From: Andrej Rosano > > Use DM_I2C and DM_SERIAL as it is now mandatory. > > Signed-off-by: Andrej Rosano Reviewed-by: Fabio Estevam

Re: [PATCH v2 1/6] board: phytec: Add common PHYTEC SoM detection

2023-10-07 Thread Fabio Estevam
On Mon, Aug 28, 2023 at 9:32 AM Yannic Moog wrote: > > On Thu, 2023-08-17 at 10:57 +0200, Teresa Remmet wrote: > > Recent shipped PHYTEC SoMs come with an i2c EEPROM containing > > information about the hardware such as board revision and variant. > > This can be used for RAM detection and loadin

Re: [PATCH v5 39/43] command: Include a required header in command.h

2023-10-07 Thread Tom Rini
On Wed, Sep 27, 2023 at 08:22:37AM -0600, Simon Glass wrote: > This uses ARRAY_SIZE() but does not include the header file which declares > it. Fix this, so that command.h can be included without common.h > > Signed-off-by: Simon Glass > Reviewed-by: Mattijs Korpershoek Applied to u-boot/maste

Re: [PATCH v4 02/44] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-10-07 Thread Tom Rini
On Tue, Sep 26, 2023 at 08:14:16AM -0600, Simon Glass wrote: > We like to put the SPL first so it is clear that it relates to SPL. Rename > various malloc-related options which have crept in, to stick to this > convention. > > Signed-off-by: Simon Glass > Reviewed-by: Marcel Ziswiler > Reviewed

[PATCH] cyclic: doc: Update documentation for CONFIG_CYCLIC_MAX_CPU_TIME_US

2023-10-07 Thread Weizhao Ouyang
Cyclic now just print a warning once instead of disabling the cyclic function when the cyclic function upon exceeding CPU time usage. Fixes: ddc8d36a7455 ("cyclic: Don't disable cylic function upon exceeding CPU time") Signed-off-by: Weizhao Ouyang --- doc/develop/cyclic.rst | 4 ++-- 1 file ch

Re: [PATCH v2 RESEND] mmc: dw_mmc: reset controller after data error

2023-10-07 Thread Tom Fitzhenry
I am able to reproduce this on RK3588 QuartzPro64. I thought "[PATCH v2 RESEND] mmc: dw_mmc: reset controller after data error"[0] might fix this, but after applying that, I am still able to reproduce the issue. 0. https://lore.kernel.org/u-boot/20230619103347.278004-1-eugen.hris...@collabora.co

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

2023-10-07 Thread Simon Glass
Hi Tom, On Fri, 6 Oct 2023 at 19:01, Tom Rini wrote: > > On Fri, Oct 06, 2023 at 04:42:44PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 6 Oct 2023 at 10:55, Tom Rini wrote: > > > > > > On Fri, Oct 06, 2023 at 07:03:17AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

[PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-07 Thread Ben Wolsieffer
Using the unqualified "mmc" boot target causes the Raspberry Pi 4 to fail to boot. c771e5b explains this approach as follows: > We don't need to specify the mmc devices individually, since they are > used in order from 0 to 2, and standard boot uses that order anyway. In practice, U-Boot first at

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

2023-10-07 Thread Tom Rini
On Sat, Oct 07, 2023 at 09:37:07AM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Oct 2023 at 19:01, Tom Rini wrote: > > > > On Fri, Oct 06, 2023 at 04:42:44PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, 6 Oct 2023 at 10:55, Tom Rini wrote: > > > > > > > > On Fri, Oct 06, 2023

Re: [PATCH v1] board: toradex: verdin-imx8mm: set fixed LPDDR4 refresh rate as per errata ERR050805

2023-10-07 Thread Fabio Estevam
On Thu, Sep 28, 2023 at 11:57 AM Andrejs Cainikovs wrote: > > From: Andrejs Cainikovs > > Update lpddr4 configuration and training using updated spreadsheet and > tools from NXP using data from previous spreadsheet and verified > toward datasheet: > > - MX8M_Mini_LPDDR4_RPA_v22.xlsx > - mscale_dd

Re: [PATCH v5] imx: imx8mm: Add support for Mettler-Toledo snowflake board.

2023-10-07 Thread Fabio Estevam
On Fri, Sep 29, 2023 at 9:13 AM Manuel Traut wrote: > > This patch probably got somehow lost. Rebased against latest master. > > It is originally based on: > > From patchwork Fri Mar 31 14:18:41 2023 > X-Patchwork-Submitter: Sebastian Andrzej Siewior > X-Patchwork-Id: 1763795 > X-Patchwork-Delega

Re: [RFC PATCH] mxs: Don't enable 4P2 reg if mx28 is powered only from DCDC_BATT without 5V

2023-10-07 Thread Fabio Estevam
Hi Alan, [Adding Lukasz and Cody] On Tue, Aug 30, 2022 at 2:49 PM Alan Kay wrote: > > mxs_power_enable_4p2() was added to mxs_batt_boot() in > 'commit a0f97610757d ("ARM: mxs: Enable DCDC converter for battery boot")' > to enable DCDC converter when board is powered from 5V and has > detected su

[PATCH 1/2] command.h: Add a U_BOOT_LONGHELP macro

2023-10-07 Thread Tom Rini
In order to be able to discard unused long help texts without further linker lists, add a macro for defining the long help messages which uses __maybe_unused. This allows us to discard them as unreferenced as part of the link. Signed-off-by: Tom Rini --- include/command.h | 3 +++ 1 file change

[PATCH 2/2] cmd: Convert existing long help messages to the new macro

2023-10-07 Thread Tom Rini
- Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines and use U_BOOT_LONGHELP to declare the same variable name as before - In a few places, either rename the variable to follow convention or introduce the variable as it was being done inline before. Signed-off-by: Tom Rini

[PATCH] cmd/ti: Update Kconfig logic and Makefile recursion logic

2023-10-07 Thread Tom Rini
- Add some dependencies to CMD_DDR3 as this is only valid on some platforms (which tend to select it as well). - The proper gate for going in to cmd/ti is not CONFIG_TI_COMMON_CMD_OPTIONS as nothing under there is controlled by that symbol but the general TI architecture options. Signed-off-

Re: [PATCH 1/2] command.h: Add a U_BOOT_LONGHELP macro

2023-10-07 Thread Simon Glass
On Sat, 7 Oct 2023 at 13:13, Tom Rini wrote: > > In order to be able to discard unused long help texts without further > linker lists, add a macro for defining the long help messages which uses > __maybe_unused. This allows us to discard them as unreferenced as part > of the link. > > Signed-off-

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

2023-10-07 Thread Simon Glass
Hi Tom, On Sat, 7 Oct 2023 at 11:25, Tom Rini wrote: > > On Sat, Oct 07, 2023 at 09:37:07AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 6 Oct 2023 at 19:01, Tom Rini wrote: > > > > > > On Fri, Oct 06, 2023 at 04:42:44PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fri,

Re: [PATCH 2/2] cmd: Convert existing long help messages to the new macro

2023-10-07 Thread Simon Glass
On Sat, 7 Oct 2023 at 13:13, Tom Rini wrote: > > - Generally we just drop the #ifdef CONFIG_SYS_LONGHELP and endif lines > and use U_BOOT_LONGHELP to declare the same variable name as before > - In a few places, either rename the variable to follow convention or > introduce the variable as it

Re: [PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-07 Thread Simon Glass
Hi Ben, On Sat, 7 Oct 2023 at 09:55, Ben Wolsieffer wrote: > > Using the unqualified "mmc" boot target causes the Raspberry Pi 4 to > fail to boot. c771e5b explains this approach as follows: > > > We don't need to specify the mmc devices individually, since they are > > used in order from 0 to 2,

Re: [PATCH v3 27/27] qconfig: Update the documentation

2023-10-07 Thread Simon Glass
Update qconfig's documentation to better reflect its new purpose in life. Signed-off-by: Simon Glass --- Changes in v3: - Update based on Heinrich's comments Changes in v2: - Reinstate the -C option doc/develop/index.rst | 2 +- doc/develop/{moveconfig.rst => qconfig.r

Re: [PATCH v3 26/27] qconfig: Rename the database file

2023-10-07 Thread Simon Glass
Use qconfig.db as the new name, to reflect the tool's purpose. Signed-off-by: Simon Glass --- (no changes since v1) .gitignore | 4 ++-- tools/qconfig.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 24/27] moveconfig: Move summaries to the end

2023-10-07 Thread Simon Glass
Write the summary for -s and -b at the end, using a unified format. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 36 +++- 1 file changed, 23 insertions(+), 13 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 25/27] moveconfig: Rename the tool to qconfig

2023-10-07 Thread Simon Glass
This does not move configs anymore, but queries them, based on a database it can build. Rename the tool to better reflect its purpose. Signed-off-by: Simon Glass --- (no changes since v1) tools/{moveconfig.py => qconfig.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename tool

Re: [PATCH v3 23/27] moveconfig: Drop the initial output

2023-10-07 Thread Simon Glass
Since moveconfig now just does what it is told (build database or sync defconfigs) we don't need to print what it is doing. Drop this info, which is of very little use. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 6 -- 1 file changed, 6 deletions(-) Applied

Re: [PATCH v3 22/27] moveconfig: Show a summary at the end

2023-10-07 Thread Simon Glass
Rather than printing all the failed boards, which are now easily visible on the terminal, just show a summary. Sort it by defconfig and drop the '_defconfig' suffix. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 28 +++- 1 file changed, 15 i

Re: [PATCH v3 21/27] moveconfig: Show failures in progress

2023-10-07 Thread Simon Glass
Show the number of accumulated failures when processing. Use a shorter format with colour. An unwanted space appears before the defconfig name on every item except the last. Fix that while we are here. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 26 +

Re: [PATCH v3 19/27] moveconfig: Avoid showing progress at the end

2023-10-07 Thread Simon Glass
When the process is finished, moveconfig leaves a line saying that all boards were processed (for better or worse). Drop this, since it is unncessary. Future work will provide a summary at the end instead. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 3 ++- 1 fil

Re: [PATCH v3 16/27] moveconfig: Fix misc pylint warnings

2023-10-07 Thread Simon Glass
Fix various remaining pylint warnings. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 17/27] moveconfig: Only show output when there is a reason

2023-10-07 Thread Simon Glass
There is no point in listing a board if everything went well. It makes it harder to see the failures, particularly on a fast machine. Suppress output unless something actually happened. Drop the 'Syncing by savedefconfig' since this is selected by the -s and is the same for all boards in this mod

Re: [PATCH v3 18/27] moveconfig: Reduce the amount of output

2023-10-07 Thread Simon Glass
Output a single line in the case where the defconfig only has one line of output. Show the name without the _defconfig suffix, since that is the same for all boards. Use a list for the log so it is easier to process at the end. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveco

Re: [PATCH v3 14/27] moveconfig: Correct list-comprehension warnings

2023-10-07 Thread Simon Glass
Correct some pylint warnings about needing to use list comprehension. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 20/27] moveconfig: Use u_boot_pylib for terminal colour

2023-10-07 Thread Simon Glass
Use the existing terminal code to handle ANSI colours. Enable colour by default if the output is going to a terminal. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 92 +++-- 1 file changed, 38 insertions(+), 54 deletions(-)

Re: [PATCH v3 15/27] moveconfig: Use an encoding with open()

2023-10-07 Thread Simon Glass
Fix pylint warnings about needing an explicit character encoding. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 13/27] moveconfig: Correct use of members not declared in __init__()

2023-10-07 Thread Simon Glass
Fix these pylint warnings. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 4 1 file changed, 4 insertions(+) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 12/27] moveconfig: Correct non-snake variables names

2023-10-07 Thread Simon Glass
Correct some variable names that do not conform to snake case, with the three-character minimum. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 70 ++--- 1 file changed, 35 insertions(+), 35 deletions(-) Applied to u-boot-dm,

Re: [PATCH v3 10/27] moveconfig: Use f strings where possible

2023-10-07 Thread Simon Glass
Avoid pylint warnings by using 'f' strings where possible. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 56 ++--- 1 file changed, 28 insertions(+), 28 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 11/27] moveconfig: Correct unused variables

2023-10-07 Thread Simon Glass
Fix pylint warnings about unused variables. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 06/27] moveconfig: Drop check_defconfig() and update_dotconfig()

2023-10-07 Thread Simon Glass
These functions are not needed anymore. Drop them. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 62 ++--- 1 file changed, 2 insertions(+), 60 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 09/27] moveconfig: Correct parameter-type warnings

2023-10-07 Thread Simon Glass
Fix pylint warnings related to parameter types. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 43 ++- 1 file changed, 22 insertions(+), 21 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 05/27] moveconfig: Drop CONFIG-moving code

2023-10-07 Thread Simon Glass
As a step towards cleaning out old code, drop most of the code that moves CONFIG options to Kconfig. This includes parse_one_config(). Drop the ACTION_... values as well, since they are no-longer used. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 163 ++--

Re: [PATCH v3 08/27] moveconfig: Correct some regular-expression strings

2023-10-07 Thread Simon Glass
Use the 'r' prefix for these strings to avoid pylint warnings. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 07/27] moveconfig: Drop suspicious boards

2023-10-07 Thread Simon Glass
This code isn't needed anymore. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 25 - 1 file changed, 25 deletions(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 04/27] moveconfig: Drop unused cleanup options

2023-10-07 Thread Simon Glass
Cleaning up the README and config.h files are not needed now, since we don't have any CONFIG options to convert. Drop this code. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 254 +--- 1 file changed, 2 insertions(+), 252 del

Re: [PATCH v3 03/27] moveconfig: Correct ordering of asteval import

2023-10-07 Thread Simon Glass
This should be after the standard imports. Move it to avoid a lot of pylint warnings. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm, thanks! Applied to u-boot-dm, thanks!

Re: [PATCH v3 02/27] moveconfig: Avoid deprecation warning for setDaemon

2023-10-07 Thread Simon Glass
Use the recommended new way of setting a thread to be a daemon. This avoids a warning: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH v2 01/17] dm: usb: udc: Factor out plain udevice handler functions

2023-10-07 Thread Marek Vasut
On 10/2/23 15:42, Miquel Raynal wrote: Hi Marek, ma...@denx.de wrote on Sat, 30 Sep 2023 23:11:17 +0200: On 9/27/23 15:59, Miquel Raynal wrote: Hi Marek, Hi, miquel.ray...@bootlin.com wrote on Fri, 22 Sep 2023 12:00:12 +0200: Hi Marek, I'm answering here as there is no cover letter.

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

2023-10-07 Thread Marek Vasut
On 10/5/23 17:54, Miquel Raynal wrote: 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

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

2023-10-07 Thread Marek Vasut
On 10/5/23 17:51, Miquel Raynal wrote: 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

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

2023-10-07 Thread Marek Vasut
On 10/5/23 22:50, Paul Barker wrote: 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

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

2023-10-07 Thread Marek Vasut
On 10/6/23 14:51, Biju Das wrote: Hi Paul, Subject: Re: [PATCH 16/16] board: rzg2l: Add RZ/G2L SMARC EVK board 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

Re: [PATCH] doc: Migrate Renesas board docs to rst

2023-10-07 Thread Marek Vasut
On 10/5/23 19:07, Paul Barker wrote: [...] + * - R-Car Gen3 + - Salvator-X Salvator-X(S) + - R8A77950 (H3) These ones are actually not 77950, but 77951 , all of them. + - arm64 + - ``rcar3_salvator-x_defconfig`` + + * - + - ULCB + - R8A77950 (H3) DTTO +

[PATCH] board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board

2023-10-07 Thread John Clark
NanoPC-T6 is a Rockchip RK3588 based SBC by FriendlyElec. There are four variants depending on the DRAM size: 4G/32GB eMMC, 8G/64GB eMMC, 16G/16MB SPI NOR, and 16G/256GB eMMC/16MB SPI NOR Specifications: CPU: Rockchip RK3588, 4x Cortex-A76 (up to 2.4GHz) + 4x Cortex-A55 (up to 1.8GHz) GP

Re: [PATCH v5 6/6] sysinfo: rcar3: Implement BOARD_ID and BOARD_REV_*

2023-10-07 Thread Marek Vasut
On 10/2/23 17:20, Detlev Casanova wrote: Expose that information to the sysinfo command to let scripts make decisions based on the board id and revision. Signed-off-by: Detlev Casanova --- drivers/sysinfo/rcar3.c | 89 + 1 file changed, 63 insertions(+

Re: [PATCH v5 5/6] sysinfo: rcar3: Use int instead of char for revision

2023-10-07 Thread Marek Vasut
On 10/2/23 17:20, Detlev Casanova wrote: To be used with the sysinfo command, revision values must be considered as integers, not chars as some boards will implement BOARD_REVISION_* and might use numbers greater than 9. Signed-off-by: Detlev Casanova --- drivers/sysinfo/rcar3.c | 73

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

2023-10-07 Thread Marek Vasut
On 10/5/23 14:08, Paul Barker wrote: 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, P

[PATCH] arm: mvebu: Enable bootstd for Synology DS116 board

2023-10-07 Thread Tony Dinh
Enable bootstd for Synology DS116 board, and remove distroboot. Signed-off-by: Tony Dinh --- configs/ds116_defconfig | 3 ++- include/configs/ds116.h | 12 +--- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/configs/ds116_defconfig b/configs/ds116_defconfig index 0cd54

[PATCH v2 1/9] cmd: bdinfo: Optionally use getopt and implement bdinfo -a

2023-10-07 Thread Marek Vasut
Add optional support for getopt() and in case this is enabled via GETOPT configuration option, implement support for 'bdinfo -a'. The 'bdinfo -a' behaves exactly like bdinfo and prints 'all' the bdinfo information. This is implemented in preparation for other more fine-grained options. Reviewed-by

[PATCH v2 2/9] cmd: bdinfo: Implement support for printing memory layout via bdinfo -m

2023-10-07 Thread Marek Vasut
Add support for printing memory layout only via 'bdinfo -m' . Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Add RB from Simon --- cmd/bdinfo.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v2 4/9] configs: sandbox: Enable GETOPT for sandbox and sandbox64 target

2023-10-07 Thread Marek Vasut
Enable GETOPT so that 'bdinfo' command with getopt() support can be tested in CI. Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Add RB from Simon --- configs/sandbox64_defconfig | 1 + configs/sandbox_defconfig

[PATCH v2 3/9] cmd: bdinfo: Implement support for printing ethernet settings via bdinfo -e

2023-10-07 Thread Marek Vasut
Add support for printing ethernet settings only via 'bdinfo -e' . Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Add RB from Simon --- cmd/bdinfo.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[PATCH v2 7/9] test: bdinfo: Test bdinfo -h

2023-10-07 Thread Marek Vasut
The bdinfo -h should print error message that -h is an unknown parameter and then command help text. Test the expected output. Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Add RB from Simon --- test/cmd/bdinfo.c

[PATCH v2 9/9] test: bdinfo: Test bdinfo -e

2023-10-07 Thread Marek Vasut
The bdinfo -e should print only the board ethernet settings. Test the expected output. Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Add RB from Simon --- test/cmd/bdinfo.c | 14 ++ 1 file changed, 14

[PATCH v2 5/9] test: bdinfo: Rename bdinfo_test_move() to bdinfo_test_full()

2023-10-07 Thread Marek Vasut
Rename bdinfo_test_move() to bdinfo_test_full(). The former is a remnant of deriving this test from another test. No functional change. Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Add RB from Simon --- test/cmd

[PATCH v2 6/9] test: bdinfo: Test both bdinfo and bdinfo -a

2023-10-07 Thread Marek Vasut
Factor out the core of test for all bdinfo output into bdinfo_test_all() and then reuse it to verify that both 'bdinfo' and 'bdinfo -a' print all the bdinfo output. Reviewed-by: Simon Glass Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Ad

[PATCH v2 8/9] test: bdinfo: Test bdinfo -m

2023-10-07 Thread Marek Vasut
The bdinfo -m should print only the board memory layout. Test the expected output. Signed-off-by: Marek Vasut --- Cc: Bin Meng Cc: Mario Six Cc: Nikhil M Jain Cc: Simon Glass --- V2: Rename bdinfo_test_mem() to bdinfo_check_mem() --- test/cmd/bdinfo.c | 26 +++--- 1 file

[PATCH 1/3] usb: ehci: mxs: Fix the USB node pointer retrieval

2023-10-07 Thread Fabio Estevam
From: Fabio Estevam Use dev_ofnode() to retrieve the USB node pointer from the udevice structure. This fixes the following build error: drivers/usb/host/ehci-mxs.c:143:38: error: 'struct udevice' has no member named 'node_' Signed-off-by: Fabio Estevam --- drivers/usb/host/ehci-mxs.c | 7 ++

[PATCH 3/3] mx28evk: Add USB Mass Storage support

2023-10-07 Thread Fabio Estevam
From: Fabio Estevam Select the USB options to allow running "ums 0 mmc 0". Signed-off-by: Fabio Estevam --- configs/mx28evk_defconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/configs/mx28evk_defconfig b/configs/mx28evk_defconfig index df0cceaea719..15cc99684c05 10064

[PATCH 2/3] usb: ehci: mxs: Use regulator_set_enable_if_allowed()

2023-10-07 Thread Fabio Estevam
From: Fabio Estevam Since commit 4fcba5d556b4 ("regulator: implement basic reference counter") the return value of regulator_set_enable() may be EALREADY or EBUSY for fixed/GPIO regulators. Swict to using the more relaxed regulator_set_enable_if_allowed() to continue if regulator already was ena

[PATCH] arm: mvebu: Enable bootstd for Thecus N2350 board

2023-10-07 Thread Tony Dinh
Enable bootstd for Thecus N2350 board, and remove distroboot. Signed-off-by: Tony Dinh --- configs/n2350_defconfig | 3 ++- include/configs/n2350.h | 12 +--- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/configs/n2350_defconfig b/configs/n2350_defconfig index 109f0e1

Re: [PATCH] cli: Consume invalid escape sequences early

2023-10-07 Thread Simon Glass
Hi Yurii, On Fri, 6 Oct 2023 at 15:32, Yurii Monakov wrote: > > This commit fixes some issues with extra 'Esc' keys entered by user: > > 1. Sequence right after autoboot stop gives: > => > nknown command 'ry 'help' > => > 2. Sequence gives: > => ri > Unknown command 'ri' - try 'help' > => > 3.

Re: [PATCH 2/5] doc: capsule: Add documentation for the capsule dump feature

2023-10-07 Thread Simon Glass
On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > Add documentation to explain the printing of the capsule headers > through the mkeficapsule tool. > > Signed-off-by: Sughosh Ganu > --- > doc/develop/uefi/uefi.rst | 17 + > 1 file changed, 17 insertions(+) Reviewed-by: Simon

Re: [RESEND PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-07 Thread Simon Glass
On Fri, 6 Oct 2023 at 21:34, Tony Dinh wrote: > > It's normal to have no SATA drive attached to the controller, so return a > successful status when there is no block device found after probing. > > Note: this patch depends on the previous patch > https://patchwork.ozlabs.org/project/uboot/patch/2

Re: [PATCH 5/5] binman: capsule: Add support for generating EFI empty capsules

2023-10-07 Thread Simon Glass
Hi Sugosh, On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > Add support in binman for generating EFI empty capsules. These > capsules are used in the FWU A/B update feature. Also add test cases > in binman for the corresponding code coverage. > > Signed-off-by: Sughosh Ganu > --- > tools/bi

Re: [PATCH 07/25] tegra: Change #ifdef for nop

2023-10-07 Thread Simon Glass
Hi Tom. On Sun, 24 Sept 2023 at 18:43, Tom Rini wrote: > > On Sun, Sep 24, 2023 at 02:39:25PM -0600, Simon Glass wrote: > > > This code is normally compiled for Tegra, but sandbox can also compile > > it. We should not use UNIT_TEST as a synonym for SANDBOX, since it is > > possible to disable UN

Re: [PATCH 1/5] tools: mkeficapsule: Add support to print capsule headers

2023-10-07 Thread Simon Glass
On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > Add support to dump the contents of capsule headers. This is useful as > a debug feature for checking the contents of the capsule headers, and > can also be used in capsule verification. > > Signed-off-by: Sughosh Ganu > --- > tools/eficapsule

Re: [PATCH RESEND 1/7] riscv: dts: Introduce SPL_LOAD_FIT_CONFIG symbol

2023-10-07 Thread Simon Glass
Hi Randoph, On Fri, 6 Oct 2023 at 05:26, Randolph wrote: > > Introduce common Kconfig symbol for riscv architecture > This symbol SPL_LOAD_FIT_CONFIG for binman itb layout selection > Default is using binman.dtsi > > Signed-off-by: Randolph > --- > arch/riscv/Kconfig | 7 +++ >

Re: [PATCH RESEND 3/7] spl: riscv: opensbi: change the default os_type as varible

2023-10-07 Thread Simon Glass
On Fri, 6 Oct 2023 at 05:26, Randolph wrote: > > In order to introduce the Opensbi OS boot mode, the next stage boot > image of OpenSBI should be configurable. > > Signed-off-by: Randolph > --- > common/spl/spl_opensbi.c | 26 -- > 1 file changed, 16 insertions(+), 10 del

Re: [PATCH RESEND 4/7] riscv: dts: introduce SPL_LOAD_FIT_OPENSBI_OS_BOOT symbol

2023-10-07 Thread Simon Glass
Hi Randolph, On Fri, 6 Oct 2023 at 05:27, Randolph wrote: > > Introduce common Kconfig symbol for riscv architecture. > This symbol SPL_LOAD_FIT_OPENSBI_OS_BOOT is like falcon mode on ARM, > the Falcon boot is a shortcut boot method for SD/eMMC targets. It > skips the loading the RAM version U-Bo

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

2023-10-07 Thread Simon Glass
On Thu, 5 Oct 2023 at 16:24, Sean Anderson wrote: > > 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 > >> > wrot

Re: [PATCH 4/5] btool: mkeficapsule: Add support for EFI empty capsule generation

2023-10-07 Thread Simon Glass
Hi Sugosh, On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > Add a method to the mkeficapsule bintool to generate empty > capsules. These are capsules needed for the FWU A/B update feature. > > Signed-off-by: Sughosh Ganu > --- > tools/binman/btool/mkeficapsule.py | 29 ++

Re: [PATCH v3 1/6] binman: ti-secure: Add support for firewalling entities

2023-10-07 Thread Simon Glass
Hi Manorit, On Wed, 4 Oct 2023 at 06:32, Manorit Chawdhry wrote: > > We can now firewall entities while loading them through our secure > entity TIFS, the required information should be present in the > certificate that is being parsed by TIFS. > > The following commit adds the support to enable

Re: [PATCH RESEND 2/7] riscv: dts: add binman_linux.dtsi for opensbi os boot mode

2023-10-07 Thread Simon Glass
Hi Randoph, On Fri, 6 Oct 2023 at 05:26, Randolph wrote: > > The binman_linux.dtsi is a fork of binman.dtsi, just change the first > section image from the "u-boot" to "linux". Note that the filename > is also changed. In binman.dtsi, the filename of u-boot section filename > is called "u-boot-no

Re: [PATCH v3 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-07 Thread Simon Glass
Hi Neha, On Fri, 6 Oct 2023 at 04:07, Neha Malcom Francis wrote: > > According to the TRMs of K3 platform of devices, the ROM boot image > format specifies a "Core Options Field" that provides the capability to > set the boot core in lockstep when set to 0 or to split mode when set > to 2. Add su

Re: [PATCH] cmd: mbr: Allow 4 MBR partitions without need for extended

2023-10-07 Thread Simon Glass
Hi Alexander, On Fri, 6 Oct 2023 at 21:58, Alexander Gendin wrote: > > Current code allows up to 3 MBR partitions without extended one. > If more than 3 partitions are required, then extended partition(s) > must be used. > This commit allows up to 4 primary MBR partitions without the > need for e

Re: [PATCH v2 8/9] test: bdinfo: Test bdinfo -m

2023-10-07 Thread Simon Glass
On Sat, 7 Oct 2023 at 15:41, Marek Vasut wrote: > > The bdinfo -m should print only the board memory layout. > Test the expected output. > > Signed-off-by: Marek Vasut > --- > Cc: Bin Meng > Cc: Mario Six > Cc: Nikhil M Jain > Cc: Simon Glass > --- > V2: Rename bdinfo_test_mem() to bdinfo_che

Re: [PATCH RESEND 5/7] spl: riscv: add os type for next booting stage

2023-10-07 Thread Simon Glass
Hi Randolph, On Fri, 6 Oct 2023 at 05:27, Randolph wrote: > > If SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled, the function > spl_invoke_opensbi should change the target OS type to IH_OS_LINUX. > OpenSBI will load the Linux image as the next boot stage. > The os_takes_devicetree function returns a val

Re: [PATCH 3/5] binman: capsule: Use dumped capsule header contents for verification

2023-10-07 Thread Simon Glass
Hi Sughosh, On Wed, 4 Oct 2023 at 05:27, Sughosh Ganu wrote: > > The various fields of a generated capsule are currently verified > through hard-coded offsets. Use the dump-capsule feature for dumping > the capsule header contents and use those for capsule verification. > > Signed-off-by: Sughosh

[PATCH v2 00/27] Tidy up use of CONFIG_CMDLINE

2023-10-07 Thread Simon Glass
It should be possible to disable CONFIG_CMDLINE and have all commands and related functionality dropped from U-Boot. This is useful when trying to reduce the size of U-Boot. Recent changes have stopped this from working. This series repairs the feature for sandbox and adds a test to stop it break

Re: [PATCH 08/25] fastboot: Avoid depending on CMDLINE

2023-10-07 Thread Simon Glass
Hi Tom, On Sun, 24 Sept 2023 at 16:59, Tom Rini wrote: > > On Sun, Sep 24, 2023 at 02:39:26PM -0600, Simon Glass wrote: > > > When CMDLINE is not enabled, this code fails to build. Correct this by > > adding conditions. > > > > Note that this should not happen in normal use, since the use of > >

[PATCH v2 17/27] fdt: Move working_fdt into fdt_support

2023-10-07 Thread Simon Glass
This can be accessed even when commands are not enabled. Move it into the fdt_support.c file, which is where most of the FDT helpers are. Signed-off-by: Simon Glass --- (no changes since v1) boot/fdt_support.c | 5 + cmd/fdt.c | 5 - 2 files changed, 5 insertions(+), 5 deletio

  1   2   >