Re: Help wanted: Adding OpenSSL in FSL HAB

2021-07-20 Thread Jojan
Which architecture ?There is a hab.c in ./arch/arm/mach-imx/hab.c It is added based on the CONFIG_IMX_HAB. You cab add your configs ( arch/configs) and port it to your custom configuration. On Monday, July 19, 2021, 7:38:28 AM PDT, Daniel D wrote: Hi, I would like to compile

Re: [PATCH] arm: bootm: Disable LMB reservation for command line and board info on arm64

2021-07-20 Thread Jan Kiszka
On 29.05.21 13:34, Marek Vasut wrote: > On arm64, board info is not applicable and kernel command line patched into > the DT, so the LMB reservation here makes no sense anymore. On legacy arm32, > this might still be necessary on systems which do not use DT or use legacy > ATAGS. Disable this LMB

Re: [PATCH] MAINTAINERS: correct the path of UEFI docs

2021-07-20 Thread Heinrich Schuchardt
On 7/20/21 9:09 AM, AKASHI Takahiro wrote: Change the path from doc/uefi to doc/develop/uefi. Fixes: commit d1ceeeff6c2e ("doc: Move UEFI under develop/") Signed-off-by: AKASHI Takahiro --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS

[PATCH v2] dts: Makefile: add support to build dedicated devicetree

2021-07-20 Thread Kory Maincent
The devicetree described by the DEVICE_TREE variable was not build. It was only use to test if it has been built then, happen the right devicetree to U-boot binary. This patch add support to build the devicetree describe by the DEVICE_TREE variable. This avoid adding the devicetree declaration to

RE: [PATCH 3/6] net: dsa: refactor the code to set the port MAC address into a dedicated function

2021-07-20 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Vladimir Oltean >Sent: Tuesday, June 29, 2021 10:39 PM >To: Joe Hershberger ; Ramon Fried >; u-boot@lists.denx.de >Cc: Claudiu Manoil ; Bin Meng >; Alexandru Marginean >; Michael Walle ; >thar...@gateworks.com; Vladimir Oltean >Subject:

Re: [PATCH v2 5/5] configs: am335x_evm: Fix BeagleBone Green DTB selection

2021-07-20 Thread Paul Barker
On Tue, 13 Jul 2021 11:59:06 +0530 Lokesh Vutla wrote: > On 13/07/21 1:44 am, Paul Barker wrote: > > The function board_is_bone_lt() returns true for the BeagleBone Green, > > the BeagleBone Enhanced and the BeagleBone Black. Therefore when > > selecting which devicetree to use we must ensure

Re: [PATCH] patman: Handle PAGER containing arguments

2021-07-20 Thread Paul Barker
On Sat, 26 Jun 2021 12:31:41 -0600 Simon Glass wrote: > Hi Paul, > > On Tue, 15 Jun 2021 at 04:26, Paul Barker wrote: > > > > When printing full help output from patman, we should be able to handle > > a PAGER variable which includes arguments, e.g. PAGER='less -F'. > > > > Signed-off-by: Paul

RE: [PATCH] armv8: fsl : create bootcmd and mcinitcmd as per boot source

2021-07-20 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Priyanka Jain >Sent: Monday, July 12, 2021 1:37 PM >To: Wasim Khan (OSS) ; Varun Sethi >; Bedel, Alban >Cc: u-boot@lists.denx.de; Wasim Khan >Subject: RE: [PATCH] armv8: fsl : create bootcmd and mcinitcmd as per boot >source > > >

Re: [PATCH] MAINTAINERS: correct the path of UEFI docs

2021-07-20 Thread AKASHI Takahiro
On Tue, Jul 20, 2021 at 11:34:15AM +0200, Heinrich Schuchardt wrote: > > On 7/20/21 9:09 AM, AKASHI Takahiro wrote: > > Change the path from doc/uefi to doc/develop/uefi. > > > > Fixes: commit d1ceeeff6c2e ("doc: Move UEFI under develop/") > > Signed-off-by: AKASHI Takahiro > > --- > >

U-boot hanging when I give mmc access commands

2021-07-20 Thread Muhammed Irshad
Hi, I loaded new u-boot to my raspberry pi 4. I followed the instructions from the below link. https://elinux.org/RPi_U-Boot I successfully booted to uboot console.. When i give commands that access mmc like fatload 0:1, fatls mmc 0:1, there is no further response. Its stuck their. I have ti

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

2021-07-20 Thread Vincent Chen
Just a gentle ping. If this patchset has any problems, please let me know. I am willing to modify it. Thank you. On Thu, Jul 8, 2021 at 9:08 AM Vincent Chen wrote: > > In SiFive unmatched board, the reset of the USB hub, PCIe-USB bridge, and > ULPI rely on the power-cycling. However, sometimes

Re: [PATCH v3 0/5] Add SIMATIC IOT2050 board support

2021-07-20 Thread Jan Kiszka
On 15.07.21 08:35, Lokesh Vutla wrote: > Hi Jan, > > On 14/07/21 3:09 pm, Jan Kiszka wrote: >> On 14.07.21 11:29, Lokesh Vutla wrote: >>> Hi Jan, >>> >>> On 12/06/21 1:12 am, Jan Kiszka wrote: This is the baseline support for the SIMATIC IOT2050 devices. Changes in v3: -

Re: [PATCH 1/3 v2] efi_capsule: Move signature from DTB to .rodata

2021-07-20 Thread Simon Glass
Hi Ilias, On Sat, 17 Jul 2021 at 08:27, Ilias Apalodimas wrote: > > The capsule signature is now part of our DTB. This is problematic when a > user is allowed to change/fixup that DTB from U-Boots command line since he > can overwrite the signature as well. Just to repeat my question since it

Re: [PATCH] lib: rsa: rsa-sign: Minor bug in debug message

2021-07-20 Thread Simon Glass
On Mon, 19 Jul 2021 at 10:18, Chan, Donald wrote: > > *sig_size isn't set until later so use the correct variables. > > Signed-off-by: Donald Chan > --- > lib/rsa/rsa-sign.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass

[PATCH 14/15] RFC: lib: Use 0o prefix for octal

2021-07-20 Thread Simon Glass
At present if no expected base is provided, a 0 prefix indicates that the value is octal, so that 077 is interpreted as octal 77 (hex 3f). If hex is expected, this is interpreted as hex 77 (hex 4d). This is a little confusing. Since octal is so rarely used, it seems reasonable to use a special

[PATCH 12/15] lib: Support a decimal prefix 0m

2021-07-20 Thread Simon Glass
U-Boot mostly uses hex for value input, largely because addresses are much easier to understand in hex. However sometimes it is useful to be able to supply a decimal value when a hex value is expected. Add this functionality, for increased flexibility. Signed-off-by: Simon Glass ---

[PATCH 15/15] RFC: Change simple_strtoul() et al to default to hex

2021-07-20 Thread Simon Glass
Most U-Boot commands use hex for numeric values. However there are quite a few places where a base of '0' is given, meaning to use the default. At present the default input base is actually decimal, which seems confusing. Change this to hex. NOTE: This is a breaking change, for discussion only.

[PATCH 11/15] lib: Allow using 0x when a decimal value is requested

2021-07-20 Thread Simon Glass
U-Boot mostly uses hex for value input, largely because addresses are much easier to understand in hex. But in some cases a decimal value is requested, such as where the value is small or hex does not make sense in the context. In these cases it is sometimes useful to be able to provide a hex

[PATCH 13/15] RFC: lib: Support a binary prefix 0y

2021-07-20 Thread Simon Glass
In some cases it is useful to be able to supply a binary value to a command. Use the '0y' prefix for this (binarY). Signed-off-by: Simon Glass --- doc/usage/cmdline.rst | 6 ++ lib/strto.c | 3 +++ test/str_ut.c | 8 3 files changed, 17 insertions(+) diff --git

Re: [RFC 1/1] board: sifive: unmatched: use zero copy for initrd

2021-07-20 Thread Tom Rini
On Tue, Jul 20, 2021 at 04:46:23PM +0300, David Abdurachmanov wrote: > On Tue, Jul 20, 2021 at 1:06 AM Tom Rini wrote: > > > > On Mon, Jul 19, 2021 at 11:52:09PM +0200, Heinrich Schuchardt wrote: > > > > > > > > > On 19.07.21 23:38, Heinrich Schuchardt wrote: > > > > Booting Ubuntu Impish showed

Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Tom Rini
On Tue, Jul 20, 2021 at 07:29:24AM -0600, Simon Glass wrote: > U-Boot mostly uses hex for value input, largely because addresses are much > easier to understand in hex. > > But in some cases a hex value is requested, but it is more convenient to > provide a decimal value. This may be because the

[PATCH 03/15] global: Convert simple_strtoul() with decimal to dectoul()

2021-07-20 Thread Simon Glass
It is a pain to have to specify the value 10 in each call. Add a new dectoul() function and update the code to use it. Signed-off-by: Simon Glass --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +- arch/arm/mach-imx/cmd_dek.c | 2 +- arch/arm/mach-imx/cmd_mfgprot.c

[PATCH 10/15] doc: Add a note about number representation

2021-07-20 Thread Simon Glass
Mention the default base of U-Boot in the command-line section. Add examples for decimal and octal. Signed-off-by: Simon Glass --- doc/usage/cmdline.rst | 31 +++ 1 file changed, 31 insertions(+) diff --git a/doc/usage/cmdline.rst b/doc/usage/cmdline.rst index

[PATCH 08/15] lib: Move common digit-parsing code into a function

2021-07-20 Thread Simon Glass
The code to convert a character into a digit is repeated twice in this file. Factor it out into a separate function. This also makes the code a little easier to read. Signed-off-by: Simon Glass --- lib/strto.c | 31 --- 1 file changed, 24 insertions(+), 7

[PATCH 09/15] doc: Convert command-line info to rST

2021-07-20 Thread Simon Glass
Take this part of the README and put it into rST format. Signed-off-by: Simon Glass --- README| 41 doc/usage/cmdline.rst | 54 +++ doc/usage/index.rst | 1 + 3 files changed, 55 insertions(+), 41

[PATCH 07/15] lib: Add octal tests for simple_strtoul/l()

2021-07-20 Thread Simon Glass
This function support decoding octal but no tests are included yet. Add some. Signed-off-by: Simon Glass --- test/str_ut.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/test/str_ut.c b/test/str_ut.c index 880cc928ec8..0d1bf398099 100644 --- a/test/str_ut.c +++ b/test/str_ut.c

Re: [PATCH] mmc: sdhci: Write to HOST_CONTROL2 register for HS400 speed mode

2021-07-20 Thread Tom Rini
On Tue, Jul 20, 2021 at 09:40:22AM +0530, Lokesh Vutla wrote: > +Tom > > On 20/07/21 3:45 am, Jaehoon Chung wrote: > > Hi Aswath, > > > > On 7/19/21 3:48 PM, Aswath Govindraju wrote: > >> Hi Peng, > >> > >> On 09/06/21 8:56 pm, Aswath Govindraju wrote: > >>> Hi Peng, > >>> > >>> On 10/05/21 7:18

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-07-20 Thread Jan Kiszka
On 14.07.21 16:15, Simon Glass wrote: > Hi Jan, > > On Wed, 14 Jul 2021 at 03:53, Jan Kiszka wrote: >> >> On 05.07.21 17:29, Simon Glass wrote: >>> Hi Jan, >>> >>> On Sun, 27 Jun 2021 at 23:40, Jan Kiszka wrote: On 27.06.21 20:18, Simon Glass wrote: > Hi Jan, > > On Sun,

Re: [PATCH 1/3 v2] efi_capsule: Move signature from DTB to .rodata

2021-07-20 Thread Ilias Apalodimas
Hi Simon, On Tue, 20 Jul 2021 at 15:33, Simon Glass wrote: > > Hi Ilias, > > On Sat, 17 Jul 2021 at 08:27, Ilias Apalodimas > wrote: > > > > The capsule signature is now part of our DTB. This is problematic when a > > user is allowed to change/fixup that DTB from U-Boots command line since he >

[PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Simon Glass
U-Boot mostly uses hex for value input, largely because addresses are much easier to understand in hex. But in some cases a hex value is requested, but it is more convenient to provide a decimal value. This may be because the value comes from another source, where its base cannot be controlled.

[PATCH 06/15] lib: Add tests for simple_strtoull()

2021-07-20 Thread Simon Glass
Add some tests that check the behaviour of this function. These are the same as for simple_strtoul() but with a few longer values. Signed-off-by: Simon Glass --- test/str_ut.c | 61 +++ 1 file changed, 61 insertions(+) diff --git a/test/str_ut.c

[PATCH 04/15] lib: Comment the base parameter with simple_strtoul/l()

2021-07-20 Thread Simon Glass
This parameter is not documented properly since it does not cover the meaning when the base is 0. Update this in both functions. Signed-off-by: Simon Glass --- include/vsprintf.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/vsprintf.h

[PATCH 05/15] lib: Drop unnecessary check for hex digit

2021-07-20 Thread Simon Glass
If we see 0x then we can assume this is the start of a hex value. It does not seem necessary to check for a hex digit after that since it will happen when parsing the value anyway. Drop this check to simplify the code and reduce size. Add a few more test cases for when a 0x prefix is used.

[PATCH 01/15] hash: Ensure verification hex pairs are terminated

2021-07-20 Thread Simon Glass
This function seems to assume that the chr[] variable contains zeros at the start, which is not always true. Use strlcpy() to be safe. Signed-off-by: Simon Glass --- common/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hash.c b/common/hash.c index

Re: [PATCH 1/3 v2] efi_capsule: Move signature from DTB to .rodata

2021-07-20 Thread Sughosh Ganu
hi Simon, On Tue, 20 Jul 2021 at 18:20, Ilias Apalodimas wrote: > Hi Simon, > On Tue, 20 Jul 2021 at 15:33, Simon Glass wrote: > > > > Hi Ilias, > > > > On Sat, 17 Jul 2021 at 08:27, Ilias Apalodimas > > wrote: > > > > > > The capsule signature is now part of our DTB. This is problematic >

Re: U-Boot contributor call 20th July

2021-07-20 Thread Simon Glass
Hi, On Thu, 1 Jul 2021 at 15:52, Simon Glass wrote: > > Hi, > > Next week's call is cancelled due to the US holiday. > > The next one is two weeks later (20th July) and I propose we discuss > of-platdata, i.e. how to avoid the overhead of devicetree in SPL. As > always these calls are open to

Re: [RFC 1/1] board: sifive: unmatched: use zero copy for initrd

2021-07-20 Thread David Abdurachmanov
On Tue, Jul 20, 2021 at 1:06 AM Tom Rini wrote: > > On Mon, Jul 19, 2021 at 11:52:09PM +0200, Heinrich Schuchardt wrote: > > > > > > On 19.07.21 23:38, Heinrich Schuchardt wrote: > > > Booting Ubuntu Impish showed the following output: > > > > > > relocaddr = 0xfff6 > > > > > >

[PATCH v3 1/2] imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL boards (N63xx/N64xx)

2021-07-20 Thread sbabic
> From: Frieder Schrempf > This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by > Kontron Electronics GmbH. > Currently there are the following SoM flavors (SoM-Line): > * N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND > * N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI

[Patch V3 37/44] imx8ulp: soc: correct reset cause

2021-07-20 Thread sbabic
> From: Peng Fan > The CMC1 SRS reflects the current reset cause, not SSRS. > Then you could get "Reset cause: WARM-WDG" when issue reset in U-Boot. > Reviewed-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[Patch V3 27/44] arm: imx8ulp: add rdc support

2021-07-20 Thread sbabic
> From: Peng Fan > There is xrdc inside i.MX8ULP, we need to configure permission to make > sure AP non-secure world could access the resources. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[Patch V3 22/44] drivers: misc: s400_api: Update S400_SUCCESS_IND to 0xd6

2021-07-20 Thread sbabic
> From: Ye Li > According to latest S400 API doc, the the success indicate value is > changed to 0xd6. So update the driver codes. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[Patch V3 13/44] net: fec_mxc: support i.MX8ULP

2021-07-20 Thread sbabic
> From: Peng Fan > Support i.MX8ULP in fec_mxc > Signed-off-by: Peng Fan > Reviewed-by: Ramon Fried Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[Patch V3 44/44] arm: imx: add i.MX8ULP EVK support

2021-07-20 Thread sbabic
> From: Peng Fan > Add i.MX8ULP EVK basic support, support SD/I2C/ENET/LPUART > Log as below: I would keep some debug info for now, and after we move > to be stable and production launch, we could drop that. > U-Boot SPL 2021.07-rc4-00164-gb800e19a6b (Jun 29 2021 - 10:23:30 +0800) > Normal Boot >

[Patch V3 43/44] arm: dts: add i.MX8ULP dtsi

2021-07-20 Thread sbabic
> From: Peng Fan > Add i.MX8ULP dtsi > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich,

[Patch V3 29/44] arm: imx8ulp: release trdc and assign lpav from RTD to APD

2021-07-20 Thread sbabic
> From: Peng Fan > Rlease LPAV from RTD to APD > Release gpu2D/3D to APD > Set TRDC MBC2 MEM1 for iomuxc0 access > Since upower depends AP/M33 SW to configure IOMUX for its PMIC i2c > and MODE pins. we have to open iomuxc0 access for A35 core (domain 7) > in single boot. > Signed-off-by: Peng Fan

[Patch V3 39/44] imx8ulp: Add workaround for eMMC boot

2021-07-20 Thread sbabic
> From: Ye Li > When booting from boot part1/2, the image offset should be 0, but > ROM has a bug to return 0x8000. Has to workaround the issue before > ROM fix it. > Use a ROM function to know boot from emmc boot part or user part > So we can set the image offset accordingly. > Signed-off-by: Ye

[Patch V3 03/44] arm: imx: sys_proto: move boot mode define to common header

2021-07-20 Thread sbabic
> From: Peng Fan > These defines could be reused by i.MX8ULP, so move them > to common header. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

Re: [RFC 1/1] board: sifive: unmatched: use zero copy for initrd

2021-07-20 Thread Heinrich Schuchardt
On 7/20/21 4:06 PM, Tom Rini wrote: On Tue, Jul 20, 2021 at 04:46:23PM +0300, David Abdurachmanov wrote: On Tue, Jul 20, 2021 at 1:06 AM Tom Rini wrote: On Mon, Jul 19, 2021 at 11:52:09PM +0200, Heinrich Schuchardt wrote: On 19.07.21 23:38, Heinrich Schuchardt wrote: Booting Ubuntu

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-07-20 Thread Jan Kiszka
On 20.07.21 14:57, Jan Kiszka wrote: > On 14.07.21 16:15, Simon Glass wrote: >> Hi Jan, >> >> On Wed, 14 Jul 2021 at 03:53, Jan Kiszka wrote: >>> >>> On 05.07.21 17:29, Simon Glass wrote: Hi Jan, On Sun, 27 Jun 2021 at 23:40, Jan Kiszka wrote: > > On 27.06.21 20:18, Simon

[Patch V3 20/44] arm: imx8ulp: disable wdog3

2021-07-20 Thread sbabic
> From: Peng Fan > Disable wdog3 which is configured by ROM > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang

Re: [RFC 1/1] board: sifive: unmatched: use zero copy for initrd

2021-07-20 Thread Tom Rini
On Tue, Jul 20, 2021 at 04:50:57PM +0200, Heinrich Schuchardt wrote: > > > On 7/20/21 4:06 PM, Tom Rini wrote: > > On Tue, Jul 20, 2021 at 04:46:23PM +0300, David Abdurachmanov wrote: > > > On Tue, Jul 20, 2021 at 1:06 AM Tom Rini wrote: > > > > > > > > On Mon, Jul 19, 2021 at 11:52:09PM

[Patch V3 11/44] arm: imx: move container Kconfig under mach-imx

2021-07-20 Thread sbabic
> From: Peng Fan > Since i.MX8 and i.MX8ULP reuse common container, so move the Kconfig > public to both. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[Patch V3 16/44] arm: imx8ulp: add clock support

2021-07-20 Thread sbabic
> From: Peng Fan > Add i.MX8ULP clock support > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235

[PATCH v3 2/2] imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x)

2021-07-20 Thread sbabic
> From: Frieder Schrempf > The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM > module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC. > The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, > HDMI/LVDS, > SD card, CAN, RS485 and much

[Patch V3 28/44] arm: imx8ulp: add trdc release request

2021-07-20 Thread sbabic
> From: Peng Fan > Add TRDC release request, then we could configure resources to be > accessible by A35 Domain. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[Patch V3 19/44] arm: imx8ulp: Enable full L2 cache in SPL

2021-07-20 Thread sbabic
> From: Ye Li > SRAM2 is half L2 cache and default to SRAM after system boot. > To enable the full l2 cache (512KB), it needs to reset A35 to make > the change happen. > So re-implement the jump entry function in SPL: > 1. configure the core0 reset vector to entry (ATF) > 2. enable the L2 full

[Patch V3 12/44] driver: misc: Add MU and S400 API to communicate with Sentinel

2021-07-20 Thread sbabic
> From: Ye Li > Add MU driver and S400 API. Need enable MISC driver to work > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[Patch V3 18/44] arm: imx8ulp: soc: Change to use CMC1 to get bootcfg

2021-07-20 Thread sbabic
> From: Ye Li > CMC1 also has a MR register for bootcfg > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB

Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Tom Rini
On Tue, Jul 20, 2021 at 10:00:13AM -0500, Jonathan A. Kollasch wrote: > On Tue, Jul 20, 2021 at 07:29:24AM -0600, Simon Glass wrote: > > U-Boot mostly uses hex for value input, largely because addresses are much > > easier to understand in hex. > > > > But in some cases a hex value is requested,

Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Jonathan A. Kollasch
On Tue, Jul 20, 2021 at 07:29:24AM -0600, Simon Glass wrote: > U-Boot mostly uses hex for value input, largely because addresses are much > easier to understand in hex. > > But in some cases a hex value is requested, but it is more convenient to > provide a decimal value. This may be because the

[Patch V3 36/44] driver: misc: imx8ulp: Add fuse driver for imx8ulp

2021-07-20 Thread sbabic
> From: Ye Li > This driver uses FSB to read some fuses, but not support program fuse. > It only works in SPL (secure mode), u-boot needs traps to ATF to > read them. > Some fuses can read from S400 API and others are from FSB. > Also support program some fuses via S400 API > Signed-off-by: Ye Li

[Patch V3 21/44] arm: imx8ulp: Update the reset vector in u-boot

2021-07-20 Thread sbabic
> From: Ye Li > Because we have set reset vector to ATF in SPL, have to set it back > to ROM for any reset in u-boot > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[Patch V3 40/44] imx8ulp: move struct mu_type to common header

2021-07-20 Thread sbabic
> From: Peng Fan > Move struct mu_type to common header to make it reusable by upower and > S400 > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[Patch V3 07/44] arm: imx8: Move container parser and image to mach-imx common folder

2021-07-20 Thread sbabic
> From: Ye Li > Since we will re-use the container parser on imx8ulp, move the codes > to mach-imx > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[Patch V3 17/44] drivers: mmc: fsl_esdhc_imx: support i.MX8ULP

2021-07-20 Thread sbabic
> From: Peng Fan > i.MX8ULP reuse same SDHC IP as i.MX8M, so follow i.MX8M code logic. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[Patch V3 35/44] arm: imx8ulp: add iomuxc support

2021-07-20 Thread sbabic
> From: Peng Fan > Add i.MX8ULP iomuxc support > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB

[Patch V3 41/44] imx8ulp: add upower api support

2021-07-20 Thread sbabic
> From: Peng Fan > Add upower api support, this is modified from upower firmware exported > package. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

Re: [Uboot-stm32] [PATCH v2 2/5] arm: stm32mp: handle the OP-TEE nodes in DT with FIP support

2021-07-20 Thread Patrick DELAUNAY
Hi Ahmad On 7/15/21 7:11 PM, Ahmad Fatoum wrote: Hello Patrick, On 15.07.21 17:22, Patrick Delaunay wrote: With FIP support in TF-A (when CONFIG_STM32MP15x_STM32IMAGE is not activated), the DT nodes needed by OP-TEE are added by OP-TEE firmware in U-Boot device tree, present in FIP. What

[Patch V3 09/44] arm: imx: parse-container: guard included header files

2021-07-20 Thread sbabic
> From: Peng Fan > Guard included sci.h with CONFIG_AHAB_BOOT to avoid build failure > for i.MX8ULP > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[Patch V3 26/44] arm: imx8ulp: release and configure XRDC at early phase

2021-07-20 Thread sbabic
> From: Ye Li > Since S400 will set the memory of SPL image to R/X. We can't write > to any data in SPL image. > 1. Set the parameters save/restore only for u-boot, not for SPL. to >avoid write data. > 2. Not use MU DM driver but directly call MU API to send release XRDC >to S400 at early

[Patch V3 34/44] arm: imx8ulp: add dummy imx_get_mac_from_fuse

2021-07-20 Thread sbabic
> From: Peng Fan > Add imx_get_mac_from_fuse for enet build pass > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director:

[Patch V3 06/44] arm: imx: basic i.MX8ULP support

2021-07-20 Thread sbabic
> From: Peng Fan > Add basic i.MX8ULP support > For the MMU part, Using a simple way the calculate the MMU size to avoid > default heavy calcaulation. And align address and size in the table > settings to 2MB or 4GB as much as possible. So we can reduce the 4K page > allocations in MMU table

Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Tom Rini
On Tue, Jul 20, 2021 at 09:57:55AM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 20 Jul 2021 at 08:22, Tom Rini wrote: > > > > On Tue, Jul 20, 2021 at 07:29:24AM -0600, Simon Glass wrote: > > > > > U-Boot mostly uses hex for value input, largely because addresses are much > > > easier to

Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Eugeniu Rosca
On Tue, Jul 20, 2021 at 12:05:47PM -0400, Tom Rini wrote: > On Tue, Jul 20, 2021 at 09:57:55AM -0600, Simon Glass wrote: [..] > > Can you give examples for what you are thinking for radix notation? > > Well, since we don't have subscript in shell, '(number)base' would how > it would be. Which

Re: [PATCH v2 4/5] watchdog: rti_wdt: Add support for loading firmware

2021-07-20 Thread Simon Glass
Hi Jan, On Tue, 20 Jul 2021 at 06:58, Jan Kiszka wrote: > > On 14.07.21 16:15, Simon Glass wrote: > > Hi Jan, > > > > On Wed, 14 Jul 2021 at 03:53, Jan Kiszka wrote: > >> > >> On 05.07.21 17:29, Simon Glass wrote: > >>> Hi Jan, > >>> > >>> On Sun, 27 Jun 2021 at 23:40, Jan Kiszka wrote: >

Re: [PATCH] common: board_r: print error if binman_init fails

2021-07-20 Thread Simon Glass
Hi Tim, On Fri, 16 Jul 2021 at 16:44, Tim Harvey wrote: > > Display an error if binman_init fails. > > Signed-off-by: Tim Harvey > --- > common/board_r.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/common/board_r.c b/common/board_r.c > index

Re: [PATCH 1/3 v2] efi_capsule: Move signature from DTB to .rodata

2021-07-20 Thread Simon Glass
Hi Sughosh, On Tue, 20 Jul 2021 at 07:32, Sughosh Ganu wrote: > > hi Simon, > > On Tue, 20 Jul 2021 at 18:20, Ilias Apalodimas > wrote: >> >> Hi Simon, >> On Tue, 20 Jul 2021 at 15:33, Simon Glass wrote: >> > >> > Hi Ilias, >> > >> > On Sat, 17 Jul 2021 at 08:27, Ilias Apalodimas >> > wrote:

[Patch V3 32/44] arm: iMX8ULP: Add boot device relevant functions

2021-07-20 Thread sbabic
> From: Ye Li > Read from ROM API to get current boot device. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[Patch V3 25/44] drivers: misc: s400_api: Update API for fuse read and write

2021-07-20 Thread sbabic
> From: Ye Li > Add API to support fuse read and write > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB

[Patch V3 38/44] imx8ulp: Use DGO_GP5 to get boot config

2021-07-20 Thread sbabic
> From: Ye Li > Since CMC1 MR0 only reflects high 16 bits boot cfg used for AP domian, > it does not connect to low 16 bits for RTD. So we can't get the correct > boot mode. > Change to use DGO_GP5 of SEC_SIM which is set by ROM. > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks !

[Patch V3 08/44] arm: imx8: Move container image header file to mach-imx

2021-07-20 Thread sbabic
> From: Ye Li > Since the container is shared among i.MX platforms, move its header file > to mach-imx > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[Patch V3 10/44] arm: imx8ulp: add container support

2021-07-20 Thread sbabic
> From: Ye Li > i.MX8ULP support using ROM API to load container image, > it use same ROM API as i.MX8MN/MP, and use same container format > as i.MX8QM/QXP. > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Re: [PATCH 00/15] lib: Add support for a decimal 0m prefix for numbers

2021-07-20 Thread Simon Glass
Hi Tom, On Tue, 20 Jul 2021 at 08:22, Tom Rini wrote: > > On Tue, Jul 20, 2021 at 07:29:24AM -0600, Simon Glass wrote: > > > U-Boot mostly uses hex for value input, largely because addresses are much > > easier to understand in hex. > > > > But in some cases a hex value is requested, but it is

[Patch V3 42/44] ddr: Add DDR driver for iMX8ULP

2021-07-20 Thread sbabic
> From: Ye Li > Add iMX8ULP DDR initialization driver which loads the DDR timing > parameters and executes the training procedure. > When enabling IMX8ULP_DRAM_PHY_PLL_BYPASS, using PHY PLL bypass mode > to do DDR init > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards,

[Patch V3 02/44] arm: imx: add i.MX8ULP cpu type and helper

2021-07-20 Thread sbabic
> From: Peng Fan > Add i.MX8ULP cpu type and helpers. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk

[Patch V3 14/44] pinctrl: Add pinctrl driver for imx8ulp

2021-07-20 Thread sbabic
> From: Ye Li > Add pinctrl driver for i.MX8ULP > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[Patch V3 23/44] drivers: misc: imx8ulp: Add S400 API for image authentication

2021-07-20 Thread sbabic
> From: Ye Li > Add S400 API for image authentication > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[Patch V3 33/44] arm: imx8ulp: Allocate DCNANO and MIPI_DSI to AD domain

2021-07-20 Thread sbabic
> From: Ye Li > Configure DCNANO and MIPI_DSI to be controlled by AD for single boot > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[Patch V3 30/44] imx8ulp: unify rdc functions

2021-07-20 Thread sbabic
> From: Peng Fan > Unify rdc function to rdc.c > Update soc.c to use new rdc function > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[Patch V3 31/44] arm: imx8ulp: Probe the S400 MU device in arch init

2021-07-20 Thread sbabic
> From: Ye Li > Need probe the S400 MU device in arch_cpu_init_dm, so we can use > S400 API in u-boot > Signed-off-by: Ye Li > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[Patch V3 01/44] arm: imx: add i.MX8ULP basic Kconfig option

2021-07-20 Thread sbabic
> From: Peng Fan > Add i.MX8ULP related basic Kconfig option, which will be used later. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[Patch V3 04/44] arm: imx8ulp: support print cpu info

2021-07-20 Thread sbabic
> From: Peng Fan > Support print cpu info. the clock function has not been added, it will > be added in following patches. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[Patch V3 24/44] drivers: misc: imx8ulp: Update S400 API for release RDC

2021-07-20 Thread sbabic
> From: Ye Li > The RDC API is updated to add a field for XRDC or TRDC > Signed-off-by: Ye Li Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director:

[Patch V3 15/44] driver: serial: fsl_lpuart: support i.MX8ULP

2021-07-20 Thread sbabic
> From: Peng Fan > i.MX8ULP lpuart has same register layout as i.MX7ULP and i.MX8 > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[Patch V3 05/44] imx: imx8ulp: add get reset cause

2021-07-20 Thread sbabic
> From: Peng Fan > Add get reset cause function to show what triggerred reset. > Signed-off-by: Peng Fan Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

Pull request: u-boot-imx u-boot-imx-20210720

2021-07-20 Thread Stefano Babic
-imx.git tags/u-boot-imx-20210720 for you to fetch changes up to bd8e26606db62a0434c7f09adfa6ec666b36985b: imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x) (2021-07-19 23:30:47 +0200) CI: https

Re: Pull request: u-boot-imx u-boot-imx-20210720

2021-07-20 Thread Tom Rini
7-17 11:39:50 > -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-20210720 > > for you to fetch changes up to bd8e26606db62a0434c7f09adfa6ec666b36985b: > > imx: imx8mm: Add support for Kontron Elec

Re: [PATCH RESEND u-boot-spi 5/8] mtd: spi-nor-core: Don't check for zero length in spi_nor_erase()

2021-07-20 Thread Simon Glass
On Wed, 14 Jul 2021 at 17:51, Marek Behún wrote: > > This check is already done in mtdcore's mtd_erase(), no reason to do > this here as well. > > Signed-off-by: Marek Behún > Tested-by: Masami Hiramatsu > --- > drivers/mtd/spi/spi-nor-core.c | 3 --- > 1 file changed, 3 deletions(-)

Re: [PATCH RESEND u-boot-spi 8/8] mtd: mtdpart: Make mtdpart's _erase method sane

2021-07-20 Thread Simon Glass
On Wed, 14 Jul 2021 at 17:51, Marek Behún wrote: > > The _erase() method of the mtdpart driver, part_erase(), currently > implements offset shifting (for given mtdpart partition) in a weird way: > 1. part_erase() adds partition offset to block address > 2. parent driver's _erase() method is

Re: [PATCH] command: Fix SMC and HVC maximum number of arguments

2021-07-20 Thread Simon Glass
On Wed, 14 Jul 2021 at 22:39, Siew Chin Lim wrote: > > smc and hvc commands take upto 8 user input arguments, the maximum > number of arguments of the U_BOOT_CMD macro should set to 9. > > Besides, fix the typo (arg7 -> arg6) in hvc command's help message. > > Signed-off-by: Siew Chin Lim > ---

  1   2   >