Re: [RFC PATCH 02/28] cli: Add LIL shell

2021-07-07 Thread Michael Nazzareno Trimarchi
Hi On Wed, Jul 7, 2021 at 4:48 PM Marek Behun wrote: > > Dear Tom, Sean, Wolfgang and others, > > here are some of my opinions for this discussion > > - I agree with Wolfgang that there are far better options than > a Tcl-like shell, if we want to add another language > > - I also think that

Re: [RFC PATCH 02/28] cli: Add LIL shell

2021-07-07 Thread Sean Anderson
On 7/6/21 3:44 AM, Wolfgang Denk wrote: Dear Tom, In message <20210705191058.GB9516@bill-the-cat> you wrote: This is I think the hard question. A draw of the current shell is that it it looks and acts like bash/sh/etc, for at least basic operations. That's something that's comfortable to a

Re: [RFC PATCH 05/28] cli: lil: Rename some functions to be more like TCL

2021-07-07 Thread Sean Anderson
On 7/6/21 3:50 AM, Wolfgang Denk wrote: Dear Sean, In message <7143cb1e-4061-3034-57b9-1a12753fa...@gmail.com> you wrote: You complain that the existing port of hus has a number of severe limitations or bugs which have long been fixed upstream, The bugs are fairly minor. The particular

Re: [PATCH] doc: fix typo in signature.txt

2021-07-07 Thread Heinrich Schuchardt
On 7/2/21 11:32 AM, Thomas Perrot wrote: Fix value fields in signature nodes. Signed-off-by: Thomas Perrot This matches the definition include/image.h:1004: #define FIT_VALUE_PROP "value" Reviewed-by: Heinrich Schuchardt --- doc/uImage.FIT/signature.txt | 4 ++-- 1 file

Re: [RFC PATCH 03/28] cli: lil: Replace strclone with strdup

2021-07-07 Thread Sean Anderson
On 7/5/21 1:50 PM, Wolfgang Denk wrote: Dear Sean, In message <5a967151-94f0-6037-2d02-0114c43b8...@gmail.com> you wrote: AIUI hush has diverged significantly from what U-Boot has. This would not be an "update" moreso than a complete port in the style of the current series. Agreed.

Re: [RFC PATCH 00/28] cli: Add a new shell

2021-07-07 Thread Sean Anderson
On 7/7/21 11:49 PM, Heiko Schocher wrote: Hello Sean, On 01.07.21 08:15, Sean Anderson wrote: Well, this has been sitting on my hard drive for too long without feedback ("Release early, release often"), so here's the first RFC. This is not ready to merge (see the "Future work" section below),

Re: [PATCH v4 4/8] common: Rename macro appropriately

2021-07-07 Thread Heiko Schocher
Hello Steffen, On 08.07.21 01:09, Steffen Jaeckel wrote: > While doing code-review internally this got nitpicked by 2 reviewers, so > I decided to include this here. > > Signed-off-by: Steffen Jaeckel > Reviewed-by: Simon Glass > --- > > (no changes since v1) > > common/autoboot.c | 16

Re: [PATCH v4 3/8] common: integrate crypt-based passwords

2021-07-07 Thread Heiko Schocher
Hello Steffen, On 08.07.21 01:09, Steffen Jaeckel wrote: > Hook into the autoboot flow as an alternative to the existing > mechanisms. > > Signed-off-by: Steffen Jaeckel > Reviewed-by: Simon Glass > --- > > (no changes since v1) > > common/Kconfig.boot | 38 ++--- >

Re: [PATCH v4 2/8] lib: wrap crypt API to hide errno usage

2021-07-07 Thread Heiko Schocher
Hello Steffen, On 08.07.21 01:09, Steffen Jaeckel wrote: > In order to prevent using the global errno, replace it with a static > version and create a wrapper function which returns the error value. > > Signed-off-by: Steffen Jaeckel > Reviewed-by: Simon Glass > --- > > (no changes since v1)

Re: [PATCH v4 1/8] lib: add crypt subsystem

2021-07-07 Thread Heiko Schocher
Hello Steffen, On 08.07.21 01:09, Steffen Jaeckel wrote: > Add the basic functionality required to support the standard crypt > format. > The files crypt-sha256.c and crypt-sha512.c originate from libxcrypt and > their formatting is therefor retained. > The integration is done via a

Re: [RFC PATCH 00/28] cli: Add a new shell

2021-07-07 Thread Heiko Schocher
Hello Sean, On 01.07.21 08:15, Sean Anderson wrote: > Well, this has been sitting on my hard drive for too long without feedback > ("Release early, release often"), so here's the first RFC. This is not ready > to > merge (see the "Future work" section below), but the shell is functional and >

Re: [PATCH 11/18] arm: Remove nsa310s board

2021-07-07 Thread Tony Dinh
Thanks Tom! I think we are almost done with the DM conversion for NSA310S. I'm waiting for Setfan's feedback on one last patch revision. -Tony On Wed, Jul 7, 2021 at 7:55 PM Tom Rini wrote: > On Wed, Jul 07, 2021 at 10:54:21PM -0400, Tom Rini wrote: > > > On Sat, May 22, 2021 at 08:47:10AM

Re: [PATCH 11/18] arm: Remove nsa310s board

2021-07-07 Thread Tom Rini
On Wed, Jul 07, 2021 at 10:54:21PM -0400, Tom Rini wrote: > On Sat, May 22, 2021 at 08:47:10AM -0400, Tom Rini wrote: > > > These boards have not been converted to CONFIG_DM_USB by the deadline > > and is also missing conversion to CONFIG_DM. Remove it > > > > Cc: Gerald Kerma > > Cc: Tony

Re: [PATCH 17/18] usb: Add correct depends for CMD_USB_MASS_STORAGE

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:16AM -0400, Tom Rini wrote: > We cannot build this without USB_GADGET_DOWNLOAD support enabled, add > the appropriate depends line. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 16/18] sniper: Add build guards around MUSB support code

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:15AM -0400, Tom Rini wrote: > If MUSB support is disabled, these parts of the code will fail to build. > > Cc: Paul Kocialkowski > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 15/18] arm: Remove spear600 boards and the rest of SPEAr support

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:14AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove them. As this is > the last of the SPEAr platforms, so remove the rest of the remaining > support as well. > >

Re: [PATCH 14/18] arm: Remove spear320 boards

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:13AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove them. As this is > also the last SPEAR3XX platform, remove that symbol as well. > > Cc: Vipin Kumar >

Re: [PATCH 13/18] arm: Remove spear310 boards

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:12AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove them. > > Cc: Vipin Kumar > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 12/18] arm: Remove spear300 boards

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:11AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove them. > > Cc: Vipin Kumar > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 11/18] arm: Remove nsa310s board

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:10AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove it > > Cc: Gerald Kerma > Cc: Tony Dinh > Cc: Luka Perkov > Signed-off-by: Tom Rini Applied to

Re: [PATCH 10/18] arm: Remove gplugd board

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:09AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove it > > Cc: Ajay Bhargav > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH 09/18] arm: Remove edb9315a board

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:08AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove it. > > This is also the last PL010_SERIAL using board, so remove those > references. > > Cc: Sergey

Re: [PATCH 08/18] arm: Remove at91rm9200ek boards

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:07AM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_USB by the deadline > and is also missing conversion to CONFIG_DM. Remove them. > > Cc: Andreas Bießmann > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 07/18] mx6memcal: Disable USB GADGET in SPL

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:06AM -0400, Tom Rini wrote: > As this board does not use CONFIG_OF_CONTROL and the DM_USB migration > deadline has passed, disable USB_GADGET support. > > Cc: Eric Nelson > Cc: Stefano Babic > Signed-off-by: Tom Rini > Acked-by: Eric Nelson Applied to

Re: [PATCH 06/18] dockstar: Perform base CONFIG_DM enablement

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:05AM -0400, Tom Rini wrote: > As these boards support CONFIG_OF_CONTROL today, perform a basic > CONFIG_DM migration. > > Cc: Eric Cooper > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 05/18] ib62x0: Perform base CONFIG_DM enablement

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:04AM -0400, Tom Rini wrote: > As these boards support CONFIG_OF_CONTROL today, perform a basic > CONFIG_DM migration. > > Cc: Luka Perkov > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 04/18] iconnect: Perform base CONFIG_DM enablement

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:03AM -0400, Tom Rini wrote: > As these boards support CONFIG_OF_CONTROL today, perform a basic > CONFIG_DM migration. > > Cc: Luka Perkov > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 03/18] pogo_e02: Perform base CONFIG_DM enablement

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:02AM -0400, Tom Rini wrote: > As these boards support CONFIG_OF_CONTROL today, perform a basic > CONFIG_DM migration. > > Cc: Dave Purdy > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 02/18] openrd: Perform base CONFIG_DM enablement

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:01AM -0400, Tom Rini wrote: > As these boards support CONFIG_OF_CONTROL today, perform a basic > CONFIG_DM migration. > > Cc: Stefan Roese > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 01/18] snapper9260/snapper9g20: Disable USB

2021-07-07 Thread Tom Rini
On Sat, May 22, 2021 at 08:47:00AM -0400, Tom Rini wrote: > These boards have not converted to DM_USB by the deadline, disable USB > support as they do not enable CONFIG_OF_CONTROL. > > Cc: Simon Glass > u-boot@lists.denx.de (open list) Applied to u-boot/master, thanks! -- Tom

Re: [PATCHv2 25/27] ppc: Remove T4160RDB board

2021-07-07 Thread Tom Rini
On Sun, May 23, 2021 at 10:58:05AM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. As this is the last > ARCH_T4160 platform, remove that support as well. > > Signed-off-by: Tom Rini Applied

Re: [PATCH 26/27] configs: Remove unnecessary CONFIG_DM_PCI_COMPAT=y

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:31PM -0400, Tom Rini wrote: > The following boards no longer need CONFIG_DM_PCI_COMPAT enabled, so > remove that. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 24/27] ppc: Remove MPC832XEMDS boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:29PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove them. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 23/27] ppc: Remove MPC8323ERDB board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:28PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 22/27] ppc: Remove MPC8315ERDB board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:27PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. As this is the last > ARCH_MPC8315 platform, remove that support as well. > > Signed-off-by: Tom Rini

Re: [PATCH 21/27] ppc: Remove sbc8641d board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:26PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. This is also the last > of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well. > > Cc: Paul

Re: [PATCH 20/27] ppc: Remove xpedite boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:25PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove them. As this includes > the last ARCH_MPC8572 platform, remove that as well. > > Cc: Peter Tyser >

Re: [PATCH 19/27] ppc: Remove kmcoge4 board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:24PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. > > Cc: Valentin Longchamp > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 18/27] ppc: Remove MPC8568MDS board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:23PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. As this is the last > ARCH_MPC8568 platform, remove that support as well. > > Cc: Priyanka Jain >

Re: [PATCH 17/27] ppc: Remove T1023RBD boards and T1024RDB_SECURE_BOOT

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:22PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline > and is also missing conversion to CONFIG_DM. Remove them. As this is > the only ARCH_T1023 platform left, remove that support as well. > > Cc: Priyanka Jain >

Re: [PATCH 16/27] ppc: Remove MPC8555CDS boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:21PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove them. As this is the only > ARCH_MPC8555 platform left, remove that support as well. > > Cc: Priyanka Jain >

Re: [PATCH 15/27] ppc: Remove MPC8541CDS board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:20PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. As this is the only > MPC8541 target left, remove that architecture support as well. > > Cc: Priyanka Jain >

Re: [PATCH 14/27] ppc: Remove TQM834x board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:19PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline and is > also missing conversion to CONFIG_DM. Remove it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 13/27] ppc: Remove sbc8548 boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:18PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline and are > also missing conversion to CONFIG_DM. Remove them. > > Cc: Paul Gortmaker > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 12/27] ppc: Remove caddy2 / vme8349 boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:17PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline > and is also missing conversion to CONFIG_DM. Remove them. > > Cc: Reinhard Arlt > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 11/27] ppc: Remove MPC8313ERDB boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:16PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI by the deadline. > Remove them. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 10/27] ppc: Remove ve8313 board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:15PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline. > Remove it. > > Cc: Heiko Schocher > Signed-off-by: Tom Rini > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 09/27] ppc: Remove mpc8308_p1m board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:14PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_PCI by the deadline. > Remove it. > > Cc: Ilya Yanok > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 08/27] ppc: Remove many T104x boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:13PM -0400, Tom Rini wrote: > These boards have not been converted to CONFIG_DM_PCI, CONFIG_DM_USB or > in some cases CONFIG_DM itself by the deadline. Remove them. > > Cc: Priyanka Jain > Cc: Ruchika Gupta > Signed-off-by: Tom Rini Applied to u-boot/master,

Re: [PATCH 07/27] ppc: Remove sbc8349 board

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:12PM -0400, Tom Rini wrote: > This board has not been converted to CONFIG_DM_MMC by the deadline. > Remove it. > > Cc: Paul Gortmaker > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 05/27] m68k: Remove M5475x boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:10PM -0400, Tom Rini wrote: > These board has not been converted to CONFIG_DM_PCI by the deadline. > Remove them. As this is the last of the mcf547x_8x family of boards, > remove that support as well. > > Cc: TsiChung Liew > Signed-off-by: Tom Rini Applied to

Re: [PATCH 04/27] m68k: Remove M5485 boards

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:09PM -0400, Tom Rini wrote: > These board has not been converted to CONFIG_DM_PCI by the deadline. > Remove them. As this is all of the CONFIG_M548x platforms as well, > remove that code. > > Cc: TsiChung Liew > Signed-off-by: Tom Rini Applied to u-boot/master,

Re: [PATCH 02/27] ppc: Drop MPC837XERDB_SLAVE for now

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:07PM -0400, Tom Rini wrote: > Drop the MPC837XERDB_SLAVE configuration. > > Cc: Sinan Akman > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 01/27] pci: Remove non-DM board_pci_fixup_dev() declaration

2021-07-07 Thread Tom Rini
On Fri, May 14, 2021 at 09:34:06PM -0400, Tom Rini wrote: > With the ventana boards migrated to DM_PCI and DM_ETH, we can remove > this prototype. > > Cc: Stefano Babic > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/5] efi_loader: add boot variable measurement

2021-07-07 Thread Masahisa Kojima
On Thu, 8 Jul 2021 at 03:56, Ilias Apalodimas wrote: > > Hi Kojima-san, > > +{ > > [...] > > > + u16 *boot_order; > > + u16 var_name[] = L"BootOrder"; > > + u16 boot_name[] = L"Boot"; > > + u16 hexmap[] = L"0123456789ABCDEF"; > > + u8 *bootvar; > > + efi_uintn_t

Re: [PATCH 1/5] efi_loader: increase eventlog buffer size

2021-07-07 Thread Masahisa Kojima
On Wed, 7 Jul 2021 at 22:47, Heinrich Schuchardt wrote: > > > > On 7/7/21 3:36 PM, Masahisa Kojima wrote: > > This is a preperation to add eventlog support > > described in TCG PC Client PFP spec. > > > > Signed-off-by: Masahisa Kojima > > --- > > lib/efi_loader/Kconfig | 2 +- > > 1 file

[PATCH] arm: omap4: Disable USB_TTY and related options

2021-07-07 Thread Tom Rini
The usbtty functionality is not currently used on these two platforms, disable it. Cc: Lokesh Vutla Signed-off-by: Tom Rini --- configs/omap4_panda_defconfig | 1 - configs/omap4_sdp4430_defconfig | 1 - include/configs/ti_omap4_common.h | 6 -- 3 files changed, 8 deletions(-) diff

[PATCH 2/2] board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI device in SPL

2021-07-07 Thread Vincent Chen
Ensure USB hub, PCIe-USB bridge, and ULPI device to be reset even if the rebooting is without power-cycling. Signed-off-by: Vincent Chen --- board/sifive/unmatched/spl.c | 36 1 file changed, 36 insertions(+) diff --git a/board/sifive/unmatched/spl.c

[PATCH 1/2] board: sifive: unmatched: refine GEMGXL initialized function in SPL

2021-07-07 Thread Vincent Chen
Create a new function spl_reset_device_by_gpio to reset the device whose reset pin is connected to the GPIO. Then, using this function to initialize GEMGXL. Signed-off-by: Vincent Chen --- board/sifive/unmatched/spl.c | 58 +--- 1 file changed, 39

[PATCH 0/2] board: sifive: unmatched: reset multiple devices in SPL

2021-07-07 Thread Vincent Chen
In SiFive unmatched board, the reset of the USB hub, PCIe-USB bridge, and ULPI rely on the power-cycling. However, sometimes the rebooting is without power-cycling. To ensure these devices will be reset in each rebooting, here always reset these devices in the spl_board_init_f(). In addition,

Re: [PATCH 2/2] board: stemmy: Copy atags for booting downstream/vendor kernel

2021-07-07 Thread Linus Walleij
On Wed, Jul 7, 2021 at 12:59 PM Stephan Gerhold wrote: > The U-Boot "stemmy" board is mainly intended to simplify booting > mainline Linux on various smartphones from Samsung based on ST-Ericsson > Ux500. While the mainline kernel is working great, there are still some > features missing there.

Re: [PATCH u-boot-dm + u-boot-spi v4 04/10] mtd: spi-nor: allow registering multiple MTDs when DM is enabled

2021-07-07 Thread Masami Hiramatsu
Hi Marek, I found that this changes the mtd device name and makes 'mtdparts' doesn't work on my developerbox platform. Before this change, --- => sf probe SF: Detected mx66u51235f with page size 256 Bytes, erase size 4 KiB, total 64 MiB => mtd list List of MTD devices: * nor1 - type: NOR

Re: [PATCH 1/2] board: stemmy: Parse atags to get available memory

2021-07-07 Thread Linus Walleij
On Wed, Jul 7, 2021 at 12:59 PM Stephan Gerhold wrote: > At the moment the "stemmy" board attempts to detect the RAM size with > a simple memory test (get_ram_size()). Unfortunately, this does not work > correctly for devices with 768 MiB RAM (e.g. Samsung Galaxy Ace 2 > (GT-I8160), "codina").

Re: [PATCH 0/4] Add support for eMMC on ST-Ericsson Ux500(v2)

2021-07-07 Thread Linus Walleij
On Tue, Jul 6, 2021 at 4:55 PM Stephan Gerhold wrote: > This patch series adds support for the eMMC on ST-Ericsson Ux500: > > 1. Some minor fixes+cleanup for the arm_pl180_mmci driver. > 3. Add the necessary configuration for ST-Ericsson Ux500v2. > > This was tested on the u8500 "stemmy"

Re: [PATCH 3/3] usb: musb-new: Add glue driver for ST-Ericsson Ux500

2021-07-07 Thread Linus Walleij
On Mon, Jul 5, 2021 at 6:28 PM Stephan Gerhold wrote: > The ST-Ericsson DB8500 SoC contains a MUSB OTG controller which > supports both host and gadget mode. For some reason there is > nothing special about it - add a simple glue driver for Ux500 > that literally just sets up MUSB together with

Re: [PATCH 2/3] phy: Add driver for ST-Ericsson AB8500 USB PHY

2021-07-07 Thread Linus Walleij
On Mon, Jul 5, 2021 at 6:28 PM Stephan Gerhold wrote: > The AB8500 PMIC contains an USB PHY that needs to be set up in > device or host mode to make USB work properly. Add a simple driver > for the generic PHY uclass that allows enabling it. > > The if (CONFIG_IS_ENABLED(USB_MUSB_HOST)) might be

Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Bin Meng
Hi Simon, On Thu, Jul 8, 2021 at 1:35 AM Simon Glass wrote: > > Hi Bin, > > On Wed, 7 Jul 2021 at 01:36, Bin Meng wrote: > > > > With x86 we can execute an option ROM either natively or using the > > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > > the _X86EMU_env

Re: Please pull u-boot-dm

2021-07-07 Thread Tom Rini
On Wed, Jul 07, 2021 at 09:58:47AM -0600, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/8087 > > > > The following changes since commit 1311dd37ecf476be041d0452d4ee38619aadd5de: > > Merge branch '2021-07-01-update-CI-containers' (2021-07-05

[PATCH v4 8/8] test: add first autoboot unit tests

2021-07-07 Thread Steffen Jaeckel
This adds tests for the crypt-based and plain SHA256-based password hashing algorithms in the autoboot flow. Signed-off-by: Steffen Jaeckel Reviewed-by: Simon Glass --- Changes in v4: Add another test with `bootstopusesha256` unset common/Kconfig.boot | 2 +- common/console.c

[PATCH v4 7/8] common: add support to fallback to plain SHA256

2021-07-07 Thread Steffen Jaeckel
In case crypt-based hashing is enabled this will be the default mechanism that is used. If a user wants to have support for both, the environment variable `bootstopusesha256` can be set to `true` to allow plain SHA256 based hashing of the password. Signed-off-by: Steffen Jaeckel Reviewed-by:

[PATCH v4 6/8] common: add AUTOBOOT_FLUSH_STDIN option

2021-07-07 Thread Steffen Jaeckel
The key-sequence based unlock mechanisms are sensitive to junk symbols that could have been sent to stdin and are still waiting to be retrieved. Enabling this option will read all symbols off stdin before displaying the autoboot prompt (and starting to read the password from stdin).

[PATCH v4 5/8] common: allow disabling of timeout for password entry

2021-07-07 Thread Steffen Jaeckel
In case a user has to enter a complicated password it is sometimes desireable to give the user more time than the default timeout. Enabling this feature will disable the timeout entirely in case the user presses the key before entering any other character. Signed-off-by: Steffen Jaeckel

[PATCH v4 4/8] common: Rename macro appropriately

2021-07-07 Thread Steffen Jaeckel
While doing code-review internally this got nitpicked by 2 reviewers, so I decided to include this here. Signed-off-by: Steffen Jaeckel Reviewed-by: Simon Glass --- (no changes since v1) common/autoboot.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH v4 3/8] common: integrate crypt-based passwords

2021-07-07 Thread Steffen Jaeckel
Hook into the autoboot flow as an alternative to the existing mechanisms. Signed-off-by: Steffen Jaeckel Reviewed-by: Simon Glass --- (no changes since v1) common/Kconfig.boot | 38 ++--- common/autoboot.c | 81 - 2 files changed,

[PATCH v4 2/8] lib: wrap crypt API to hide errno usage

2021-07-07 Thread Steffen Jaeckel
In order to prevent using the global errno, replace it with a static version and create a wrapper function which returns the error value. Signed-off-by: Steffen Jaeckel Reviewed-by: Simon Glass --- (no changes since v1) include/crypt.h | 3 ++- lib/crypt/alg-sha256.h | 6 --

[PATCH v4 1/8] lib: add crypt subsystem

2021-07-07 Thread Steffen Jaeckel
Add the basic functionality required to support the standard crypt format. The files crypt-sha256.c and crypt-sha512.c originate from libxcrypt and their formatting is therefor retained. The integration is done via a crypt_compare() function in crypt.c. ``` libxcrypt $ git describe --long

[PATCH v4 0/8] common: Introduce crypt-style password support

2021-07-07 Thread Steffen Jaeckel
This patchset introduces support for crypt-style passwords to unlock the console in autoboot mode. The implementation of crypt-sha256 and crypt-sha512 originate from libxcrypt at https://github.com/besser82/libxcrypt.git Version v4.4.17 Git commit hash 6b110bc I didn't re-format those two

Re: [PATCH v2 1/2] mmc: Check for device with a seq number equal to num before checking against index

2021-07-07 Thread Ricardo Salveti
Hi Aswath, Thanks for the quick response. On Wed, Jul 7, 2021 at 1:55 AM Aswath Govindraju wrote: > > Hi Ricardo, > > On 07/07/21 4:39 am, Ricardo Salveti wrote: > > Hi Aswath, > > > > On Thu, Mar 25, 2021 at 4:19 AM Aswath Govindraju > > wrote: > >> > >> First check if there is an alias for

Re: [PATCH v5 01/13] ata: ahci-pci: Use scsi_ops to initialize ops

2021-07-07 Thread Masami Hiramatsu
Hi Tom, 2021年7月7日(水) 7:50 Tom Rini : > > On Fri, Jun 04, 2021 at 06:43:23PM +0900, Masami Hiramatsu wrote: > > > Without this fix, scsi-scan will cause a synchronous abort > > when accessing ops->scan. > > > > Signed-off-by: Masami Hiramatsu > > Reviewed-by: Simon Glass > > For the entire

Re: [PATCH 3/5] efi_loader: add boot variable measurement

2021-07-07 Thread Ilias Apalodimas
Hi Kojima-san, > +{ [...] > + u16 *boot_order; > + u16 var_name[] = L"BootOrder"; > + u16 boot_name[] = L"Boot"; > + u16 hexmap[] = L"0123456789ABCDEF"; > + u8 *bootvar; > + efi_uintn_t var_data_size; > + u32 count, i; > + efi_status_t ret; > + > +

Re: [PATCH 2/5] efi_loader: add secure boot variable measurement

2021-07-07 Thread Ilias Apalodimas
On Wed, Jul 07, 2021 at 11:49:33AM -0600, Simon Glass wrote: > Hi Ilias, > > On Wed, 7 Jul 2021 at 11:40, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > On Wed, Jul 07, 2021 at 11:37:01AM -0600, Simon Glass wrote: > > > Hi Masahisa, > > > > > > On Wed, 7 Jul 2021 at 07:36, Masahisa Kojima

Re: [PATCH 2/5] efi_loader: add secure boot variable measurement

2021-07-07 Thread Simon Glass
Hi Ilias, On Wed, 7 Jul 2021 at 11:40, Ilias Apalodimas wrote: > > Hi Simon, > > On Wed, Jul 07, 2021 at 11:37:01AM -0600, Simon Glass wrote: > > Hi Masahisa, > > > > On Wed, 7 Jul 2021 at 07:36, Masahisa Kojima > > wrote: > > > > > > TCG PC Client PFP spec requires to measure the secure > > >

Re: [PATCH 2/5] efi_loader: add secure boot variable measurement

2021-07-07 Thread Ilias Apalodimas
Hi Simon, On Wed, Jul 07, 2021 at 11:37:01AM -0600, Simon Glass wrote: > Hi Masahisa, > > On Wed, 7 Jul 2021 at 07:36, Masahisa Kojima > wrote: > > > > TCG PC Client PFP spec requires to measure the secure > > boot policy before validating the UEFI image. > > This commit adds the secure boot

Re: QEMU NUMA and U-Boot

2021-07-07 Thread Heinrich Schuchardt
On 7/7/21 5:15 PM, François Ozog wrote: top posting what now works for me: - changed calculation of memory size to loop through different memory nodes - added numa_node to banks - filter out banks that do not match the target mixup node (do not want to change ABI to add node information)

Re: [PATCH 1/1] sandbox: don't set SA_NODEFER in signal handler

2021-07-07 Thread Simon Glass
Hi Heinrich, On Mon, 5 Jul 2021 at 11:43, Heinrich Schuchardt wrote: > > The sandbox can handle signals. Due to a damaged global data pointer > additional exceptions in the signal handler may occur leading to an endless > loop. In this case leave the handling of the secondary exception to the >

Re: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM

2021-07-07 Thread Simon Glass
Hi, On Tue, 6 Jul 2021 at 15:17, Marek Vasut wrote: > > On 7/6/21 6:11 PM, Tim Harvey wrote: > > On Sun, Jul 4, 2021 at 12:25 PM Marek Vasut wrote: > >> > >> On 7/4/21 5:35 PM, Fabio Estevam wrote: > >>> Hi Marek, > >> > >> Hi, > >> > >>> On Sat, Jul 3, 2021 at 10:04 PM Marek Vasut wrote: >

Re: [PATCH v2] dm: core: fix no null pointer detection in ofnode_get_addr_size_index()

2021-07-07 Thread Simon Glass
Hi Chenguanqiao, On Mon, 5 Jul 2021 at 21:21, chenguanqiao wrote: > > From: Chen Guanqiao > > Fixed a defect of a null pointer being discovered by Coverity Scan: >CID 331544: Null pointer dereferences (REVERSE_INULL) >Null-checking "size" suggests that it may be null, but it has

Re: [PATCH 2/5] efi_loader: add secure boot variable measurement

2021-07-07 Thread Simon Glass
Hi Masahisa, On Wed, 7 Jul 2021 at 07:36, Masahisa Kojima wrote: > > TCG PC Client PFP spec requires to measure the secure > boot policy before validating the UEFI image. > This commit adds the secure boot variable measurement > of "SecureBoot", "PK", "KEK", "db" and "dbx". > > Note that this

Re: [PATCH v3 8/8] test: add first autoboot unit tests

2021-07-07 Thread Simon Glass
Hi Steffen, On Wed, 7 Jul 2021 at 04:39, Steffen Jaeckel wrote: > > Hi Simon, > > thanks again for the review! > > On 6/26/21 8:32 PM, Simon Glass wrote: > > On Mon, 21 Jun 2021 at 14:25, Steffen Jaeckel > > wrote: > >> > >> This adds tests for the crypt-based and plain SHA256-based password

Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Simon Glass
Hi Bin, On Wed, 7 Jul 2021 at 01:36, Bin Meng wrote: > > With x86 we can execute an option ROM either natively or using the > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > the _X86EMU_env variable, with the native code using it to hold > register state during interrupt

Re: [PATCHv4] Azure/GitLab: Move to gcc-11.1.0 and LLVM-11

2021-07-07 Thread Tom Rini
On Fri, Jul 02, 2021 at 10:41:58AM -0400, Tom Rini wrote: > - Move to gcc-11.1.0 builds from kernel.org for supported platforms and > LLVM-11 for those tests. > - As Heinrich has noted, the RISC-V platform specification has a profile > OS-A for running rich operating systems like Linux and

Re: [RFC 6/7] bootstage: Eliminate when not enabled

2021-07-07 Thread Tom Rini
On Mon, May 03, 2021 at 04:48:58PM -0400, Tom Rini wrote: > When we do not have bootstage enabled, rather than include an empty > dummy function, we just don't reference it. This saves us space in some > tight builds. This also shows a few cases where show_boot_progress was > incorrectly

Re: [RFC 5/7] Makefile: Disable gcc-10.0 warnings

2021-07-07 Thread Tom Rini
On Mon, May 03, 2021 at 04:48:57PM -0400, Tom Rini wrote: > Based on 5c45de21a2223, 44720996e2d79 and 5a76021c2eff7 in Linux > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [RFC 4/7] pinctrl: mscc: Fix multiple definition error

2021-07-07 Thread Tom Rini
On Mon, May 03, 2021 at 04:48:56PM -0400, Tom Rini wrote: > With gcc-11 we get a multiple errors here as the declarations for > mscc_pinctrl_ops and mscc_gpio_ops are missing an extern. > > CC: Gregory CLEMENT > Cc: Lars Povlsen > Cc: Horatiu Vultur > Signed-off-by: Tom Rini > Reviewed-by:

Re: [RFC 3/7] eb_cpu5282: Declare diplay_width / display_height as externs

2021-07-07 Thread Tom Rini
On Mon, May 03, 2021 at 04:48:55PM -0400, Tom Rini wrote: > The board code here references the display_width / display_height > variables set in the video driver, declare these as externs as gcc-11 > will notice and lead to a multiple definition error. > > Signed-off-by: Tom Rini Applied to

Re: [RFC 2/7] freescale: Drop unnecessary cpld_data_t non-typedef

2021-07-07 Thread Tom Rini
On Mon, May 03, 2021 at 04:48:54PM -0400, Tom Rini wrote: > In some board cpld.h files the definition of the cpld_data struct > not-quite makes a typedef for cpld_data_t. This problem is caught with > gcc-11 as a multiple definition error. As there are no users of this > non-typedef, fix this

Re: [RFC 1/7] ARM: mvebu: a38x: Correct mismatched bound warnings

2021-07-07 Thread Tom Rini
On Mon, May 03, 2021 at 04:48:53PM -0400, Tom Rini wrote: > With gcc-11 we see: > drivers/ddr/marvell/a38x/ddr3_debug.c:672:47: error: argument 2 of type > 'u32[5]' {aka 'unsigned int[5]'} with mismatched bound > [-Werror=array-parameter=] > 672 | int ddr3_tip_read_adll_value(u32 dev_num, u32

Re: [PULL] u-boot-riscv/master

2021-07-07 Thread Tom Rini
On Wed, Jul 07, 2021 at 11:21:13PM +0800, Leo Liang wrote: > Hi Tom, > > This is a follow up PR for OpenPiton's dts. > > Thanks for the catch. > > The following changes since commit 5617efd2c882562b716a61bc0dc0edda46b045df: > > Merge branch '2021-07-06-platform-updates' (2021-07-06 18:10:10

Re: [PATCH] x86: Drop _X86EMU_env definition when CONFIG_BIOSEMU is used

2021-07-07 Thread Tom Rini
On Wed, Jul 07, 2021 at 03:36:26PM +0800, Bin Meng wrote: > With x86 we can execute an option ROM either natively or using the > x86 emulator (if enabled with CONFIG_BIOSEMU). Both of these share > the _X86EMU_env variable, with the native code using it to hold > register state during interrupt

Re: [PULL] u-boot-atmel-fixes-2021.10-a

2021-07-07 Thread Tom Rini
On Wed, Jul 07, 2021 at 08:14:43AM +, eugen.hris...@microchip.com wrote: > Hello Tom, > > Please pull tag u-boot-atmel-fixes-2021.10-a , the first set of atmel > fixes for the 2021.10 cycle. > > This small fixes set is dedicated to fixing the onewire subsystem for > the at91 boards which

  1   2   >