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

2023-10-04 Thread Manorit Chawdhry
Hi Nishanth, On 07:24-20231004, Nishanth Menon wrote: > On 10:43-20231004, Manorit Chawdhry wrote: > > > These are required to remove the firewall configurations that are done > > by ROM, those are not the ones that are being handled by OIDs. The > > I am not sure I

[PATCH] board: siemens: iot2050: Fix logical bug in PG1/PG2 detection

2023-10-04 Thread Jan Kiszka
From: Jan Kiszka This caused the wrong fdtfile to be set and was failing to apply M.2 settings. Fixes: badaa1f6a7a9 ("boards: siemens: iot2050: Unify PG1 and PG2/M.2 configurations again") Signed-off-by: Jan Kiszka --- board/siemens/iot2050/board.c | 2 +- 1 file changed, 1 insertion(+), 1 de

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

2023-10-04 Thread Jan Kiszka
From: Jan Kiszka Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes in u-boot.dtsi as 'bootph-all'. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pr

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

2023-10-04 Thread Jan Kiszka
On 04.10.23 14:15, Nishanth Menon wrote: > On 22:26-20231003, Jan Kiszka wrote: >> From: Jan Kiszka >> >> Since commit [1] A53 u-boot proper is broken. This is because nodes >> marked as 'bootph-pre-ram' are not available at u-boot proper before >> relocation. >> >> To fix this we mark all nodes a

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

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

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-10-04 Thread Tony Dinh
Hi Simon, On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > Hi Simon, > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Tue, 26 Sept 2023 at 13:40, Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Tue, Sep 26, 2023 at 4:37 AM Simon Glass wrote: > > > > >

[PATCH] net: phy: xilinx_phy: Get rid of using property xlnx, phy-type

2023-10-04 Thread Venkatesh Yadav Abbarapu
As the xlnx,phy-type device tree property is deprecated and phy-mode is being used, so removing the code references of xlnx,phy-type. Signed-off-by: Venkatesh Yadav Abbarapu --- drivers/net/phy/xilinx_phy.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/phy/xilinx_phy.c b/dri

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

2023-10-04 Thread Marek Vasut
On 10/4/23 21:43, Paul Barker wrote: [...] +/* + * We need to ensure that the module clock is enabled and all resets are + * de-asserted before using either the gpio or pinctrl functionality. Error + * handling can be quite simple here as if the PFC cannot be enabled then we + * will not be abl

Re: [RFC] mmc: Remove alignment hole for cmdidx in struct mmc_cmd

2023-10-04 Thread Simon Glass
Hi Jonas, On Mon, 2 Oct 2023 at 13:29, Jonas Karlman wrote: > > On 2023-10-02 20:56, Simon Glass wrote: > > On Fri, 29 Sept 2023 at 17:07, Jonas Karlman wrote: > >> > >> The alignment hole caused by cmdidx in struct mmc_cmd cause strange > >> issues together with the peephole2 optimization on Am

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

2023-10-04 Thread Simon Glass
Hi Tom, On Sun, 24 Sept 2023 at 17:27, Tom Rini wrote: > > On Sun, Sep 24, 2023 at 02:39:23PM -0600, Simon Glass wrote: > > Some commands assume that CONFIG_SYS_LONGHELP is always defined. > > Declaration of long help should be bracketed by an #ifdef to avoid an > > 'unused variable' warning. > >

Re: [PATCH v3 1/4] common: Add generic function for reading serial number

2023-10-04 Thread Simon Glass
Hi Artur, On Wed, 4 Oct 2023 at 06:47, Artur Rojek wrote: > > >Hi Artur, > > > >On Mon, 2 Oct 2023 at 06:42, Artur Rojek wrote: > >> > >> Provide a generic way for boards to read their serial number from EEPROM > >> at init. > >> > >> If CONFIG_ID_EEPROM is set, the new serial_read_from_eeprom()

Re: [PATCH] binman: bintool: Change make target arg type from string to list

2023-10-04 Thread Simon Glass
On Wed, 4 Oct 2023 at 02:56, wrote: > > From: Lukas Funke > > The argument type of `build_from_git` was changed from string to list > in d71e7116997f14097735f04cc7847f0a68dbc485. > > This commit adapts the argument type of all bintools using this > function. > > Signed-off-by: Lukas Funke > > --

Re: [PATCH v12] Boot var automatic management for removable medias

2023-10-04 Thread Masahisa Kojima
Hi Tom, Heinrich, Ilias, # Added Tom since this patch is delegated to him On Wed, 27 Sept 2023 at 10:06, Masahisa Kojima wrote: > > From: Raymond Mao > > Changes for complying to EFI spec §3.5.1.1 > 'Removable Media Boot Behavior'. > Boot variables can be automatically generated during a remova

Re: [PATCH 1/1] riscv: remove dram_init_banksize()

2023-10-04 Thread Heinrich Schuchardt
On 9/26/23 09:46, Wu, Fei wrote: On 9/26/2023 3:16 PM, Heinrich Schuchardt wrote: Remove dram_init_banksize() on the architecture level. Limiting used RAM to under 4 GiB is only necessary for CPUs which have a DMA issue. SoC specific code already exists for FU540, FU740, JH7110. Not all RISC-V

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

2023-10-04 Thread Fabio Estevam
On Wed, Oct 4, 2023 at 8:35 PM wrote: > > From: Benjamin Szőke > > Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. > > Signed-off-by: Benjamin Szőke I wanted to test your patch, but there are several issues: checkpatch complains: total: 5 errors, 7 warnings, 5 ch

Re: [RFC PATCH v10 12/24] cli: Enables using hush 2021 parser as command line parser

2023-10-04 Thread Heinrich Schuchardt
On 10/4/23 18:42, Francis Laniel wrote: If one defines HUSH_2021_PARSER, it is then possible to use 2021 parser with: => cli get old => cli set 2021 => cli get 2021 Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- cmd/Kconfig | 8 + cmd/cli.c

Re: [RFC PATCH v10 11/24] cmd: Add new cli command

2023-10-04 Thread Heinrich Schuchardt
On 10/4/23 18:42, Francis Laniel wrote: This command can be used to print the current parser with 'cli print'. Please, provide a commit message that matches the code. It can also be used to set the current parser with 'cli set'. For the moment, only one value is valid for set: old. If there

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

2023-10-04 Thread Marcel Ziswiler
On Wed, 2023-10-04 at 16:13 -0300, 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 Acked-by: Marcel Zi

Re: [PATCHv10 14/15] net/lwip: replace original net commands with lwip

2023-10-04 Thread Simon Goldschmidt
Am 4. Oktober 2023 10:29:54 MESZ schrieb Maxim Uvarov : >On Wed, 4 Oct 2023 at 08:12, Simon Glass wrote: > >> Hi Sean, >> >> On Tue, 3 Oct 2023 at 11:58, Sean Edmond >> wrote: >> > >> > >> > On 2023-09-26 2:41 a.m., Maxim Uvarov wrote: >> > > Replace original commands: ping, tftp, dhcp and wge

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

2023-10-04 Thread Paul Barker
On Wed, Oct 04, 2023 at 02:24:38PM +0200, Marek Vasut wrote: > On 10/4/23 10:40, Paul Barker wrote: > > On 03/10/2023 14:20, Marek Vasut wrote: > > > On 9/20/23 14:42, Paul Barker wrote: > > > > This driver provides pinctrl and gpio control for the Renesas RZ/G2L > > > > (R9A07G044) SoC. > > > > >

Re: [PATCH 12/16] arm: rmobile: Include in header

2023-10-04 Thread Marek Vasut
On 10/4/23 18:41, Paul Barker wrote: On Wed, Oct 04, 2023 at 05:19:43PM +0200, Marek Vasut wrote: On 10/4/23 15:48, Paul Barker wrote: On Wed, Oct 04, 2023 at 02:27:50PM +0200, Marek Vasut wrote: On 10/4/23 10:57, Paul Barker wrote: On 03/10/2023 14:27, Marek Vasut wrote: On 9/20/23 14:42, P

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

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

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

2023-10-04 Thread Francesco Dolcini
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 --- include/configs/verdin-imx8mm.h | 1 - include/configs/verdin-imx8mp.h | 1 - 2 files cha

[PATCH v6] board: rockchip: Add Bananapi R2Pro Board

2023-10-04 Thread Frank Wunderlich
From: Frank Wunderlich Add Bananapi R2 Pro board. tested: - sdcard - both front usb-ports - sata - wan-port lan-ports are connected to mt7531 switch where driver needs to be separated from mtk ethernet-driver. Signed-off-by: Frank Wunderlich Reviewed-by: Kever Yang Reviewed-by: Jonas Karlman

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

2023-10-04 Thread Simon Glass
Hi Michael, On Wed, 4 Oct 2023 at 11:17, Michael Walle wrote: > > Hi, > > >> >> Add a compatible string for binman, so we can extend fixed-partitions > >> >> in various ways. > >> > > >> > I've been thinking at the proper way to describe the binman partitions. > >> > I am wondering if we should r

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

2023-10-04 Thread Nishanth Menon
On 23:22-20231004, Apurva Nandan wrote: [...] > > > + .virt = 0x5UL, > > > + .phys = 0x5UL, > > > + .size = 0x4UL, > > > + .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) | > >

Re: [PATCH v4 09/16] board: ti: j784s4: Add board support for J784S4 EVM

2023-10-04 Thread Nishanth Menon
On 23:31-20231004, Apurva Nandan wrote: [...] > > > +rproc_fw_binaries= 2 /lib/firmware/j784s4-main-r5f0_0-fw 3 > > > /lib/firmware/j784s4-main-r5f0_1-fw 4 /lib/firmware/j784s4-main-r5f1_0-fw > > > 5 /lib/firmware/j784s4-main-r5f1_1-fw 6 > > > /lib/firmware/j

Aw: Re: [PATCH v5] board: rockchip: Add Bananapi R2Pro Board

2023-10-04 Thread Frank Wunderlich
Hi Jonas thanks for your review. > Gesendet: Dienstag, 03. Oktober 2023 um 22:27 Uhr > Von: "Jonas Karlman" > An: "Frank Wunderlich" , "Frank Wunderlich" > , "Kever Yang" > Cc: "Simon Glass" , "Philipp Tomsich" > , "Joseph Chen" , > u-boot@lists.denx.de > Betreff: Re: [PATCH v5] board: rockc

Re: [PATCH v4 16/16] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation

2023-10-04 Thread Apurva Nandan
On 03/10/23 04:25, Heinrich Schuchardt wrote: On 10/2/23 18:58, Bryan Brattlof wrote: Hi Apurva! Sorry for the late review. Just some updates I noticed when reading over the docs. On October  1, 2023 thus sayeth Apurva Nandan: TI K3 J784S4 and AM69 are new additions to the K3 SoC family. Ad

Re: [PATCH v4 10/16] arm: dts: Introduce j784s4 u-boot dts files

2023-10-04 Thread Apurva Nandan
On 02/10/23 19:34, Jerome Forissier wrote: Hello Apurva, On 10/1/23 18:55, Apurva Nandan wrote: Introduce the base dts files needed for u-boot or to augment the linux dtbs for use in the u-boot-spl and u-boot binaries. Signed-off-by: Hari Nagalla [ add binman and ddr dtsi files ] Signed-off

Re: [PATCH v4 09/16] board: ti: j784s4: Add board support for J784S4 EVM

2023-10-04 Thread Apurva Nandan
On 02/10/23 21:21, Nishanth Menon wrote: On 22:25-20231001, Apurva Nandan wrote: Add board files for J784S4 EVM. Signed-off-by: Hari Nagalla [ add env and board specific yaml files for binman ] Signed-off-by: Neha Malcom Francis [ cleaned up the env files ] Signed-off-by: Manorit Chawdhry

Please pull u-boot-dm

2023-10-04 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/18014 (usual azure branch but I cannot get the link) The following changes since commit 65b9b3462bec2966911658836983819ab4e4823e: Merge branch 'next_pinctrl_sync' of https://source.denx.de/u-boot/custodians/u-boot-sh (2023-

Re: [PATCH 2/2] dm: core: Adjust dump-sorting to get stats only when needed

2023-10-04 Thread Simon Glass
If we are not sorting the tree we don't need to get the stats. Adjust the code to avoid the wasted time. Signed-off-by: Simon Glass --- (no changes since v1) drivers/core/dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!

Re: [PATCH v3 01/27] moveconfig: Drop -H option

2023-10-04 Thread Simon Glass
Drop this option, which is no longer needed now that we have converted all CONFIG options to Kconfig. Signed-off-by: Simon Glass --- (no changes since v1) tools/moveconfig.py | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) Applied to u-boot-dm, thanks!

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

2023-10-04 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 v3 03/27] moveconfig: Correct ordering of asteval import

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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 08/27] moveconfig: Correct some regular-expression strings

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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 10/27] moveconfig: Use f strings where possible

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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 14/27] moveconfig: Correct list-comprehension warnings

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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!

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

2023-10-04 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 17/27] moveconfig: Only show output when there is a reason

2023-10-04 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 19/27] moveconfig: Avoid showing progress at the end

2023-10-04 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 20/27] moveconfig: Use u_boot_pylib for terminal colour

2023-10-04 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 22/27] moveconfig: Show a summary at the end

2023-10-04 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-04 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 27/27] qconfig: Update the documentation

2023-10-04 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 23/27] moveconfig: Drop the initial output

2023-10-04 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 26/27] qconfig: Rename the database file

2023-10-04 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!

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

2023-10-04 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 24/27] moveconfig: Move summaries to the end

2023-10-04 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!

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

2023-10-04 Thread Apurva Nandan
On 02/10/23 21:31, Nishanth Menon wrote: On 22:25-20231001, Apurva Nandan wrote: Add J784S4 initialization files for initial SPL boot. Signed-off-by: Hari Nagalla [ add firewall configurations and change the R5 MCU scratchpad ] Signed-off-by: Manorit Chawdhry Signed-off-by: Dasnavis Sabiya

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

2023-10-04 Thread Apurva Nandan
On 02/10/23 21:31, Nishanth Menon wrote: On 22:25-20231001, Apurva Nandan wrote: Add J784S4 initialization files for initial SPL boot. Signed-off-by: Hari Nagalla [ add firewall configurations and change the R5 MCU scratchpad ] Signed-off-by: Manorit Chawdhry Signed-off-by: Dasnavis Sabiya

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

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

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

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

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

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

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

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

[RFC PATCH v10 24/24] DO NOT MERGE: ci: Build the world in any case.

2023-10-04 Thread Francis Laniel
The CI can fails previously for reasons which are not tied to hush 2021. Let's build the world in any case to check everything is OK there too. Signed-off-by: Francis Laniel --- .azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml i

[RFC PATCH v10 23/24] DO NOT MERGE: only to make CI happy

2023-10-04 Thread Francis Laniel
This commit set CONFIG_HUSH_PARSER_2021 as the default to trigger the CI with this parser. Nonetheless, the keymile (i.e. VENDOR_KM) board family is not compatible with new 2021 hush parser. Indeed, This boards used set_local_var() to store some variables as local shell. They then used get_local_v

[RFC PATCH v10 22/24] cli: hush_2021: Add upstream commits up to 2nd October 2023.

2023-10-04 Thread Francis Laniel
This commit adds the following hush busybox upstream commits: 791b222dd55d ("sleep: fix "sleep -- ARGS"") 5353df91cba7 ("Update applet size estimates") e41e481fd571 ("hush: fix a compile failure") 07a95cfcabb0 ("ash: disable check for "good" function name, bash does not check this") e5692e2342c6 (

[RFC PATCH v10 21/24] test: hush: Fix loop tests for hush 2021

2023-10-04 Thread Francis Laniel
Modifies return code got from while loop as hush 2021 always returns 0 from while loop. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- test/hush/loop.c | 34 ++ 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/test/hush/loop.c b/test/hus

[RFC PATCH v10 18/24] cli: hush_2021: Enable using < and > as string compare operators

2023-10-04 Thread Francis Laniel
In Busybox hush, '<' and '>' are used as redirection operators. For example, cat foo > bar will write content of file foo inside file bar. In U-Boot, we do not have file system, so we can hardly redirect command output inside a file. But, in actual U-Boot hush, these operators ('<' and '>') are us

[RFC PATCH v10 17/24] test: hush: Fix variable expansion tests for hush 2021

2023-10-04 Thread Francis Laniel
Modifies the expected result for hush 2021. Indeed, there were bugs in actual U-Boot hush which were fixed in upstream Busybox. As hush 2021 is based on upstream Busybox, these bugs no longer exist. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- test/hush/dollar.c | 79 +

[RFC PATCH v10 19/24] cli: hush_2021: Enable if keyword

2023-10-04 Thread Francis Laniel
Adds support for "if then else" construct both for command line interface and through run_command(). Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- common/cli_hush_2021.c | 11 +++ common/cli_hush_upstream.c | 12 2 files changed, 15 insertions(+), 8 deletio

[RFC PATCH v10 20/24] cli: hush_2021: Enable loops

2023-10-04 Thread Francis Laniel
Enables the use of for, while and until loops for command line as well as with run_command(). Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- common/cli_hush_2021.c | 1 + common/cli_hush_upstream.c | 15 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --g

[RFC PATCH v10 16/24] test: hush: Fix instructions list tests for hush 2021

2023-10-04 Thread Francis Laniel
Modifies the expected result for hush 2021. Indeed, there were bugs in actual U-Boot hush which were fixed in upstream Busybox. As hush 2021 is based on upstream Busybox, these bugs no longer exist. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- test/hush/list.c | 69 +++

[RFC PATCH v10 15/24] cli: add hush 2021 as parser for run_command*()

2023-10-04 Thread Francis Laniel
Enables using, in code, hush 2021 as parser for run_command function family. It also enables the command run to be used by CLI user of hush 2021. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- common/cli.c | 63 -- common/cli_hush_up

[RFC PATCH v10 14/24] cli: hush_2021: Add functions to be called from run_command()

2023-10-04 Thread Francis Laniel
run_command() is called internally by the command run and it can also be called directly from U-Boot code, e.g. to do unit tests. This commit adds this path to go to hush 2021. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- common/cli_hush_upstream.c | 66 +++

[RFC PATCH v10 13/24] cli: hush_2021: Enable variables expansion for hush 2021

2023-10-04 Thread Francis Laniel
Enables variables expansion for hush 2021, both for local and environment variables. So the following commands: foo=bar echo $foo setenv bar foo echo $bar leads to "bar" and "foo" being printed on console output. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- common/cli_hush_2021.c

[RFC PATCH v10 08/24] cli: Port Busybox 2021 hush to U-Boot

2023-10-04 Thread Francis Laniel
Adds new file cli_hush_2021.c, it is a copy of Busybox hush file as it was of time to commit 37460f5da. This commit modifies Busybox hush to not compile some part specific to Busybox and adds some code needed by U-Boot. The modifications consists mainly on adding code #if(n)def guards. For the mom

[RFC PATCH v10 12/24] cli: Enables using hush 2021 parser as command line parser

2023-10-04 Thread Francis Laniel
If one defines HUSH_2021_PARSER, it is then possible to use 2021 parser with: => cli get old => cli set 2021 => cli get 2021 Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- cmd/Kconfig | 8 + cmd/cli.c | 7 - common/Makefile

[RFC PATCH v10 09/24] cli: Add menu for hush parser

2023-10-04 Thread Francis Laniel
For the moment, the menu contains only entry: HUSH_OLD_PARSER which is the default. The goal is to prepare the field to add a new hush parser which guarantees actual behavior is still correct. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- cmd/Kconfig | 13 + common/

[RFC PATCH v10 10/24] global_data.h: add GD_FLG_HUSH_OLD_PARSER flag

2023-10-04 Thread Francis Laniel
This flag is used to indicate we are using the hush parser. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- common/cli.c | 2 ++ include/asm-generic/global_data.h | 4 2 files changed, 6 insertions(+) diff --git a/common/cli.c b/common/cli.c index 3916a7b10

[RFC PATCH v10 11/24] cmd: Add new cli command

2023-10-04 Thread Francis Laniel
This command can be used to print the current parser with 'cli print'. It can also be used to set the current parser with 'cli set'. For the moment, only one value is valid for set: old. Signed-off-by: Francis Laniel --- cmd/Makefile | 2 + cmd/cli.c | 120

[RFC PATCH v10 06/24] test: hush: Test hush loops

2023-10-04 Thread Francis Laniel
The added tests verifies correct behavior of for, while and until loops. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- test/hush/Makefile | 1 + test/hush/loop.c | 65 ++ 2 files changed, 66 insertions(+) create mode 100644 test/hush/

[RFC PATCH v10 05/24] test: hush: Test hush commands list

2023-10-04 Thread Francis Laniel
Verifies behavior of commands separated by ';', '&&' and '||'. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- test/hush/Makefile | 1 + test/hush/list.c | 79 ++ 2 files changed, 80 insertions(+) create mode 100644 test/hush/list.c di

[RFC PATCH v10 03/24] test/py: hush_if_test: Remove the test file

2023-10-04 Thread Francis Laniel
5804ebfeb1ce ("test: hush: Test hush if/else") translated this test to a C test, so this python file is no more needed. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- test/py/tests/test_hush_if_test.py | 197 - 1 file changed, 197 deletions(-) delete mod

[RFC PATCH v10 04/24] test: hush: Test hush variable expansion

2023-10-04 Thread Francis Laniel
Verifies shell variables are replaced by their values. Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- test/hush/Makefile | 1 + test/hush/dollar.c | 167 +++ test/py/tests/test_ut.py | 8 +- 3 files changed, 175 insertions(+), 1 de

[RFC PATCH v10 02/24] test: hush: Test hush if/else

2023-10-04 Thread Francis Laniel
As asked in commit 9c6bf1715f6a ("test/py: hush_if_test: Add tests to cover octal/hex values"), this commit translates test_hush_if_test.py to a C test. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- test/hush/Makefile | 1 + test/hush/if.c | 316 ++

[RFC PATCH v10 01/24] test: Add framework to test hush behavior

2023-10-04 Thread Francis Laniel
Introduce a new subcommand to ut: ut hush. For the moment, this command does nothing, future commits will add tests which will be run on command call. Note that CONFIG_HUSH_PARSER must be defined to compile this new subcommand. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- include

[RFC PATCH v10 00/24] Modernize U-Boot shell

2023-10-04 Thread Francis Laniel
Hi. During 2021 summer, Sean Anderson wrote a contribution to add a new shell, based on LIL, to U-Boot [1, 2]. While one of the goals of this contribution was to address the fact actual U-Boot shell, which is based on Busybox hush, is old there was a discussion about adding a new shell versus upd

Re: [PATCH 12/16] arm: rmobile: Include in header

2023-10-04 Thread Paul Barker
On Wed, Oct 04, 2023 at 05:19:43PM +0200, Marek Vasut wrote: > On 10/4/23 15:48, Paul Barker wrote: > > On Wed, Oct 04, 2023 at 02:27:50PM +0200, Marek Vasut wrote: > > > On 10/4/23 10:57, Paul Barker wrote: > > > > On 03/10/2023 14:27, Marek Vasut wrote: > > > > > On 9/20/23 14:42, Paul Barker wro

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

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

Re: [PATCHv10 01/15] submodule: add lwIP as git submodule

2023-10-04 Thread Simon Glass
Hi Maxim, On Wed, 4 Oct 2023 at 01:53, Maxim Uvarov wrote: > > > > On Mon, 2 Oct 2023 at 20:46, Simon Glass wrote: >> >> Hi Maxim, >> >> On Mon, 2 Oct 2023 at 05:23, Maxim Uvarov wrote: >> > >> > I found what was missing. (reproduced with CI docker.) >> >> How about adding a script that copies

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

2023-10-04 Thread Simon Glass
Hi Michael, On Wed, 4 Oct 2023 at 05:35, Michael Walle wrote: > > Hi, > > >> Add a compatible string for binman, so we can extend fixed-partitions > >> in various ways. > > > > I've been thinking at the proper way to describe the binman partitions. > > I am wondering if we should really extend th

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

2023-10-04 Thread Simon Glass
Hi Miquel, On Wed, 4 Oct 2023 at 01:36, Miquel Raynal wrote: > > Hi Simon, > > s...@chromium.org wrote on Mon, 2 Oct 2023 11:49:40 -0600: > > > Add a compatible string for binman, so we can extend fixed-partitions > > in various ways. > > I've been thinking at the proper way to describe the binm

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

2023-10-04 Thread neil . armstrong
On 03/10/2023 13:28, Alexey Romanov wrote: Hello! This patchset adds USB stack support for Amlogic A1 SoC's series. Made reset / phy / dwc3 drivers more flexible and added support for A1 board. V2: - Made power domain for PHY optional. - Add missing CLKID_USB_PHY gate. - Drop patch with USB st

Re: [PATCHv10 01/15] submodule: add lwIP as git submodule

2023-10-04 Thread Tom Rini
On Wed, Oct 04, 2023 at 01:52:53PM +0600, Maxim Uvarov wrote: > On Mon, 2 Oct 2023 at 20:46, Simon Glass wrote: > > > Hi Maxim, > > > > On Mon, 2 Oct 2023 at 05:23, Maxim Uvarov wrote: > > > > > > I found what was missing. (reproduced with CI docker.) > > > > How about adding a script that copie

Re: [PATCH v3 6/8] drivers: introduce Meson Secure Monitor driver

2023-10-04 Thread neil . armstrong
Hi, On 21/09/2023 10:13, Alexey Romanov wrote: This patch adds an implementation of the Meson Secure Monitor driver based on UCLASS_SM. Signed-off-by: Alexey Romanov Reviewed-by: Simon Glass --- MAINTAINERS | 1 + drivers/sm/Kconfig| 7 ++ drivers/sm/Makefile | 1 +

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

2023-10-04 Thread Marek Vasut
On 10/4/23 15:56, Paul Barker wrote: On Wed, Oct 04, 2023 at 02:33:07PM +0200, Marek Vasut wrote: On 10/4/23 11:36, Paul Barker wrote: [...] +int dram_init(void) +{ + return fdtdec_setup_mem_size_base(); +} + +int dram_init_banksize(void) +{ + fdtdec_setup_memory_banksize(); Thi

Re: [PATCH 14/16] arm: rmobile: Support RZ/G2L memory map

2023-10-04 Thread Marek Vasut
On 10/4/23 15:54, Paul Barker wrote: On Wed, Oct 04, 2023 at 02:30:53PM +0200, Marek Vasut wrote: On 10/4/23 11:18, Paul Barker wrote: [...] +static struct mm_region rzg2l_mem_map[RZG2L_NR_REGIONS] = { + { + .virt = 0x0UL, + .phys = 0x0UL, + .si

  1   2   3   >