Re: [PATCH v5 2/2] serial: mxc: have putc use the TXFIFO

2022-11-01 Thread SCHNEIDER Johannes
Hoi, >> the thing with only checking !TXEMPTY is that it limits the fifo to one byte >> only; and as far as i understood, drivermodel >code is supposed to return >> immediately and t > >Why does it limit the FIFO to one byte only? The FIFO has 32 bytes. > we're in putc, so dealing with one

[PATCH v4] schemas: Add schema for U-Boot driver model 'phase tags'

2022-11-01 Thread Simon Glass
U-Boot has some particular challenges with device tree and devices: - U-Boot has multiple build phases, such as a Secondary Program Loader (SPL) phase which typically runs in a pre-SDRAM environment where code and data space are limited. In particular, there may not be enough space for the

Re: [PATCH] Revert "cli_readline: Only insert printable chars"

2022-11-01 Thread Simon Glass
On Tue, 1 Nov 2022 at 17:42, Pali Rohár wrote: > > This reverts commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a. > > This commit broke support for pound sign (£) and euro sign (€) keys on > Nokia N900 keypad. > > Signed-off-by: Pali Rohár > --- > common/cli_readline.c | 6 ++ > 1 file

[PATCH v1 5/5] mtd: spinand: macronix: Add continuous read mode flag for devices

2022-11-01 Thread Leo Yu
Add continuous read mode flag to the devices support continuous read mode in ID table. Signed-off-by: Leo Yu --- drivers/mtd/nand/spi/macronix.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c index

[PATCH v1 4/5] mtd: spinand: Add continuous read operation

2022-11-01 Thread Leo Yu
The flow of continuous read operation is: firstly, starting with the page read command and the 1st page data will be read into the cache after the read latency tRD. Secondly, issuing the Read From Cache commands (03h/0Bh/3Bh/6Bh/BBh/EBh) to read out the data from cache continuously. After all the

[PATCH v1 3/5] cmd: mtd: Add total length of read operation

2022-11-01 Thread Leo Yu
This patch bypasses the limitation of length for read operations in MTD test module. Thus, the total length of a read operation can be passed down to the continuous read operation in SPI NAND layer. Signed-off-by: Leo Yu --- cmd/mtd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v1 2/5] mtd: spinand: Add continuous read mode initialization

2022-11-01 Thread Leo Yu
Add continuous read mode status and initialize the default status to false. Signed-off-by: Leo Yu --- drivers/mtd/nand/spi/core.c | 8 include/linux/mtd/spinand.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c index

[PATCH v1 1/5] mtd: spinand: Add continuous read mode configuration

2022-11-01 Thread Leo Yu
This patch sets the "CONT" bit in the configuration register and adds a flag for identifying continuous read mode capability. Signed-off-by: Leo Yu --- drivers/mtd/nand/spi/core.c | 12 include/linux/mtd/spinand.h | 2 ++ 2 files changed, 14 insertions(+) diff --git

[PATCH v1 0/5] mtd: spinand: Add continuous read mode support

2022-11-01 Thread Leo Yu
Leo Yu (5): mtd: spinand: Add continuous read mode configuration mtd: spinand: Add continuous read mode initialization cmd: mtd: Add total length of read operation mtd: spinand: Add continuous read operation mtd: spinand: macronix: Add continuous read mode flag for devices cmd/mtd.c

Re: [PATCH] doc: Add documentation for CZ.NIC Turris routers

2022-11-01 Thread Josef Schlehofer
Hey Pali, Thanks for letting me know about it! I will prepare new version tomorrow and send it as v2. Regards, Josef On 01. 11. 22 23:07, Pali Rohár wrote: + Lukáš and Josef from CZ.NIC On Monday 03 October 2022 22:25:05 Pali Rohár wrote: + Štěpán from CZ.NIC. Please look at the Heinrich

Re: Requiring SPL_DM for new boards?

2022-11-01 Thread Samuel Holland
Hi all, Thanks for CCing me, Andre. On 11/1/22 13:15, Andre Przywara wrote: > On Mon, 31 Oct 2022 15:43:01 -0400 > Tom Rini wrote: > > Hi Tom, Simon, > >> On Mon, Oct 31, 2022 at 01:27:06PM -0600, Simon Glass wrote: >>> Hi Tom, >>> >>> On Sun, 30 Oct 2022 at 11:53, Tom Rini wrote:

Re: [maemo-leste] Broken u-boot on n900 hw (possibly CONFIG_POSITION_INDEPENDENT)

2022-11-01 Thread Pali Rohár
On Friday 21 October 2022 21:09:55 Pali Rohár wrote: > On Thursday 20 October 2022 22:06:58 Pali Rohár wrote: > > On Monday 10 October 2022 23:30:21 Sicelo wrote: > > > On Sun, Oct 09, 2022 at 09:33:17PM +0200, Pali Rohár wrote: > > > > Hello! > > > > > > > > Current u-boot from master branch

[PATCH] Revert "cli_readline: Only insert printable chars"

2022-11-01 Thread Pali Rohár
This reverts commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a. This commit broke support for pound sign (£) and euro sign (€) keys on Nokia N900 keypad. Signed-off-by: Pali Rohár --- common/cli_readline.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-11-01 Thread Tom Rini
On Tue, Nov 01, 2022 at 11:58:48PM +0100, Pali Rohár wrote: > On Sunday 09 October 2022 15:03:03 Pali Rohár wrote: > > On Wednesday 27 July 2022 15:08:05 Tom Rini wrote: > > > On Wed, Jul 27, 2022 at 09:01:15PM +0200, Pali Rohár wrote: > > > > On Wednesday 27 July 2022 14:58:20 Tom Rini wrote: > >

Re: [PATCH] cmd: ubifs: Do not show usage when command fails

2022-11-01 Thread Simon Glass
On Sun, 7 Aug 2022 at 13:59, Pali Rohár wrote: > > Return value -1 cause U-Boot to print usage message. Return value > 1 (CMD_RET_FAILURE) indicates failure. So fix return value when ubifs > command starts it execution and fails. > > Signed-off-by: Pali Rohár > --- > cmd/ubifs.c | 8 >

Re: Broken commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a

2022-11-01 Thread Simon Glass
Hi Pali, On Tue, 1 Nov 2022 at 17:08, Pali Rohár wrote: > > On Sunday 09 October 2022 17:19:50 Pali Rohár wrote: > > Hello! > > > > Your commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a ("cli_readline: > > Only insert printable chars") broke support for pound sign (£) and euro > > sign (€) keys

Re: [PATCH v2] board_f: Add support for CONFIG_OF_BOARD_FIXUP for XIP images

2022-11-01 Thread Pali Rohár
On Monday 10 October 2022 17:48:58 Simon Glass wrote: > Hi, > > On Sun, 28 Aug 2022 at 09:19, Marek Behún wrote: > > > > From: Pali Rohár > > > > When U-Boot is running from flash memory (execute in place) then > > gd->fdt_blob before relocation points to read-only flash memory. > > > > So

Re: Broken commit de47ff536363289f92f85ed1e4901724d238432d

2022-11-01 Thread Pali Rohár
On Monday 10 October 2022 14:20:20 Marek Behún wrote: > On Sun, 9 Oct 2022 12:32:02 -0400 > Tom Rini wrote: > > > On Sun, Oct 09, 2022 at 03:10:45PM +0200, Pali Rohár wrote: > > > On Sunday 09 October 2022 08:45:03 Tom Rini wrote: > > > > On Sun, Oct 09, 2022 at 02:41:19PM +0200, Pali Rohár

Re: Broken commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a

2022-11-01 Thread Pali Rohár
On Sunday 09 October 2022 17:19:50 Pali Rohár wrote: > Hello! > > Your commit d2e64d29c44dee6d455f7705dd1cf1af8674ad9a ("cli_readline: > Only insert printable chars") broke support for pound sign (£) and euro > sign (€) keys on Nokia N900 keypad. > > When I press either of those two keys,

Re: [PATCH v5] imx: imx8qm: cgtqmx8: switch to binman

2022-11-01 Thread Fabio Estevam
Hi Oliver, On Tue, Oct 25, 2022 at 12:31 PM Oliver Graute wrote: > Now Running into this issue: > > MKIMAGE u-boot.img > MKIMAGE u-boot-dtb.img > LD u-boot.elf > make[1]: Für das Ziel „SPL“ ist nichts zu tun. > BINMAN all > binman: Section '/binman/u-boot-spl-ddr': Symbol >

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-11-01 Thread Pali Rohár
On Sunday 09 October 2022 15:03:03 Pali Rohár wrote: > On Wednesday 27 July 2022 15:08:05 Tom Rini wrote: > > On Wed, Jul 27, 2022 at 09:01:15PM +0200, Pali Rohár wrote: > > > On Wednesday 27 July 2022 14:58:20 Tom Rini wrote: > > > > On Wed, Jul 27, 2022 at 08:52:01PM +0200, Pali Rohár wrote: > >

Re: [PATCH] gpio: renesas: Simplify .request/.rfree callbacks

2022-11-01 Thread Pali Rohár
On Sunday 09 October 2022 14:34:55 Pali Rohár wrote: > On Friday 02 September 2022 21:56:07 Pali Rohár wrote: > > On Wednesday 03 August 2022 08:48:39 Stefan Roese wrote: > > > On 02.08.22 12:06, Pali Rohár wrote: > > > > Remove identify wrapper functions. > > > > > > > > Signed-off-by: Pali

Re: [PATCH] powerpc: dts: keymile: Deduplicate binman code

2022-11-01 Thread Pali Rohár
PING? On Sunday 09 October 2022 14:28:19 Pali Rohár wrote: > PING? > > On Wednesday 03 August 2022 13:20:49 Pali Rohár wrote: > > kmcent2-u-boot.dtsi file contains copy of powerpc u-boot.dtsi binman file. > > So remove code duplication and replace it by including u-boot.dtsi file. > > > >

[PATCH] ARM: imx: Add version variable to DHSOM

2022-11-01 Thread Marek Vasut
Enable insertion of version variable into U-Boot environment on DHSOM, to make it possible to check U-Boot version e.g. in U-Boot scripts. Signed-off-by: Marek Vasut --- Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic Cc: uboot-imx --- configs/dh_imx6_defconfig | 1 + 1 file changed, 1

Re: [PATCH RFC] Makefile: Rename u-boot-spl.kwb to u-boot-with-spl.kwb

2022-11-01 Thread Pali Rohár
On Wednesday 07 September 2022 11:24:58 Pali Rohár wrote: > On Wednesday 17 August 2022 23:00:43 Pali Rohár wrote: > > On Wednesday 17 August 2022 12:05:20 Stefan Roese wrote: > > > On 17.08.22 11:59, Pali Rohár wrote: > > > > File name with pattern u-boot-spl* is used on all places except in kwb

[PATCH] ARM: stm32: Add version variable to DHSOM

2022-11-01 Thread Marek Vasut
Enable insertion of version variable into U-Boot environment on DHSOM, to make it possible to check U-Boot version e.g. in U-Boot scripts. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay --- configs/stm32mp15_dhcom_basic_defconfig | 1 +

Re: [PATCH] ubifs: Allow to silence debug dumps

2022-11-01 Thread Pali Rohár
PING again On Sunday 09 October 2022 13:30:26 Pali Rohár wrote: > PING again after more than one month. > > On Thursday 25 August 2022 15:53:32 Pali Rohár wrote: > > PING? Who can review and take this patch? It is needed for more boards > > due to increasing size of u-boot binary. > > > > On

Re: [PATCH] cmd: ubifs: Do not show usage when command fails

2022-11-01 Thread Pali Rohár
ping? On Sunday 09 October 2022 13:18:47 Pali Rohár wrote: > PING? > > On Sunday 07 August 2022 21:58:56 Pali Rohár wrote: > > Return value -1 cause U-Boot to print usage message. Return value > > 1 (CMD_RET_FAILURE) indicates failure. So fix return value when ubifs > > command starts it

Re: [PATCH] doc: Add documentation for CZ.NIC Turris routers

2022-11-01 Thread Pali Rohár
+ Lukáš and Josef from CZ.NIC On Monday 03 October 2022 22:25:05 Pali Rohár wrote: > + Štěpán from CZ.NIC. Please look at the Heinrich comments below and > prepare a new version with fixes... I will let it to you right now. > > On Monday 26 September 2022 13:30:02 Heinrich Schuchardt wrote: > >

Re: [PATCH v5 2/2] serial: mxc: have putc use the TXFIFO

2022-11-01 Thread Fabio Estevam
Johannes, On Wed, Oct 26, 2022 at 7:23 PM SCHNEIDER Johannes wrote: > > Hi > > the thing with only checking !TXEMPTY is that it limits the fifo to one byte > only; and as far as i understood, drivermodel code is supposed to return > immediately and t Why does it limit the FIFO to one byte

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-11-01 Thread Tom Rini
On Tue, Nov 01, 2022 at 08:55:09PM +0100, Pali Rohár wrote: > On Tuesday 01 November 2022 15:48:34 Tom Rini wrote: > > On Tue, Nov 01, 2022 at 06:35:04PM +0100, Pali Rohár wrote: > > > On Monday 31 October 2022 11:51:45 Max Krummenacher wrote: > > > > On Fri, Oct 28, 2022 at 6:40 PM Pali Rohár

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-11-01 Thread Pali Rohár
On Tuesday 01 November 2022 15:48:34 Tom Rini wrote: > On Tue, Nov 01, 2022 at 06:35:04PM +0100, Pali Rohár wrote: > > On Monday 31 October 2022 11:51:45 Max Krummenacher wrote: > > > On Fri, Oct 28, 2022 at 6:40 PM Pali Rohár wrote: > > > > On Friday 28 October 2022 18:18:49 Max Krummenacher

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-11-01 Thread Tom Rini
On Tue, Nov 01, 2022 at 06:35:04PM +0100, Pali Rohár wrote: > On Monday 31 October 2022 11:51:45 Max Krummenacher wrote: > > On Fri, Oct 28, 2022 at 6:40 PM Pali Rohár wrote: > > > On Friday 28 October 2022 18:18:49 Max Krummenacher wrote: > > > > quiet_cmd_genenv = GENENV $@ > > > >

Re: [PATCH 1/1] cli: always show cursor

2022-11-01 Thread Simon Glass
Hi Heinrich, On Tue, 1 Nov 2022 at 03:03, Heinrich Schuchardt wrote: > > > > On 11/1/22 00:52, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 31 Oct 2022 at 15:58, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 10/31/22 20:27, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On

Re: [PATCH v15 10/15] FWU: Add support for the FWU Multi Bank Update feature

2022-11-01 Thread Simon Glass
Hi Tom, On Tue, 1 Nov 2022 at 07:31, Tom Rini wrote: > > On Mon, Oct 31, 2022 at 07:59:42PM +0200, Ilias Apalodimas wrote: > > Hi Sughosh, > > > > Ideally this would be better of as a different FMP, but I understand we are > > missing some information (the capsule header) on the FMP level. > > >

[RFC PATCH v5 21/24] cli: hush_2021: Enable loops

2022-11-01 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

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

2022-11-01 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. Signed-off-by: Francis Laniel --- cmd/Kconfig | 21 + common/Makefile | 3 ++-

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

2022-11-01 Thread Francis Laniel
If one defines HUSH_2021_PARSER, it is then possible to use 2021 parser with: => parser get old => parser set 2021 2021> parser get 2021 Signed-off-by: Francis Laniel --- cmd/parser.c | 7 - common/cli.c | 38 +++

[RFC PATCH v5 11/24] cmd: Add new parser command

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

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

2022-11-01 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

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

2022-11-01 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. Signed-off-by: Francis Laniel --- test/hush/list.c | 69

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

2022-11-01 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. Signed-off-by: Francis Laniel --- test/hush/dollar.c | 79

[RFC PATCH v5 20/24] test: hush: Fix if tests for hush 2021

2022-11-01 Thread Francis Laniel
Modifies the command run for hush 2021 when using string comparison operator. Indeed, '<' and '>' must be escaped to be used as these operators. Signed-off-by: Francis Laniel --- test/hush/if.c | 45 + 1 file changed, 45 insertions(+) diff --git

[RFC PATCH v5 22/24] test: hush: Fix loop tests for hush 2021

2022-11-01 Thread Francis Laniel
Modifies return code got from while loop as hush 2021 always returns 0 from while loop. 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/hush/loop.c index

[RFC PATCH v5 23/24] cli: hush_2021: Add upstream commits up to 24th March 2022.

2022-11-01 Thread Francis Laniel
This commit adds the following hush busybox upstream commits: 7d1c7d833785 ("ash,hush: use HOME for tab completion and prompts") 21afddefd258 ("hush: fix "error: invalid preprocessing directive ##"") e53c7dbafc78 ("hush: fix set -n to act immediately, not just after run_list() ") 574b9c446da1

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

2022-11-01 Thread Francis Laniel
This commit set CONFIG_HUSH_PARSER_2021 as the default to trigger the CI with this parser. Nonetheless, Some boards are not compatible with new 2021 hush parser: 1. rcar3_ulcb: When built with CONFIG_HUSH_PARSER_2021, the u-boot.img file size exceeds the 1MB file limit of 890

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

2022-11-01 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 v5 15/24] cli: add hush 2021 as parser for run_command*()

2022-11-01 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. Signed-off-by: Francis Laniel --- common/cli.c | 63 -- common/cli_hush_upstream.c | 2 +- 2 files

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

2022-11-01 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 v5 10/24] global_data.h: add GD_FLG_HUSH_OLD_PARSER flag

2022-11-01 Thread Francis Laniel
This flag is used to indicate we are using the hush parser. 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 a47d6a3f2b..cfcf4a585b 100644 ---

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

2022-11-01 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

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

2022-11-01 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

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

2022-11-01 Thread Francis Laniel
Verifies shell variables are replaced by their values. 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 deletion(-) create mode

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

2022-11-01 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

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

2022-11-01 Thread Francis Laniel
ce40f44eb336 ("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 | 184 - 1 file changed, 184 deletions(-) delete

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

2022-11-01 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 | 308

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

2022-11-01 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 ---

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

2022-11-01 Thread Francis Laniel
Hi. Before presenting this contribution, I would like to pay homage to Wolfgang Denk for his work on the U-Boot project. Moreover, first versions of this series received valued feedback from him and he also contributed to the discussion which leaded to this patchset. During 2021 summer, Sean

Re: Requiring SPL_DM for new boards?

2022-11-01 Thread Andre Przywara
On Mon, 31 Oct 2022 15:43:01 -0400 Tom Rini wrote: Hi Tom, Simon, > On Mon, Oct 31, 2022 at 01:27:06PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Sun, 30 Oct 2022 at 11:53, Tom Rini wrote: > > > > > > On Sat, Oct 29, 2022 at 07:44:01PM -0600, Simon Glass wrote: > > > > Hi Tom, > > >

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-11-01 Thread Pali Rohár
On Monday 31 October 2022 11:51:45 Max Krummenacher wrote: > On Fri, Oct 28, 2022 at 6:40 PM Pali Rohár wrote: > > On Friday 28 October 2022 18:18:49 Max Krummenacher wrote: > > > quiet_cmd_genenv = GENENV $@ > > > -cmd_genenv = $(OBJCOPY) --dump-section .rodata.default_environment=$@ > > >

Re: [PATCH v15 01/15] dt/bindings: Add bindings for GPT based FWU Metadata storage device

2022-11-01 Thread Tom Rini
On Fri, Oct 21, 2022 at 06:15:54PM +0530, Sughosh Ganu wrote: > Add bindings needed for accessing the FWU metadata partitions. These > include the compatible string which point to the access method and the > actual device which stores the FWU metadata. > > The current patch adds basic bindings

Re: [PATCH] freescale: Remove Rajesh Bhagat MAINTAINERS

2022-11-01 Thread Tom Rini
On Fri, Oct 21, 2022 at 01:34:04PM -0400, Tom Rini wrote: > On Tue, Oct 18, 2022 at 02:15:47PM -0400, Sean Anderson wrote: > > When sending out this email, I noticed that Ashish's (LS1088 board > > maintainer) email also bounces. > > > > --Sean > > > > On 10/18/22 2:12 PM, Sean Anderson wrote: >

[PATCH v2 2/2] doc: board: j721e_evm: Fix code-block type and indents

2022-11-01 Thread Andrew Davis
* BASH code should be labeled as such. * Code blocks should be indented by 4 spaces. Fix these here. Suggested-by: Heinrich Schuchardt Signed-off-by: Andrew Davis --- Changes from v1: - New patch with fixes suggested by Heinrich doc/board/ti/j721e_evm.rst | 24 1

[PATCH v2 1/2] doc: board: j721e_evm: Add DM firmware steps

2022-11-01 Thread Andrew Davis
J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same. Signed-off-by: Andrew Davis --- Changes from v1: - None doc/board/ti/j721e_evm.rst | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v2 1/1] Makefile: rework u-boot-initial-env target

2022-11-01 Thread Tom Rini
On Mon, Oct 31, 2022 at 11:51:45AM +0100, Max Krummenacher wrote: > Hi > > On Fri, Oct 28, 2022 at 6:40 PM Pali Rohár wrote: > > > > Hello! This is really much better solution! Few comments are below. > > > > On Friday 28 October 2022 18:18:49 Max Krummenacher wrote: > > > From: Max Krummenacher

Re: [PATCH] doc: board: j721e_evm: Add DM firmware steps

2022-11-01 Thread Andrew Davis
On 10/7/22 6:47 PM, Heinrich Schuchardt wrote: On 10/7/22 22:37, Andrew Davis wrote: J721e needs DM firmware when using updated SYSFW. Add steps to fetch, build, and deploy the same. Signed-off-by: Andrew Davis ---   doc/board/ti/j721e_evm.rst | 16 ++--   1 file changed, 10

Re: [PATCH v15 10/15] FWU: Add support for the FWU Multi Bank Update feature

2022-11-01 Thread Tom Rini
On Mon, Oct 31, 2022 at 07:59:42PM +0200, Ilias Apalodimas wrote: > Hi Sughosh, > > Ideally this would be better of as a different FMP, but I understand we are > missing some information (the capsule header) on the FMP level. > > I think we can include it as is for now and have another look

[PATCH v2 2/2] net: xilinx_axi: check PCS/PMA PHY status in setup_phy

2022-11-01 Thread Andy Chiu
Both PCS/PMA PHY and the external PHY need to have a valid link status in order to have Ethernet traffic. Check and wait this status at setup_phy() so that we could diagnose if there is a PHY issue. Signed-off-by: Andy Chiu Reviewed-by: Greentime Hu --- drivers/net/xilinx_axi_emac.c | 44

[PATCH v2 1/2] net: xilinx_axi: add PCS/PMA PHY

2022-11-01 Thread Andy Chiu
If we bridge an external PHY to Xilinx's PCS/PMA PHY and would like to get and set the real status of the PHY facing the external world. Then we should phy_connect() to the external PHY instead of the PCS/PMA one. Thus, we add a pcs-handle DT entry, which have been merged in Linux, and leave the

[PATCH v2 0/2] Manage PCS/PMA PHY if pressent

2022-11-01 Thread Andy Chiu
If both PCS/PMA PHY and an external PHY are pressent on the Ethernet, then the real link status should point to the external facing PHY. At the same time, we must ensure the link status of the PCS/PMA PHY is good before transmitting packets. Change Log: --- v2 --- 1. Fix typo: use pcs-handle

Re: [PATCH 1/1] cli: always show cursor

2022-11-01 Thread Heinrich Schuchardt
On 11/1/22 00:52, Simon Glass wrote: Hi Heinrich, On Mon, 31 Oct 2022 at 15:58, Heinrich Schuchardt wrote: On 10/31/22 20:27, Simon Glass wrote: Hi Heinrich, On Sat, 29 Oct 2022 at 20:56, Heinrich Schuchardt wrote: On 10/30/22 02:43, Simon Glass wrote: Hi Heinrich, On Thu, 27