[PULL] u-boot-riscv/master

2021-10-20 Thread Leo Liang
Hi Tom, The following changes since commit fb1018106a7bbb1a0d723029f6760b1b1b4d306d: Merge branch '2021-10-19-assorted-changes' (2021-10-19 20:45:12 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch changes up to ddf

Re: [PATCH v2 15/16] clk: Detect failure to set defaults

2021-10-20 Thread Rasmus Villemoes
On 20/08/2021 20.18, Simon Glass wrote: > Hi Harm, > > On Wed, 18 Aug 2021 at 08:09, Harm Berntsen wrote: >> >> On Thu, 2021-05-13 at 19:39 -0600, Simon Glass wrote: >>> int clk_uclass_post_probe(struct udevice *dev) >>> { >>> + int ret; >>> + >>> /* >>> * when a clock pr

[PATCH v2 0/2] pxe_utils: Fix arguments to x86 zboot

2021-10-20 Thread Zhaofeng Li
Hi Simon, Thanks for your review! I have added a second patch to perform the cleanup that you mentioned in the review, so the actual "fix" patch stays minimal and easy to review. I agree that calling the bootm and zboot code directly is the real solution to go. The current method is inherently er

[PATCH v2 1/2] pxe_utils: Fix arguments to x86 zboot

2021-10-20 Thread Zhaofeng Li
bootm and zboot accept different arguments: > bootm [addr [arg ...]] >- boot application image stored in memory >passing arguments 'arg ...'; when booting a Linux kernel, >'arg' can be the address of an initrd image > zboot [addr] [size] [initrd addr] [initrd size] [setup] [cm

[PATCH v2 2/2] pxe_utils: Clean up {bootm,zboot}_argv generation

2021-10-20 Thread Zhaofeng Li
Signed-off-by: Zhaofeng Li Cc: Simon Glass Cc: Bin Meng --- cmd/pxe_utils.c | 45 +++-- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/cmd/pxe_utils.c b/cmd/pxe_utils.c index 78ebfdcc79..b79fcb6418 100644 --- a/cmd/pxe_utils.c +++ b/cmd/p

Re: [PATCH v4 1/4] tools: Separate image types which depend on OpenSSL

2021-10-20 Thread Pali Rohár
On Tuesday 19 October 2021 21:44:51 Samuel Holland wrote: > Some image types (kwbimage and mxsimage) always depend on OpenSSL, so > they can only be included in mkimage when TOOLS_LIBCRYPTO is selected. > Use Makefile logic to conditionally link the files. > > Signed-off-by: Samuel Holland NAK.

Re: [PATCH v4 05/11] tools: mkeficapsule: add firmwware image signing

2021-10-20 Thread Masami Hiramatsu
Hello Akashi-san, Can you split this patch out from this series? It seems that the series is doing several different things. This capsule signing has no alternatives, but others are modifying or replacing the current existing feature. In other words, this capsule signing feature has no alternative

Re: [PATCH v4 03/11] efi_loader: capsule: add back efi_get_public_key_data()

2021-10-20 Thread Masami Hiramatsu
Hi Simon, 2021年10月15日(金) 9:40 Simon Glass : > > Hi Takahiro, > > On Thu, 7 Oct 2021 at 00:25, AKASHI Takahiro > wrote: > > > > The commit 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB to > > .rodata"") failed to revert the removal of efi_get_public_key_data(). > > > > Add back this

Re: [PATCH v4 03/11] efi_loader: capsule: add back efi_get_public_key_data()

2021-10-20 Thread François Ozog
Le mer. 20 oct. 2021 à 10:18, Masami Hiramatsu a écrit : > Hi Simon, > > 2021年10月15日(金) 9:40 Simon Glass : > > > > Hi Takahiro, > > > > On Thu, 7 Oct 2021 at 00:25, AKASHI Takahiro > wrote: > > > > > > The commit 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB > to > > > .rodata"") f

[PATCH] imx: nandbcb: Fix printf format in write_fcb

2021-10-20 Thread Pali Rohár
Correct printf format for unsigned long long is %llx and not %llxx. Signed-off-by: Pali Rohár --- arch/arm/mach-imx/cmd_nandbcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/cmd_nandbcb.c b/arch/arm/mach-imx/cmd_nandbcb.c index 09622c13c980..646da0198660

Re: [PATCH] mtd: spi-nor-ids: Add SECT_4K to mt25qu512a

2021-10-20 Thread Kris Chaplin
Thank you Pratyush, I'm not a regular submitter so appreciate the feedback.  Looking at denx.de/wiki/U-Boot/Patches I saw: Tested-by: A Tested-by: tag indicates that the patch has been successfully tested (in some environment) by the person named. Andrew Morton: "I think it's very usef

Re: [PATCH] arm: a37xx: pci: Do not allow setting bars on PCI Bridge

2021-10-20 Thread Stefan Roese
On 12.10.21 13:19, Pali Rohár wrote: PCI Bridge which represents Aardvark PCIe Root Port does not have configurable bars. So ensure that write operation to bars registers on PCI Bridge is noop and bars registers always contain zero address which indicates that bars are unsupported. After this c

Re: [PATCH] arm: mvebu: Add missing "if SPL"

2021-10-20 Thread Stefan Roese
On 15.10.21 16:54, Tom Rini wrote: We can only select SPL_SKIP_LOWLEVEL_INIT if SPL is enabled, otherwise we get a warning about unmet dependencies on platforms that don't use SPL. Fixes: cf47a8cf8f7e ("arm: mvebu: Select SPL_SKIP_LOWLEVEL_INIT on ARMADA_32BIT") Cc: Stefan Roese Signed-off-by:

Re: [PATCH] doc: Remove obsolete README.440-DDR-performance file

2021-10-20 Thread Stefan Roese
On 19.10.21 09:25, Thomas Huth wrote: The PPC 440 support has been removed in commit 98f705c9ce ("powerpc: remove 4xx support") already, so this file is certainly not required anymore. Signed-off-by: Thomas Huth Reviewed-by: Stefan Roese Thanks, Stefan --- doc/README.440-DDR-performance

Re: [PATCH] arm: a37xx: pci: Fix condition for CRS response

2021-10-20 Thread Stefan Roese
On 19.10.21 11:05, Pali Rohár wrote: As stated in comment above the code, CRS response can be returned to OS only for 4-byte PCI_VENDOR_ID config read request. So fix the code. Fixes: 1d7ad68559e2 ("arm: a37xx: pci: Handle propagation of CRSSVE bit from PCIe Root Port") Signed-off-by: Pali Rohá

Re: buildman stops (crashed) on current master

2021-10-20 Thread Stefano Babic
On 20.10.21 05:42, Simon Glass wrote: Hi, On Tue, 19 Oct 2021 at 17:01, Tom Rini wrote: On Tue, Oct 19, 2021 at 04:59:15PM -0600, Simon Glass wrote: Hi Tom, On Tue, 19 Oct 2021 at 16:53, Tom Rini wrote: On Tue, Oct 19, 2021 at 05:39:12PM +0200, Stefano Babic wrote: Hi Simon, On 07.10.2

[PATCH] kontron-sl-mx8mm: fix missing configs and deadlock in CI

2021-10-20 Thread Stefano Babic
Even if board can be successfuly built, CI goes in deadlock (see thread on https://www.mail-archive.com/u-boot@lists.denx.de/msg419663.html). This is caused by SYS_CONFIG set in header file and because defconfig for the board is out of sync with Kconfig. As result, buildman goes on to read from std

[PATCH] imx8mm-cl-iot-gate-optee: align config with Kconfig

2021-10-20 Thread Stefano Babic
Due to missing configs, CI goes in deadlock until an OOM is tracked. Add CONFIG_SYS_LOAD_ADDR and replace CONFIG_SYS_EXTRA_OPTIONS with CONFIG_IMX_CONFIG. Signed-off-by: Stefano Babic CC: Ying-Chun Liu (PaulLiu)" CC: Fabio Estevam --- configs/imx8mm-cl-iot-gate-optee_defconfig | 3 ++- 1 file

Re: [PATCH] mtd: spi-nor-ids: Add SECT_4K to mt25qu512a

2021-10-20 Thread Pratyush Yadav
On 20/10/21 10:43AM, Kris Chaplin wrote: > Thank you Pratyush, > > I'm not a regular submitter so appreciate the feedback.  Looking at > denx.de/wiki/U-Boot/Patches I saw: > > Tested-by: >A Tested-by: tag indicates that the patch has been successfully >tested (in some environment) by the

[PATCH v3 0/1] arm: spl: prepare for jumping to OPTEE

2021-10-20 Thread Oleksandr Suvorov
This series introduces a weak and ARM-specific function to jump into OP-TEE from SPL. The ARM-specific function fixes a system halting when jumping to OP-TEE on some SoCs (the issue was found and fixed for iMX6Q). Changes in v3: - squashed the fix commit :) Changes in v2: - fix: building on evb

[PATCH v3 1/1] arm: spl: prepare for jumping to OPTEE

2021-10-20 Thread Oleksandr Suvorov
From: Ricardo Salveti Make sure to (if applicable) flush the D-cache, invalidate I-cache, and disable MMU and caches before jumping to OPTEE. This fixes the SDP->SPL->OPTEE boot flow on iMX6Q and most likely on some other ARM SoCs. Signed-off-by: Ricardo Salveti Co-developed-by: Oleksandr Suvor

Re: [SPECIFICATION RFC v3] The firmware and bootloader log specification

2021-10-20 Thread Alec Brown
On Sun, Sep 19, 2021 at 12:53:35AM +0200, Heinrich Schuchardt wrote: > > > Am 18. September 2021 18:04:13 MESZ schrieb Alec Brown > : > >Hi everyone, > > > >I've been working on improving the specification for the firmware and > >bootloader > >log that Daniel Kiper has proposed and take into

Re: [External] : Re: [SPECIFICATION RFC v3] The firmware and bootloader log specification

2021-10-20 Thread Alec Brown
On Tue, Sep 21, 2021 at 03:40:20PM +, Peter Stuge wrote: > Alec Brown wrote: > > Below is how the layout of these logs would store their data. > > > > bf_log_header: > >+---+ > > u32| version | > > u32| size | > >

Re: [PATCH] part: return -ENOSYS when get_info not valid.

2021-10-20 Thread schspa
在 2021-10-19星期二的 17:23 +0200,Heinrich Schuchardt写道: > On 10/19/21 15:35, zhaohui.shi wrote: > > From: schspa > > > > In some case, get_info() interface can be NULL, add this check to > > stop > > from crash. > > Thank you for reviewing the partition driver code. > > There seems to be no driver

Re: [PATCH] part: return -ENOSYS when get_info not valid.

2021-10-20 Thread schspa
在 2021-10-20星期三的 06:44 +0200,Heinrich Schuchardt写道: > > > On 10/20/21 04:37, schspa wrote: > > 在 2021-10-19星期二的 17:23 +0200,Heinrich Schuchardt写道: > > > On 10/19/21 15:35, zhaohui.shi wrote: > > > > From: schspa > > > > > > > > In some case, get_info() interface can be NULL, add this check to >

[PATCH v2] part: return -ENOSYS when get_info not valid.

2021-10-20 Thread schspa
In some case, get_info() interface can be NULL, add this check to stop from crash. Signed-off-by: schspa --- disk/part.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/disk/part.c b/disk/part.c index a6a8f7052b..f9b9b89861 100644 --- a/disk/part.c +++ b/disk/part.c @@ -668,6 +668,13

[PATCH 1/7] tools: imx8mimage: not abort when mmap fail

2021-10-20 Thread sbabic
> From: Peng Fan > When creating flash.bin, the hdmi firmware might not be > copied to U-Boot source tree. Then mkimage will fail. > However we are switching to binman, binman will show the > message if the file not there, and create empty file per > i.MX8MQ binman node. So we not fail mkimage her

[PATCH v2] board: ea: mx7ulp_com: move setting CONFIG_BOOTCOMMAND to defconfig

2021-10-20 Thread sbabic
> From: Ricardo Salveti > Move setting CONFIG_BOOTCOMMAND to the mx7ulp_com_defconfig file. > It also allows replacing the default CONFIG_BOOTCOMMAND without > code modification. > Signed-off-by: Ricardo Salveti > Signed-off-by: Oleksandr Suvorov > Reviewed-by: Fabio Estevam > Reviewed-by: Tom

[PATCH 5/7] imx: makefile: drop the use of imx8mimage.sh

2021-10-20 Thread sbabic
> From: Peng Fan > After switch to use binman, no need to use the bash script > to check file exsiting or not. And there is bug that > the script will be executed everytime Makefile is used which is > confusing people. > Signed-off-by: Peng Fan > Tested-by: Frieder Schrempf Applied to u-boot-imx

[PATCH v3 2/2] mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP

2021-10-20 Thread sbabic
> Import HS400 support for iMX7ULP B0 from the Linux kernel: > 2eaf5a533afd ("mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP") > According to IC suggest, need to clear the STROBE_DLL_CTRL_RESET > before any setting of STROBE_DLL_CTRL register. > USDHC has register bits(bit[27~20] of register S

[PATCH 1/4] arm64: dts: imx8mm-venice-gw700x: use imx8mm-venice-u-boot.dtsi

2021-10-20 Thread sbabic
> Use the common imx8mm-venice-u-boot.dtsi (dtb for the > 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX S

[PATCH v1 1/2] colibri-imx6: use dynamic DDR calibration

2021-10-20 Thread sbabic
> Enable dynamic DDR calibration to have a reliable behavior on edge > temperatures conditions. > Signed-off-by: Max Krummenacher > Signed-off-by: Francesco Dolcini Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH 1/3] ARM: imx: mx5: Enable BMODE command on MX53 Menlo board

2021-10-20 Thread sbabic
> The board can do primary/secondary boot switching, enable the bmode command. > Signed-off-by: Marek Vasut > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH 3/3] smegw01: Select IMX_HAB

2021-10-20 Thread sbabic
> Select IMX_HAB to allow secure boot. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Mun

[PATCH 1/3] smegw01: Pass 'mmcpart' to the kernel command line

2021-10-20 Thread sbabic
> When using SWUpdate, it is necessary to toggle between partitions. > Use the 'mmcpart' environment variable to accomplish that. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH 3/3] ARM: imx: mx5: Add altbootcmd and resets to M53Menlo

2021-10-20 Thread sbabic
> Bulletproof the default boot command with reset statements in case > any command in the chain would fail. In case a failure were to happen, > the board will reset, increment boot counter and retry the procedure. > In case the failures persist and the boot counter reaches the bootlimit, > U-Boot s

[PATCH 3/4] arm64: dts: imx8mm-venice-gw7902: use imx8mm-venice-u-boot.dtsi

2021-10-20 Thread sbabic
> Use the common imx8mm-venice-u-boot.dtsi (dtb for the > 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX S

[PATCH v1 2/2] apalis-imx6: use dynamic DDR calibration

2021-10-20 Thread sbabic
> Enable dynamic DDR calibration to have a reliable behavior on edge > temperatures conditions. > Signed-off-by: Max Krummenacher > Signed-off-by: Francesco Dolcini Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH v3 1/2] mmc: fsl_esdhc_imx: initialize data for imx7ulp

2021-10-20 Thread sbabic
> From: Jorge Ramirez-Ortiz > Import data for eSDHC driver for SoC iMX7ULP from the Linux kernel. > Set supported by u-boot flags only. > Signed-off-by: Jorge Ramirez-Ortiz > Signed-off-by: Ricardo Salveti > Co-developed-by: Oleksandr Suvorov > Signed-off-by: Oleksandr Suvorov > Reviewed-by: F

[PATCH 2/3] smegw01: Add redundant environment support

2021-10-20 Thread sbabic
> Add redundant environment support as it is required > by SWUpdate. > While at it, place the CONFIG_ENV_OFFSET at 0x10 to allow > more headroom. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH 2/4] arm64: dts: imx8mm-venice-gw7901: use imx8mm-venice-u-boot.dtsi

2021-10-20 Thread sbabic
> Use the common imx8mm-venice-u-boot.dtsi (dtb for the > 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX S

[PATCH 2/3] ARM: imx: mx5: Enable Thumb2 build on MX53 Menlo board

2021-10-20 Thread sbabic
> Build U-Boot in Thumb2 mode for M53Menlo board, this makes better > use of the CPU since the instruction density is higher. > Signed-off-by: Marek Vasut > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 1/1] Makefile.lib: Always rebuild DSDT

2021-10-20 Thread Andy Shevchenko
The dsdt.asl is usually combined out of several files that are included in the main one. Whenever we change the content of any of such files, build system is not able to recognize them. Hence the easiest way is to force DSDT rebuild each time we run make. Signed-off-by: Andy Shevchenko --- scrip

Pull request: u-boot-imx u-boot-imx-20211020

2021-10-20 Thread Stefano Babic
Hi Tom, this is a first PR for u-boot-imx. I have still a lot of patches in queue, so a second PR will follow. Simon's patches to improve buildman are merged here (thanks, else I had no idea how to discover the cause of crashes). CI ran with them. The following changes since commit ea67f467a

[PATCH v1 1/1] x86: tangier: Replace Method() by Name() for _STA object

2021-10-20 Thread Andy Shevchenko
There is no point to use Method() for the constant. Replace it with Name() defined object. For the _STA case it saves 3 bytes per each entry. Before: 2881 After: 2833 Signed-off-by: Andy Shevchenko --- .../asm/arch-tangier/acpi/southcluster.asl| 81 --- 1 file changed, 17 in

Re: [PATCH v4 1/4] tools: Separate image types which depend on OpenSSL

2021-10-20 Thread Andre Przywara
On Wed, 20 Oct 2021 09:29:25 +0200 Pali Rohár wrote: Hi, > On Tuesday 19 October 2021 21:44:51 Samuel Holland wrote: > > Some image types (kwbimage and mxsimage) always depend on OpenSSL, so > > they can only be included in mkimage when TOOLS_LIBCRYPTO is selected. > > Use Makefile logic to cond

Re: buildman stops (crashed) on current master

2021-10-20 Thread Simon Glass
Hi Stefano, On Wed, 20 Oct 2021 at 03:55, Stefano Babic wrote: > > On 20.10.21 05:42, Simon Glass wrote: > > Hi, > > > > On Tue, 19 Oct 2021 at 17:01, Tom Rini wrote: > >> > >> On Tue, Oct 19, 2021 at 04:59:15PM -0600, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Tue, 19 Oct 2021 at 16:53, To

Re: [PATCH v4 03/11] efi_loader: capsule: add back efi_get_public_key_data()

2021-10-20 Thread Simon Glass
Hi Masami, On Wed, 20 Oct 2021 at 02:18, Masami Hiramatsu wrote: > > Hi Simon, > > 2021年10月15日(金) 9:40 Simon Glass : > > > > Hi Takahiro, > > > > On Thu, 7 Oct 2021 at 00:25, AKASHI Takahiro > > wrote: > > > > > > The commit 47a25e81d35c ("Revert "efi_capsule: Move signature from DTB to > > > .

Re: [PATCH v4 1/4] tools: Separate image types which depend on OpenSSL

2021-10-20 Thread Pali Rohár
On Wednesday 20 October 2021 14:29:02 Andre Przywara wrote: > On Wed, 20 Oct 2021 09:29:25 +0200 > Pali Rohár wrote: > > Hi, > > > On Tuesday 19 October 2021 21:44:51 Samuel Holland wrote: > > > Some image types (kwbimage and mxsimage) always depend on OpenSSL, so > > > they can only be included

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

2021-10-20 Thread Stefano Babic
PR was tagged, I forget to copy it: u-boot-imx-20211020 --- First PR from u-boot-imx for 2022.01 CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/9535 - new board: kontron-sl-mx8mm - imx8m: - fix secure boot - imx ESDHC: fixes - i.MX53: Support

Re: [PATCH v4 1/4] tools: Separate image types which depend on OpenSSL

2021-10-20 Thread Samuel Holland
On 10/20/21 8:47 AM, Pali Rohár wrote: > On Wednesday 20 October 2021 14:29:02 Andre Przywara wrote: >> On Wed, 20 Oct 2021 09:29:25 +0200 >> Pali Rohár wrote: >> >> Hi, >> >>> On Tuesday 19 October 2021 21:44:51 Samuel Holland wrote: Some image types (kwbimage and mxsimage) always depend on

Re: [PATCH] ARM: amlogic: add sm efuse write support and cmd for read/write efuse

2021-10-20 Thread Neil Armstrong
On 05/10/2021 14:00, Vyacheslav Bocharov wrote: > This adds support for amlogic efuse write and provides two subcommands > of "sm" command: "efuseread" and "efusewrite" to read/write bytes between > memory and efuse. > > Signed-off-by: Vyacheslav Bocharov > --- > arch/arm/mach-meson/sm.c | 68 ++

[PATCH v6 03/11] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Prepare for DEK blob encapsulation support through "dek_blob" command. > On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob > for encrypted boot. > The DEK blob is encapsulated by OP-TEE through a trusted application > call. U-boot sends and receives

[PATCH 7/9] board: phytec: phycore-imx8mm: Add SPI-NOR flash support

2021-10-20 Thread sbabic
> Adds SPI-NOR flash support to erase, read and write in bootloader. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director

[PATCH 2/9] include: configs: phycore_imx8mm: Remove hard coded network settings

2021-10-20 Thread sbabic
> Remove ip address and server ip from board config as they should not > be added hardcoded. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH

[PATCH v6 07/11] verdin-imx8mm: clean-up include order

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Alphabetically order includes. > While at it also update copyright year resp. period. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Sof

[PATCH 8/9] configs: phycore-imx8mm_defconfig: Enable clk command

2021-10-20 Thread sbabic
> Enable clk command to dump clock tree. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 M

[PATCH v6 11/11] verdin-imx8mm: fix watchdog pinctrl issue

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Finally, found the root cause of the issue already once mentioned back > here [2] which caused the following error message during boot: > imx_wdt watchdog@3028: > pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 > Turns out while the watchdog node

[PATCH 6/9] arm: dts: phycore-imx8mm: Fix property

2021-10-20 Thread sbabic
> Fix misspelled property "stdout-path". > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 M

[PATCH 1/9] board: phytec: phycore_imx8mm: Clean up spl

2021-10-20 Thread sbabic
> Remove not needed code in the spl board code. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 1

[PATCH 9/9] board: phytec: imx8mm-phycore: Switch to binman

2021-10-20 Thread sbabic
> Use binman for image creation. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, O

[PATCH v6 01/11] imx8m: clean-up kconfig indentation

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Replace spurious spaces with proper tabs. > Signed-off-by: Marcel Ziswiler > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineer

[PATCH 4/9] include: configs: phycore-imx8mm: Do not use macro for address

2021-10-20 Thread sbabic
> Do not use size macros for addesses. So convert PHYS_SDRAM to address. > No functional change. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH v6 09/11] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-10-20 Thread sbabic
> From: Oleksandr Suvorov > Variable "kernel_image" is used in boot.scr script only, that sets its > own default value to the constant string @@KERNEL_IMAGETYPE@@ in case > "kernel_image" is not set. > The default name of the kernel image shipped with BSP 5.x is "Image.gz". > Setting kernel_image=

[PATCH v6 05/11] verdin-imx8mm: switch to use binman to pack images

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Use binman to pack images. > Signed-off-by: Marcel Ziswiler > Reviewed-by: Heiko Thiery > Reviewed-by: Fabio Estevam > Reviewed-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH v6 04/11] arm64: dts: imx8mm-verdin-u-boot.dtsi: alphabetically re-order

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Alphabetically re-order nodes and properties. > Signed-off-by: Marcel Ziswiler Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Di

[PATCH 3/9] include: configs: phycore-imx8mm: Remove not needed defines

2021-10-20 Thread sbabic
> Remove obsolet defines in phycore_imx8mm.h. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165

[PATCH v6 02/11] verdin-imx8mm: fix ethernet

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Turns out Microship (formerly Micrel) meanwhile integrated proper > support for the DLL setup on their KSZ9131. Unfortunately, this > conflicts with our previous board code doing that. > Fix this by getting rid of our board code and just relying on the > generic implement

[PATCH v6 08/11] verdin-imx8mm: drop support for v1.0 hardware

2021-10-20 Thread sbabic
> From: Max Krummenacher > We drop support for Verdin iMX8M Mini V1.0B. > Related-to: ELB-3551 > Signed-off-by: Max Krummenacher > Signed-off-by: Marcel Ziswiler > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH v6 06/11] verdin-imx8mm: enable sleep_moci output

2021-10-20 Thread sbabic
> From: Max Krummenacher > This powers some peripherals on the carrier board e.g. the USB hub. > Related-to: ELB-3206 > Signed-off-by: Max Krummenacher > Signed-off-by: Marcel Ziswiler > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===

[PATCH v6 10/11] verdin-imx8mm: use preboot for fdtfile evaluation

2021-10-20 Thread sbabic
> From: Igor Opaniuk > Enable and set preboot var with fdtfile evaluation. > It will be checked and run immediately before starting the > CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp. > entering interactive mode. > This provides possibility to use different boot cmds in int

[PATCH 5/9] arm: dts: phycore-imx8mm-u-boot: Add wdog pinctrl entry

2021-10-20 Thread sbabic
> Add missing pinctrl entry in spl. > Signed-off-by: Teresa Remmet Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich

[PATCH 1/1] arm64: zynqmp: allow overriding board name

2021-10-20 Thread Liam Beguin
There is no need to use zynqmp name as SYS_BOARD for all boards. The patch is adding an option to change it. Signed-off-by: Liam Beguin --- arch/arm/mach-zynqmp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-zynqmp/Kconfig b/arch/arm/mach-zynqmp/Kconfig index f7b08db35

[PATCH] phy: cadence: phy-cadence-torrent: Change the name of subnode searched

2021-10-20 Thread Aswath Govindraju
Search for "phy" in the subnode names, to syncup with kernel. Signed-off-by: Aswath Govindraju --- drivers/phy/cadence/phy-cadence-torrent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torren

[PATCH] usb: cdns3: cdns3-ti: Add compatible for AM64 SoC

2021-10-20 Thread Aswath Govindraju
Add new compatible for AM64 SoC. Signed-off-by: Aswath Govindraju --- drivers/usb/cdns3/cdns3-ti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 43171678ee17..8958f0166bd5 100644 --- a/drivers/usb/cdns3/cdns3-ti.c +++ b/driv

[PATCH 1/2] arm: dts: am642-sk: Add and Enable USB SuperSpeed Host Port in SPL

2021-10-20 Thread Aswath Govindraju
From: Kishon Vijay Abraham I Add and Enable USB SuperSpeed Host Port in SPL. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- arch/arm/dts/k3-am642-r5-sk.dts | 40 arch/arm/dts/k3-am642-sk-u-boot.dtsi | 33 +++ 2

[PATCH 2/2] configs: am64x_evm_*_defconfig: Add configs to enable serdes for USB 3.0 support

2021-10-20 Thread Aswath Govindraju
Add configs to enable serdes for USB 3.0 support. Signed-off-by: Aswath Govindraju --- configs/am64x_evm_a53_defconfig | 15 +++ configs/am64x_evm_r5_defconfig | 13 + 2 files changed, 28 insertions(+) diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53

[PATCH 0/2] AM64: Add support for USB

2021-10-20 Thread Aswath Govindraju
Add support for USB 3.0 TYPE A port on AM642 SK board The following series of patches are dependent on, - https://patchwork.ozlabs.org/project/uboot/list/?series=268093 - https://patchwork.ozlabs.org/project/uboot/list/?series=268092 Aswath Govindraju (1): configs: am64x_evm_*_defconfig: Add co

Re: IMX8M OP-TEE

2021-10-20 Thread Igor Opaniuk
Hi Tim, On Thu, Oct 14, 2021 at 10:03 PM Tim Harvey wrote: > > On Mon, Oct 11, 2021 at 3:15 PM Tim Harvey wrote: > > > > Greetings, > > > > Is anyone successfully booting U-Boot with OP-TEE support on the IMX8M? > > > > My understanding is that you need to add tee.bin to the images in the > > FI

[PATCH 1/2] doc: imx: psb: Fix PERSIST_SECONDARY_BOOT bit location in GPR10

2021-10-20 Thread sbabic
> The PERSIST_SECONDARY_BOOT is in GPR10 address 0x30390098, adjust the > text which currently says it is in GPR0 while using the correct address > of GPR10. > Signed-off-by: Marek Vasut > Cc: Marcel Ziswiler > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye Li > Cc: uboot-imx > Reviewed-by: Marcel

[PATCH 2/2] doc: imx: psb: Add documentation for MX8MM behavior with Fast Boot fuse blown

2021-10-20 Thread sbabic
> On iMX8MM with Fast Boot fuse blown, the SIT and A-copy image are > placed at different offset than on iMX8MM with Fast Boot fuse NOT > blown. List both options and both offsets to avoid confusion. > Signed-off-by: Marek Vasut > Cc: Marcel Ziswiler > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye

[PATCH v2 2/5] toradex: configblock: fix interactive mode it handling

2021-10-20 Thread sbabic
> From: Denys Drozdov > Restore "Is the module an IT version? [y/N]" for "cfgblock create" > interactive mode command, which was leading to invalid detection > of 0051 Colibri iMX8DX 1GB WB module; > Fixes: a5b5ad4d859b ("toradex: tdx-cfg-clock: add new i.mx 8m mini/plus skus") > Related-to: ELB-3

[PATCH v2 1/5] toradex: take over maintainership

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Also take over maintainership of remaining Toradex SoMs as Oleksandr > has left our company. > Signed-off-by: Marcel Ziswiler > CC: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ==

[PATCH] colibri-imx6ull: fix setup of nand gpmi clock

2021-10-20 Thread sbabic
> NXP used to setup the gpmi clock root from gpmi_clk in early versions > in their downstream BSP. [1] > However on mainline the gpmi clock root was always setup from enfc > since the beginning of the i.MX 6 series SoCs, which is still the same > today. [2] > NXP followed the mainline approach at s

[PATCH v5] imx8mm-evk: Generate a single bootable flash.bin again

2021-10-20 Thread sbabic
> After the conversion to binman in commit 8996e6b7c6a1 ("imx8mm_evk: switch > to use binman to pack images"), it is necessary to flash both flash.bin and > u-boot.itb to get a bootable system. Prior to this commit, only flash.bin > was needed. > Such new requirement breaks existing distro mechanis

[PATCH v2 4/5] colibri-imx6ull: imximage.cfg: integrate new 1GiB RAM variant

2021-10-20 Thread sbabic
> From: Philippe Schenker > Integrate new Toradex SKU 0062 Colibri iMX6ULL 1GB IT. This commit > basically adjusts three parameters of the RAM settings: > Increase density from 4Gb to 8Gb > Increase ROW address from 15 to 16 > Increase tRFC (refresh command time) from 260 to 350 > This timing is v

[PATCH v2 5/5] colibri-imx6ull: add emmc variant

2021-10-20 Thread sbabic
> From: Max Krummenacher > Add code to build the eMMC variant of the Colibri iMX6ULL, i.e. the > 'Colibri iMX6ULL 1GB' which has a eMMC instead of the raw NAND used > on other SKUs. > Related-to: ELB-4056, ELB-4057 > Signed-off-by: Max Krummenacher > Signed-off-by: Marcel Ziswiler Applied to u-b

[PATCH v2 3/5] toradex: tdx-cfg-block: add new i.mx 6ull and 8m plus skus

2021-10-20 Thread sbabic
> From: Marcel Ziswiler > Add new i.MX 6ULL and 8M Plus SKUs to ConfigBlock handling: > 0062: Colibri iMX6ULL 1GB IT (eMMC) > 0063: Verdin iMX8M Plus Quad 4GB IT > 0064: Verdin iMX8M Plus Quad 2GB Wi-Fi / BT IT > 0065: Verdin iMX8M Plus QuadLite 1GB IT > 0066: Verdin iMX8M Plus Quad 8GB Wi-Fi / BT

Re: [PATCH] arm: dts: sun50i-h6-orangepi-3: disable aldo2 regulator

2021-10-20 Thread Maxim Karasev
Hi. Thanks for explanation, I'm new to mailing lists, so I appreciate this. Also I'm happy to hear that any work is done to address that issue. >I was thinking about adding a TF-A build option that would skip regulator >setup altogether, which would then become standard in some happy feature >whe

[PATCH] ARM: imx8m: support env in fat and ext4

2021-10-20 Thread Ricardo Salveti
Change boot device logic to also allow environment stored in fat and in ext4 when booting from SD or from eMMC. As the boot device check for SD and for eMMC was depending on ENV_IS_IN_MMC being defined, change the ifdef blocks at env_get_location to use IS_ENABLED instead for all modes, returning

CRC32 endianess

2021-10-20 Thread Wouter Joris
Dear U-boot maintainers, I'm working on an Xilinx Zynqmp project ( Checkout tag xilinx-v2019.1 ) (ARM Cortex A53 ) and I'm facing an endianess mix-up. I'm no C-code guru, so I hope you'll stick here with me for a while. In this exam

[PATCH] arm64: relocate-rela: Add support for ld.lld

2021-10-20 Thread Alistair Delva
Cap end of relocations by the binary size. Linkers like to insert some auxiliary sections between .rela.dyn and .bss_start. These sections don't make their way to the final binary, but reloc_rela still tries to relocate them, resulting in attempted read past the end of file. When linking U-Boot w

Re: [PATCH v1 2/2] x86: edison: Don't take SD card detect pin into consideration

2021-10-20 Thread Ferry Toth
Hi, Op 15-10-2021 om 19:11 schreef Andy Shevchenko: There are two PCB designs in the wild which use the opposite signaling for SD card detect. This makes U-Boot working in one case and failing in the other. Quirk this out by disconnecting SD card detect pin from the PCB by switching to mode 3.

Re: [PATCH] efi_loader: Fix link of EFI apps with ld.lld

2021-10-20 Thread Heinrich Schuchardt
On 10/20/21 11:31 PM, Alistair Delva wrote: When compiling U-Boot with ld.lld as the linker, the helloworld EFI app example fails to link: LD lib/efi_loader/helloworld_efi.so ld.lld: error: section: .dynamic is not contiguous with other relro sections LLD will alwa

[PATCH v3] driver: spi: add bcm iproc qspi support.

2021-10-20 Thread Roman Bacik
From: Rayagonda Kokatanur IPROC qspi driver supports both BSPI and MSPI modes. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Bharat Gooty Acked-by: Rayagonda Kokatanur Signed-off-by: Roman Bacik --- Changes in v3: - fix warning by including linux/delay.h - change ofdata_to_platdata to

Re: [PATCH] doc: Remove obsolete README.440-DDR-performance file

2021-10-20 Thread Heinrich Schuchardt
On 10/19/21 9:25 AM, Thomas Huth wrote: The PPC 440 support has been removed in commit 98f705c9ce ("powerpc: remove 4xx support") already, so this file is certainly not required anymore. Signed-off-by: Thomas Huth Reviewed-by: Stefan Roese --- doc/README.440-DDR-performance | 90

Re: [PATCH 2/2] dt-bindings: u-boot: Add an initial binding for config

2021-10-20 Thread Simon Glass
Hi Rob, On Mon, 18 Oct 2021 at 16:26, Rob Herring wrote: > > On Wed, Oct 13, 2021 at 11:33 AM Simon Glass wrote: > > > > " > > Hi Rob, > > > > On Tue, 12 Oct 2021 at 09:05, Rob Herring wrote: > > > > > > On Tue, Oct 12, 2021 at 8:41 AM Simon Glass wrote: > > > > > > > > Hi Rob, > > > > > > >

Re: [PATCH v2 01/39] RFC: efi: Drop code that doesn't work with driver model

2021-10-20 Thread Heinrich Schuchardt
On 9/25/21 2:30 AM, Simon Glass wrote: This code should never have been added as it builds a new feature on top of legacy code. This has already been improved with the dependency on BLK. Add a dependency on DM_ETH also, to avoid needing to deal with this old code. Boards which want EFI_LOADER s

Re: IMX8M OP-TEE

2021-10-20 Thread Tim Harvey
On Wed, Oct 20, 2021 at 9:47 AM Igor Opaniuk wrote: > > Hi Tim, > > On Thu, Oct 14, 2021 at 10:03 PM Tim Harvey wrote: > > > > On Mon, Oct 11, 2021 at 3:15 PM Tim Harvey wrote: > > > > > > Greetings, > > > > > > Is anyone successfully booting U-Boot with OP-TEE support on the IMX8M? > > > > > >

Re: [PATCH v4 2/4] tools: mkimage: Add Allwinner TOC0 support

2021-10-20 Thread Andre Przywara
On Tue, 19 Oct 2021 21:44:52 -0500 Samuel Holland wrote: > Most Allwinner sunxi SoCs have separate boot ROMs in non-secure and > secure mode. The "non-secure" or "normal" boot ROM (NBROM) uses the > existing sunxi_egon image type. The secure boot ROM (SBROM) uses a > completely different image ty

  1   2   >