Re: Pull request efi-2024-01-rc5

2023-12-08 Thread Tom Rini
On Tue, Dec 05, 2023 at 03:43:34AM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 2f0282922b2c458eea7f85c500a948a587437b63: > > Prepare v2024.01-rc4 (2023-12-04 13:46:56 -0500) > > are available in the Git repository at: > >

Re: Please pull u-boot-watchdog/master

2023-12-08 Thread Tom Rini
On Mon, Dec 04, 2023 at 11:18:17AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following watchdog related fix: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-08 Thread Fabio Estevam
On Fri, Dec 8, 2023 at 10:15 PM Lisandro Pérez Meyer wrote: > I added IMX_HAB: > > ``` > $ echo "CONFIG_IMX_HAB=y" >> configs/apalis_imx6_defconfig > ``` Please try like this: --- a/configs/apalis_imx6_defconfig +++ b/configs/apalis_imx6_defconfig @@ -21,7 +21,9 @@ CONFIG_OF_LIBFDT_OVERLAY=y

[PATCH] board: rockchip: Add the Turing RK1 SoM

2023-12-08 Thread Joshua-Riek
The Turing RK1 is a Rockchip RK3588 based SoM from Turing Machines. Specifications: Rockchip RK3588 SoC 4x ARM Cortex-A76, 4x ARM Cortex-A55 8/16/32GB memory LPDDR4x Mali G610MC4 GPU 32GB eMMC HS400 2x USB 2.0, 2x USB 3.0 2x MIPI CSI 4x lanes 1x MIPI-DSI DPHY 2x

Re: iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-08 Thread Lisandro Pérez Meyer
Don't forget to CC me ;-) On Fri, Dec 8, 2023 at 4:54 PM Lisandro Pérez Meyer wrote: [snip] > > On the mx7dsabresd_defconfig, for example, both CONFIG_IMX_HAB=y and > > CONFIG_CMD_FUSE=y are selected > > and this target builds fine. > > Sure thing! > > For the sake of completeness: > > gcc:

Re: iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-08 Thread Lisandro Pérez Meyer
Hi! On Fri, Dec 8, 2023 at 3:53 PM Fabio Estevam wrote: > > Hi Lisandro, > > On Fri, Dec 8, 2023 at 3:43 PM Lisandro Pérez Meyer wrote: > > > > Hi! > > > > I am currently not subscribed (already filled the form waiting for > > confirmation), so please CC me for the moment. > > > > I am trying

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

2023-12-08 Thread Simon Glass
Hi Rob, On Fri, 8 Dec 2023 at 14:56, Rob Herring wrote: > > On Fri, Dec 8, 2023 at 11:47 AM Simon Glass wrote: > > > > Hi Rob, > > > > On Fri, 8 Dec 2023 at 08:00, Rob Herring wrote: > > > > > > On Thu, Nov 16, 2023 at 10:28:50AM -0700, Simon Glass wrote: > > > > Add a compatible string for

[PATCH v12 24/24] configs: Use old hush for several boards

2023-12-08 Thread Francis Laniel
The keymile board family is not compatible with modern hush parser. Indeed, This boards used set_local_var() to store some variables as local shell. They then used get_local_var() to retrieve the variables values. Sadly, this two functions do not exist with CONFIG_HUSH_MODERN_PARSER. A patch was

[PATCH v12 22/24] cli: modern_hush: Add upstream commits up to 2nd October 2023.

2023-12-08 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

[PATCH v12 23/24] cmd: Set modern hush as default shell

2023-12-08 Thread Francis Laniel
Signed-off-by: Francis Laniel --- cmd/Kconfig | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 8b49a97aca..c9d4375ebb 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -28,21 +28,17 @@ depends on HUSH_PARSER config HUSH_OLD_PARSER

[PATCH v12 21/24] test: hush: Fix loop tests for modern hush

2023-12-08 Thread Francis Laniel
Modifies return code got from while loop as modern hush 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

[PATCH v12 15/24] cli: add modern hush as parser for run_command*()

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

[PATCH v12 20/24] cli: hush_modern: Enable loops

2023-12-08 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_modern.c | 1 + common/cli_hush_upstream.c | 15 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff

[PATCH v12 17/24] test: hush: Fix variable expansion tests for modern hush

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

[PATCH v12 19/24] cli: hush_modern: Enable if keyword

2023-12-08 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_modern.c | 11 +++ common/cli_hush_upstream.c | 12 2 files changed, 15 insertions(+), 8

[PATCH v12 18/24] cli: hush_modern: Enable using < and > as string compare operators

2023-12-08 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

[PATCH v12 14/24] cli: hush_modern: Add functions to be called from run_command()

2023-12-08 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 modern hush. Signed-off-by: Francis Laniel Reviewed-by: Simon Glass --- common/cli_hush_upstream.c | 66

[PATCH v12 16/24] test: hush: Fix instructions list tests for modern hush

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

[PATCH v12 13/24] cli: hush_modern: Enable variables expansion for modern hush

2023-12-08 Thread Francis Laniel
Enables variables expansion for modern hush, 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 ---

[PATCH v12 12/24] cli: Enables using modern hush parser as command line parser

2023-12-08 Thread Francis Laniel
If one defines HUSH_MODERN_PARSER, it is then possible to use modern parser with: => cli get old => cli set modern => cli get modern Reviewed-by: Simon Glass Signed-off-by: Francis Laniel --- cmd/Kconfig | 12 cmd/Makefile | 2 +- cmd/cli.c

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

2023-12-08 Thread Francis Laniel
This command can be used to print the current parser with 'cli get'. 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 | 114

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

2023-12-08 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

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

2023-12-08 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 +

[PATCH v12 08/24] cli: Port upstream Busybox hush to U-Boot

2023-12-08 Thread Francis Laniel
Adds new file cli_hush_upstream.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

[PATCH v12 06/24] test: hush: Test hush loops

2023-12-08 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

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

2023-12-08 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

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

2023-12-08 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

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

2023-12-08 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

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

2023-12-08 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

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

2023-12-08 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 ---

[PATCH v12 00/24] Modernize U-Boot shell

2023-12-08 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

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

2023-12-08 Thread Rob Herring
On Fri, Dec 8, 2023 at 11:47 AM Simon Glass wrote: > > Hi Rob, > > On Fri, 8 Dec 2023 at 08:00, Rob Herring wrote: > > > > On Thu, Nov 16, 2023 at 10:28:50AM -0700, Simon Glass wrote: > > > Add a compatible string for binman, so we can extend fixed-partitions > > > in various ways. > > > > > >

Re: iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-08 Thread Fabio Estevam
Hi Lisandro, On Fri, Dec 8, 2023 at 3:43 PM Lisandro Pérez Meyer wrote: > > Hi! > > I am currently not subscribed (already filled the form waiting for > confirmation), so please CC me for the moment. > > I am trying to enable Secure Boot/HAB on u-boot 2022.07. In a previous Please try the top

iMX6, CONFIG_IMX_HAB and fuse_read()

2023-12-08 Thread Lisandro Pérez Meyer
Hi! I am currently not subscribed (already filled the form waiting for confirmation), so please CC me for the moment. I am trying to enable Secure Boot/HAB on u-boot 2022.07. In a previous version this was achieved by enabling CONFIG_SECURE_BOOT, which was then renamed to CONFIG_IMX_HAB. Now if

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

2023-12-08 Thread Simon Glass
Hi Rob, On Fri, 8 Dec 2023 at 08:00, Rob Herring wrote: > > On Thu, Nov 16, 2023 at 10:28:50AM -0700, Simon Glass wrote: > > Add a compatible string for binman, so we can extend fixed-partitions > > in various ways. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v5) > > >

Using uart1 on mediatek mt8195 derived board

2023-12-08 Thread Thomas Schaefer
Hi Macpaul, Fabien, I'm referring to patch series https://patchwork.ozlabs.org/project/uboot/patch/20230804110448.24589-1-macpaul@mediatek.com/ where support for the mediatek mt8195 SOC is introduced into u-boot. We are developing a board based on the mt8195 as well but we want to use

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-08 Thread Michael Nazzareno Trimarchi
Hi Roger On Sat, Nov 25, 2023 at 12:16 PM Roger Quadros wrote: > > AM335x uses a special driver "am335x_spl_bch.c" as SPL > NAND loader. This driver expects 1 sector at a time ECC > and doesn't work well with multi-sector ECC that was implemented in > commit 04fcd2587321 ("mtd: rawnand:

[PATCH v3 2/2] doc: board: phytec: Add phyCORE-AM62x

2023-12-08 Thread Wadim Egorov
Add documentation for PHYTEC phyCORE-AM62x SoM. Signed-off-by: Wadim Egorov Reviewed-by: Dhruva Gole --- v3: - Add boot modes chapter - Reference tiboot3.bin instead of GP binary for default flashing - Minor spelling fixes - Pick up Reviewed-by: Dhruva Gole ---

[PATCH v3 0/2] *** Add support for phyCORE-AM62x ***

2023-12-08 Thread Wadim Egorov
v3: - Add boot modes chapter - Reference tiboot3.bin instead of GP binary for default flashing - Minor spelling fixes - Pick up Reviewed-by: Dhruva Gole v2: https://lists.denx.de/pipermail/u-boot/2023-November/538971.html v1:

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-08 Thread Conor Dooley
On Fri, Dec 08, 2023 at 09:39:27AM +, ff wrote: > > > Le 7 déc. 2023 à 21:31, Conor Dooley a écrit : > > What on earth has happened here with quoting? Please fix your mail > client man, this mail is a mess to read. > > Conor: Hopefully I have now fixed MacOS Mail configuration… > For all:

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

2023-12-08 Thread Rob Herring
On Thu, Nov 16, 2023 at 10:28:50AM -0700, Simon Glass wrote: > Add a compatible string for binman, so we can extend fixed-partitions > in various ways. > > Signed-off-by: Simon Glass > --- > > (no changes since v5) > > Changes in v5: > - Add #address/size-cells and parternProperties > - Drop

Re: [PATCH v2 15/18] fdt: Allow the devicetree to come from a bloblist

2023-12-08 Thread Raymond Mao
Hi Simon, OK, I can try to remove them into two series. Regards, Raymond On Thu, 7 Dec 2023 at 22:14, Simon Glass wrote: > Hi Raymond, > > On Wed, 6 Dec 2023 at 13:35, Raymond Mao wrote: > > > > Hi Simon, > > > > > The other thing missing here is SPL. The bloblist is designed such > > > that

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-08 Thread Shantur Rathore
Hi Peter, On Fri, Dec 8, 2023 at 12:59 PM Peter Robinson wrote: > > On Fri, Dec 8, 2023 at 12:52 PM Shantur Rathore wrote: > > > > Hi Jagan, > > > > On Fri, Dec 8, 2023 at 11:13 AM Jagan Teki > > wrote: > > > > > > On Sun, Nov 19, 2023 at 10:54 PM Shantur Rathore wrote: > > > > > > > >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-08 Thread Nicolas Schier
On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > Add a script which produces a Flat Image Tree (FIT), a single file > containing the built kernel and associated devicetree files. > Compression defaults to gzip which gives a good balance of size and > performance. > > The files

Re: [PATCH v9 1/2] arm64: Add BOOT_TARGETS variable

2023-12-08 Thread Nicolas Schier
On Fri, Dec 01, 2023 at 08:54:41PM -0700, Simon Glass wrote: > Add a new variable containing a list of possible targets. Mark them as > phony. This matches the approach taken for arch/arm > > Signed-off-by: Simon Glass > --- Reviewed-by: Nicolas Schier signature.asc Description: PGP

Re: [PATCH 00/21] Qualcomm generic board support

2023-12-08 Thread ff
Le 7 déc. 2023 à 21:31, Conor Dooley a écrit : What on earth has happened here with quoting? Please fix your mail client man, this mail is a mess to read. Conor: Hopefully I have now fixed MacOS Mail configuration… For all: please accept my apologies on past inconveniences. On Thu, Dec 07,

[PATCH v1 1/1] drivers: misc: Add socfpga_dtreg driver for Intel SoCFPGA

2023-12-08 Thread wan . yee . lau
From: Wan Yee Lau This driver can be used to provide user a clean interface and all register settings are centralized in one place, device tree without need for hardcoding in the source code. Signed-off-by: Wan Yee Lau --- .../misc/socfpga_dtreg.txt| 66 ++

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-08 Thread Peter Robinson
On Fri, Dec 8, 2023 at 12:52 PM Shantur Rathore wrote: > > Hi Jagan, > > On Fri, Dec 8, 2023 at 11:13 AM Jagan Teki wrote: > > > > On Sun, Nov 19, 2023 at 10:54 PM Shantur Rathore wrote: > > > > > > Rockchip SoCs can support wide range of bootflows. > > > Without full bootflow commands, it can

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-08 Thread Shantur Rathore
Hi Jagan, On Fri, Dec 8, 2023 at 11:13 AM Jagan Teki wrote: > > On Sun, Nov 19, 2023 at 10:54 PM Shantur Rathore wrote: > > > > Rockchip SoCs can support wide range of bootflows. > > Without full bootflow commands, it can be difficult to > > figure out issues if any, hence enable by default. >

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-08 Thread Jagan Teki
On Sun, Nov 19, 2023 at 10:54 PM Shantur Rathore wrote: > > Rockchip SoCs can support wide range of bootflows. > Without full bootflow commands, it can be difficult to > figure out issues if any, hence enable by default. > > Reviewed-by: Simon Glass > > Signed-off-by: Shantur Rathore > --- > >

Re: [PATCH v3] arch: arm: Kconfig: Enable BOOTSTD_FULL for Rockchip SoCs

2023-12-08 Thread Shantur Rathore
Hi Tom / Kever On Sun, Nov 19, 2023 at 5:24 PM Shantur Rathore wrote: > > Rockchip SoCs can support wide range of bootflows. > Without full bootflow commands, it can be difficult to > figure out issues if any, hence enable by default. > > Reviewed-by: Simon Glass > > Signed-off-by: Shantur

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-08 Thread Roger Quadros
On 08/12/2023 10:41, Michael Nazzareno Trimarchi wrote: > Hi > > On Fri, Dec 8, 2023 at 9:32 AM Roger Quadros wrote: >> >> On 25/11/2023 13:16, Roger Quadros wrote: >>> AM335x uses a special driver "am335x_spl_bch.c" as SPL >>> NAND loader. This driver expects 1 sector at a time ECC >>> and

Re: [PATCH v1] mtd: rawnand: Meson NAND controller support

2023-12-08 Thread Arseniy Krasnov
On 08.12.2023 11:09, Michael Nazzareno Trimarchi wrote: > Hi > > On Thu, Nov 30, 2023 at 12:29 PM Arseniy Krasnov > wrote: >> >> Basic support for Amlogic Meson NAND controller on AXG. >> >> Signed-off-by: Arseniy Krasnov >> --- >> drivers/mtd/nand/raw/Kconfig |9 + >>

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-08 Thread Michael Nazzareno Trimarchi
Hi On Fri, Dec 8, 2023 at 9:32 AM Roger Quadros wrote: > > On 25/11/2023 13:16, Roger Quadros wrote: > > AM335x uses a special driver "am335x_spl_bch.c" as SPL > > NAND loader. This driver expects 1 sector at a time ECC > > and doesn't work well with multi-sector ECC that was implemented in > >

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-12-08 Thread Roger Quadros
On 25/11/2023 13:16, Roger Quadros wrote: > AM335x uses a special driver "am335x_spl_bch.c" as SPL > NAND loader. This driver expects 1 sector at a time ECC > and doesn't work well with multi-sector ECC that was implemented in > commit 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based

Re: [PATCH v1] mtd: rawnand: Meson NAND controller support

2023-12-08 Thread Michael Nazzareno Trimarchi
Hi On Thu, Nov 30, 2023 at 12:29 PM Arseniy Krasnov wrote: > > Basic support for Amlogic Meson NAND controller on AXG. > > Signed-off-by: Arseniy Krasnov > --- > drivers/mtd/nand/raw/Kconfig |9 + > drivers/mtd/nand/raw/Makefile |1 + > drivers/mtd/nand/raw/meson_nand.c | 1231