Re: [RESEND v9 1/9] efi_loader: move udevice pointer into struct efi_object

2022-07-17 Thread Heinrich Schuchardt
On 7/15/22 16:47, Masahisa Kojima wrote: This is a preparation patch to provide the unified method to access udevice pointer associated with the block io device. The EFI handles of both EFI block io driver implemented in lib/efi_loader/efi_disk.c and EFI block io driver implemented as EFI payload

Re: [PATCH] cmd: fdt: Add support for reading stringlist property values

2022-07-17 Thread Simon Glass
Hi Marek, On Wed, 13 Jul 2022 at 09:30, Marek Vasut wrote: > > On 7/13/22 17:28, Simon Glass wrote: > > Hi Marek, > > > > On Tue, 12 Jul 2022 at 05:47, Marek Vasut wrote: > >> > >> On 7/12/22 12:58, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On Fri, 8 Jul 2022 at 15:50, Marek Vasut wrote: >

Re: [PATCH v3 5/5] patman: Take project defaults into account for --help

2022-07-17 Thread Simon Glass
I'd like it so that when you do "patman send --help" and you're using Linux that it show it the proper defaults for Linux. Signed-off-by: Douglas Anderson Tested-by: Brian Norris Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - Make comment about parsing three times less no

Re: [PATCH v3 1/5] patman: Fix implicit command inserting

2022-07-17 Thread Simon Glass
The logic to insert an implicit command has always been a bit broken but it was masked by another bug fixed in the patch ("patman: Don't look at sys.argv when parsing settings"). Specifically, imagine that you're just calling patman like this: patman -c1 After the parse_known_args() command the

Re: [PATCH v3 2/5] patman: Don't look at sys.argv when parsing settings

2022-07-17 Thread Simon Glass
If you call the parser and tell it to parse but don't pass arguments in then it will default to looking at sys.argv. This isn't really what was intended and seems to have some side effects. Let's not do it. NOTE: to see some of the side effects, note that this patch breaks "patman -c1" if you don'

Re: [PATCH 1/3] cmd: fdt: move: Use map_sysmem to convert pointers

2022-07-17 Thread Simon Glass
On Tue, 5 Jul 2022 at 11:14, Andre Przywara wrote: > > The "fdt move" subcommand was using the provided DTB addresses directly, > without trying to "map" them into U-Boot's address space. This happened > to work since on the vast majority of "real" platforms there is a simple > 1:1 mapping of VA t

Re: [PATCH 2/3] cmd: fdt: allow standalone "fdt move"

2022-07-17 Thread Simon Glass
On Tue, 5 Jul 2022 at 11:14, Andre Przywara wrote: > > At the moment every subcommand of "fdt", except "addr" itself, requires > the DT address to be set first. We explicitly check for that before even > comparing against the subcommands' string. > This early bailout also affects the "move" subcom

Re: [PATCH v3 3/5] patman: Make most bool arguments BooleanOptionalAction

2022-07-17 Thread Simon Glass
Hi Doug, On Sat, 16 Jul 2022 at 11:47, Doug Anderson wrote: > > Hi, > > On Sat, Jul 16, 2022 at 4:55 AM Simon Glass wrote: > > > > Hi Doug, > > > > On Thu, 7 Jul 2022 at 09:26, Douglas Anderson wrote: > > > > > > For boolean arguments it's convenient to be able to specify both the > > > argumen

Re: [RESEND v9 1/9] efi_loader: move udevice pointer into struct efi_object

2022-07-17 Thread Heinrich Schuchardt
On 7/17/22 10:09, Heinrich Schuchardt wrote: On 7/15/22 16:47, Masahisa Kojima wrote: This is a preparation patch to provide the unified method to access udevice pointer associated with the block io device. The EFI handles of both EFI block io driver implemented in lib/efi_loader/efi_disk.c and

Re: [PATCH 3/6] mtd: nand: sunxi: Remove an unnecessary check

2022-07-17 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jul 14, 2022 at 5:15 AM Samuel Holland wrote: > > Each chip is required to have a unique CS number ("reg" property) in the > range 0-7, so there is no need to separately count the number of chips. > > Signed-off-by: Samuel Holland > --- > > drivers/mtd/nand/raw/sunxi_nand.c | 10

Re: [PATCH 5/6] mtd: nand: sunxi: Convert to the driver model

2022-07-17 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jul 14, 2022 at 5:15 AM Samuel Holland wrote: > > Clocks, resets, and pinmuxes are now handled by the driver model, so the > only thing the "board" code needs to do is load the driver. This matches > the pattern used by other DM raw NAND drivers (there is no NAND uclass). > > The actua

Re: [PATCH] spl: Move check for SPL_LIBCOMMON support to header

2022-07-17 Thread Andrew Davis
On 7/16/22 7:00 AM, Simon Glass wrote: Hi Andrew, On Fri, 15 Jul 2022 at 09:35, Andrew Davis wrote: From: "Andrew F. Davis" Print statements in SPL depend on lib/common support, due to this many such print statements are ifdef'd. Instead of checking at each call site move the check to the c

Re: DWC3 host support

2022-07-17 Thread Marek Vasut
On 7/17/22 05:00, Angus Ainslie wrote: On 2022-07-16 11:37, Marek Vasut wrote: On 7/16/22 15:02, Angus Ainslie wrote: Hi Michal, I recently rebased my librem5 tree onto the latest u-boot-imx branch and the dwc3 host mode stopped working. I bisected it down to this commit: 142d50fbce7c364a7

Re: [EXT] [PATCH] doc: imx: habv4: Add Secure Boot guide for i.MX8M SPL targets

2022-07-17 Thread Marek Vasut
On 7/13/22 00:57, Utkarsh Gupta wrote: Hi Marek, The Secure/Encrypted boot guides for 8M exist in NXP BSP at https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx?h=lf_v2022 .04. Looks like they need to be up streamed. @Peng Fan/@Ye Li - FYI Regards, Utkarsh G. -Original Messa

[PATCH 1/1] gitdm: fix typo csets

2022-07-17 Thread Heinrich Schuchardt
The output should be human readable. %s/csets/changesets/ Signed-off-by: Heinrich Schuchardt --- gitdm | 2 +- tests/expected-results.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitdm b/gitdm index 61318ad..aea16b0 100755 --- a/gitdm +++ b/git

[PATCH 1/1] gitdm: fix typo csets

2022-07-17 Thread Heinrich Schuchardt
The output should be human readable. %s/csets/changesets/ Signed-off-by: Heinrich Schuchardt --- gitdm | 2 +- tests/expected-results.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitdm b/gitdm index 61318ad..aea16b0 100755 --- a/gitdm +++ b/git

[PATCH v2 1/1] gitdm: fix typo csets

2022-07-17 Thread Heinrich Schuchardt
The output should be human readable. %s/csets/changesets/ Signed-off-by: Heinrich Schuchardt --- v2: avoid typo in test --- gitdm | 2 +- tests/expected-results.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitdm b/gitdm index 61318ad..a

[PATCH v2 1/1] gitdm: fix typo csets

2022-07-17 Thread Heinrich Schuchardt
The output should be human readable. %s/csets/changesets/ Signed-off-by: Heinrich Schuchardt --- v2: avoid typo in test --- gitdm | 2 +- tests/expected-results.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitdm b/gitdm index 61318ad..a

[PATCH] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2 boards

2022-07-17 Thread Michael Trimarchi
Introduce BSH SystemMaster (SMM) M2 board family, which consists of: imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards. Add support for imx6ulz BSH SMM M2 board: - 128 MiB DDR3 RAM - 256MiB Nand - USBOTG1 peripheral - fastboot. Signed-off-by: Michael Trimarchi --- Changes V1->V2: - Adjust bo

Re: [PATCH v7 01/13] dt/bindings: Add bindings for FWU Metadata storage device

2022-07-17 Thread Sughosh Ganu
On Sun, 17 Jul 2022 at 02:43, Jassi Brar wrote: > > On Thu, 14 Jul 2022 at 13:39, 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 meta

Re: [PATCH v7 12/13] mkeficapsule: Add support for setting OEM flags in capsule header

2022-07-17 Thread Sughosh Ganu
hi Ilias, On Fri, 15 Jul 2022 at 22:11, Ilias Apalodimas wrote: > > Hi Sughosh, > > On Thu, 14 Jul 2022 at 21:40, Sughosh Ganu wrote: > > > > Add support for setting OEM flags in the capsule header. As per the > > UEFI specification, bits 0-15 of the flags member of the capsule > > header can be

[PATCH v9 0/1] Add octal DTR support for Macronix flash

2022-07-17 Thread JaimeLiao
This series add support for Macronix octal DTR flash, add flag for Softreset with "INVERT" command extension type on boot and follow linux kernel to enable 4byte opcode when possible. v9: Follow version 2022-07 and re-send patch of "add support for Macronix Octal flash" v8: Correct spi nor f

[PATCH v9 1/1] mtd: spi-nor-core: Add support for Macronix Octal flash

2022-07-17 Thread JaimeLiao
Adding Macronix Octal flash for Octal DTR support. The octaflash series can be divided into the following types: MX25 series : Serial NOR Flash. MX66 series : Serial NOR Flash with stacked die.(Size larger than 1Gb) LM/UM series : Up to 250MHz clock frequency with both DTR/STR operation. LW/UW se