[PATCH v5 1/2] dm: core: add function uclass_probe_all() to probe all devices

2020-12-08 Thread Vabhav Sharma
From: Vabhav Sharma Support a common method to probe all devices associated with uclass. This includes data structures and code for finding the first device and looping for remaining devices associated with uclasses (groups of devices with the same purpose, e.g. all SERIAL ports will be in the

[PATCH v5 2/2] drivers: serial: probe all uart devices

2020-12-08 Thread Vabhav Sharma
From: Vabhav Sharma U-Boot DM model probe only single device at a time which is enabled and configured using device tree or platform data method. PL011 UART IP is SBSA compliant and firmware does the serial port set-up, initialization and let the kernel use UART port for sending and receiving

[PATCH v5 0/2] dm: core: drivers: add function uclass_probe_all()

2020-12-08 Thread Vabhav Sharma
From: Vabhav Sharma - Add common method to probe devices belonging to same uclass - Add config in serial uclass to support optional inclusion of uclass_probe_all - Enable support for available serial devices probe Changes for v5: Incorporated review comments from Sean Anderson - Added error

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-08 Thread Sughosh Ganu
On Wed, 9 Dec 2020 at 03:24, Heinrich Schuchardt wrote: > On 12/8/20 10:19 AM, Sughosh Ganu wrote: > > > > On Tue, 8 Dec 2020 at 14:32, Heinrich Schuchardt > > wrote: > > > > On 08.12.20 06:28, Sughosh Ganu wrote: > > > > > > On Mon, 7 Dec 2020 at 23:28,

[PATCH 4/9] board: ge: common: vpd: fix name

2020-12-08 Thread sbabic
> Commit f692b479f02d changed the VPD partition name from "vpd" to > "vpd@0". Fix the VPD reader code to use the new name, so that > the VPD code keeps working. > Fixes: f692b479f02d ("i2c: eeprom: Use reg property instead of offset and > size") > Signed-off-by: Sebastian Reichel Applied to

[PATCH v1] imx: imx8qm_rom7720_a1: add missing DTS to the MAINTAINERS

2020-12-08 Thread sbabic
> add the dts file to the MAINTAINERS entry > Signed-off-by: Oliver Graute > Cc: Stefano Babic > Cc: uboot-imx Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH] imx8m: fix cache setup for dynamic sdram size

2020-12-08 Thread sbabic
> the mem_map structure containing the size of SDRAM is used in various > cache functions in cache_v8.c thus we need to update it with the > sdram size the board is configured with as well. Without this > the cache functions do not get setup properly and can hang > in the case where a board

[PATCH v1] doc: board: imx8qm-rom7720-a1.rst: convert readme to reST

2020-12-08 Thread sbabic
> Convert README to reStructuredText format. > Signed-off-by: Oliver Graute Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB

[PATCH v1 2/9] pca9450a: fix i2c address

2020-12-08 Thread sbabic
> From: Max Krummenacher > The I2C address is 0x25, not 0x35. This according to the datasheet and > tests with a PCA9450A. > Signed-off-by: Max Krummenacher > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[v2 18/33] configs: ls1012afrwy: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for ls1012afrwy Signed-off-by: Biwen Li --- configs/ls1012afrwy_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1012afrwy_qspi_defconfig | 1 + configs/ls1012afrwy_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1012afrwy_tfa_defconfig | 1 + 4

[v2 17/33] configs: ls1021aqds: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for board ls1021aqds Signed-off-by: Biwen Li --- include/configs/ls1021aqds.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index eb6f1c1e5b..b4c70333de 100644 ---

[v2 22/33] configs: ls1028aqds: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1028aqds Signed-off-by: Biwen Li --- configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1028aqds_tfa_defconfig | 1 + configs/ls1028aqds_tfa_lpuart_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git

[v2 20/33] configs: ls1021aqds: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1021aqds Signed-off-by: Biwen Li --- configs/ls1021aqds_ddr4_nor_defconfig| 1 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 + configs/ls1021aqds_nand_defconfig| 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 1 +

[v2 21/33] configs: ls1021atwr: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for ls1021atwr Signed-off-by: Biwen Li --- configs/ls1021atwr_nor_SECURE_BOOT_defconfig| 1 + configs/ls1021atwr_nor_defconfig| 1 + configs/ls1021atwr_nor_lpuart_defconfig | 1 + configs/ls1021atwr_qspi_defconfig

[v2 19/33] configs: ls1012ardb: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for ls1012ardb Signed-off-by: Biwen Li --- configs/ls1012ardb_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1012ardb_qspi_defconfig | 1 + configs/ls1012ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1012ardb_tfa_defconfig | 1 + 4 files

[v2 23/33] configs: ls1028ardb: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1028ardb Signed-off-by: Biwen Li --- configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1028ardb_tfa_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig

Re: FW: U-Boot: spl: partition error (stm32mp157)

2020-12-08 Thread Patrick DELAUNAY
Hi, it seems that the GPT partitionning is not regonized in SPL in part.c; see the trace: ## Unknown partition table type 0 But you have correclty activate the GPT support in SPL     CONFIG_SPL_EFI_PARTITION=y So I uspect read error in sdmmc driver and no HW isue as ROM code load

[v2 02/33] arm: dts: ls1021a: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS1021A Signed-off-by: Biwen Li --- arch/arm/dts/ls1021a.dtsi | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 0eeec43ccc..7b99ce02b3 100644 ---

[v2 00/33] gpio: layerscape: fix gpio bug and enable gpio

2020-12-08 Thread Biwen Li
From: Biwen Li Change in v2: - fix warnings when check patches - enable gpio command for boards ls1021atwr, ls1021aqds Biwen Li (33): gpio: mpc8xxx_gpio: fix a bug on ls1046ardb arm: dts: ls1021a: add gpio node arm64: dts: ls1012a: add gpio node arm64: dts: ls1028a: add

[v2 01/33] gpio: mpc8xxx_gpio: fix a bug on ls1046ardb

2020-12-08 Thread Biwen Li
From: Biwen Li Fix a bug as belows, => gpio status -a "Synchronous Abort" handler, esr 0x9661 elr: 82047964 lr : 82047960 (reloc) elr: fbd72964 lr : fbd72960 x0 : x1 : 000a x2 : 0020 x3 : 0001 x4 :

[v2 03/33] arm64: dts: ls1012a: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS1012A Signed-off-by: Biwen Li --- arch/arm/dts/fsl-ls1012a.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl-ls1012a.dtsi index 2d70c82a72..b1a616ed84 100644 ---

[v2 04/33] arm64: dts: ls1028a: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS1028A Signed-off-by: Biwen Li --- arch/arm/dts/fsl-ls1028a.dtsi | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi index bf6373d5ec..64e75c637d 100644 ---

Re: [PATCH 00/18] fs: fat: fix long name support

2020-12-08 Thread Marek Szyprowski
Hi On 29.11.2020 03:01, Heinrich Schuchardt wrote: > Since long name support was added to U-Boot's implementation of the > FAT file system corruption of the directories was observed when running > the UEFI Self Certifification Test. > > The following problems are addressed by this series. > > *

[PATCH v1 7/9] verdin-imx8mm: spl: enable pca9450 i2c level translator

2020-12-08 Thread sbabic
> From: Max Krummenacher > Enable PCA9450 i2c level translator, as this is used for the > on module ADC. > Signed-off-by: Max Krummenacher > Acked-by: Marcel Ziswiler > Reviewed-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 8/9] toradex: tdx-cfg-clock: fix i.mx 8m mini interactive

2020-12-08 Thread sbabic
> From: Marcel Ziswiler > Now with them first Verdin iMX8M Mini DualLite modules in for bring-up > we got clarity how is_cpu_type() actually behaves. > Signed-off-by: Marcel Ziswiler > Reviewed-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] imx: ahab: fix implicit declaration warning

2020-12-08 Thread sbabic
> Fix the following warning: > arch/arm/mach-imx/imx8/ahab.c:105:3: warning: implicit declaration of > function ‘flush_dcache_range’ [-Wimplicit-function-declaration] >flush_dcache_range(s, e); >^~ > Include cpu_func.h header which declares the flush_dcache_range() >

[PATCH v1 5/9] verdin-imx8mm: spl: switch to pca9450 pmic

2020-12-08 Thread sbabic
> From: Max Krummenacher > V1.1A HW switched the PMIC from BD71837 to PCA9450. > - Disable combined DVS in PCA9450_BUCK123_DVS. > - Increase DDR Voltage to 0.95V as we use a 1.5GHz RAM. > - Configure WDOG_B behaviour. > Signed-off-by: Max Krummenacher > Signed-off-by: Igor Opaniuk > Acked-by:

[PATCH v1 5/7] apalis-imx8: add implementation for board_mem_get_layout

2020-12-08 Thread sbabic
> From: Igor Opaniuk > Add implementation of board_mem_get_layout for overriding the memory > layout. > Signed-off-by: Igor Opaniuk > Acked-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 7/7] colibri-imx8x: add implementation for board_mem_get_layout

2020-12-08 Thread sbabic
> From: Igor Opaniuk > Add implementation of board_mem_get_layout for overriding the memory > layout. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[GIT PULL] Pull request: u-boot-imx u-boot-imx-20201208

2020-12-08 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! Travis: https://travis-ci.org/github/sbabic/u-boot-imx/builds/748076494 The following changes since commit ee1e04558ff8c8ed812b986939447f129bb0b0bb: Merge branch '2020-12-02-master-imports' (2020-12-03 09:43:47 -0500) are available in the Git

[v2 15/33] configs: ls1046a: enable MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable MPC8XXX_GPIO for SoC LS1046A Signed-off-by: Biwen Li --- include/configs/ls1046a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index d44a7f105e..32658cf641 100644 ---

[v2 13/33] configs: ls208xa: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for LS208xA Signed-off-by: Biwen Li --- include/configs/ls2080a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index 444bb8c3b5..1042555a8c 100644 ---

[v2 12/33] configs: ls1088a: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for LS1088A Signed-off-by: Biwen Li --- include/configs/ls1088a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h index f9e349871c..b9a956b90b 100644 ---

[v2 14/33] configs: lx2160a: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for SoC LX2160A Signed-off-by: Biwen Li --- include/configs/lx2160a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h index 0017ac5773..3b7516aace 100644 ---

[v2 11/33] configs: ls1028a: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for SoC LS1028A Signed-off-by: Biwen Li --- include/configs/ls1028a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h index 8345cd7acf..1c4af7d176 100644 ---

[v2 16/33] configs: ls1021atwr: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for board ls1021atwr Signed-off-by: Biwen Li --- include/configs/ls1021atwr.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 3e85bb3850..dfb56437d9 100644 ---

[PATCH] imx: ahab: Fix compiler warnings in printf

2020-12-08 Thread sbabic
> arch/arm/mach-imx/imx8/ahab.c:110:63: warning: format ‘%x’ expects > argument of type ‘unsigned int’, but argument 2 has type ‘u64 {aka long > long unsigned int}’ [-Wformat=] > Fix those by using %llx > Signed-off-by: Oliver Graute > Cc: Stefano Babic > Cc: uboot-imx Applied to u-boot-imx,

[v2 26/33] configs: ls1046ardb: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1046ardb Signed-off-by: Biwen Li --- configs/ls1046ardb_emmc_defconfig | 1 + configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 1 + configs/ls1046ardb_qspi_defconfig | 1 + configs/ls1046ardb_qspi_spl_defconfig

[v2 27/33] configs: ls1046aqds: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1046aqds Signed-off-by: Biwen Li --- configs/ls1046aqds_SECURE_BOOT_defconfig | 1 + configs/ls1046aqds_defconfig | 1 + configs/ls1046aqds_lpuart_defconfig | 1 + configs/ls1046aqds_nand_defconfig| 1 +

[v2 29/33] configs: ls2088aqds: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls2088aqds Signed-off-by: Biwen Li --- configs/ls2088aqds_tfa_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls2088aqds_tfa_defconfig b/configs/ls2088aqds_tfa_defconfig index 9e6e9f63ad..f5e8cfbeb4 100644 ---

[v2 24/33] configs: ls1043aqds: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1043aqds Signed-off-by: Biwen Li --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig| 1 + configs/ls1043aqds_nor_ddr3_defconfig| 1 +

[v2 25/33] configs: ls1043ardb: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board ls1043ardb Signed-off-by: Biwen Li --- configs/ls1043ardb_SECURE_BOOT_defconfig| 1 + configs/ls1043ardb_defconfig| 1 + configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_nand_defconfig

[v2 28/33] configs: ls2088ardb: enable DM_GPIO and CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable DM_GPIO and CMD_GPIO for board ls2088ardb Signed-off-by: Biwen Li --- configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 2 ++ configs/ls2088ardb_qspi_defconfig | 2 ++ configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/ls2088ardb_tfa_defconfig

[PATCH] imx: ahab: fix compiler warnings in debug

2020-12-08 Thread sbabic
> arch/arm/mach-imx/imx8/ahab.c: In function ‘authenticate_os_container’: > arch/arm/mach-imx/imx8/ahab.c:96:9: warning: format ‘%x’ expects argument of > type > ‘unsigned int’, but argument 9 has type ‘ulong {aka long unsigned int}’ > [-Wformat=] >debug("img %d, dst 0x%x, src 0x%x, size

[PATCH v2] mmc: fsl_esdhc_imx: add wait_dat0() support

2020-12-08 Thread sbabic
> From: Haibo Chen > Add wait_dat0() support, upper layer will use this callback. > Signed-off-by: Haibo Chen > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH v1 6/7] apalis-imx8x: add implementation for board_mem_get_layout

2020-12-08 Thread sbabic
> From: Igor Opaniuk > Add implementation of board_mem_get_layout for overriding the memory > layout. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 9/9] board: ge: bx50v3: check b850v3 power management watchdog

2020-12-08 Thread sbabic
> From: Ian Ray > Set `bootcause' from b850v3 power management watchdog status. > Boot cause "REVERT" is no longer used, remove it. > Signed-off-by: Ian Ray > Signed-off-by: Sebastian Reichel Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-08 Thread Heinrich Schuchardt
On 08.12.20 06:28, Sughosh Ganu wrote: > > On Mon, 7 Dec 2020 at 23:28, Heinrich Schuchardt > wrote: > > On 07.12.20 13:50, Heinrich Schuchardt wrote: > > On 07.12.20 06:15, Sughosh Ganu wrote: > >> hello Heinrich, > >> > >> On Sat, 5 Dec 2020 at

Re: FW: U-Boot: spl: partition error (stm32mp157)

2020-12-08 Thread Jagan Teki
On Tue, Dec 8, 2020 at 2:42 PM Patrick DELAUNAY wrote: > > Hi, > > it seems that the GPT partitionning is not regonized in SPL in part.c; > > see the trace: > > ## Unknown partition table type 0 > > But you have correclty activate the GPT support in SPL > > CONFIG_SPL_EFI_PARTITION=y

[PATCH v1 1/9] toradex: tdx-cfg-clock: add new i.mx 8m mini/plus skus

2020-12-08 Thread sbabic
> From: Marcel Ziswiler > Add new i.MX 8M Mini/Plus SKUs to ConfigBlock handling: > 0058: Verdin iMX8M Plus Quad 4GB Wi-Fi / BT IT > 0059: Verdin iMX8M Mini Quad 2GB IT > 0060: Verdin iMX8M Mini DualLite 1GB WB IT > 0061: Verdin iMX8M Plus Quad 2GB > Rename existing SKU (use correct one): >

[v2 07/33] arm64: dts: ls1088a: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS1088A Signed-off-by: Biwen Li --- arch/arm/dts/fsl-ls1088a.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index 6653794d1c..3e5b310437 100644 ---

[v2 09/33] configs: ls1012a: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for SoC LS1012A Signed-off-by: Biwen Li --- include/configs/ls1012a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 6cf6a31d76..f6b5d47c25 100644 ---

[v2 10/33] configs: ls1043a: enable CONFIG_MPC8XXX_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CONFIG_MPC8XXX_GPIO for SoC LS1043A Signed-off-by: Biwen Li --- include/configs/ls1043a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index 96fdd6417e..74625cc0bb 100644 ---

[v2 06/33] arm64: dts: ls1046a: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS1046A Signed-off-by: Biwen Li --- arch/arm/dts/fsl-ls1046a.dtsi | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index 3f11d6cd18..bffa6d1469 100644 ---

[v2 08/33] arm64: dts: ls208xa: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS208xA Signed-off-by: Biwen Li --- arch/arm/dts/fsl-ls2080a.dtsi | 45 +++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index 6b7bf8eb16..155caf4721 100644 ---

[v2 05/33] arm64: dts: ls1043a: add gpio node

2020-12-08 Thread Biwen Li
From: Biwen Li Add gpio node for SoC LS1043A Signed-off-by: Biwen Li --- arch/arm/dts/fsl-ls1043a.dtsi | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index f7db44c0fa..96286104f2 100644 ---

[v2 31/33] configs: ls1088ardb: enable DM_GPIO and CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable DM_GPIO and CMD_GPIO for board ls1088ardb Signed-off-by: Biwen Li --- configs/ls1088ardb_qspi_SECURE_BOOT_defconfig| 2 ++ configs/ls1088ardb_qspi_defconfig| 2 ++ configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 2 ++

[v2 33/33] configs: lx2160aqds: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board lx2160aqds Signed-off-by: Biwen Li --- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160aqds_tfa_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/lx2160aqds_tfa_SECURE_BOOT_defconfig

[v2 32/33] configs: lx2160ardb: enable CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable CMD_GPIO for board lx2160ardb Signed-off-by: Biwen Li --- configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 1 + configs/lx2160ardb_tfa_defconfig | 1 + configs/lx2160ardb_tfa_stmm_defconfig| 1 + 3 files changed, 3 insertions(+) diff --git

[v2 30/33] configs: ls1088aqds: enable DM_GPIO and CMD_GPIO

2020-12-08 Thread Biwen Li
From: Biwen Li Enable DM_GPIO and CMD_GPIO for board ls1088aqds Signed-off-by: Biwen Li --- configs/ls1088aqds_defconfig | 2 ++ configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 2 ++ configs/ls1088aqds_qspi_defconfig | 2 ++ configs/ls1088aqds_sdcard_ifc_defconfig

A3720 - Disable slot when eMMC is not present

2020-12-08 Thread Pali Rohár
Hello! I looked at what is initialized and enabled for sd/emmc slots and I found out that comphy mmc needs to be enabled if at least one slot is used (e.g. SD card) and then remaining part is slot initialization in xenon driver. I wrote quick patch to disable slot when unregistering mmc device

[PATCH v1 4/9] ARM: dts: imx8mm-verdin: follow changed pmic

2020-12-08 Thread sbabic
> From: Max Krummenacher > The used PMIC has been changed from RHOM BD71837 to NXP PCA9450A. > Adjust the device tree accordingly. > Remove the old ADC node as the ADC has been changed and has no longer > a separate power rail. > Signed-off-by: Max Krummenacher > Signed-off-by: Igor Opaniuk >

[PATCH v1 1/4] imx6: remove not longer supported aristainetos boards

2020-12-08 Thread sbabic
> Removed aristainetos2, 2b, 2b-csl. This boards have been > recalled and destroyed. > Adapt board code to remove stuff not needed anymore. > Fix checkpatch warning, remove fdt_high and initrd_high > from default environment. > Signed-off-by: Heiko Schocher > zu remove Applied to u-boot-imx,

[PATCH v1 1/7] ARM: dts: fsl-imx8qxp-apalis: add initial device tree

2020-12-08 Thread sbabic
> From: Igor Opaniuk > Introduce initial hierarchy of device trees for Apalis iMX8X > System on Module. > Signed-off-by: Igor Opaniuk > Acked-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 7/9] board: ge: bx50v3: reduce magic numbers

2020-12-08 Thread sbabic
> Use VPD product ID instead of confidx, so that we can easily reuse the > product ID defines and avoid some magic numbers. > Signed-off-by: Sebastian Reichel Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 8/9] board: ge: reduce VPD EEPROM partition size

2020-12-08 Thread sbabic
> From: Ian Ray > Reduce vital product data size to match the latest specification. > Signed-off-by: Ian Ray > Signed-off-by: Sebastian Reichel Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH v1 3/4] arm: dts: aristainetos: sync with changes in linux

2020-12-08 Thread sbabic
> sync with comaptible changes in linux from > Krzysztof Kozlowski. > https://patchwork.kernel.org/project/linux-arm-kernel/patch/20200930190143.27032-12-k...@kernel.org/ > Signed-off-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v1 4/7] imx8: allow overriding memory layout

2020-12-08 Thread sbabic
> From: Marcel Ziswiler > Introduce weak function board_mem_get_layout() which allows overriding > the memory layout from board code in runtime, useful for handling > different SKU versions. > Signed-off-by: Marcel Ziswiler > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov Applied

[PATCH v1 2/4] imx6: add support for aristainetos2c_cslb board variant

2020-12-08 Thread sbabic
> add support for aristainetos2c_cslb board variant. > Signed-off-by: Heiko Schocher Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang

[PATCH 6/9] board: ge: bx50v3: drop unused pinmux defines

2020-12-08 Thread sbabic
> Remove pinmux defines, that are no longer used after > converting the code to devicetree. > Signed-off-by: Sebastian Reichel Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH 5/9] board: ge: bx50v3: correct CONFIG_CMD_NFS

2020-12-08 Thread sbabic
> From: Ian Ray > Fix typo in NFS command configuration check. > Signed-off-by: Ian Ray > Signed-off-by: Sebastian Reichel Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH] mmc: fsl_esdhc_imx: optimize the timing setting

2020-12-08 Thread sbabic
> From: Haibo Chen > For imx usdhc/esdhc, once set the DDR_EN, enable the DDR mode, the > card clock will be divied by 2 automatically by the host. So need > to first config the DDR_EN correctly, then update the card clock. > This will make sure the actual card clock is as our expected. > IC also

Re: [PATCH 01/14] qemu: arm: Use the generated DTB only when CONGIG_OF_BOARD is defined

2020-12-08 Thread Sughosh Ganu
On Tue, 8 Dec 2020 at 14:32, Heinrich Schuchardt wrote: > On 08.12.20 06:28, Sughosh Ganu wrote: > > > > On Mon, 7 Dec 2020 at 23:28, Heinrich Schuchardt > > wrote: > > > > On 07.12.20 13:50, Heinrich Schuchardt wrote: > > > On 07.12.20 06:15, Sughosh Ganu

Re: Boot problems imx8mp_evk

2020-12-08 Thread Adam Ford
On Wed, Sep 30, 2020 at 6:06 AM Peter Bergin wrote: > > Hi, > > I'm following the README > (https://gitlab.denx.de/u-boot/u-boot/-/tree/master/board/freescale/imx8mp_evk) > to bring up u-boot on a imx8mp EVK board. My boot ends up in this on the > console: > > U-Boot SPL

Re: FW: [PATCH 0/6] video: remove VIDCONSOLE_AS_LCD and VIDCONSOLE_AS_NAME

2020-12-08 Thread Patrick DELAUNAY
Hi Soeren, From: Soeren Moch Sent: dimanche 6 décembre 2020 20:59 On 03.12.20 10:15, Patrick Delaunay wrote: I propose this serie to remove the vidconsole work-around, activated with the 2 options VIDCONSOLE_AS_LCD and VIDCONSOLE_AS_NAME and cleanup the associated code in console.c (under

Re: U-Boot: spl: partition error (stm32mp157)

2020-12-08 Thread Patrice CHOTARD
Hi Jagan On 12/7/20 6:46 PM, Jagan Teki wrote: > Hi Patrick, > > Not sure, it's an issue with the current tree, or I may miss something. > > Any suggestions? > > U-Boot SPL 2021.01-rc2-00143-g345dd00160-dirty (Dec 07 2020 - 01:48:44 +0530) > Model: Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit >

[PATCH] gpio: pca953x: add bus option to select the i2c bus.

2020-12-08 Thread Joseph Liu
From: Joseph Liu If DM_I2C is used, the command "i2c dev" will not reassign gd->cur_i2c_bus. Add this bus option to change the active I2C bus. Signed-off-by: Joseph Liu --- drivers/gpio/pca953x.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git

RE: Boot problems imx8mp_evk

2020-12-08 Thread ZHIZHIKIN Andrey
Hello Adam/Peter, > -Original Message- > From: U-Boot On Behalf Of Adam Ford > Sent: Tuesday, December 8, 2020 2:48 PM > To: Peter Bergin > Cc: U-Boot Mailing List ; NXP Linux Team i...@nxp.com> > Subject: Re: Boot problems imx8mp_evk > > This email is not from Hexagon’s Office 365

Re: [PATCH v2 2/4] image-fit: Fix FIT_CIPHER linking

2020-12-08 Thread Philippe REYNES
Hi Joel Le 08/12/2020 à 05:12, Joel Stanley a écrit : When CONFIG_FIT_CIPHER=y and CONFIG_FIT_SIGNATURE=n is there is no implementation of image_get_host_blob for mkimage/dumpimage: /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data':

Re: [PATCH 06/14] qemu: arm64: Set dfu_alt_info variable for the platform

2020-12-08 Thread Tom Rini
On Tue, Dec 08, 2020 at 10:48:57AM +0530, Sughosh Ganu wrote: > On Tue, 8 Dec 2020 at 00:17, Tom Rini wrote: > > > On Sat, Dec 05, 2020 at 11:31:49AM +0100, Heinrich Schuchardt wrote: > > > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > > > The dfu framework uses the dfu_alt_info environment

Re: [PATCH] spl: fit: Prefer a malloc()'d buffer for loading images

2020-12-08 Thread Tom Rini
On Wed, Oct 21, 2020 at 06:32:58PM -0500, Alexandru Gagniuc wrote: > Fit images were loaded to a buffer provided by spl_get_load_buffer(). > This may work when the FIT image is small and fits between the start > of DRAM and SYS_TEXT_BASE. > > One problem with this approach is that the location

imx8mp_evk: boot error "alloc space exhausted"

2020-12-08 Thread ZHIZHIKIN Andrey
Hello Peng, I've tried to boot the i.MX8M Plus EVK with U-Boot 2020.10 and faced the error message during the boot process, which indicates that the allocation space in early malloc area is exhausted. Looking at the log, I was able to bisect it to the commit 28fff3fa1c ("imx: imx8mp_evk: fix

Re: [PATCH v2 1/4] tools/Makefile: FIT_CIPHER requires libssl

2020-12-08 Thread Philippe REYNES
Hi Joel, Le 08/12/2020 à 05:12, Joel Stanley a écrit : If CONFIG_FIT_CIPHER is enabled without CONFIG_FIT_SIGNATURE then mkimage/dumpimage will fail to link: /usr/bin/ld: tools/common/image-cipher.o: in function `fit_image_decrypt_data': image-cipher.c:(.text+0x9a): undefined reference

Re: [PATCH 4/4] ARM: dts: stm32: Add USB OTG ID pin on DH AV96

2020-12-08 Thread Patrick DELAUNAY
Hi Marek, From: Marek Vasut Sent: mardi 1 décembre 2020 11:29 Add USB OTG ID pin mux and switch the USB OTG port from peripheral to OTG mode. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- arch/arm/dts/stm32mp15xx-dhcor-avenger96.dts | 3 ++- 1 file changed, 2

Re: FW: [PATCH 1/4] ARM: dts: stm32: Enable internal pull-ups for SDMMC1 on DHCOM SoM

2020-12-08 Thread Patrick DELAUNAY
Hi Marek, From: Marek Vasut Sent: mardi 1 décembre 2020 11:29 The default state of SD bus and clock line is logical HI. SD card IO is open-drain and pulls the bus lines LO. Always enable the SD bus pull ups to guarantee this behavior on DHCOM SoM. Note that on SoMs with SD bus voltage

[PATCH v1] sunxi: board: Move USB ethernet initialization to board_late_init()

2020-12-08 Thread Andy Shevchenko
For the sake of consistency (*) and order of initialization, i.e. after we have got the ethernet address, interrupt and timer initialized, try to initialize USB ethernet gadget. *) for example, zynqmp uses same order. Signed-off-by: Andy Shevchenko --- arch/arm/Kconfig| 1 +

Re: FW: [PATCH 0/6] video: remove VIDCONSOLE_AS_LCD and VIDCONSOLE_AS_NAME

2020-12-08 Thread Tom Rini
On Tue, Dec 08, 2020 at 03:30:43PM +0100, Patrick DELAUNAY wrote: > Hi Soeren, > > > From: Soeren Moch Sent: dimanche 6 décembre 2020 20:59 On > > 03.12.20 10:15, Patrick Delaunay wrote: > > > > > I propose this serie to remove the vidconsole work-around, activated > > > with the 2 options

Re: FW: [PATCH 1/4] ARM: dts: stm32: Enable internal pull-ups for SDMMC1 on DHCOM SoM

2020-12-08 Thread Marek Vasut
On 12/8/20 6:20 PM, Patrick DELAUNAY wrote: Hi Marek, Hi, [...] For the serie:  the target is next or it is a bugfix for master / v2021.01 ? This is for 2021.01 , it corrects a couple of random things here and there.

[PATCH 3/3] board: ge: bx50v3: cleanup phy config

2020-12-08 Thread Sebastian Reichel
The current PHY rework does the following things: 1. Configure 125MHz clock 2. Setup the TX clock delay (RX is enabled by default), 3. Setup reserved bits to avoid voltage peak The clock delays are nowadays already configured by the PHY driver (in ar803x_delay_config). The code for that can

[PATCH 0/3] GE Bx50v3 cleanups

2020-12-08 Thread Sebastian Reichel
Here are some more cleanups for the GE Bx50v3 board(s): PATCH 1+2: replace magic numbers by analyzing name string from the fitImage config node PATCH 3: rely on PHY driver as much as possible -- Sebastian Sebastian Reichel (3): image: support board_fit_config_name_match board:

[PATCH 1/3] image: support board_fit_config_name_match

2020-12-08 Thread Sebastian Reichel
Support reusing board_fit_config_name_match() to automatically select a sensible default configuration for booting fitImages using 'bootm'. Signed-off-by: Sebastian Reichel --- common/image-fit.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/image-fit.c b/common/image-fit.c

[PATCH 2/3] board: ge: bx50v3: remove confidx magic numbers

2020-12-08 Thread Sebastian Reichel
Instead of hardcoding index magic numbers in the board code, also rely on board_fit_config_name_match choosing the right config for the fitImage containing the kernel. Signed-off-by: Sebastian Reichel --- board/ge/bx50v3/bx50v3.c| 16 ++-- include/configs/ge_bx50v3.h | 4 ++--

Re: [PATCH] ARM: dts: stm32: Switch to MCO2 for PHY 50 MHz clock

2020-12-08 Thread Patrick DELAUNAY
Hi Marek, From: Marek Vasut Sent: mardi 1 décembre 2020 11:35 The LAN8710i PHY currently uses 50 MHz clock direct from PLL4P. To permit PLL4P to run at faster frequency, use MCO2 as a divider. The PLL4P runs at 100 MHz, supplies MCO2 which divides it by 2 to 50MHz, and supplies the PHY with

Re: [PATCH v1] sunxi: board: Move USB ethernet initialization to board_late_init()

2020-12-08 Thread André Przywara
On 08/12/2020 15:45, Andy Shevchenko wrote: > For the sake of consistency (*) and order of initialization, i.e. > after we have got the ethernet address, interrupt and timer initialized, > try to initialize USB ethernet gadget. > > *) for example, zynqmp uses same order. Looks alright, but we

Re: [PATCH v1] sunxi: board: Move USB ethernet initialization to board_late_init()

2020-12-08 Thread Andy Shevchenko
On Tue, Dec 8, 2020 at 7:14 PM André Przywara wrote: > On 08/12/2020 15:45, Andy Shevchenko wrote: > > For the sake of consistency (*) and order of initialization, i.e. > > after we have got the ethernet address, interrupt and timer initialized, > > try to initialize USB ethernet gadget. > > > >

Re: [PATCH v2 3/4] mkimage: Move padding commands outside of FIT_SIGNATURE

2020-12-08 Thread Philippe REYNES
Hi Joel Le 08/12/2020 à 05:12, Joel Stanley a écrit : These commands were disabled when CONFIG_FIT_SIGNATURE is disabled, but they do not depend on crypto support so they can be unconditionally enabled. Signed-off-by: Joel Stanley -- v2: New patch --- tools/mkimage.c | 11 ++- 1

Re: [PATCH v2 4/4] mkimge: Reject signing-related flags without FIT_SIGNATURE

2020-12-08 Thread Philippe REYNES
Hi Joel Le 08/12/2020 à 05:12, Joel Stanley a écrit : When CONFIG_FIT_SIGNATURE=n the signing options are not available. If a user is careful they will notice this when looking at the help output. If they are not careful they will waste several hours wondering why their FIT doesn't contain a

Re: [PATCH 06/14] qemu: arm64: Set dfu_alt_info variable for the platform

2020-12-08 Thread Sughosh Ganu
On Tue, 8 Dec 2020 at 17:50, Tom Rini wrote: > On Tue, Dec 08, 2020 at 10:48:57AM +0530, Sughosh Ganu wrote: > > On Tue, 8 Dec 2020 at 00:17, Tom Rini wrote: > > > > > On Sat, Dec 05, 2020 at 11:31:49AM +0100, Heinrich Schuchardt wrote: > > > > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > > > >

Re: [PATCH 2/4] ARM: dts: stm32: Disable SDMMC1 CKIN feedback clock

2020-12-08 Thread Patrick DELAUNAY
Hi Marek, From: Marek Vasut Sent: mardi 1 décembre 2020 11:29 The STM32MP1 DHCOM SoM can be built with either bus voltage level shifter or without one on the SDMMC1 interface. Because the SDMMC1 interface is limited to 50 MHz and hence SD high-speed anyway, disable the SD feedback clock to

Re: [PATCH 3/4] ARM: dts: stm32: Enable SDMMC3 on DH DRC02

2020-12-08 Thread Patrick DELAUNAY
Hi Marek, From: Marek Vasut Sent: mardi 1 décembre 2020 11:29 The DH DRC02 board has an on-board microSD slot, add DT properties to enable the slot. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- NOTE: Large part of this should be in the DHCOM SoM DT, however

  1   2   >