Re: [PATCH 15/16] README: Remove some old i2c related text

2021-08-24 Thread Minkyu Kang
Hi, On Thu, 19 Aug 2021 at 12:15, Tom Rini wrote: > These sections are no longer relevant, remove. > > Signed-off-by: Tom Rini > --- > README | 13 - > 1 file changed, 13 deletions(-) > > diff --git a/README b/README > index fea0d3c0d0f9..495c1ae3549e 100644 > --- a/README > +++

Re: [PATCH 07/13] i2c: S3C24X0: Finish Kconfig migration

2021-08-24 Thread Minkyu Kang
Hi, On Wed, 18 Aug 2021 at 07:02, Tom Rini wrote: > Finish moving this driver to Kconfig. > - Update the dependency logic for Exynos5 too > - Remove the unused CONFIG_SYS_I2C_S3C24X0_SPEED variable > - Drop CONFIG_SYS_I2C_S3C24X0_SLAVE as it's always set to 0. > - Move the internal

Re: [PATCH 1/4] tools: docker: Bump up QEMU version to 6.1.0

2021-08-24 Thread Bin Meng
On Wed, Aug 25, 2021 at 10:01 AM Tom Rini wrote: > > On Wed, Aug 25, 2021 at 08:05:17AM +0800, Bin Meng wrote: > > > At present U-Boot CI testing is still using QEMU 4.2.0 which is > > pretty old. Let's bump up to QEMU 6.1.0. > > > > ninja-build is added as the prerequisite required by QEMU

[PATCH 1/2] Convert CONFIG_RAMBOOT_PBL et al to Kconfig

2021-08-24 Thread Tom Rini
This converts the following to Kconfig: CONFIG_RAMBOOT_PBL CONFIG_SYS_FSL_PBL_PBI CONFIG_SYS_FSL_PBL_RCW Signed-off-by: Tom Rini --- README| 9 --- common/Kconfig.boot | 20 ++ configs/P2041RDB_NAND_defconfig

[PATCH 2/2] ls1046ardb_qspi*: Enable RAMBOOT_PBL

2021-08-24 Thread Tom Rini
Based on include/configs/ls1046ardb.h it seems that CONFIG_RAMBOOT_PBL should have been enabled, but was not. Enable and migrate the values to Kconfig. Cc: Mingkai Hu Cc: Rajesh Bhagat Signed-off-by: Tom Rini --- configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 3 +++

Re: [PATCH v3 0/4] Support SiFive Composable cache driver

2021-08-24 Thread Zong Li
On Tue, Aug 17, 2021 at 5:08 PM Zong Li wrote: > > This patch set contains the SiFive composable cache support, and > indroduce an interface to do cache initialization, each platform can > overwrite it by their own implementation. > > Changed in v3: > - Combine some patches > - Drop the

Re: [PATCH 1/4] tools: docker: Bump up QEMU version to 6.1.0

2021-08-24 Thread Tom Rini
On Wed, Aug 25, 2021 at 08:05:17AM +0800, Bin Meng wrote: > At present U-Boot CI testing is still using QEMU 4.2.0 which is > pretty old. Let's bump up to QEMU 6.1.0. > > ninja-build is added as the prerequisite required by QEMU 6.1.0. > > Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART

Re: [PATCH 2/4] tools: docker: Build and install genimage

2021-08-24 Thread Tom Rini
On Wed, Aug 25, 2021 at 08:05:18AM +0800, Bin Meng wrote: > genimage [1] is a tool to create flash/disk images. This is required > by some targets, e.g.: sifive_unleashed, to generate sdcard or spi-nor > images for real hardware, as well as U-Boot CI testing. > > [1]

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

2021-08-24 Thread Gao Xiang
Hi U-Boot folks, On Mon, Aug 23, 2021 at 08:36:43PM +0800, 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. > > Changes since v1: > - fix the

RE: [PATCH 0/4] crypto: Add new UCLASS_HASH

2021-08-24 Thread ChiaWei Wang
Hi All, Do you have update on this patch series? We look forward to continuing the SPL FIT booting patch for Aspeed SoCs based on this one. Any advice and suggestions are appreciated. Chiawei > From: U-Boot On Behalf Of Chia-Wei Wang > Sent: Friday, July 30, 2021 9:08 AM > > This patch

Re: [PATCH 5/6] nitrogen6x: Populate FDTFILE at build-time for all platforms

2021-08-24 Thread Troy Kisky
On 8/24/2021 5:41 PM, Tom Rini wrote: > Rather than using CONFIG_SABRELITE to set FDTFILE for only that > platform, switch to always setting this based on > CONFIG_DEFAULT_DEVICE_TREE as this should always match the kernel > device tree name anyhow. > > Cc: Troy Kisky > Signed-off-by: Tom Rini

Re: [PATCH 4/6] nitrogen6x: Migrate DDR_MB to Kconfig

2021-08-24 Thread Troy Kisky
On 8/24/2021 5:41 PM, Tom Rini wrote: > Move the CONFIG_DDR_MB symbol to Kconfig. A later clean-up would be to > make dynamic memory size detection work based on how this is done on > other i.MX6 platforms. > > Cc: Troy Kisky > Signed-off-by: Tom Rini > --- > For example, mx6cuboxi does

[PATCH 1/1] tools: env: Handle shorter read calls

2021-08-24 Thread Thibault Ferrante
On some cases, the actual number of bytes read can be shorter than what was requested. This can be handled gracefully by taking this difference into account instead of exiting. Signed-off-by: Thibault Ferrante --- tools/env/fw_env.c | 22 -- 1 file changed, 12

[PATCH 0/1] tools: env: Handle shorter read calls

2021-08-24 Thread Thibault Ferrante
On specific devices, read can return less bytes than expected. I noticed this problem on a EEPROM chip with 16Kbyte of memory. Defining an environment with more than 4Kbyte leads to less bytes read than expected and failures from fw_printenv/fw_setenv. This patch target to handle this issue by

Re: [PATCH 4/6] nitrogen6x: Migrate DDR_MB to Kconfig

2021-08-24 Thread Tom Rini
On Tue, Aug 24, 2021 at 06:05:10PM -0700, Troy Kisky wrote: > On 8/24/2021 5:41 PM, Tom Rini wrote: > > Move the CONFIG_DDR_MB symbol to Kconfig. A later clean-up would be to > > make dynamic memory size detection work based on how this is done on > > other i.MX6 platforms. > > > > Cc: Troy

[PATCHv2] Convert CONFIG_QSPI_BOOT to Kconfig

2021-08-24 Thread Tom Rini
This converts the following to Kconfig: CONFIG_QSPI_BOOT Signed-off-by: Tom Rini --- configs/am43xx_evm_qspiboot_defconfig | 2 +- configs/ls1012a2g5rdb_qspi_defconfig | 1 - configs/ls1012afrdm_qspi_defconfig | 1 -

[PATCH] Convert CONFIG_QSPI_BOOT to Kconfig

2021-08-24 Thread Tom Rini
This converts the following to Kconfig: CONFIG_QSPI_BOOT Signed-off-by: Tom Rini --- configs/am43xx_evm_qspiboot_defconfig | 2 +- configs/ls1012a2g5rdb_qspi_defconfig | 1 - configs/ls1012afrdm_qspi_defconfig | 1 -

[PATCH] Convert CONFIG_SYS_FSL_DDR4 to Kconfig

2021-08-24 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FSL_DDR4 Signed-off-by: Tom Rini --- README| 4 configs/ls1088aqds_defconfig | 1 - configs/ls1088aqds_qspi_SECURE_BOOT_defconfig | 2 +- configs/ls1088aqds_qspi_defconfig

[PATCH 2/6] imx: Finish migration of IMX_CONFIG to Kconfig

2021-08-24 Thread Tom Rini
- Provide a default Kconfig value of the default script - Largely continue to define this via the board Kconfig file - For the boards that select a script based on defconfig rather than TARGET, keep this within the defconfig. Signed-off-by: Tom Rini --- arch/arm/config.mk

[PATCH 4/6] nitrogen6x: Migrate DDR_MB to Kconfig

2021-08-24 Thread Tom Rini
Move the CONFIG_DDR_MB symbol to Kconfig. A later clean-up would be to make dynamic memory size detection work based on how this is done on other i.MX6 platforms. Cc: Troy Kisky Signed-off-by: Tom Rini --- For example, mx6cuboxi does dynamic memory size detection and that code could be adapted

[PATCH 5/6] nitrogen6x: Populate FDTFILE at build-time for all platforms

2021-08-24 Thread Tom Rini
Rather than using CONFIG_SABRELITE to set FDTFILE for only that platform, switch to always setting this based on CONFIG_DEFAULT_DEVICE_TREE as this should always match the kernel device tree name anyhow. Cc: Troy Kisky Signed-off-by: Tom Rini --- configs/mx6qsabrelite_defconfig | 1 -

[PATCH 6/6] configs: Remove unused IMX_NAND symbol

2021-08-24 Thread Tom Rini
The symbol CONFIG_IMX_NAND is not referenced in the code, remove it. Signed-off-by: Tom Rini --- configs/colibri-imx6ull_defconfig | 1 - configs/colibri_vf_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/colibri-imx6ull_defconfig b/configs/colibri-imx6ull_defconfig

[PATCH 3/6] Convert CONFIG_SPL to Kconfig

2021-08-24 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SPL Signed-off-by: Tom Rini --- configs/mx6memcal_defconfig | 1 - configs/riotboard_defconfig | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/mx6memcal_defconfig b/configs/mx6memcal_defconfig index

[PATCH 1/6] imx: Introduce CONFIG_MACH_IMX

2021-08-24 Thread Tom Rini
Currently, there is no over-arching symbol for access to arch/arm/mach-imx nor the CONFIG symbols that are common over all of these related platforms. This new CONFIG symbol will allow us to start down this path. Signed-off-by: Tom Rini --- arch/arm/Kconfig | 13 +

[PATCH 4/4] azure/gitlab: Add tests for SiFive Unleashed board

2021-08-24 Thread Bin Meng
This adds CI tests for SiFive Unleashed board. 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, hence we can easily set up CI to cover these 2 boot flows of SiFive Unleashed

[PATCH 3/4] riscv: sifive: unleashed: Add genimage config files

2021-08-24 Thread Bin Meng
This adds genimage [1] config files for generating SD card and spi-nor images, which can be programmed to an SD card or SPI flash and boot from there. The same images will be used for U-Boot CI testing for this board. [1] https://github.com/pengutronix/genimage Signed-off-by: Bin Meng ---

[PATCH 2/4] tools: docker: Build and install genimage

2021-08-24 Thread Bin Meng
genimage [1] is a tool to create flash/disk images. This is required by some targets, e.g.: sifive_unleashed, to generate sdcard or spi-nor images for real hardware, as well as U-Boot CI testing. [1] https://github.com/pengutronix/genimage Signed-off-by: Bin Meng --- tools/docker/Dockerfile |

[PATCH 1/4] tools: docker: Bump up QEMU version to 6.1.0

2021-08-24 Thread Bin Meng
At present U-Boot CI testing is still using QEMU 4.2.0 which is pretty old. Let's bump up to QEMU 6.1.0. ninja-build is added as the prerequisite required by QEMU 6.1.0. Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART emulation codes. A quick fix [1] was posted on QEMU mailing list but it it

Massive stm32mp1 breakage with v2021.10-rc2

2021-08-24 Thread Alex G.
Hi Patrick, I'm having issues with some of the recent changes centered around FIP support and CONFIG_STM32MP15x_STM32IMAGE. and commit f91783edf224 ("arm: stm32mp: handle the OP-TEE nodes in DT with FIP support") ## Problem description > +#ifdef CONFIG_STM32MP15x_STM32IMAGE > + /*

Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Marek Vasut
On 8/24/21 8:13 PM, Adam Ford wrote: On Tue, Aug 24, 2021 at 1:02 PM Marek Vasut wrote: On 8/24/21 6:43 PM, Adam Ford wrote: There are two versaclock programmable clock chips used to provide reference clocks for both USB and Ethernet. Enable the driver in the configs to run these clocks.

[PATCH 4/4] imx8mm_venice: switch to use binman to pack images

2021-08-24 Thread Tim Harvey
Use binman to pack images. Note that imx8mm_venice supports several boards via multiple DTB's thus in the fit node we must use: - fit,fdt-list = "of-list" - fdt-SEQ - config-SEQ Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-u-boot.dtsi| 119 ++

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

2021-08-24 Thread Tim Harvey
Use the common imx8mm-venice-u-boot.dtsi (dtb for the 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 66 ++- 1 file changed, 5 insertions(+), 61 deletions(-) diff --git

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

2021-08-24 Thread Tim Harvey
Use the common imx8mm-venice-u-boot.dtsi (dtb for the 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi | 54 +-- 1 file changed, 1 insertion(+), 53 deletions(-) diff --git

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

2021-08-24 Thread Tim Harvey
Use the common imx8mm-venice-u-boot.dtsi (dtb for the 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mm-venice-gw700x-u-boot.dtsi | 62 +++ 1 file changed, 9 insertions(+), 53 deletions(-) diff --git

[PATCH 0/4] imx8mm-venice: use binman to pack images

2021-08-24 Thread Tim Harvey
This series changes imx8mm-venice to use binman to pack images. Tim Harvey (4): arm64: dts: imx8mm-venice-gw700x-u-boot.dtsi: use imx8mm-venice-u-boot.dtsi arm64: dts: imx8mm-venice-gw7901-u-boot.dtsi: use imx8mm-venice-u-boot.dtsi arm64: dts: imx8mm-venice-gw7902-u-boot.dtsi: use

[PATCH V2 2/2] ARM: dts: rmobile: beacon-renesom: Enable Ethernet

2021-08-24 Thread Adam Ford
Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford --- V2: Fix subject heading diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index

[PATCH V2 1/2] ARM: dts: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
There are two versaclock programmable clock chips used to provide reference clocks for both USB and Ethernet. Enable the driver in the configs to run these clocks. Signed-off-by: Adam Ford --- V2: Move from defconfig to kconfig diff --git a/arch/arm/mach-rmobile/Kconfig.64

Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
On Tue, Aug 24, 2021 at 1:13 PM Adam Ford wrote: > > On Tue, Aug 24, 2021 at 1:02 PM Marek Vasut wrote: > > > > On 8/24/21 6:43 PM, Adam Ford wrote: > > > There are two versaclock programmable clock chips used to provide > > > reference clocks for both USB and Ethernet. Enable the driver > > >

Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
On Tue, Aug 24, 2021 at 1:02 PM Marek Vasut wrote: > > On 8/24/21 6:43 PM, Adam Ford wrote: > > There are two versaclock programmable clock chips used to provide > > reference clocks for both USB and Ethernet. Enable the driver > > in the configs to run these clocks. > > > > Signed-off-by: Adam

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

2021-08-24 Thread Marek Vasut
On 8/24/21 6:05 PM, 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 confined to -u-boot.dtsi

Re: [PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Marek Vasut
On 8/24/21 6:43 PM, Adam Ford wrote: There are two versaclock programmable clock chips used to provide reference clocks for both USB and Ethernet. Enable the driver in the configs to run these clocks. Signed-off-by: Adam Ford diff --git a/configs/r8a774a1_beacon_defconfig

Re: [PATCH 2/2] ARM: rmobile: beacon-renesom: Enable Ethernet

2021-08-24 Thread Marek Vasut
On 8/24/21 6:43 PM, Adam Ford wrote: Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index

[PATCH] board: pm926x: remove unused CONFIG_SYS_AT91_CPU_NAME

2021-08-24 Thread Eugen Hristev
CONFIG_SYS_AT91_CPU_NAME looks to be unused. Remove it and remove it from config_whitelist.txt Signed-off-by: Eugen Hristev --- include/configs/pm9261.h | 2 -- include/configs/pm9263.h | 2 -- scripts/config_whitelist.txt | 1 - 3 files changed, 5 deletions(-) diff --git

[PATCH 2/2] ARM: rmobile: beacon-renesom: Enable Ethernet

2021-08-24 Thread Adam Ford
Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index d30bab3c8b..9fe541b607 100644 ---

[PATCH 1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks

2021-08-24 Thread Adam Ford
There are two versaclock programmable clock chips used to provide reference clocks for both USB and Ethernet. Enable the driver in the configs to run these clocks. Signed-off-by: Adam Ford diff --git a/configs/r8a774a1_beacon_defconfig b/configs/r8a774a1_beacon_defconfig index

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

2021-08-24 Thread Simon Glass
Hi Marcel, On Mon, 23 Aug 2021 at 09:09, Marcel Ziswiler wrote: > > 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

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

2021-08-24 Thread Adam Ford
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 confined to -u-boot.dtsi files. In order to use the QSPI, TF-A

[PATCH] i2c: rcar_i2c: Enable configuring SCL rise and fall times

2021-08-24 Thread Adam Ford
The Linux i2c driver supports i2c-scl-rising-time-ns, and i2c-scl-falling-time-ns, but U-Boot uses hard-coded values for these values. Update the calculation by fetching them from the device tree if present and use the previous values as the default if they are missing. Signed-off-by: Adam Ford

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

2021-08-24 Thread Eugen.Hristev
On 8/24/21 12:37 PM, Clément Léger wrote: > Le Mon, 23 Aug 2021 07:42:58 +, > a écrit : > >> 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

[PATCH] xilinx: zynqmp: Enable stack relocation to DDR

2021-08-24 Thread Michal Simek
There is no space in OCM for SPL stack because the space in OCM is occupied by TF-A. That's why move relocate stack to DDR to 0x1800 address and also enable SPL_SIZE_LIMIT not to be more then 0xfffea000 which is default address for TFA. It is good to summarize current DDR usage in SPL flow.

[PATCH v2 5/6] net: dsa: felix: call phy_config at .port_probe() time

2021-08-24 Thread Vladimir Oltean
It is an unfortunate reality that some PHY settings done by U-Boot persist even after the PHY is reset and taken over by Linux, and even more unfortunate that Linux has come to depend on things being set in a certain way. For example, on the NXP LS1028A-RDB, the felix switch ports are connected

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

2021-08-24 Thread Vladimir Oltean
This snippet of code has a bothering "if (...) return 0" in it which assumes it is the last piece of code running in dsa_port_probe(). This makes it difficult to add further code at the end of dsa_port_probe() which does not depend on MAC address stuff. So move the code to a dedicated function

[PATCH v2 4/6] net: dsa: introduce a .port_probe() method in struct dsa_ops

2021-08-24 Thread Vladimir Oltean
Some drivers might want to execute code for each port at probe time, as opposed to executing code just-in-time for the port selected for networking. To cater to that use case, introduce a .port_probe() callback method into the DSA switch operations which is called for each available port, at the

[PATCH v2 6/6] net: dsa: felix: propagate the error code from phy_startup()

2021-08-24 Thread Vladimir Oltean
Make sure that the link status returned by phy_startup() is propagated to the .start() method of struct eth_ops. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Tested-by: Michael Walle --- drivers/net/mscc_eswitch/felix_switch.c | 4 +--- 1 file changed, 1 insertion(+), 3

[PATCH v2 2/6] net: dsa: use "err" instead of "ret" in dsa_port_probe

2021-08-24 Thread Vladimir Oltean
DM DSA uses "err" for error code values, so use this consistently. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Tested-by: Michael Walle --- net/dsa-uclass.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/dsa-uclass.c b/net/dsa-uclass.c index

[PATCH v2 0/6] Call phy_config at port probe time for the Felix DSA driver

2021-08-24 Thread Vladimir Oltean
Changes in v2: Rebased on top of the master branch (solves this conflict: https://patchwork.ozlabs.org/project/uboot/patch/20210629170839.2583797-4-olte...@gmail.com/ with Tim Harvey's patch to make DSA masters promiscuous) This series makes the Felix DSA driver initialize all its connected PHYs

[PATCH v2 1/6] net: dsa: felix: felix_init() can be static

2021-08-24 Thread Vladimir Oltean
No one is calling this function from outside felix_switch.c. Signed-off-by: Vladimir Oltean Reviewed-by: Ramon Fried Tested-by: Michael Walle --- drivers/net/mscc_eswitch/felix_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mscc_eswitch/felix_switch.c

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

2021-08-24 Thread Pali Rohár
On Tuesday 24 August 2021 07:28:07 Christophe Leroy wrote: > 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

[PATCH v2] ARM: dts: Fix node status to "okay" on TI boards

2021-08-24 Thread Roger Quadros
As per Device Tree Specification [1], the status parameter of nodes can be "okay", "disabled", etc. "ok" is not a valid parameter. U-boot Driver Model does not recognize status="ok" either and treats the node as disabled. [1]

[PATCH 3/3] smegw01: Select IMX_HAB

2021-08-24 Thread Fabio Estevam
Select IMX_HAB to allow secure boot. Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/smegw01_defconfig b/configs/smegw01_defconfig index 8e2e95765b..0c980213b8 100644 --- a/configs/smegw01_defconfig +++

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

2021-08-24 Thread Fabio Estevam
Add redundant environment support as it is required by SWUpdate. While at it, place the CONFIG_ENV_OFFSET at 0x10 to allow more headroom. Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

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

2021-08-24 Thread Fabio Estevam
When using SWUpdate, it is necessary to toggle between partitions. Use the 'mmcpart' environment variable to accomplish that. Signed-off-by: Fabio Estevam --- include/configs/smegw01.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/smegw01.h

Re: [PATCH 3/9] mvebu: Migrate CONFIG_DDR_32BIT/64BIT to Kconfig

2021-08-24 Thread Marek Behún
Acked-by: Marek Behún

Re: [PATCH 4/9] mvebu: ddr: Rename CONFIG_DDR_FIXED_SIZE to CONFIG_SYS_SDRAM_SIZE

2021-08-24 Thread Marek Behún
Acked-by: Marek Behún

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

2021-08-24 Thread Fabio Estevam
Hi Paul, On 24/08/2021 06:44, 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. Signed-off-by: Ying-Chun Liu

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

2021-08-24 Thread Mark Kettenis
> Date: Mon, 23 Aug 2021 16:01:46 -0400 > From: 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 > > > > > > > >

[PATCH v1 2/2] pinctrl: single: Add request() api

2021-08-24 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty Add pinctrl_ops->request api to configure pctrl pad register in gpio mode. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Bharat Gooty --- drivers/pinctrl/pinctrl-single.c | 34 1 file changed, 34 insertions(+) diff --git

[PATCH v1 1/2] pinctrl: single: Parse gpio details from dt

2021-08-24 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty Parse different gpio properties from dt as part of probe function. This detail is required to enable pinctrl pad later when gpio lines are requested. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Bharat Gooty --- drivers/pinctrl/pinctrl-single.c | 52

[PATCH v1 0/2] pinctrl single: GPIO support

2021-08-24 Thread Bharat Kumar Reddy Gooty
From: Bharat Gooty pinctrl-single:- Add support to parse "pinctrl-single,gpio-range" and "#pinctrl-single,gpio-range-cells" DT properties Add pinctrl_ops request() Bharat Gooty (2): pinctrl: single: Parse gpio details from dt pinctrl: single: Add request() api

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

2021-08-24 Thread Wolfgang Denk
Dear Christophe, In message <75ae39aa-3762-6b90-c39a-7595fc417...@csgroup.eu> you wrote: > > > Also, could you look at this, why version string is at specific location > > of u-boot.bin header? > > I have no idea. AFAIKS it's been like that since the first version > in git in 2002. Maybe

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

2021-08-24 Thread Ying-Chun Liu
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. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Fabio Estevam Cc: Frieder Schrempf

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

2021-08-24 Thread Ying-Chun Liu
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. This patch was trying to fix the regression on mainline U-boot for

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

2021-08-24 Thread Clément Léger
Le Mon, 23 Aug 2021 07:42:58 +, a écrit : > 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 > >

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

2021-08-24 Thread Ilias Apalodimas
Hi Tom, > > > > > > > [...] > > > > > > > The series is available at u-boot-dm/bmea-working > > > > > > > > > > > > My question / concern is this. Would the next step here be to > > > > > > implement the generic UEFI boot path? Today, I can write Fedora 34 > > > > > > for > > > > > > AArch64

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

2021-08-24 Thread Paul Liu
On Tue, 24 Aug 2021 at 08:11, 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 invalid" > >

arm: mvebu: dts: Armada8k enable mdio

2021-08-24 Thread sven . auhagen
From: Sven Auhagen Since mvpp2 is using the new mdio driver and the cp110 has been synced with the linux upstream, the mdio has to enabled in the device tree file. This is missing for some device tree files and therefore the network cards do not come online. Signed-off-by: Sven Auhagen ---

[PATCH][RFC] tree: imx: remove old fit generator script

2021-08-24 Thread Andrey Zhizhikin
Since derivatives are moving to binman from usage of the FIT generator script, and considering the warning introduced in f4a43d2925 ("Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR"), usage of FIT generator is discouraged. Current FIT generator also generates broken output, since commit

Re: [PATCH] rpi: Copy properties from firmware dtb to the loaded dtb

2021-08-24 Thread Peter Robinson
Hi Sjoerd, > The RPI firmware adjusts several property values in the dtb it passes > to u-boot depending on the board/SoC revision. Inherit some of these > when u-boot loads a dtb itself. Specificaly copy: Overall this looks great. > * /model: The firmware provides a more specific string > *

Re: [PATCH 1/1] imx8m: Restrict usable memory based on rom_pointer[0]

2021-08-24 Thread Frieder Schrempf
On 23.08.21 04:43, Ying-Chun Liu wrote: > From: "Ying-Chun Liu (PaulLiu)" > > When TEE is loaded, we need to restrict the memory usage based > on rom_pointer[0] > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Fabio Estevam > Cc: Frieder Schrempf > Cc: uboot-imx Reviewed-by: Frieder

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

2021-08-24 Thread Alex Nemirovsky
Christophe Sorry, this one slipped by somehow. > On Aug 23, 2021, at 10:18 PM, Christophe Leroy > wrote: > > 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