[PATCH v1 02/24] configs: verdin-imx8mm: verdin-imx8mp: enable dm serial

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Enable driver model for serial. Signed-off-by: Marcel Ziswiler --- configs/verdin-imx8mm_defconfig | 1 + configs/verdin-imx8mp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig index f2da12e

[PATCH v1 01/24] arm64: dts: imx8mm-u-boot.dtsi: imx8mp-u-boot.dtsi: use atf-bl31 type

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Explicitly use the atf-bl31 type for the bl31.bin atf-blob. This uses the path from the BL31 environment variable, if defined. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/imx8mm-u-boot.dtsi | 2 +- arch/arm/dts/imx8mp-u-boot.dtsi | 3 ++- 2 files changed, 3 insertion

[PATCH v1 04/24] toradex: globally disable video support

2022-04-08 Thread Marcel Ziswiler
From: Igor Opaniuk As video support is very specific depending on the exact display customisation we decided to disable video support for all out modules by default. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 10 -- configs

[PATCH v1 06/24] toradex: drop legacy nfsboot script

2022-04-08 Thread Marcel Ziswiler
From: Igor Opaniuk Drop legacy nfsboot script in favor of distroboot DHCP boot. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- include/configs/apalis-imx8.h | 5 - include/configs/apalis-tk1.h | 11 --- include/configs/apalis_imx6.h | 11 ---

[PATCH v1 09/24] configs: toradex: enable missing fit options

2022-04-08 Thread Marcel Ziswiler
From: Oleksandr Suvorov Add missing support of FIT-images and enable a verbosity for this feature. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler --- configs/apalis-imx8_defconfig | 1 + configs/apalis-tk1_defconfig | 1 + configs/apalis_imx6_defconfig

[PATCH v1 07/24] include: colibri_vf: add missing tdxargs variable

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker All the other NAND-based boards have tdxargs specified for setting manual kernel command-line arguments. Signed-off-by: Philippe Schenker Signed-off-by: Marcel Ziswiler --- include/configs/colibri_vf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1 05/24] toradex: set default dhcp distroboot scriptname

2022-04-08 Thread Marcel Ziswiler
From: Igor Opaniuk Use the same name of DHCP Distroboot script as in regular eMMC case. Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler --- include/configs/apalis-imx8.h | 1 + include/configs/apalis-tk1.h | 1 + include/configs/apalis_imx6.h | 1 + include/configs/ap

[PATCH v1 08/24] colibri-imx6ull: drop vidargs and remove video= settings

2022-04-08 Thread Marcel Ziswiler
From: Oleksandr Suvorov Since we envision using overlays for display interfaces, the video= settings within vidargs are obsolete. Remove these settings from the U-Boot. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler --- include/configs/colibri-imx6ull.h | 4 +--- 1 file chan

[PATCH v1 10/24] configs: colibri-imx7/-emmc: enable booting from usb sdp

2022-04-08 Thread Marcel Ziswiler
From: Oleksandr Suvorov For recovery purpose allow booting via SDP over USB as well. Signed-off-by: Oleksandr Suvorov Signed-off-by: Marcel Ziswiler --- configs/colibri_imx7_defconfig | 1 + configs/colibri_imx7_emmc_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/config

[PATCH v1 13/24] board: colibri-imx6ull: Do not leave variant variable unset

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker Toradex uses the variable variant to distinguish between modules with eMMC, NAND with wifi and NAND without wifi. This variable is set on every boot. Set this variable also if we have a NAND module without wifi to prevent issues. Signed-off-by: Philippe Schenker Signed-o

[PATCH v1 11/24] apalis-imx6: avoid save environment unasked

2022-04-08 Thread Marcel Ziswiler
From: Denys Drozdov U-Boot should never save the environment unasked. This also avoids storing broken ftd_file to eMMC. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/toradex/

[PATCH v1 14/24] configs: tdx: Do not overwrite fdtfile if it got set manually

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker In case a customer wants to set fdtfile currently preboot overrides it always with preboot just before the bootdelay. Use test -n to check if fdtfile is already set and only set it if nothing got touched manually Signed-off-by: Philippe Schenker Signed-off-by: Marcel Zis

[PATCH v1 03/24] toradex: apalis-imx8x: drop support for apalis imx8x

2022-04-08 Thread Marcel Ziswiler
From: Denys Drozdov Drop Apalis iMX8X platform as it never left sample state and is no longer supported. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- arch/arm/dts/Makefile | 1 - arch/arm/dts/fsl-imx8qxp-apalis-u-boot.dtsi | 139 - arch/

[PATCH v1 15/24] regulator: fixed: add possibility to enable by clock

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker This commit adds the possibility to choose the compatible "regulator-fixed-clock" in devicetree. This is a special case of regulator-fixed where a clock has to be used to switch the regulator on and off. Signed-off-by: Philippe Schenker Signed-off-by: Marcel Ziswiler -

[PATCH v1 18/24] disk: part: add the device search failed log msg

2022-04-08 Thread Marcel Ziswiler
From: Oleksii Bidnichenko Add missing error message to blk_get_device_part_str. Signed-off-by: Oleksii Bidnichenko Signed-off-by: Marcel Ziswiler --- disk/part.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/disk/part.c b/disk/part.c index 49e39a24e86..16e8c94eebc 100644 --- a/disk/p

[PATCH v1 17/24] board: toradex: drop colibri pxa270 support

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler The Colibri PXA270 has been end-of-life since quite a while and would require more and more maintenance (e.g. DM conversions). Signed-off-by: Marcel Ziswiler --- arch/arm/Kconfig | 6 - board/toradex/colibri_pxa270/Kconfig | 23 --

[PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix NAND BCH geometry as otherwise the following errors are observed upon boot: ... Loading Environment from NAND... NAND read from offset 38 failed -74 ... NAND read from offset 800 failed -74 ... ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes f

[PATCH v1 12/24] apalis-tk1: avoid save environment unasked

2022-04-08 Thread Marcel Ziswiler
From: Denys Drozdov U-Boot should never save the environment unasked. This also avoids storing broken fdt_module to flash. Signed-off-by: Denys Drozdov Signed-off-by: Marcel Ziswiler --- board/toradex/apalis-tk1/apalis-tk1.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/toradex

[PATCH v1 16/24] board: colibri-imx6ull: fix detecting ethernet phy

2022-04-08 Thread Marcel Ziswiler
From: Philippe Schenker Now that it is possible to use regulator-fixed-clock make use of it. This makes U-Boot detect the PHY on first cold-boot. This commit also adjusts the code in setup_fec and follows how it is done in mx6ullevk.c This commit also slows down the boot-process by about 150ms

Re: [PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry

2022-04-08 Thread Marcel Ziswiler
> Subject: [PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry > Date: Fri, 8 Apr 2022 10:07:14 +0200 > Message-Id: <20220408080719.342072-20-mar...@ziswiler.com> > X-Mailer: git-send-email 2.34.1 > In-Reply-To: <20220408080719.342072-1-mar...@ziswiler.com> > References: <20220408080719.342072

[PATCH v2] SPL: Do not enable SPL_SYS_MALLOC_SIMPLE without SPL_FRAMEWORK by default

2022-04-08 Thread Pali Rohár
On P2020 board is SPL malloc simple always failing with error and loops: SD boot... alloc space exhausted Bad trap at PC: f8f8b5f0, SR: 21200, vector=d00 NIP: XER: LR: REGS: f8f8b5f0 TRAP: 2000 DAR: MSR: 00021200 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00

Re: [PATCH] Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig

2022-04-08 Thread Heinrich Schuchardt
On 8/28/21 03:18, Tom Rini wrote: This converts the following to Kconfig: CONFIG_SKIP_LOWLEVEL_INIT CONFIG_SKIP_LOWLEVEL_INIT_ONLY In order to do this, we need to introduce SPL and TPL variants of these options so that we can clearly disable these options only in SPL in some cases, an

Re: [PATCH 3/5] arm: mvebu: turris_omnia: Always enable MMC, SCSI and USB boot targets

2022-04-08 Thread Pali Rohár
On Wednesday 06 April 2022 21:31:18 Marek Behún wrote: > On Wed, 6 Apr 2022 11:39:34 +0200 > Pali Rohár wrote: > > > U-Boot for Turris Omnia is always compiled with MMC, SCSI and USB support, > > so always enable macros for booting from these devices. > > This is not true. Attaching config wher

Re: [PATCH v1 5/6] clk: nuvoton: Add support for NPCM750

2022-04-08 Thread Jim Liu
Hi Sean thanks for your reply. i will combine them for version 2 Sean Anderson 於 2022年4月7日 週四 上午2:19寫道: > > On 4/6/22 3:57 AM, Jim Liu wrote: > > Add clock controller driver for NPCM750 > > > > Signed-off-by: Jim Liu > > This looks very similar to the NPCM845 driver. Would it be possible to

Re: [PATCH v1 0/6] Add Nuvoton NPCM750 support

2022-04-08 Thread Jim Liu
Hi Tom thanks for your reply. i will followed your suggestion to modify the 1/6 2/6 6/6 patch and combine 1/6 2/6 6/6 to be a single patch for version 2. my dts have been submitted to upstream, i will list and describe in version 2. Tom Rini 於 2022年4月7日 週四 上午3:45寫道: > > On Wed, Apr 06,

Re: [PATCH 00/13] configs: clean up SDHC marco and MMCROOT

2022-04-08 Thread Fabio Estevam
Hi Peng, On Thu, Apr 7, 2022 at 11:44 PM Peng Fan (OSS) wrote: > > From: Peng Fan > > For platforms with DM_MMC and SPL_DM_MMC, the SDHC macros are not needed. > CONFIG_MMCROOT could be actually dropped. > Drop IMX_FEC_BASE for boards that not use it Thanks for the nice cleanup: Reviewed-by: F

[PATCH v1 19/24] colibri-imx6ull: fix nand bch geometry

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Fix NAND BCH geometry as otherwise the following errors are observed upon boot: ... Loading Environment from NAND... NAND read from offset 38 failed -74 ... NAND read from offset 800 failed -74 ... ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes f

[PATCH v1 20/24] board: colibri_imx7: fix usb start on solo

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler This fixes the following crash when run on a Colibri iMX7S aka solo: Colibri iMX7 # usb start starting USB... Bus usb@30b1: USB EHCI 1.00 Bus usb@30b2: The i.MX 7Solo has only one single USB OTG1 but no USB host port. Trying to initialize the nonexisting port just

[PATCH v1 21/24] configs: tdx: apalis_imx6: drop hw v1.0 support

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Drop optional support for the ancient Apalis iMX6 V1.0 hardware which had the UART wired as DCE rather than DTE. Signed-off-by: Marcel Ziswiler --- board/toradex/apalis_imx6/apalis_imx6.c | 25 ++--- include/configs/apalis_imx6.h | 6 +-

[PATCH v1 22/24] configs: tdx: apalis/colibri_imx6: use preboot as well

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Use PREBOOT as well. This allows a customer to just set fdt_board as on any other module to customize the device tree for his carrier board. Signed-off-by: Marcel Ziswiler --- configs/apalis_imx6_defconfig | 2 ++ configs/colibri_imx6_defconfig | 2 ++ include/configs/a

[PATCH v1 23/24] configs: colibri-imx6ull/-emmc: use micrel ksz8xxx phy driver

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Use the Micrel KSZ8xxx specific Ethernet PHY driver rather than the generic one. Signed-off-by: Marcel Ziswiler --- configs/colibri-imx6ull-emmc_defconfig | 1 + configs/colibri-imx6ull_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/colibri-

[PATCH v1 24/24] board: colibri-imx6ull: fix detecting sd card

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler Turns out on certain carrier boards (e.g. Iris V2) and under certain circumstances (e.g. after a software reset) the SD card may have been left in a strange state which later failed as follows: Colibri iMX6ULL # mmc dev 0 Card did not respond to voltage select! : -110 Fix

Re: [PATCH 1/8] powerpc: mpc85xx: Fix CONFIG_OF_SEPARATE support

2022-04-08 Thread Pali Rohár
On Tuesday 05 April 2022 15:12:30 Pali Rohár wrote: > Currently CONFIG_OF_SEPARATE is completely broken and U-Boot for some > mpc85xx board (e.g. P2020) has to be compiled with CONFIG_OF_EMBED. > Otherwise it crashes during early init. > > When debug console is enabled and all debug logging option

Re: [PATCH] Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig

2022-04-08 Thread Tom Rini
On Fri, Apr 08, 2022 at 10:58:28AM +0200, Heinrich Schuchardt wrote: > > > On 8/28/21 03:18, Tom Rini wrote: > > This converts the following to Kconfig: > > CONFIG_SKIP_LOWLEVEL_INIT > > CONFIG_SKIP_LOWLEVEL_INIT_ONLY > > > > In order to do this, we need to introduce SPL and TPL variants

Radxa rock-pi-3a

2022-04-08 Thread Richard Kojedzinszky
Dear community, I own a rock-pi-3a board with 8G ram. Right now, radxa's u-boot is capable of detecting the whole amount during boot. Upstream u-boot shows 1G of dram installed. I've started with evb-rk3568_defconfig. What I would like to achieve is that u-boot load grub-efi, to finally boo

[PATCH v1 00/24] toradex updates: assortment of fixes and improvements

2022-04-08 Thread Marcel Ziswiler
From: Marcel Ziswiler This series contains an assortment of fixes and improvements for Toradex computer/system on modules (CoM/SoM). We also drop support for the Apalis iMX8X and the Colibri PXA270. The former never evolved beyond the sample state and we no longer support it. The latter is EOL

Re: [PATCH] env: Allow text-env tests to run with awk

2022-04-08 Thread Tom Rini
On Sat, Mar 12, 2022 at 10:47:49PM -0700, Simon Glass wrote: > At present the tests assume that gawk is being used. Adjust the tests so > that the names are inserted in alphabetical order, so that awk is happy. > > Also use PROCINFO to make gawk output in alphabetical order. This is not > ideal,

Re: [PATCH 1/2] env: Move the doc comment to the code

2022-04-08 Thread Tom Rini
On Fri, Mar 11, 2022 at 04:22:38PM -0700, Simon Glass wrote: > This doesn't really make much sense in the documentation. Add a code > comment instead. > > Suggested-by: Heinrich Schuchardt > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: P

Re: [PATCH 2/2] env: Drop the unncessary protocol mention in autoload

2022-04-08 Thread Tom Rini
On Fri, Mar 11, 2022 at 04:22:39PM -0700, Simon Glass wrote: > Drop this text at the end since it already mentions bootp and dhcp. > > Signed-off-by: Simon Glass > Suggested-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH V3] Makefile: Sort u-boot-initial-env output

2022-04-08 Thread Tom Rini
On Tue, Mar 01, 2022 at 09:38:51AM +0100, Christoph Niedermaier wrote: > This will sort the default environment file generated by > "make u-boot-initial-env", but won't sort the default > environment in the compiled u-boot binary. The file > u-boot-initial-env is considered to use for the userpace

Re: [PATCH] scripts/get_default_envs.sh: Remove blank lines

2022-04-08 Thread Tom Rini
On Wed, Feb 23, 2022 at 10:33:36AM +0100, Christoph Niedermaier wrote: > After sorting, unnoticed blank lines at the end move to the top. > Avoid this by removing it before sorting. > > Signed-off-by: Christoph Niedermaier > Cc: Lukasz Majewski > Cc: Rasmus Villemoes > Cc: Tom Rini > To: u-bo

Re: [PATCH] env: Load env when ENV_IS_NOWHERE is only location selected

2022-04-08 Thread Tom Rini
On Tue, Apr 20, 2021 at 08:04:26PM -0600, felix.vietme...@jila.colorado.edu wrote: > This patch prevent u-boot from hanging on a UltraZed EG board (zynqmp). > > Without the patch, > (drv = env_driver_lookup(ENVOP_INIT, prio)) > evaluates to 0, causing prio = 0 > Then, (!prio) is hit, returning -

Re: [PATCH] cmd: env: Add `indirect` to indirectly set values

2022-04-08 Thread Tom Rini
On Mon, Dec 20, 2021 at 06:31:56PM -0500, Samuel Dionne-Riel wrote: > This allows an ergonomic-enough approximation of ${!variable} expansion. > This could be used the following way: > > ``` > for target in ${boot_targets}; do >env indirect target_name target_name_${target} ># ... > done

Re: [PATCH v4 1/1] env: fat: Allow overriding interface, device and partition

2022-04-08 Thread Tom Rini
On Fri, Feb 18, 2022 at 12:07:25AM +0800, He Yong wrote: > For platform which can boot on different device, this allows > to override interface, device and partition from board code > > Signed-off-by: He Yong Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] net: phy: atheros: avoid error in ar803x_of_init() when PHY has no OF node

2022-04-08 Thread Vladimir Oltean
Hi Ramon, On Fri, Apr 01, 2022 at 10:11:13PM +0300, Ramon Fried wrote: > On Thu, Mar 3, 2022 at 9:53 AM Ramon Fried wrote: > > Reviewed-by: Ramon Fried > Applied to u-boot-net/next > Thanks, > Ramon Did you push this commit anywhere? I don't see it here https://source.denx.de/u-boot/custodians/

[PATCH 0/9] powerpc: dts: p2020: Linux compatibility

2022-04-08 Thread Pali Rohár
This patch series extends P2020 dtsi include files to generate board DTS files compatible for Linux kernel. The aim is to have one DTB file suitable for both Linux kernel and U-Boot. Depends on: http://patchwork.ozlabs.org/project/uboot/patch/20220402224226.20403-3-p...@kernel.org/ http://patchwor

[PATCH 1/9] powerpc: dts: p2020: Add gpio-controller@fc00 node via pq3-gpio-0.dtsi

2022-04-08 Thread Pali Rohár
Import pq3-gpio-0.dtsi device tree include file from upstream Linux kernel for P2020. This allows U-Boot to use P2020 device tree files from upstream Linux kernel which reference gpio-controller@fc00 device. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 1 + arch/powerpc/dts/

[PATCH 4/9] powerpc: dts: p2020: Add Linux compatible string and property for eSDHC

2022-04-08 Thread Pali Rohár
Linux kernel eSDHC driver for P2020 requires additional compatible string fsl,p2020-esdhc and interrupts property. Add them to p2020-post.dtsi file to make U-Boot board DTS files compatible for Linux kernel. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 3 ++- 1 file changed,

[PATCH 3/9] powerpc: dts: p2020: Add ptp_clock@24e00 node via pq3-etsec1-timer-0.dtsi

2022-04-08 Thread Pali Rohár
Import pq3-etsec1-timer-0.dtsi device tree include file from upstream Linux kernel for P2020. This allows U-Boot to use P2020 device tree files from upstream Linux kernel which reference ptp_clock@24e00 device. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 6 arc

[PATCH 5/9] powerpc: dts: p2020: Do not automatically disable spi@7000 node in p2020-post.dtsi

2022-04-08 Thread Pali Rohár
Device tree include file p2020-post.dtsi should be included after the board device tree file and overrides settings of the board. So it should not disable some node as board cannot enable it via normal way (it has to enable it after inclusion of p2020-post.dtsi file). Fix it by removal of explicit

[PATCH 6/9] powerpc: dts: p2020: Add missing interrupts property to spi@7000 node

2022-04-08 Thread Pali Rohár
interrupts property for spi@7000 node is needed for compatibility with Linux kernel. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi index 248b504b8fc4..2135710c

[PATCH 2/9] powerpc: dts: p2020: Make PCIe nodes compatible for Linux kernel driver

2022-04-08 Thread Pali Rohár
Linux P2020 PCIe kernel driver uses compatible string fsl,mpc8548-pcie and needs more DT properties. Copy P2020 PCIe nodes and definitions from upstream Linux kernel. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 65 ++-- 1 file changed, 62 insertio

[PATCH 7/9] powerpc: dts: p2020: Make usb@22000 node compatible for Linux kernel driver

2022-04-08 Thread Pali Rohár
Linux P2020 USB kernel driver uses compatible string fsl-usb2-dr-v1.6 and needs more DT properties. Copy P2020 usb@22000 properties from upstream Linux kernel. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/a

[PATCH 9/9] powerpc: dts: p2020: Set dfsrr property for i2c nodes

2022-04-08 Thread Pali Rohár
Linux kernel dts files pq3-i2c-*.dtsi also sets this dfsrr property for i2c nodes. Signed-off-by: Pali Rohár --- arch/powerpc/dts/pq3-i2c-0.dtsi | 1 + arch/powerpc/dts/pq3-i2c-1.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/dts/pq3-i2c-0.dtsi b/arch/powerpc/dts/pq3-i2c

[PATCH 8/9] powerpc: dts: p2020: Define L2 cache node

2022-04-08 Thread Pali Rohár
Copy definition of L2 cache node from upstream Linux kernel P2020 dts files. Signed-off-by: Pali Rohár --- arch/powerpc/dts/p2020-post.dtsi | 8 arch/powerpc/dts/p2020.dtsi | 2 ++ 2 files changed, 10 insertions(+) diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p

Re: [PATCH v2 1/2] env: setenv add resolve value option

2022-04-08 Thread Sean Anderson
On 4/7/22 2:05 PM, Tom Rini wrote: On Fri, Nov 19, 2021 at 12:36:46PM +0800, Artem Lapkin wrote: Add possibility setup env variable with additional resolving vars inside value. Usage examples: => setenv a hello; setenv b world; setenv c '${a} ${b}' => setenv -r d '${c}! ${a}...' => printenv

Re: [PATCH v2 1/2] env: setenv add resolve value option

2022-04-08 Thread Tom Rini
On Fri, Apr 08, 2022 at 09:09:41AM -0400, Sean Anderson wrote: > On 4/7/22 2:05 PM, Tom Rini wrote: > > On Fri, Nov 19, 2021 at 12:36:46PM +0800, Artem Lapkin wrote: > > > Add possibility setup env variable with additional resolving vars inside > > > > > value. > > > > > > Usage examples: > > >

[PATCH v1 0/3] Support various block interfaces for avb and bcb

2022-04-08 Thread Andrii Chepurnyi
Hello. Originally bcb and avb utilities implementation relay on mmc block devices. This patch series adds an optional interface parameter to those utilities, which gives the ability to use bcb and avb on various block devices. The patch set was tested using xenguest_arm64 based board and pvblock

[PATCH v1 1/3] cmd: bcb: introduce optional interface parameter to bcb

2022-04-08 Thread Andrii Chepurnyi
From: Andrii Chepurnyi From: Andrii Chepurnyi Originally, bcb implementation relay on mmc block devices. The interface parameter will give the ability to use bcb with various block devices by choosing the exact interface type. By default (if no interface parameter is provided) mmc interface wil

[PATCH v1 2/3] cmd: avb: introduce optional interface parameter to avb init

2022-04-08 Thread Andrii Chepurnyi
From: Andrii Chepurnyi From: Andrii Chepurnyi Originally, avb implementation relay on mmc block devices. The interface parameter will give the ability to use avb with various block devices by choosing the exact interface type. By default (if no interface parameter is provided) mmc interface wil

[PATCH v1 3/3] cmd: avb: remove warning during avb build

2022-04-08 Thread Andrii Chepurnyi
From: Andrii Chepurnyi From: Andrii Chepurnyi Remove warning during avb build: cmd/avb.c:247:8: warning: unused variable ‘extra_args’ [-Wunused-variable] 247 | char *extra_args; |^~ cmd/avb.c:246:8: warning: unused variable ‘cmdline’ [-Wunused-variable] 246 | char *c

Re: [PATCH 1/2] Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000

2022-04-08 Thread Masami Hiramatsu
Hi Tom, This looks good to me for the synquacer-defconfig part. Reviewed-by: Masami Hiramatsu Thank you, 2022年4月8日(金) 1:33 Tom Rini : > > The most commonly used value today is 0x2000 and not 0x400. Rework the > Kconfig logic to use this more frequently used value as the default. > > Cc: Andre

[PATCH] ns16550: Respect CONFIG_BAUDRATE < 0 in _debug_uart_init

2022-04-08 Thread Joakim Tjernlund
CONFIG_BAUDRATE less than 0 means do not touch baudrate settings. Signed-off-by: Joakim Tjernlund --- drivers/serial/ns16550.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index 702109b23b..286d8aecca 10064

[PATCH 2/4] board: turris: Do not cache Atsha device in BSS

2022-04-08 Thread Pali Rohár
Atsha device is used prior relocation and at this early stage BSS does not have to be ready yet. So do not cache Atsha device in BSS. Fixes support for other Turris routers. Signed-off-by: Pali Rohár --- board/CZ.NIC/turris_atsha_otp.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH 3/4] board: turris: Allow to specify first eth idx of first MAC address

2022-04-08 Thread Pali Rohár
Turris Omnia uses first MAC address from OTP for second ethernet interface. Second MAC address for third interface and third MAC address for first interface. Other Turris routers do not have this rotate by one mapping. So add function parameter for specifying id of the first ethernet interface. S

[PATCH 1/4] board: turris: Move Turris Atsha OTP code to separate file

2022-04-08 Thread Pali Rohár
OTP code is not Atsha generic but also it is not Omnia specific. It is common for all Turris routers which use Atsha cryptochip for storing OTP. So move this common Turris specific Atsha OTP code from Turris Omnia into separate file. It will be used also by other Turris routers. Signed-off-by: Pal

[PATCH 4/4] board: turris: Rename atsha204a@64 DT node to crypto@64

2022-04-08 Thread Pali Rohár
DT node name should be generic, therefore rename atsha204a@64 to crypto@64. Signed-off-by: Pali Rohár --- arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +- board/CZ.NIC/turris_atsha_otp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/

Re: [v2 13/25] spi: cadence_qspi: Migrate CONFIG_CQSPI_REF_CLK to Kconfig

2022-04-08 Thread Tom Rini
On Thu, Mar 31, 2022 at 03:35:26PM -0400, Tom Rini wrote: > This is a little tricky since SoCFPGA has code to determine this as > runtime. Introduce a guard variable for platforms to select if they > have a static value to use. Then for ARCH_SOCFPGA, call > cm_get_qspi_controller_clk_hz() and ot

Re: [PATCH 3/3] binman: add test for sign option

2022-04-08 Thread Sean Anderson
On 3/21/22 5:43 PM, Ivan Mikhaylov wrote: > Add the test which provides sequence of actions: > 1. create the image from binman dts > 2. create public and private keys > 3. add public key into dtb with fdt_add_pubkey > 4. sign image with new sign option > 5. check with fit_check_sign >

Re: [PATCH 09/13] configs: imx8mm/n_venice: drop unused SDHC macro

2022-04-08 Thread Tim Harvey
On Thu, Apr 7, 2022 at 7:45 PM Peng Fan (OSS) wrote: > > From: Peng Fan > > With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. > CONFIG_SYS_FSL_USDHC_NUM > CONFIG_SYS_FSL_ESDHC_ADDR > > Signed-off-by: Peng Fan > --- > include/configs/imx8mm_venice.h | 4 > include/configs/im

Re: [PATCH 3/3] binman: add test for sign option

2022-04-08 Thread Ivan Mikhaylov
On Fri, 2022-04-08 at 11:39 -0400, Sean Anderson wrote: > > > On 3/21/22 5:43 PM, Ivan Mikhaylov wrote: > > Add the test which provides sequence of actions: > >   1. create the image from binman dts > >   2. create public and private keys > >   3. add public key into dtb with fdt_add_pubkey > >  

[PATCH] phy: adin: add driver for Analog Devices ADIN1300 PHY

2022-04-08 Thread Nate Drude
The current implementation configures RGMII using device tree phy-mode property and then calls genphy_config adin_config_rgmii_mode is derived from: https://github.com/varigit/linux-imx/blob/lf-5.10.y_var04/drivers/net/phy/adin.c#L218-L262 Signed-off-by: Nate Drude --- doc/device-tree-bindings/

Re: [PATCH 1/4] board: turris: Move Turris Atsha OTP code to separate file

2022-04-08 Thread Marek Behún
On Fri, 8 Apr 2022 16:30:12 +0200 Pali Rohár wrote: > OTP code is not Atsha generic but also it is not Omnia specific. It is > common for all Turris routers which use Atsha cryptochip for storing OTP. > So move this common Turris specific Atsha OTP code from Turris Omnia into > separate file. It

Re: [PATCH 2/4] board: turris: Do not cache Atsha device in BSS

2022-04-08 Thread Marek Behún
On Fri, 8 Apr 2022 16:30:13 +0200 Pali Rohár wrote: > Atsha device is used prior relocation and at this early stage BSS does not > have to be ready yet. So do not cache Atsha device in BSS. > > Fixes support for other Turris routers. > > Signed-off-by: Pali Rohár Reviewed-by: Marek Behún

Re: [PATCH 3/4] board: turris: Allow to specify first eth idx of first MAC address

2022-04-08 Thread Marek Behún
On Fri, 8 Apr 2022 16:30:14 +0200 Pali Rohár wrote: > Turris Omnia uses first MAC address from OTP for second ethernet interface. > Second MAC address for third interface and third MAC address for first > interface. > > Other Turris routers do not have this rotate by one mapping. So add > funct

Re: [PATCH 4/4] board: turris: Rename atsha204a@64 DT node to crypto@64

2022-04-08 Thread Marek Behún
On Fri, 8 Apr 2022 16:30:15 +0200 Pali Rohár wrote: > DT node name should be generic, therefore rename atsha204a@64 to crypto@64. > > Signed-off-by: Pali Rohár Reviewed-by: Marek Behún

Re: [PATCH 01/25] Convert CONFIG_BOARD_SIZE_LIMIT to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:11PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_BOARD_SIZE_LIMIT > > To do this, introduce CONFIG_HAS_BOARD_SIZE_LIMIT. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signat

Re: [PATCH 02/25] mvebu: Move BOOTROM_ERR_REG out of CONFIG namespace

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:12PM -0400, Tom Rini wrote: > This register is referenced in one location and does not seem > configurable, so remove it from CONFIG namespace. > > Cc: Stefan Roese > Signed-off-by: Tom Rini > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 03/25] tegra: Migrate CI_UDC_HAS_HOSTPC to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:13PM -0400, Tom Rini wrote: > This option is only enabled for CI_UDC and !TEGRA20, so implement it as > such in Kconfig directly. > > Signed-off-by: Tom Rini > Reviewed-by: Peter Robinson > Tested-by: Peter Robinson Applied to u-boot/master, thanks! -- Tom si

Re: [PATCH 04/25] Convert CONFIG_CMDLINE_PS_SUPPORT to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:14PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_CMDLINE_PS_SUPPORT > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 05/25] arm: integrator: Migrate platform-specific options and cleanup armcoremodule.h

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:15PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_CM_INIT >CONFIG_CM_REMAP >CONFIG_CM_SPD_DETECT >CONFIG_CM_MULTIPLE_SSRAM >CONFIG_CM_TCRAM > > We make the first three of these options be always enabled, as that > match

Re: [PATCH 06/25] s5p_goni, smdkc100: Move some environment settings out of CONFIG

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:16PM -0400, Tom Rini wrote: > A number of CONFIG options are used on these platforms as part of the > default environment. Set some of these more directly and in other > cases, just reference them directly. > > Cc: Jaehoon Chung > Cc: Minkyu Kang > Signed-off-by:

Re: [PATCH 07/25] MPC837XERDB: Stop using CONFIG_RAMDISKFILE

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:17PM -0400, Tom Rini wrote: > We don't really configure this, just set it directly in the environment > section. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 08/25] corvus: Migrate CONFIG_*_LED out of CONFIG namespace

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:18PM -0400, Tom Rini wrote: > This code is only used on the corvus platform, so migrate the LED on/off > code to this platform and remove it from the CONFIG namespace. In > theory, this should likely be moved to the modern GPIO LED driver as a > further cleanup. > >

Re: [PATCH 09/25] stm32f429-discovery: Migrate CONFIG_*_LED out of CONFIG namespace

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:19PM -0400, Tom Rini wrote: > These values are only used in one file, reference them more directly. > > Cc: Kamil Lulko > Cc: Patrick Delaunay > Cc: Patrice Chotard > Cc: uboot-st...@st-md-mailman.stormreply.com > Signed-off-by: Tom Rini > Reviewed-by: Patrice Ch

Re: [PATCH 10/25] at91: Remove unused LED code

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:20PM -0400, Tom Rini wrote: > These LED files (and CONFIG values) are unused today, remove the code in > question. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 11/25] Convert CONFIG_CONS_SCIF0 et al to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:21PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_CONS_SCIF0 >CONFIG_CONS_SCIF1 >CONFIG_CONS_SCIF2 >CONFIG_CONS_SCIF4 >CONFIG_CONS_SCIFA0 > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signat

Re: [PATCH 12/25] Convert CONFIG_SH_SCIF_CLK_FREQ to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:22PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_SH_SCIF_CLK_FREQ > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 14/25] controlcenterdc: Migrate CUSTOMER_BOARD_SUPPORT to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:24PM -0400, Tom Rini wrote: > This symbol is only possibly useful on some mvebu platforms, so move the > symbol there and select it for the only current user. > > Cc: Mario Six > Cc: Stefan Roese > Signed-off-by: Tom Rini > Reviewed-by: Stefan Roese Applied to u

Re: [PATCH 15/25] tegra: Drop CONFIG_CHROMEOS_EXTRA_ENV_SETTINGS

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:25PM -0400, Tom Rini wrote: > This is not currently set by any boards, so drop. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 16/25] microblaze: Migrate DCACHE/ICACHE to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:26PM -0400, Tom Rini wrote: > Move these two options to the arch Kconfig file. > > Cc: Michal Simek > Signed-off-by: Tom Rini > Acked-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 17/25] ls1021atwr: Use DEBUG and not CONFIG_DEBUG

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:27PM -0400, Tom Rini wrote: > We use 'DEBUG' and not 'CONFIG_DEBUG' tree-wide for debug code that is > left in, and not wrapped by some other regular debugging type print > macro. > > Cc: Alison Wang > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! --

Re: [PATCH 18/25] nds32: Migrate CONFIG_DEBUG_LED to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:28PM -0400, Tom Rini wrote: > Move this value to the board Kconfig file. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 19/25] powerpc: mpc83xx: Migrate DEFAULT_IMMR to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:29PM -0400, Tom Rini wrote: > As no platforms override this value, set it for all mpc83xx platforms. > > Cc: Mario Six > Cc: Wolfgang Denk > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 20/25] galileo: Remove CONFIG_DESIGNWARE_ETH reference

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:30PM -0400, Tom Rini wrote: > This platform has CONFIG_ETH_DESIGNWARE set already, which is the > correct value for the driver in question. Remove this incorrect line. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [PATCH 21/25] Convert CONFIG_DIMM_SLOTS_PER_CTLR to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:31PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_DIMM_SLOTS_PER_CTLR > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 22/25] Convert CONFIG_FSL_QIXIS et al to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:32PM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_FSL_QIXIS >CONFIG_QIXIS_I2C_ACCESS > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 23/25] m53menlo: Drop CONFIG_DISCOVER_PHY

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:33PM -0400, Tom Rini wrote: > This is not used in code, drop. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 24/25] siemens-am33x-common: Drop CONFIG_DMA_COHERENT*

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:34PM -0400, Tom Rini wrote: > These values are not used in the code, remove them. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 25/25] arm: fsl-layerscape: Migrate more DP-DDR options to Kconfig

2022-04-08 Thread Tom Rini
On Wed, Mar 30, 2022 at 06:07:35PM -0400, Tom Rini wrote: > Based on current usage, migrate a number of DP-DDR related options to > Kconfig. > > Cc: Priyanka Jain > Cc: Rajesh Bhagat > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signatur

  1   2   >