RE: [PATCH] configs: fsl: migrate FMAN/QE specific defines to Kconfig

2021-08-23 Thread Priyanka Jain
>-Original Message- >From: Rajesh Bhagat >Sent: Tuesday, August 10, 2021 4:50 PM >To: u-boot@lists.denx.de >Cc: Kuldeep Singh ; Priyanka Jain > >Subject: [PATCH] configs: fsl: migrate FMAN/QE specific defines to Kconfig > >Use moveconfig.py script to convert CONFIG_SYS_FMAN_FW_ADDR,

Re: [PATCH v2] powerpc: mpc: Put U-Boot version string at correct place by linker script

2021-08-23 Thread Christophe Leroy
Le 08/08/2021 à 13:20, Pali Rohár a écrit : It is unknown why version string is placed at specific position on these powerpc mpc platforms. But there is no need to overload version_string symbol. Just use common definition of version_string and modify linker script to put it at "correct

Re: Erroneous modification of u-boot's MAINTAINERS ?

2021-08-23 Thread Christophe Leroy
Forgot to CC the list Le 24/08/2021 à 07:17, Christophe Leroy a écrit : Jway, Alex, Your commit 047e31ed4b4d ("led: led_cortina: Add CAxxx LED support") changed the email address of POWERPC MPC8XX maintainer. What's the reason ? Can you please revert that change ? Thanks Christophe

Re: [PATCH 1/3] qfw: Switch to CONFIG_SYS_LOAD_ADDR from CONFIG_LOADADDR

2021-08-23 Thread Bin Meng
On Mon, Aug 23, 2021 at 10:25 PM Tom Rini wrote: > > All platforms define CONFIG_SYS_LOAD_ADDR, but only some define > CONFIG_LOADADDR. Very very rarely are these not the same address, and > qemu-ppce500 is one such case. However, based on reading the history of > the code, this mismatched

Re: [PATCH v2] powerpc: mpc: Put U-Boot version string at correct place by linker script

2021-08-23 Thread Christophe Leroy
Le 08/08/2021 à 13:36, Pali Rohár a écrit : Christophe, could you please review this change? According to your commit https://source.denx.de/u-boot/u-boot/-/commit/907208c452999427cb2f43450308045bf8b42958 mpc8xx code will have to be maintained until at least 2027. On Sunday 08 August 2021

Re: [PATCH 3/5] efi_loader: use correct type for AllocatePages, AllocatePool

2021-08-23 Thread AKASHI Takahiro
Heinrich, On Wed, Aug 18, 2021 at 02:23:40PM +0900, AKASHI Takahiro wrote: > On Wed, Aug 18, 2021 at 06:50:40AM +0200, Heinrich Schuchardt wrote: > > Am 18. August 2021 03:45:28 MESZ schrieb AKASHI Takahiro > > : > > >Heinrich, > > > > > >On Tue, Aug 17, 2021 at 06:02:23PM +0200, Heinrich

[PATCH 4/5] image: Drop if/elseif hash selection in calculate_hash()

2021-08-23 Thread Alexandru Gagniuc
calculate_hash() would try to select the appropriate hashing function by a if/elseif contruct. But that is exactly why hash_lookup_algo() exists, so use it instead. This does mean that we now have to 'select HASH' to make sure we get the hash_lookup_algo() symbol. However, the change makes sense

[PATCH 5/5] image: Drop IMAGE_ENABLE_{MD5, CRC32} #defines

2021-08-23 Thread Alexandru Gagniuc
These are no longer used, so drop them. Signed-off-by: Alexandru Gagniuc --- include/image.h | 20 1 file changed, 20 deletions(-) diff --git a/include/image.h b/include/image.h index 489b220eba..2d057d445c 100644 --- a/include/image.h +++ b/include/image.h @@ -59,26 +59,6

[PATCH 3/5] common/spl: Drop SPL_HASH_SUPPORT in favor of SPL_HASH

2021-08-23 Thread Alexandru Gagniuc
Both these configs exist. Stick to using CONFIG_SPL_HASH, and drop all references to CONFIG_SPL_HASH_SUPPORT. Signed-off-by: Alexandru Gagniuc --- common/Kconfig.boot | 2 +- common/Makefile | 3 +-- common/spl/Kconfig

[PATCH 2/5] lib: Drop SHA512_ALGO in lieu of SHA512

2021-08-23 Thread Alexandru Gagniuc
SHA512_ALGO was used as a "either SHA512 or SHA384", although the implementations of these two algorithms share a majority of code. >From a Kconfig interface perspective, it makes sense to present two distinct options. This requires #ifdefing out the SHA512 implementation from sha512.c. The

[PATCH 1/5] common: Remove unused CONFIG_FIT_SHAxxx selectors

2021-08-23 Thread Alexandru Gagniuc
Originally CONFIG_FIT_SHAxxx enabled specific SHA algos for and only for has_calculate() in common/image-fit.c. However, since commit 14f061dcb1 ("image: Drop IMAGE_ENABLE_SHAxxx"), the correct selector was changed to CONFIG_SHAxxx. The extra "_FIT_" variants are neither used, nor needed. Remove

[PATCH 0/5] Fix FIT hash algos in SPL (Fixes v2021.10-rc2)

2021-08-23 Thread Alexandru Gagniuc
Simon and I recently worked on killing a bunch extra definitions. One of the side-effects is that certain hash algorithms won't work in SPL when used in the context of FIT verification. For example, in FIT verification, CONFIG_IS_ENABLED(SHA256) is used (good), but there is no corresponding

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

2021-08-23 Thread Andre Przywara
On Sun, 22 Aug 2021 12:32:40 -0500 Samuel Holland wrote: Hi Samuel, > On 8/22/21 4:58 AM, Pali Rohár wrote: > > Hello! > > > > On Saturday 21 August 2021 23:46:45 Samuel Holland wrote: > >> Some image types always depend on OpenSSL, so they can only be included > >> in mkimage when

[PATCH v3] imx8mm-cl-iot-gate: Split the defconfigs

2021-08-23 Thread Fabio Estevam
Currently imx8mm-cl-iot-gate_defconfig fails to produce a working boot binary due to the lack of fip.bin: " BINMAN all Image 'main-section' is missing external blobs and is non-functional: blob-ext Some images are invalid" To make the build process more consistent with the other i.MX8M

Re: [u-boot-test-hooks PATCH] travis-ci: Add SiFive Unleashed QEMU targets

2021-08-23 Thread Tom Rini
On Sun, Aug 22, 2021 at 01:01:23PM +0800, Bin Meng wrote: > Add support for testing sifive_unleashed_defconfig via QEMU. > QEMU supports booting exact the same images as used on the real > hardware out of the box, that U-Boot SPL loads U-Boot proper > from either an SD card or the SPI NOR flash,

Re: [u-boot-test-hooks PATCH] travis-ci: Correct the memory size for Xilinx Zynq QEMU

2021-08-23 Thread Tom Rini
On Sat, Aug 21, 2021 at 11:01:51PM +0800, Bin Meng wrote: > Currently the memory is specified to be an insane size of about 38TB. > This happens to be not an issue with QEMU 4.2.0 which is what U-Boot > CI is currently using, but it does not make newer QEMU (e.g.: 6.0.0) > happy. Change it to use

Re: [u-boot-test-hooks PATCH] Update Contributing.md with up-to-date information

2021-08-23 Thread Tom Rini
On Sat, Aug 21, 2021 at 05:45:08PM +0800, Bin Meng wrote: > As Stephen is no longer actively maintaining the uboot-test-hooks, > and the repo itself has been moved to source.denx.de, update the > Contributing.md with up-to-date information on how patches should > be sent against this repo. > >

Re: [PATCH v2] imx8mm-cl-iot-gate: Split the defconfigs

2021-08-23 Thread Paul Liu
Hi Fabio, Yes. This patch works for me after fixing the top address. I have another little comment on the name of bl31.bin as following. --- /dev/null +++ b/arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi @@ -0,0 +1,255 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019 NXP + */

[PATCH] psci: fix double declaration

2021-08-23 Thread Oleksandr Suvorov
The prototype of psci_features() duplicated. Remove extra declaration. Fixed: e21e3ffdd1 ("psci: Fix warnings when compiling with W=1") Reported-by: Michael Scott Signed-off-by: Oleksandr Suvorov --- arch/arm/include/asm/system.h | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH v2] imx8mm-cl-iot-gate: Split the defconfigs

2021-08-23 Thread Fabio Estevam
Hi Paul, On Tue, Aug 17, 2021 at 3:31 PM Fabio Estevam wrote: > > Currently imx8mm-cl-iot-gate_defconfig fails to produce a working boot > binary due to the lack of fip.bin: > > BINMAN all > Image 'main-section' is missing external blobs and is non-functional: blob-ext > > Some images are

Re: [PATCH V2] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-08-23 Thread Marek Vasut
On 8/23/21 5:40 PM, Adam Ford wrote: On Mon, Aug 23, 2021 at 8:50 AM Marek Vasut wrote: On 8/23/21 2:23 PM, Adam Ford wrote: On Thu, Jun 3, 2021 at 8:22 AM Adam Ford wrote: There is a QSPI NOR flash part on the board. Because this chip isn't yet supported in Linux, but it is supported in

Re: [PATCH 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

2021-08-23 Thread Marcel Ziswiler
Hi Paul On Tue, 2021-08-24 at 04:04 +0800, PaulLiu wrote: > Hi Marcel, > > Thanks for the comment. > But isn't it more straightforward to use TCM data? It was not quite clear to me what you were talking about. So I had a quick look at CompuLab's implementation of all this. Let us hope it works

[PATCH] Convert CONFIG_MX7D to Kconfig

2021-08-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_MX7D Cc: Oleksandr Suvorov Signed-off-by: Tom Rini --- arch/arm/mach-imx/mx7/Kconfig | 1 + configs/colibri_imx7_defconfig | 2 +- configs/colibri_imx7_emmc_defconfig | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff

Re: [PATCH 00/28] Initial implementation of bootmethod/bootflow

2021-08-23 Thread Tom Rini
On Mon, Aug 23, 2021 at 11:25:40AM -0600, Simon Glass wrote: > Hi Ilias, > > On Mon, 23 Aug 2021 at 06:35, Ilias Apalodimas > wrote: > > > > On Thu, Aug 19, 2021 at 01:27:50PM -0400, Tom Rini wrote: > > > On Thu, Aug 19, 2021 at 08:25:33AM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > >

Re: [PATCH 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

2021-08-23 Thread PaulLiu
Hi Marcel, Thanks for the comment. But isn't it more straightforward to use TCM data? I mean it is already tested when DRAM initializes. Also there's already a commit that avoids U-boot using address more than 4GB on imx8m platform for some reasons I don't know in detail but the commit is

Re: [PATCH 00/28] Initial implementation of bootmethod/bootflow

2021-08-23 Thread Tom Rini
On Mon, Aug 23, 2021 at 11:25:42AM -0600, Simon Glass wrote: > Hi Mark, > > On Mon, 23 Aug 2021 at 05:54, Mark Kettenis wrote: > > > > > From: Simon Glass > > > Date: Wed, 18 Aug 2021 21:45:33 -0600 > > > > > > Bootmethod and bootflow provide a built-in way for U-Boot to > > > automatically

Re: Pull request for efi-2021-10-rc3

2021-08-23 Thread Tom Rini
On Fri, Aug 20, 2021 at 09:02:15PM +0200, Heinrich Schuchardt wrote: > Hello Tom, > > Ilias will be back on Monday. Then he can clarify with Simon the series > "efi: Minimal revert to rodata change" > https://patchwork.ozlabs.org/project/uboot/list/?series=256272. > > The following changes

Re: [PATCH v2 4/9] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Heiko Thiery
Hi Marcel, Am Mo., 23. Aug. 2021 um 17:04 Uhr schrieb Marcel Ziswiler : > > From: Marcel Ziswiler > > Use binman to pack images. > > Signed-off-by: Marcel Ziswiler Reviewed-by: Heiko Thiery > --- > > Changes in v2: > - Explicitly pass filename to binman when generating binaries as >

Re: [PATCH v2 1/5] board: gateworks: venice: display hwmon details by default

2021-08-23 Thread Fabio Estevam
Hi Tim, On Wed, Aug 18, 2021 at 7:24 PM Tim Harvey wrote: > > Display hwmon values by default when using the 'gsc' command. > > Signed-off-by: Tim Harvey > --- > v2: no changes For the v2 series: Reviewed-by: Fabio Estevam

Re: [PATCH v5 0/3] Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs

2021-08-23 Thread Fabio Estevam
Hi Frieder, On Mon, Aug 23, 2021 at 11:26 AM Frieder Schrempf wrote: > > From: Frieder Schrempf > > This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and > SL i.MX8MM families of SoMs and matching evaluation boards by Kontron > Electronics. > > The first patch prepares the

Re: [PATCH v2 0/9] board: toradex: verdin-imx8mm: target refresh

2021-08-23 Thread Fabio Estevam
Hi Marcel, On Mon, Aug 23, 2021 at 12:04 PM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > > An assortment of fixes and improvements like an Ethernet PHY > configuration fix, DEK blob encapsulation preparation, migration to > using binman to pack images, SLEEP_MOCI# enablement, dropping

Re: [PATCH v1 1/7] imx: mkimage_fit_atf: fix legacy image generation

2021-08-23 Thread Fabio Estevam
Hi Andrey, On Mon, Aug 23, 2021 at 12:53 PM ZHIZHIKIN Andrey wrote: > Thanks for pointing it out! > > I guess the short list of affected candidates when mkimage_fit_atf.sh FIT > generator gets deleted then would be: > >

Re: [PATCH 00/28] Initial implementation of bootmethod/bootflow

2021-08-23 Thread Simon Glass
Hi Ilias, On Mon, 23 Aug 2021 at 06:35, Ilias Apalodimas wrote: > > On Thu, Aug 19, 2021 at 01:27:50PM -0400, Tom Rini wrote: > > On Thu, Aug 19, 2021 at 08:25:33AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 19 Aug 2021 at 07:59, Tom Rini wrote: > > > > > > > > On Wed, Aug 18,

Re: [PATCH 00/28] Initial implementation of bootmethod/bootflow

2021-08-23 Thread Simon Glass
Hi Mark, On Mon, 23 Aug 2021 at 05:54, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Wed, 18 Aug 2021 21:45:33 -0600 > > > > Bootmethod and bootflow provide a built-in way for U-Boot to automatically > > boot > > an Operating System without custom scripting and other customisation: >

Re: binman should create a list of output files

2021-08-23 Thread Simon Glass
Hi Heiko, On Mon, 23 Aug 2021 at 00:38, Heiko Thiery wrote: > > Hi Simon, > > Am Fr., 20. Aug. 2021 um 20:22 Uhr schrieb Simon Glass : > > > > Hi Heiko, > > > > On Fri, 20 Aug 2021 at 00:49, Heiko Thiery wrote: > > > > > > Hi Simon, > > > > > > During the discussion on [1] I had the idea if

Re: [PATCH v6 10/12] watchdog: add gpio watchdog driver

2021-08-23 Thread Simon Glass
Hi Wolfgang, On Mon, 23 Aug 2021 at 05:07, Wolfgang Denk wrote: > > Dear Simon, > > In message > you > wrote: > > > > > > Wow. > > > > > > I think I'll add this to my signature database: > > > > > > | "Trying to catch [programming errors] in the field at runtime is not > > > | very kind to

Bootcmd/key1/key2

2021-08-23 Thread Tim
Hi, I have my custom board successfully booting using my bootcmd environment variable. I would like to have alternate boots from user keys (derived from an I2C device if that's relevant) but if I set a key1 environment variable it is not executed in place of the saved bootcmd. The user

Re: pull request of u-boot-fsl-qoriq for v2021.10

2021-08-23 Thread Tom Rini
On Mon, Aug 23, 2021 at 08:22:21AM +, Priyanka Jain wrote: > Dear Tom, > > Please find my pull-request for u-boot-fsl-qoriq/master > https://github.com/u-boot/u-boot/pull/90 > > Summary > fsl-qoriq: Fixes related to env, spi, usb, crypto, configs, distro-boot for > Layerscape Boards like

RE: [PATCH v1 1/7] imx: mkimage_fit_atf: fix legacy image generation

2021-08-23 Thread ZHIZHIKIN Andrey
Hello Fabio, > -Original Message- > From: Fabio Estevam > Sent: Monday, August 23, 2021 1:00 PM > To: ZHIZHIKIN Andrey > Cc: Marcel Ziswiler ; u-boot@lists.denx.de; > peng@nxp.com; uboot-...@nxp.com; sba...@denx.de; > frieder.schre...@kontron.de; heiko.thi...@gmail.com; Oliver

Re: [PATCH V2] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-08-23 Thread Adam Ford
On Mon, Aug 23, 2021 at 8:50 AM Marek Vasut wrote: > > On 8/23/21 2:23 PM, Adam Ford wrote: > > On Thu, Jun 3, 2021 at 8:22 AM Adam Ford wrote: > >> > >> There is a QSPI NOR flash part on the board. Because this chip isn't > >> yet supported in Linux, but it is supported in U-Boot, and the > >>

Re: [PATCH V3] arm: add initial support for the Phytium Pomelo Board

2021-08-23 Thread Tom Rini
On Mon, Aug 23, 2021 at 03:32:01PM +0800, nicholas_zh...@outlook.com wrote: > From: weichangzheng > > This adds platform code and the device tree for the Phytium Pomelo Board. > The initial support comprises the UART and the PCIE. > > Signed-off-by: weichangzheng > Changes since v1: >

Re: [PATCH] ARM: omap3: evm: Enable booting 'fitImage' with DEFAULT_FIT_TI_ARGS

2021-08-23 Thread Derald Woods
On Sun, Aug 1, 2021 at 10:46 PM Derald D. Woods wrote: > This commit uses the existing DEFAULT_MMC_TI_ARGS and > DEFAULT_FIT_TI_ARGS defintions to replace the 'mmc*' environment > variables in the configuration. The check for the 'boot_fit' is handled > like the 'am335x_*' boards with

Re: [PATCH 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

2021-08-23 Thread Marcel Ziswiler
Hi Paul On Mon, 2021-08-23 at 10:49 +0800, Ying-Chun Liu wrote: > From: "Ying-Chun Liu (PaulLiu)" > > When purchasing imx8mm-cl-iot-gate it is able to customize the > memory size. It could be 1GB, 2GB and 4GB. We implement > board_phys_sdram_size() to detect the memory size for usage. > >

Re: [PATCH v5 1/3] doc: board: kontron: sl28: Reduce section levels and change title

2021-08-23 Thread Michael Walle
Am 2021-08-23 16:26, schrieb Frieder Schrempf: From: Frieder Schrempf In order to add other Kontron boards to the docs alongside the existing sl28 board, we need to reduce the levels of the sections and change the title. Signed-off-by: Frieder Schrempf although one nit below: Acked-by:

[PATCH v2 8/9] verdin-imx8mm: use preboot for fdtfile evaluation

2021-08-23 Thread Marcel Ziswiler
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 interactive

[PATCH v2 9/9] verdin-imx8mm: fix watchdog pinctrl issue

2021-08-23 Thread Marcel Ziswiler
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 itself

[PATCH v2 7/9] include/configs: apalis-imx8/verdin-imx8mm: rename kernel image variable

2021-08-23 Thread Marcel Ziswiler
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="Image" as

[PATCH v2 4/9] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Use binman to pack images. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Explicitly pass filename to binman when generating binaries as suggested by Heiko. - Use proper intermediate binary u-boot-spl-ddr.bin for imximage as pointed out by Heiko.

[PATCH v2 5/9] verdin-imx8mm: enable sleep_moci output

2021-08-23 Thread Marcel Ziswiler
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 --- (no changes since v1) arch/arm/dts/imx8mm-verdin.dts | 18 ++ configs/verdin-imx8mm_defconfig

[PATCH v2 0/9] board: toradex: verdin-imx8mm: target refresh

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler An assortment of fixes and improvements like an Ethernet PHY configuration fix, DEK blob encapsulation preparation, migration to using binman to pack images, SLEEP_MOCI# enablement, dropping of V1.0 hardware support [1], renaming kernel image variable and using preboot for

[PATCH v2 6/9] verdin-imx8mm: drop support for v1.0 hardware

2021-08-23 Thread Marcel Ziswiler
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 --- Changes in v2: - Drop first patch ("imx: mkimage_fit_atf: fix legacy image generation") as a similar fix was already refused earlier.

[PATCH v2 2/9] verdin-imx8mm: fix ethernet

2021-08-23 Thread Marcel Ziswiler
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 implementation

[PATCH v2 3/9] ARM: dts: imx8mm-verdin: prepare for dek blob encapsulation

2021-08-23 Thread Marcel Ziswiler
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 the DEK

[PATCH v2 1/9] imx8m: clean-up kconfig indentation

2021-08-23 Thread Marcel Ziswiler
From: Marcel Ziswiler Replace spurious spaces with proper tabs. Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm/mach-imx/imx8m/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/Kconfig

Re: Remove the gitlab-ci-runner on source.denx.de?

2021-08-23 Thread Tom Rini
On Mon, Aug 23, 2021 at 04:44:20PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20210823140128.GS858@bill-the-cat> you wrote: > > > > > As the Dockerfile used for U-Boot CI testing is now integrated into > > > the U-Boot source tree, I suggest we remote the gitlab-ci-runner repo > > >

Re: Remove the gitlab-ci-runner on source.denx.de?

2021-08-23 Thread Wolfgang Denk
Dear Tom, In message <20210823140128.GS858@bill-the-cat> you wrote: > > > As the Dockerfile used for U-Boot CI testing is now integrated into > > the U-Boot source tree, I suggest we remote the gitlab-ci-runner repo > > to avoid confusion. > > > > https://source.denx.de/u-boot/gitlab-ci-runner >

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

2021-08-23 Thread Frieder Schrempf
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 more.

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

2021-08-23 Thread Frieder Schrempf
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 NAND *

[PATCH v5 1/3] doc: board: kontron: sl28: Reduce section levels and change title

2021-08-23 Thread Frieder Schrempf
From: Frieder Schrempf In order to add other Kontron boards to the docs alongside the existing sl28 board, we need to reduce the levels of the sections and change the title. Signed-off-by: Frieder Schrempf --- doc/board/kontron/sl28.rst | 30 +++--- 1 file changed, 15

[PATCH v5 0/3] Support for Kontron Electronics i.MX6UL/ULL and i.MX8MM SoMs

2021-08-23 Thread Frieder Schrempf
From: Frieder Schrempf This a patchset to upstream the support for the SL i.MX6UL, SL i.MX6ULL and SL i.MX8MM families of SoMs and matching evaluation boards by Kontron Electronics. The first patch prepares the docs of the existing sl28 hardware to allow other boards to be added in the

[PATCH 2/3] global: Convert CONFIG_LOADADDR to CONFIG_SYS_LOADADDR

2021-08-23 Thread Tom Rini
- In most of the codebase, we reference CONFIG_SYS_LOAD_ADDR and not CONFIG_LOADADDR. - Generally, CONFIG_SYS_LOADADDR is set to CONFIG_LOADADDR and then as noted, we use CONFIG_SYS_LOADADDR. Signed-off-by: Tom Rini --- include/configs/10m50_devboard.h | 1 -

[PATCH 1/3] qfw: Switch to CONFIG_SYS_LOAD_ADDR from CONFIG_LOADADDR

2021-08-23 Thread Tom Rini
All platforms define CONFIG_SYS_LOAD_ADDR, but only some define CONFIG_LOADADDR. Very very rarely are these not the same address, and qemu-ppce500 is one such case. However, based on reading the history of the code, this mismatched value was simply a copy-paste from other PowerPC platforms where

[PATCH v1 1/2] net: brcm: netXtreme driver

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty Broadcom bnxt L2 driver support. Used by the Broadcom iproc platforms. Signed-off-by: Bharat Gooty --- drivers/net/Kconfig |1 + drivers/net/Makefile|1 + drivers/net/bnxt/Kconfig|7 + drivers/net/bnxt/Makefile |5 +

[PATCH v1 2/2] cmd: brcm: netXtreme commands

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty Following netXtreme commands are supported:- Device probe, remove, supported speeds, get/set speeds and get/set MAC address. Signed-off-by: Bharat Gooty --- cmd/Kconfig | 2 + cmd/broadcom/Kconfig | 10 ++ cmd/broadcom/Makefile | 3 +- cmd/broadcom/bnxt.c

[PATCH v1 0/2] Broadcom netXtreme driver and commands

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty Broadcom netXtreme controller supports multiple ports and multiple link speeds like 10/25/50/100G 1. Added driver support for netXtreme controller 2. Added commands to know the port used, supported speeds, configure link speeds and MAC address. Bharat Gooty (2): net: brcm:

Re: Remove the gitlab-ci-runner on source.denx.de?

2021-08-23 Thread Tom Rini
On Fri, Aug 20, 2021 at 07:02:17PM +0800, Bin Meng wrote: > Hi Tom, > > As the Dockerfile used for U-Boot CI testing is now integrated into > the U-Boot source tree, I suggest we remote the gitlab-ci-runner repo > to avoid confusion. > > https://source.denx.de/u-boot/gitlab-ci-runner Good

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Heiko Thiery
Hi Fabio, Am Mo., 23. Aug. 2021 um 14:16 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Mon, Aug 23, 2021 at 8:55 AM Heiko Thiery wrote: > > > I think the "mkimage.spl.mkimage" is a temporarily created file from > > binman. Isn't it correct to use the output file of the binman image > >

Re: [PATCH V2] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-08-23 Thread Marek Vasut
On 8/23/21 2:23 PM, Adam Ford wrote: On Thu, Jun 3, 2021 at 8:22 AM Adam Ford wrote: There is a QSPI NOR flash part on the board. Because this chip isn't yet supported in Linux, but it is supported in U-Boot, and the face that the RPC_SPI compatible names are different in U-Boot and Linux,

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

2021-08-23 Thread Heiko Thiery
Hi Fabio, Am Mo., 23. Aug. 2021 um 14:57 Uhr schrieb Fabio Estevam : > > 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

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

2021-08-23 Thread Fabio Estevam
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 mechanisms to

[PATCH v2 3/3] fs/erofs: add lz4 decompression support

2021-08-23 Thread Huang Jianan
From: Huang Jianan Support EROFS lz4 compressed files. Signed-off-by: Huang Jianan --- fs/erofs/Makefile | 4 +- fs/erofs/data.c | 84 ++- fs/erofs/decompress.c | 74 ++ fs/erofs/decompress.h | 29 +++ fs/erofs/namei.c | 2 +- fs/erofs/zmap.c | 517

[PATCH v2 1/3] fs/erofs: add erofs filesystem support

2021-08-23 Thread Huang Jianan
From: Huang Jianan This patch mainly deals with uncompressed files. Signed-off-by: Huang Jianan --- fs/Kconfig | 1 + fs/Makefile | 1 + fs/erofs/Kconfig| 12 ++ fs/erofs/Makefile | 7 + fs/erofs/data.c | 124 ++ fs/erofs/erofs_fs.h | 384

[PATCH v2 2/3] fs/erofs: add lz4 1.8.3 decompressor

2021-08-23 Thread Huang Jianan
From: Huang Jianan In order to use the newest LZ4_decompress_safe_partial() which can now decode exactly the nb of bytes requested. Signed-off-by: Huang Jianan --- fs/erofs/Makefile | 3 +- fs/erofs/lz4.c| 534 ++ fs/erofs/lz4.h| 5 + 3

[PATCH v2 0/3] fs/erofs: new filesystem

2021-08-23 Thread Huang Jianan
From: Huang Jianan Add erofs filesystem support. The code is adapted from erofs-utils in order to reduce maintenance burden and keep with the latest feature. Changes since v1: - fix the inconsistency between From and SoB (Bin Meng); - add missing license header; Huang Jianan (3):

Re: [PATCH 00/28] Initial implementation of bootmethod/bootflow

2021-08-23 Thread Ilias Apalodimas
On Thu, Aug 19, 2021 at 01:27:50PM -0400, Tom Rini wrote: > On Thu, Aug 19, 2021 at 08:25:33AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 19 Aug 2021 at 07:59, Tom Rini wrote: > > > > > > On Wed, Aug 18, 2021 at 09:45:33PM -0600, Simon Glass wrote: > > > > > > > Bootmethod and

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

2021-08-23 Thread Marcel Ziswiler
On Mon, 2021-08-23 at 09:13 -0300, Fabio Estevam wrote: > 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

[PATCH v2] mx7ulp: Allow to enable CONFIG_IMX_HAB

2021-08-23 Thread Oleksandr Suvorov
From: Ricardo Salveti Secure boot support on mx7ulp was added in the commit 27117b2024b6 ("mx7ulp: Add HAB boot support"). Allow selecting CONFIG_IMX_HAB for ARCH_IMX7ULP. Fixes: 27117b2024b6 ("mx7ulp: Add HAB boot support") Signed-off-by: Ricardo Salveti Signed-off-by: Oleksandr Suvorov

[PATCH] mx7ulp: Allow to enable CONFIG_IMX_HAB

2021-08-23 Thread Oleksandr Suvorov
From: Ricardo Salveti Secure boot support on mx7iulp was added in the commit 27117b2024b6 ("mx7ulp: Add HAB boot support"). Allow selecting CONFIG_IMX_HAB for ARCH_IMX7ULP. Fixes: 27117b2024b6 ("mx7ulp: Add HAB boot support") Signed-off-by: Ricardo Salveti Signed-off-by: Oleksandr Suvorov

[PATCH v1] pci: iproc: fix compilation errors and warnings

2021-08-23 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty Signed-off-by: Bharat Gooty --- drivers/pci/pcie_iproc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie_iproc.c b/drivers/pci/pcie_iproc.c index 12ce9d525c..be03dcbd97 100644 --- a/drivers/pci/pcie_iproc.c +++

Re: [PATCH 1/4] mtd: spi-nor: macronix: add support for Macronix octaflash

2021-08-23 Thread liao jaime
Hi Pratyush Thanks for your reply and I have send v2 patch , please help to review. I prefer to have v3 patch for replacing SPI_FLASH_MACRONIX with SPI_FLASH_MACRONIX_OCTAL. It would be great if you could help to review v2 and then I will add the modifications in v3. Thanks Jaime Pratyush Yadav

Re: [PATCH V2] ARM: rmobile: beacon-renesom: Enable QSPI NOR Flash

2021-08-23 Thread Adam Ford
On Thu, Jun 3, 2021 at 8:22 AM Adam Ford wrote: > > There is a QSPI NOR flash part on the board. Because this chip isn't > yet supported in Linux, but it is supported in U-Boot, and the > face that the RPC_SPI compatible names are different in U-Boot and > Linux, the device tree updates are

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Fabio Estevam
Hi Heiko, On Mon, Aug 23, 2021 at 8:55 AM Heiko Thiery wrote: > I think the "mkimage.spl.mkimage" is a temporarily created file from > binman. Isn't it correct to use the output file of the binman image > u-boot-spl-ddr ("u-boot-spl-ddr.bin") here? I did as you suggested in v4. Please reply

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

2021-08-23 Thread Fabio Estevam
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 mechanisms to

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Marcel Ziswiler
On Mon, 2021-08-23 at 13:55 +0200, Heiko Thiery wrote: > Hi Fabio, > > Am Do., 19. Aug. 2021 um 21:28 Uhr schrieb Fabio Estevam : > > > > 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 > >

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Heiko Thiery
Hi Fabio, Am Do., 19. Aug. 2021 um 21:28 Uhr schrieb Fabio Estevam : > > 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

Re: [PATCH 00/28] Initial implementation of bootmethod/bootflow

2021-08-23 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 18 Aug 2021 21:45:33 -0600 > > Bootmethod and bootflow provide a built-in way for U-Boot to automatically > boot > an Operating System without custom scripting and other customisation: > > - bootmethod - a method to scan a device to find bootflows (owned by

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Marcel Ziswiler
Hi Fabio On Mon, 2021-08-23 at 08:27 -0300, Fabio Estevam wrote: > Hi Heiko Thiery and Marcel, > > On 19/08/2021 16:28, Fabio Estevam wrote: > > > diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi > > b/arch/arm/dts/imx8mm-evk-u-boot.dtsi > > index f200afac9f..75cd59e545 100644 > > ---

Re: [PATCH 1/3] fs/erofs: new filesystem

2021-08-23 Thread Huang Jianan
在 2021/8/23 12:24, Bin Meng 写道: On Mon, Aug 23, 2021 at 12:03 AM Huang Jianan wrote: From: Huang Jianan Add erofs filesystem support. The code is adapted from erofs-utils in order to reduce maintenance burden and keep with the latest feature. This patch mainly deals with uncompressed

Re: [PATCH] ARM: mach-at91: fix multiple cpu_reset definition when enabling SYSRESET

2021-08-23 Thread Eugen.Hristev
On 8/4/21 5:55 PM, Clément Léger wrote: > When SYSRESET is enabled, cpu_reset function is also defined in > sysreset-uclass.c which lead to multiple definitions of this function > since reset.c is build unconditionally. Add a check in Makefile to build > this file only if SYSRESET isn't enabled. >

Re: [PATCH 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size

2021-08-23 Thread Fabio Estevam
Hi Paul, Thanks for taking care of this. On Sun, Aug 22, 2021 at 11:50 PM Ying-Chun Liu wrote: > +int board_phys_sdram_size(phys_size_t *size) > +{ > + struct lpddr4_tcm_desc *lpddr4_tcm_desc = > + (struct lpddr4_tcm_desc *)TCM_DATA_CFG; > + > + switch

Re: [PATCH] mx7ulp: Allow to enable CONFIG_IMX_HAB

2021-08-23 Thread Fabio Estevam
Hi Oleksandr, On Mon, Aug 23, 2021 at 8:23 AM Oleksandr Suvorov wrote: > > From: Ricardo Salveti > > Secure boot support on mx7iulp was added in the s/mx7iulp/mx7ulp > commit 27117b2024b6 ("mx7ulp: Add HAB boot support"). > > Allow selecting CONFIG_IMX_HAB for ARCH_IMX7ULP. > > Fixes:

Re: [PATCH v3 1/2] imx8mm-evk: Generate a single bootable flash.bin again

2021-08-23 Thread Fabio Estevam
Hi Heiko Thiery and Marcel, On 19/08/2021 16:28, Fabio Estevam wrote: diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi index f200afac9f..75cd59e545 100644 --- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi @@ -150,7 +150,7

Re: How should we deal with actual hush odd behavior?

2021-08-23 Thread Wolfgang Denk
Dear Francis, In message <2787647.e9J7NaK4W3@pwmachine> you wrote: > > Porting 2021 Busybox hush to U-Boot seems, for me, to be a good idea as we > would benefit from Busybox bug fixes as well as being compatible with actual > hush (in theory). > We could also add new features to U-Boot hush,

Re: [PATCH 07/10] Makefile: Align fit-dtb.blob and u-boot.itb by 64bits

2021-08-23 Thread Andre Przywara
On Mon, 23 Aug 2021 09:37:54 +0200 Michal Simek wrote: > Enabling MULTI_DTB_FIT and DTB_RESELECT can end up with multi DTBs in FIT > image placed and aligned only by 32bits (4bytes). Based on device tree > specification: > "Specifically, the memory reservation block shall be aligned to an 8-byte

Re: [PATCH v6 10/12] watchdog: add gpio watchdog driver

2021-08-23 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > > > Wow. > > > > I think I'll add this to my signature database: > > > > | "Trying to catch [programming errors] in the field at runtime is not > > | very kind to your users." > > | > > | - Simon Glass in > > > > Well you've taken it out of context :-) It

Re: [PATCH v1 1/7] imx: mkimage_fit_atf: fix legacy image generation

2021-08-23 Thread Fabio Estevam
Hi Andrey, On Mon, Aug 23, 2021 at 4:50 AM ZHIZHIKIN Andrey wrote: > There are still those boards that use FIT generator script: > configs/cgtqmx8_defconfig:CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-imx/mkimage_fit_atf.sh" >

Re: [PATCH v1 5/7] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Heiko Thiery
Hi Marcel, Am Mo., 23. Aug. 2021 um 12:02 Uhr schrieb Marcel Ziswiler : > > Hi Heiko > > On Mon, 2021-08-23 at 08:37 +0200, Heiko Thiery wrote: > > > ... > > > diff --git a/board/toradex/verdin-imx8mm/imximage.cfg > > > b/board/toradex/verdin-imx8mm/imximage.cfg > > > index

Re: [PATCH v1 5/7] verdin-imx8mm: switch to use binman to pack images

2021-08-23 Thread Marcel Ziswiler
Hi Heiko On Mon, 2021-08-23 at 08:37 +0200, Heiko Thiery wrote: > ... > > diff --git a/board/toradex/verdin-imx8mm/imximage.cfg > > b/board/toradex/verdin-imx8mm/imximage.cfg > > index b8b25ff4201..9bd60e39fb5 100644 > > --- a/board/toradex/verdin-imx8mm/imximage.cfg > > +++

Re: [PATCH] mailmap: Update e-mail for Jernej Skrabec

2021-08-23 Thread Andre Przywara
On Sun, 22 Aug 2021 07:23:48 +0200 Jernej Skrabec wrote: > Old address doesn't exist anymore. Map it to new one. > > Signed-off-by: Jernej Skrabec Acked-by: Andre Przywara Cheers, Andre > --- > .mailmap | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.mailmap b/.mailmap > index

pull request of u-boot-fsl-qoriq for v2021.10

2021-08-23 Thread Priyanka Jain
Dear Tom, Please find my pull-request for u-boot-fsl-qoriq/master https://github.com/u-boot/u-boot/pull/90 Summary fsl-qoriq: Fixes related to env, spi, usb, crypto, configs, distro-boot for Layerscape Boards like lx2, sl28, ls2088ardb. powerpc: Fixes for t208xrdb revd board and cortina related

  1   2   >