RE: [v1 11/17] ddr: socfpga: Enable memory test on memory size less than 1GB

2021-04-08 Thread Tan, Ley Foon
> -Original Message- > From: Lim, Elly Siew Chin > Sent: Wednesday, March 31, 2021 10:39 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Tan, Ley Foon > ; See, Chin Liang ; > Simon Goldschmidt ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai > Subject: [v1

RE: [v1 09/17] arm: socfpga: Changed misc_s10.c to misc_soc64.c

2021-04-08 Thread Tan, Ley Foon
> -Original Message- > From: Lim, Elly Siew Chin > Sent: Wednesday, March 31, 2021 10:39 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Tan, Ley Foon > ; See, Chin Liang ; > Simon Goldschmidt ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai ; Lim, Elly Siew

RE: [v1 08/17] arm: socfpga: Add clock manager for Intel N5X device

2021-04-08 Thread Tan, Ley Foon
> -Original Message- > From: Lim, Elly Siew Chin > Sent: Wednesday, March 31, 2021 10:39 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Tan, Ley Foon > ; See, Chin Liang ; > Simon Goldschmidt ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai ; Lim, Elly Siew

Re: [PATCH] power: regulator: Add support for regulator-force-boot-off

2021-04-08 Thread Stefan Roese
Hi Jaehoon, On 09.04.21 02:37, Jaehoon Chung wrote: On 4/9/21 7:52 AM, Jaehoon Chung wrote: Hi Stefan, On 4/8/21 6:20 PM, Stefan Roese wrote: From: Konstantin Porotchkin Add support for regulator-force-boot-off DT property. This property can be used by the board/device drivers for turning

Re: [PATCH] power: regulator: Add support for regulator-force-boot-off

2021-04-08 Thread Stefan Roese
Hi Jaehoon, On 09.04.21 00:52, Jaehoon Chung wrote: Hi Stefan, On 4/8/21 6:20 PM, Stefan Roese wrote: From: Konstantin Porotchkin Add support for regulator-force-boot-off DT property. This property can be used by the board/device drivers for turning off regulators on early init stages as

Re: MXC I2C recover/idle_bus does not work if CONFIG_DM_I2C is configured

2021-04-08 Thread Heiko Schocher
Hello Kees, added Simon to cc... On 08.04.21 14:20, Trommel, Kees (Contractor) wrote: > Heiko, > > When an I2C transaction fails because a previous transaction (by the kernel) > was aborted halfway the MXC I2C driver tries to recover from this by calling > i2c_idle_bus (if CONFIG_DM_I2C is

Re: Running u-boot 2021.04 on Raspberry Pi 4

2021-04-08 Thread Sean Anderson
On 4/8/21 8:18 PM, Roman Shaposhnik wrote: Hi! first time poster, long time lurker here. Over at Project EVE https://github.com/lf-edge/eve I've been trying to migrate from our current u-boot v2020.07 + patches: https://github.com/lf-edge/eve/tree/master/pkg/u-boot/patches/patches-v2020.07 to

Re: [PATCH 1/4] command: Use a constant pointer for the help

2021-04-08 Thread Sean Anderson
On 4/6/21 12:30 AM, Simon Glass wrote: This text should never change during execution, so it makes sense to use a const char * so that it can be declared as const in the code. Update struct cmd_tbl with a const char * pointer for 'help'. Signed-off-by: Simon Glass --- include/command.h | 2

Re: [PATCH v3 05/11] clk: k210: Move the clint clock to under aclk

2021-04-08 Thread Sean Anderson
On 4/8/21 10:58 PM, Damien Le Moal wrote: On 2021/04/09 11:54, Damien Le Moal wrote: On 2021/04/09 11:13, Sean Anderson wrote: No other (real) clocks have the cpu clock as their parent; instead they are children of aclk. Move the clint clock under aclk to match them. Signed-off-by: Sean

Re: [PATCH v3 05/11] clk: k210: Move the clint clock to under aclk

2021-04-08 Thread Sean Anderson
On 4/8/21 10:54 PM, Damien Le Moal wrote: On 2021/04/09 11:13, Sean Anderson wrote: No other (real) clocks have the cpu clock as their parent; instead they are children of aclk. Move the clint clock under aclk to match them. Signed-off-by: Sean Anderson --- (no changes since v2) Changes

[GIT PULL] SoCFPGA changes for v2021.07-rc1

2021-04-08 Thread Tan, Ley Foon
Hi Tom Please pull the SoCFPGA changes for v2021.07. Regards Ley Foon The following changes since commit e9c99db7787e3b5c2ef05701177c43ed1c023c27: Merge branch '2021-04-07-CI-improvements' (2021-04-07 15:54:07 -0400) are available in the Git repository at:

[PATCH v3 10/11] riscv: k210: Use AI as the parent clock of aisram, not PLL1

2021-04-08 Thread Sean Anderson
Testing showed that disabling AI while leaving PLL1 enabled disabled the aisram. This suggests that AI is a more appropriate clock for that ram bank. Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - New arch/riscv/dts/k210.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 11/11] riscv: Don't reserve AI ram in k210 dts

2021-04-08 Thread Sean Anderson
It is no longer necessary to disallow ai ram, since it is enabled by the sram driver. Signed-off-by: Sean Anderson --- (no changes since v1) arch/riscv/dts/k210.dtsi | 12 1 file changed, 12 deletions(-) diff --git a/arch/riscv/dts/k210.dtsi b/arch/riscv/dts/k210.dtsi index

[PATCH v3 09/11] riscv: k210: Rename airam to aisram

2021-04-08 Thread Sean Anderson
This is more consistent with the naming of other ram banks, and matches what Linux is doing. Reported-by: Damien Le Moal Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - New arch/riscv/dts/k210.dtsi | 4 ++-- board/sipeed/maix/maix.c | 2 +- 2 files changed, 3

[PATCH v3 07/11] riscv: Enable some devices pre-relocation

2021-04-08 Thread Sean Anderson
These devices are necessary for the clock driver, which is required by the sram driver, to run pre-relocation. Signed-off-by: Sean Anderson --- (no changes since v1) arch/riscv/dts/k210.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/riscv/dts/k210.dtsi

[PATCH v3 08/11] riscv: Enable AI ram on K210

2021-04-08 Thread Sean Anderson
We just need to initialize all the clocks pre-reloc. The clock driver creates a bunch of devices, so we need to increase the pre-reloc malloc arena. Signed-off-by: Sean Anderson --- (no changes since v1) board/sipeed/maix/maix.c | 12 +++- configs/sipeed_maix_bitm_defconfig

[PATCH v3 06/11] clk: Add support for the k210 clock driver pre-relocation

2021-04-08 Thread Sean Anderson
Variables which had previously been stored in .bss are moved to .data. In addition, probed needs to be reset when the clock driver is re-bound post-relocation. Signed-off-by: Sean Anderson --- (no changes since v1) drivers/clk/kendryte/clk.c | 14 ++ 1 file changed, 10

[PATCH v3 03/11] clk: k210: Fix PLL enable always getting taken

2021-04-08 Thread Sean Anderson
This conditional always evaluated as false, regardless of the value of reg. Fix it so that it properly tests the bits in the PLL register. Also test PLL_EN, now that we set it. Reported-by: Damien Le Moal Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - New

[PATCH v3 04/11] clk: k210: Remove k210_register_pll

2021-04-08 Thread Sean Anderson
This simplifies the PLL creation process, since we don't have to pass all the parameters individually. Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - New drivers/clk/kendryte/clk.c | 10 +++--- drivers/clk/kendryte/pll.c | 21 -

[PATCH v3 05/11] clk: k210: Move the clint clock to under aclk

2021-04-08 Thread Sean Anderson
No other (real) clocks have the cpu clock as their parent; instead they are children of aclk. Move the clint clock under aclk to match them. Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - New drivers/clk/kendryte/clk.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 02/11] clk: k210: Fix PLLs not being enabled

2021-04-08 Thread Sean Anderson
After starting or setting the rate of a PLL, the enable bit must be set. This fixes a bug where the AI ram would not be accessible, because it requires PLL1 to be running. Signed-off-by: Sean Anderson --- (no changes since v1) drivers/clk/kendryte/pll.c | 2 ++ 1 file changed, 2

[PATCH v3 01/11] clk: Warn on failure to assign rate

2021-04-08 Thread Sean Anderson
If the user/dev explicitly requests a clock be assigned a certain rate, then we should warn them if we can't do it. This makes it clear if the clock is running at the default rate. Signed-off-by: Sean Anderson --- Changes in v3: - New drivers/clk/clk-uclass.c | 11 +++ 1 file changed,

[PATCH v3 00/11] riscv: k210: Enable use of AI ram bank

2021-04-08 Thread Sean Anderson
This ram bank was previously unusable because PLL1 was not started correctly. This series fixes that bug, and allows U-Boot to relocate into the AI ram. This provides an extra 2M of space in which to load payloads. I've also added some minor patches to bring the device tree and clock driver

Running u-boot 2021.04 on Raspberry Pi 4

2021-04-08 Thread Roman Shaposhnik
Hi! first time poster, long time lurker here. Over at Project EVE https://github.com/lf-edge/eve I've been trying to migrate from our current u-boot v2020.07 + patches: https://github.com/lf-edge/eve/tree/master/pkg/u-boot/patches/patches-v2020.07 to the latest u-boot 2021.04. Great news is

Re: [PATCH v4 7/7] board: Add rt-thread art-pi board support

2021-04-08 Thread dillon min
Hi Patrice, Thanks for the reminder. On Thu, Apr 8, 2021 at 9:53 PM Patrice CHOTARD wrote: > > Hi Dillon > > 2 minor remarks below, Once fixed, you can add my > Reviewed-by: Patrice Chotard > > Thanks > Patrice > > On 4/2/21 10:42 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > >

Re: [PATCH] power: regulator: Add support for regulator-force-boot-off

2021-04-08 Thread Jaehoon Chung
On 4/9/21 7:52 AM, Jaehoon Chung wrote: > Hi Stefan, > > On 4/8/21 6:20 PM, Stefan Roese wrote: >> From: Konstantin Porotchkin >> >> Add support for regulator-force-boot-off DT property. >> This property can be used by the board/device drivers for >> turning off regulators on early init stages

Re: [PATCH 0/5] Add support for embedding public key in platform's dtb

2021-04-08 Thread Simon Glass
Hi Sughosh, On Thu, 8 Apr 2021 at 18:53, Sughosh Ganu wrote: > > hi Simon, > > On Wed, 7 Apr 2021 at 21:44, Simon Glass wrote: >> >> Hi, >> >> On Wed, 7 Apr 2021 at 23:54, Sughosh Ganu wrote: >> > >> > Patch 1 fixes an issue of selection of IMAGE_SIGN_INFO config option >> > when capsule

Re: mkimage regression when building ARCH=mips defconfig Linux kernel

2021-04-08 Thread Simon Glass
+Tom Rini Hi Nathan, On Fri, 9 Apr 2021 at 06:23, Nathan Chancellor wrote: > > Hi Simon, > > Apologies if this is not the proper way to report a regression, this is my > first > time interacting with the U-Boot community. > > My distribution updated the uboot-tools package to 2021.04, which

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-08 Thread Simon Glass
Hi Alexandru, On Fri, 9 Apr 2021 at 04:56, Alexandru Gagniuc wrote: > > This reverts commit 38d6b7ebdaee3e0e8426ef1b9df88bdce8ae2e75. > > struct global_data contains a pointer to the bd_info structure. This > pointer was populated spl_set_bd() to a pre-allocated bd_info in the > ".data" section.

Re: [PATCH] power: regulator: Add support for regulator-force-boot-off

2021-04-08 Thread Jaehoon Chung
Hi Stefan, On 4/8/21 6:20 PM, Stefan Roese wrote: > From: Konstantin Porotchkin > > Add support for regulator-force-boot-off DT property. > This property can be used by the board/device drivers for > turning off regulators on early init stages as pre-requisite > for the other components

RE: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Harb Abdulhamid OS
Manish, Simon, * The U-boot bloblist mentioned by Simon is conceptually similar to what TF-A is using, if there is consensus of using bloblist/taglist then TF-A tag list may be enhanced to take best of both the implementations. Honestly, “conceptually similar” is not good enough and feels

Re: [PATCH] stm32mp1: remove the board_check_usb_power function when ADC is not activated

2021-04-08 Thread Jaehoon Chung
On 4/6/21 4:57 PM, Patrick Delaunay wrote: > Simplify the code of the function board_check_usb_power > based in CONFIG_ADC and adc_measurement; the function is removed by the > linker when the CONFIG_ADC is not activated. > > Signed-off-by: Patrick Delaunay Reviewed-by: Jaehoon Chung Best

Re: [PATCH 15/17] x86: Check ROM exists before building vboot

2021-04-08 Thread Jaehoon Chung
On 4/7/21 1:32 PM, Simon Glass wrote: > All the x86 devicetree files are built at once, whichever board is > actually being built. If coreboot is the target build, CONFIG_ROM_SIZE > is not defined and samus cannot build Chromium OS verified boot. Add > this condition to avoid errors about

Re: [PATCH v2] imx: support i.MX8QM DMSSE20 a1 board

2021-04-08 Thread Stefano Babic
Hi Oliver, I get errors when I build the board (some configs must be in defconfig instead of header): +(imx8qm_dmsse20a1) Error: You must add new CONFIG options using Kconfig +(imx8qm_dmsse20a1) The following new ad-hoc CONFIG options were detected: +(imx8qm_dmsse20a1) CONFIG_ETHPRIME1

Re: [PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

2021-04-08 Thread Stefano Babic
Hi Marek, sorry, false positive. This patch creates warnings for the imx8mn_evk board: aarch64: + imx8mn_evk +(imx8mn_evk) board/freescale/imx8mn_evk/imx8mn_evk.c: In function 'board_init': +(imx8mn_evk) board/freescale/imx8mn_evk/imx8mn_evk.c:53:3: error: implicit declaration of

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Julius Werner
> These structures we are talking about may not be defined by the SiP, and just saying we have SiP specific tags is not good enough. There is enough room in 64-bits to create separate tag spaces for every kind of category you can think of. (In fact, we could also just let every vendor allocate

[PATCH] dm: core: Fix uninitialized return value from dm_scan_fdt_node

2021-04-08 Thread Sean Anderson
If there are no nodes or if all nodes are disabled, this function would return err without setting it first. Fix this by initializing err to zero. Fixes: 94f7afdf7e ("dm: core: Ignore disabled devices when binding") Signed-off-by: Sean Anderson --- drivers/core/root.c | 2 +- 1 file changed,

[PATCH 2/2] net: fec: Only unregister MII bus if we registered it

2021-04-08 Thread Sean Anderson
If we fail to probe for whatever reason, we cannot unregister/free the MII bus unless we registered it with fec_get_miibus. This fixes FECs sharing an MDIO bus from destroying it, preventing the other FEC from using it. Fixes: 6a895d039b ("net: Update eQos driver and FEC driver to use eth phy

[PATCH 1/2] net: fec: Don't use disabled phys

2021-04-08 Thread Sean Anderson
If a phy is disabled, don't use it. This matches Linux's behavior. Signed-off-by: Sean Anderson --- drivers/net/fec_mxc.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index ec21157d71..37eb894248 100644 ---

[PATCH 1/5] ARM: board: udoo: Import UDOO dts files

2021-04-08 Thread sbabic
> Import the i.MX6 based UDOO dts files from Linux 5.12-rc1. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/5] ARM: board: warp: Import dts files

2021-04-08 Thread sbabic
> Import the i.MX6 based Warp dts files from Linux 5.12-rc1. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 2/8] ARM: marsboard: Enable OF_CONTROL and DM gpio/pin control

2021-04-08 Thread sbabic
> Enable OF_CONTROL and DM for gpio and pin control support > on the i.MX6Q based embestmx6boards marsboard. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 08/11] imx: ventana: enable dm support for USB

2021-04-08 Thread sbabic
> Enable dm support for USB (which also requires dm support for fixed > regulators used for vbus enable) and remove usb iomux which is no > longer needed. > We can remove the handling of otgpwr_en gpio as this is defined in > dt as usbotg vbus-supply but we need to keep the handling of >

[PATCH 1/4] colibri_imx6: adjust boot order

2021-04-08 Thread sbabic
> From: Igor Opaniuk > Remove duplicate of mmc0, set this boot order: > 1) SD > 2) eMMC > 3) USB > 4) DHCP boot > Fixes: 0e15165bc4e0 ("colibri_imx6: boot env configuration updates") > Signed-off-by: Igor Opaniuk > Signed-off-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best

[PATCH 5/5] ARM: board: warp7: Minor cleanups and DM_ETH

2021-04-08 Thread sbabic
> We don't need a random MAC as the only network that's supported is > over USB and that has a hardcoded MAC, enable DM_ETH for the USB, > and the device doesn't have MTD storage so drop that. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master,

[PATCH 2/5] ARM: imx: udoo: Enable OF_CONTROL and DM gpio/pin control

2021-04-08 Thread sbabic
> Enable OF_CONTROL and DM for gpio and pin control support > on the i.MX6 based Udoo boards. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/4] ARM: board: udoo_neo: Import UDOO Neo dts files

2021-04-08 Thread sbabic
> Import the i.MX6SX based UDOO Neo dts files from Linux 5.12-rc1 > and sync the i.MX6SX pinfunc.h > Signed-off-by: Peter Robinson > Cc: Francesco Montefoschi > Cc: Breno Lima > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best

[PATCH 2/2] configs: imx8mn_beacon: Enable QSPI Support

2021-04-08 Thread sbabic
> There is a QSPI chip connected to the FSPI. Enable the defconfig > to support it. > Signed-off-by: Adam Ford > diff --git a/configs/imx8mn_beacon_defconfig b/configs/imx8mn_beacon_defconfig > index d6a3385d8d..567a6e5e1e 100644 > --- a/configs/imx8mn_beacon_defconfig > +++

[PATCH 2/3] board: freescale: imxrt1050-evk: fix console is not enabled while init dram

2021-04-08 Thread sbabic
> While initializing dram in spl_dram_init(), mdelay() is called that in > order calls get_ticks() that verifies if timer exists, if doesn't, it > throws a panic(), but since preloader_console_init() has still not been > called those panic()s will fail. This doesn't help debugging, so let's >

[PATCH 10/11] imx: ventana: enable dm for MTD and NAND

2021-04-08 Thread sbabic
> Enable driver model for MTD and NAND support allowing us to remove > the iomux, init, and most of the static configuration. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 2/5] ARM: board: warp: Enable OF_CONTROL and DM gpio/pin control

2021-04-08 Thread sbabic
> Enable OF_CONTROL and DM for gpio and pin control support > on the i.MX6SL based Warp. > Signed-off-by: Peter Robinson > Cc: Otavio Salvador > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/2] ARM: board: usbarmory: Import the usbarmory dts file

2021-04-08 Thread sbabic
> Import the iMX53 based usbarmory dts files from Linux 5.12-rc1 > Signed-off-by: Peter Robinson > Cc: Andrej Rosano > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 2/4] colibri_imx6ull/imx7: add missing tdxargs variable

2021-04-08 Thread sbabic
> From: Philippe Schenker > All the other boards have tdxargs specified for setting manual kernel > command-line arguments. Add them also to NAND-based boards. > Signed-off-by: Philippe Schenker > Signed-off-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano

[PATCH] MAINTAINERS: Use my personal e-mail address

2021-04-08 Thread sbabic
> Use my personal e-mail address for U-Boot related work. > Signed-off-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang

[PATCH 2/2] ARM: board: usbarmory: Convert to OF_CONTROL and DM

2021-04-08 Thread sbabic
> Convert usbarmory to OF_CONTROL and DM for gpio, pin > usb support on the i.MX53 based usbarmory. > Signed-off-by: Peter Robinson > Cc: Andrej Rosano > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 8/8] ARM: embestmx6boards: convert the mars/riot boards to DM SPI

2021-04-08 Thread sbabic
> Enable DM_SPI and DM_SPI_FLASH on the mars/riot boards. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 1/8] ARM: embestmx6boards: Import the marsboard/riotboard. dts files

2021-04-08 Thread sbabic
> Import the iMX6 based marsboard and riotboard. dts files from Linux 5.12-rc1 > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 7/8] ARM: embestmx6boards: convert mars/riot boards to DM_ETH

2021-04-08 Thread sbabic
> Convert the boards to use DM_ETH. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 1/2] board: gateworks: venice: fix gsc_get_dev

2021-04-08 Thread sbabic
> use dm_i2c_probe instead of i2c_get_chip which appears to be more > reliable. > Signed-off-by: Tim Harvey > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 6/8] ARM: embestmx6boards: convert mars/riot boards to DM_USB

2021-04-08 Thread sbabic
> Convert the marsboard/riotboard to use DM_USB. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH 1/3] board: freescale: imxrt1020-evk: fix console is not enabled while init dram

2021-04-08 Thread sbabic
> While initializing dram in spl_dram_init(), mdelay() is called that in > order calls get_ticks() that verifies if timer exists, if doesn't, it > throws a panic(), but since preloader_console_init() has still not been > called those panic()s will fail. This doesn't help debugging, so let's >

[PATCH 4/5] ARM: imx: udoo: Convert block devices to DM

2021-04-08 Thread sbabic
> Enable DM block, DM MMC and DM SATA support on iMX6 Udoo > convert board code to match the DM support. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 3/8] ARM: embestmx6boards: merge the riotboard's configs together

2021-04-08 Thread sbabic
> It doesn't make much sense to have two separate configs for > the riotboard so let's merge the SPL config into the main one > for less duplication. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best

[PATCH 02/11] spl: fit: nand: allow for non-page-aligned elements

2021-04-08 Thread sbabic
> Add a weak nand_get_mtd function for nand drivers to provide mtd info > and use this to set pagesize such that reading of non page-aligned > elements can succeed. > The spl_load_simple_fit already handles block block access so all we > need to do is provide the nand writesize as the block

[PATCH 3/4] apalis/colibri_imx6: remove video= settings

2021-04-08 Thread sbabic
> Since Toradex provides the full set of overlays for Linux kernel > for display interfaces for both Apalis iMX6Q and Colibri iMX6DL > modules, the video= settings are obsolete. Remove them. > Signed-off-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic

[PATCH] ARM: imx: Add OCRAM_S into iMX8M MMU tables

2021-04-08 Thread sbabic
> The OCRAM_S is regular memory, just like the OCRAM, add it to the MMU > tables so it can be used and cached. > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 09/11] imx: ventana: enable dm support for MMC and SATA

2021-04-08 Thread sbabic
> Enable driver model support for MMC and SATA. > Note that DM_MMC requires aliases for your mmc devices so > they are added to the dts. Linux does not support enumerating mmc > devices by alias so these are not present in the Linux dts. > Note that we still need board_mmc_init() and

[PATCH 5/8] ARM: embestmx6boards: convert the mars/riot boards to DM_MMC

2021-04-08 Thread sbabic
> Convert the two Embest boards to use DM MMC. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support

2021-04-08 Thread sbabic
> Add support for ethernet on the imx8mn-ddr4-evk. > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 3/5] ARM: board: warp: convert to DM_MMC

2021-04-08 Thread sbabic
> Convert Warp to use DM MMC. > Signed-off-by: Peter Robinson > Cc: Otavio Salvador > Cc: Fabio Estevam > Cc: Stefano Babic > Reviewed-by: Jaehoon Chung Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 3/3] board: st: stm32f746-disco: fix console is not enabled while init dram

2021-04-08 Thread sbabic
> While initializing dram in spl_dram_init(), mdelay() is called that in > order calls get_ticks() that verifies if timer exists, if doesn't, it > throws a panic(), but since preloader_console_init() has still not been > called those panic()s will fail. This doesn't help debugging, so let's >

[PATCH 03/11] dt-bindings: add tda1997x and bindings

2021-04-08 Thread sbabic
> Add td1997x header from Linux to be included by dts files. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang

[PATCH 4/8] ARM: riotboard: Enable OF_CONTROL and DM gpio/pin control

2021-04-08 Thread sbabic
> Enable OF_CONTROL and DM for gpio and pin control support > on the i.MX6D based riotboard. > Signed-off-by: Peter Robinson > Cc: "Eric Bénard" > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 01/11] spl: fit: nand: skip bad block handling if NAND chip not fully defined

2021-04-08 Thread sbabic
> commit 9f6a14c47ff9 ("spl: fit: nand: fix fit loading in case of bad blocks") > added support for adjusting the image offset to account for bad blocks. > However this requires nand_spl_adjust_offset() which requires fully defined > specifics of the NAND chip being used may not be avialable. >

[PATCH 3/5] ARM: imx: udoo: drop MTD config

2021-04-08 Thread sbabic
> The UDOO doesn't have any MTD storage so drop the config. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 05/11] arm: dts: imx6qdl-gw*: add dr_mode prop to dt to avoid error

2021-04-08 Thread sbabic
> The fsl-usb dt bindings in Linux default dr_mode to 'host' for > backward compatibility however U-Boot prints an error if > this property does not exist. Declare it in the Gateworks > Ventana device-trees to avoid the error. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks !

[PATCH 11/11] imx: ventana: enable dm for SPI

2021-04-08 Thread sbabic
> Enable driver model for SPI which allows us to remove the iomux > and init. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing

[PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image

2021-04-08 Thread sbabic
> In preparation for dm conversion convert to OF_CONTROL by adding FIT image > support and multi dtb. > Add a board_fit_config_name_match to match the dtb based off of EEPROM > model. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 5/5] ARM: imx: udoo: convert to DM_ETH

2021-04-08 Thread sbabic
> Convert the UDOO board to use DM_ETH. > Signed-off-by: Peter Robinson > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH 04/11] imx: ventana: add Gateworks Ventana dts

2021-04-08 Thread sbabic
> Add Gateworks Ventana dts/dtsi files from Linux 5.11 in preparation for > conversion to driver-model. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 07/11] imx: ventana: add pinctrl and remove unneeded UART init and config

2021-04-08 Thread sbabic
> Once the IMX6 pinctrl driver is added UART is fully using driver mode > so we no longer need to config and initialize it. > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[PATCH 1/2] arm: dts: imx8mn, imx8mn-beacon: Sync dts files with Kernel 5.12-rc5

2021-04-08 Thread sbabic
> There have been a few updates including flexspi, so it's necessary > to re-sync. > Signed-off-by: Adam Ford > diff --git a/arch/arm/dts/imx8mn-beacon-baseboard.dtsi > b/arch/arm/dts/imx8mn-beacon-baseboard.dtsi > index 49bff19a78..376ca8ff72 100644 > ---

[PATCH 2/2] board: gateworks: venice: increase CONFIG_SYS_SPL_MALLOC_SIZE

2021-04-08 Thread sbabic
> commit 03f1f78a9b44 ("spl: fit: Prefer a malloc()'d buffer for loading > images")' > changed the way buffer allocation worked for SPL to a more flexible > method. > For venice this caused breakage that is resolved by increasing the size > of CONFIG_SYS_SPL_MALLOC_SIZE as the current FIT slighly

[PATCH 4/5] ARM: board: warp: convert to DM_USB

2021-04-08 Thread sbabic
> Convert Warp to use DM USB. > Signed-off-by: Peter Robinson > Cc: Otavio Salvador > Cc: Fabio Estevam > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH 4/4] board: toradex: apalis-imx8x: fix build instructions

2021-04-08 Thread sbabic
> Fix an URL for downloading the SCFW binary for an Apalis iMX8X > and improve u-boot image build instructions. > Signed-off-by: Oleksandr Suvorov Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

Re: [PATCH 2/5] efi_loader: Kconfig: Add symbols for embedding the public key into the platform's dtb

2021-04-08 Thread Heinrich Schuchardt
On 4/7/21 1:53 PM, Sughosh Ganu wrote: Add config options EFI_PKEY_DTB_EMBED and EFI_PKEY_FILE which are to be used for embedding the public key to be used for capsule authentication into the platform's device tree. The embedding of the public key would take place during the platform build

[PATCH 1/1] tools/mkeficapsule: improve online help

2021-04-08 Thread Heinrich Schuchardt
Show short arguments along with long arguments in online help: $ tools/mkeficapsule -h Usage: mkeficapsule [options] Options: -f, --fitnew FIT image file -r, --rawnew raw image file -i, --index update image index -I, --instance

Re: [PATCH 5/5] Makefile: Add provision for embedding public key in platform's dtb

2021-04-08 Thread Heinrich Schuchardt
On 4/7/21 1:53 PM, Sughosh Ganu wrote: Add provision for embedding the public key used for capsule authentication in the platform's dtb. This is done by invoking the mkeficapsule utility which puts the public key in the efi signature list(esl) format into the dtb. Signed-off-by: Sughosh Ganu

Re: [PATCH 4/6] drivers: net: octeontx: fix QSGMII

2021-04-08 Thread Tim Harvey
On Fri, Mar 26, 2021 at 9:39 AM Suneel Garapati wrote: > > + Chandra > > On Fri, Mar 26, 2021 at 9:38 AM Tim Harvey wrote: > > > > On Fri, Mar 26, 2021 at 9:09 AM Suneel Garapati > > wrote: > > > > > > This looks like a workaround than the root cause fix. > > > As this patch just moves the

Re: [PATCH 4/5] efi_capsule: Add a weak function to get the public key needed for capsule authentication

2021-04-08 Thread Heinrich Schuchardt
On 4/7/21 1:53 PM, Sughosh Ganu wrote: Define a weak function which would be used in the scenario where the public key is stored on the platform's dtb. This dtb is concatenated with the u-boot binary during the build process. Platforms which have a different mechanism for getting the public key

Re: [PATCH 3/5] efi_capsule: Add a weak function to check whether capsule authentication is enabled

2021-04-08 Thread Heinrich Schuchardt
On 4/7/21 1:53 PM, Sughosh Ganu wrote: Define a weak function which checks if the environment variable capsule_authentication_enabled has been set, for enabling capsule authentication. Other platforms might have a different mechanism to determine this, and would then define their own platform

RE: [EXT] Re: [PATCH v1 2/5] net: phy: marvell: extend 88E2110 to use both 2.5GHz modes

2021-04-08 Thread Stefan Chulski
> > If in-band not supported(for example PPv2 MAC connected to 88E2110 in > 2.5G speed) we would use default managed = "auto" and fixed link property. > > Such DTS properties should first be proposed to device-tree ML and > documented in devicetree bindings documentation. > > Marek This

Re: [PULL] u-boot-riscv/master

2021-04-08 Thread Tom Rini
On Thu, Apr 08, 2021 at 06:44:45PM +0800, Leo Liang wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/7078 > > The following changes since commit e9c99db7787e3b5c2ef05701177c43ed1c023c27: > > Merge branch '2021-04-07-CI-improvements' (2021-04-07 15:54:07

Re: Please pull u-boot-marvell/master

2021-04-08 Thread Tom Rini
On Thu, Apr 08, 2021 at 10:57:00AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the next batch of Marvell MVEBU related patches. Here the > summary log: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [EXT] Re: [PATCH v1 2/5] net: phy: marvell: extend 88E2110 to use both 2.5GHz modes

2021-04-08 Thread Marek Behun
On Thu, 8 Apr 2021 19:18:09 + Stefan Chulski wrote: > > > > Stefan, you suggest to drop this define from PHY_INTERFACE enum which we > > can't easily do with other drivers (like NXP) also referencing this macro. > > > > How to continue then? > > > > Thanks, > > Stefan > > Probably we

RE: [EXT] Re: [PATCH v1 2/5] net: phy: marvell: extend 88E2110 to use both 2.5GHz modes

2021-04-08 Thread Stefan Chulski
> > Stefan, you suggest to drop this define from PHY_INTERFACE enum which we > can't easily do with other drivers (like NXP) also referencing this macro. > > How to continue then? > > Thanks, > Stefan Probably we should drop SGMII_2500 from this series, introduce "manage" devicetree

Re: [TF-A] Proposal: TF-A to adopt hand-off blocks (HOBs) for information passing between boot stages

2021-04-08 Thread Mark Kettenis
> From: Simon Glass > Date: Fri, 9 Apr 2021 06:19:08 +1200 > > Here are a few thoughts on UUIDs. > Why a UUID/GUID is probably not the answer > > sjg, 30-Mar-21 > Code is for humans > > Code should be readable, so far as possible. > > This is not readable: > > #define

Re: [EXT] Re: [PATCH v1 2/5] net: phy: marvell: extend 88E2110 to use both 2.5GHz modes

2021-04-08 Thread Marek Behun
On Thu, 8 Apr 2021 10:24:22 +0200 Stefan Roese wrote: > Hi Stefan, > Hi Marek, > > On 25.03.21 13:59, Stefan Chulski wrote: > >> Could you please ask internally at Marvell? > >> We are trying to get to the bottom of this because we are stuck in > >> development of code for Amethyst. We need to

mkimage regression when building ARCH=mips defconfig Linux kernel

2021-04-08 Thread Nathan Chancellor
Hi Simon, Apologies if this is not the proper way to report a regression, this is my first time interacting with the U-Boot community. My distribution updated the uboot-tools package to 2021.04, which broke my Linux kernel builds for ARCH=mips: $ make -skj"$(nproc)" ARCH=mips

[PATCH v6 6/7] board: sifive: add HiFive Unmatched board support

2021-04-08 Thread Green Wan
Add dts, defconfig and board support for HiFive Unmatched. Signed-off-by: Green Wan Reviewed-by: Bin Meng --- arch/riscv/Kconfig|4 + .../dts/fu740-hifive-unmatched-a00-ddr.dtsi | 1489 + .../dts/hifive-unmatched-a00-u-boot.dtsi | 40 +

  1   2   >