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

2020-12-06 Thread Stefano Babic
Hi Oliver, On 20.11.20 15:05, Oliver Graute wrote: Convert README to reStructuredText format. Signed-off-by: Oliver Graute --- board/advantech/imx8qm_rom7720_a1/README | 61 -- doc/board/advantech/imx8qm-rom7720-a1.rst | 75 +++

SocFPGA: Arria10: Boot from FPGA

2020-12-06 Thread Wolfgang Grandegger
Hello, I want to boot U-Boot on the Arria10 from the FPGA using recent code. In the past I used the U-Boot created by the "bsp-editor" as described at [1], but starting with Quartus 21.3, the so called "old flow" is no longer available. I was able to build mainline U-Boot for our Arria10 board

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

2020-12-06 Thread Sughosh Ganu
On Mon, 7 Dec 2020 at 12:26, Heinrich Schuchardt wrote: > On 12/7/20 6:42 AM, Sughosh Ganu wrote: > > > > On Sat, 5 Dec 2020 at 16:01, Heinrich Schuchardt > > wrote: > > > > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > > The dfu framework uses the

[PATC 1/2H] board: fsl: ls2088ardb: Program GIC LPI configuration table

2020-12-06 Thread Priyanka Jain
From: Nikhil Gupta Add programming of GIC LPI configuration table: 1. Program Redistributor PROCBASER configuration table which is common for all redistributors. 2. Program Redistributor pending table (PENDBASER), for all the available redistributors. 3. Reserve DDR memory region used for

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

2020-12-06 Thread Heinrich Schuchardt
On 12/7/20 6:42 AM, Sughosh Ganu wrote: On Sat, 5 Dec 2020 at 16:01, Heinrich Schuchardt mailto:xypron.g...@gmx.de>> wrote: On 11/26/20 7:41 PM, Sughosh Ganu wrote: > The dfu framework uses the dfu_alt_info environment variable to get > information that is needed for performing

Re: [PATCH 07/14] efi_loader: Add config option to indicate fmp header presence

2020-12-06 Thread Sughosh Ganu
On Sat, 5 Dec 2020 at 16:04, Heinrich Schuchardt wrote: > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > When building the capsule using scripts in edk2, an fmp header is > > added on top of the binary payload. Add a config option to indicate > > the presence of the header. When enabled, the

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

2020-12-06 Thread Sughosh Ganu
On Sat, 5 Dec 2020 at 16:01, Heinrich Schuchardt wrote: > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > The dfu framework uses the dfu_alt_info environment variable to get > > information that is needed for performing the firmware update. Set the > > dfu_alt_info for the platform to reflect the

Re: [PATCH 2/4] ARM: mvebu: helios4 dts changes to enable SPI

2020-12-06 Thread Baruch Siach
Hi Dennis, On Mon, Dec 07 2020, dgilm...@redhat.com wrote: > From: Dennis Gilmore > > mirror seettings for the clearfog on the helios4 to get SPI working. > > Signed-off-by: Dennis Gilmore > --- > arch/arm/dts/armada-388-helios4-u-boot.dtsi | 22 ++ >

Re: [PATCH 05/14] qemu: arm64: Add support for dynamic mtdparts for the platform

2020-12-06 Thread Sughosh Ganu
On Sat, 5 Dec 2020 at 16:00, Heinrich Schuchardt wrote: > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > Add support for setting the default values for mtd partitions on the > > platform for the nor flash. This would be used for updating the > > firmware image using uefi capsule update with the

RE: [PATCH v4 0/3] Add support for LX2162AQDS board

2020-12-06 Thread Meenakshi Aggarwal
HI, Any review comment on this patch series? Thanks, Meenakshi > -Original Message- > From: Meenakshi Aggarwal > Sent: Thursday, October 29, 2020 7:17 PM > To: u-boot@lists.denx.de; tr...@konsulko.com; Priyanka Jain > > Cc: Varun Sethi ; Meenakshi Aggarwal > > Subject: [PATCH v4 0/3]

Re: [PATCH 03/14] qemu: arm: Scan the pci bus in board_init

2020-12-06 Thread Sughosh Ganu
On Sat, 5 Dec 2020 at 15:15, Heinrich Schuchardt wrote: > On 11/26/20 7:40 PM, Sughosh Ganu wrote: > > Scan the pci bus in board_init routine before scanning the virtio > > devices. This enumerates all the virtio devices, including devices > > found on the pci bus. > > > > Signed-off-by: Sughosh

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

2020-12-06 Thread Sughosh Ganu
hello Heinrich, On Sat, 5 Dec 2020 at 15:01, Heinrich Schuchardt wrote: > On 11/26/20 7:40 PM, Sughosh Ganu wrote: > > The Qemu platform emulator generates a device tree blob and places it > > at the start of the dram, which is then used by u-boot. Use this dtb > > only if CONFIG_OF_BOARD is

[PATCH 1/3] rockchip: evb-rk3399: Provide init voltage

2020-12-06 Thread Kever Yang
Add missing regulator-init-microvolt property to vdd_center regulator. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-evb-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3399-evb-u-boot.dtsi b/arch/arm/dts/rk3399-evb-u-boot.dtsi index

[PATCH 3/3] rockchip: leez-rk3399: Provide init voltage

2020-12-06 Thread Kever Yang
Add missing regulator-init-microvolt property to vdd_log regulator. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-leez-p710-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3399-leez-p710-u-boot.dtsi b/arch/arm/dts/rk3399-leez-p710-u-boot.dtsi index

[PATCH 2/3] rockchip: firefly-rk3399: Provide init voltage

2020-12-06 Thread Kever Yang
Add missing regulator-init-microvolt property to vdd_log regulator. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-firefly-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3399-firefly-u-boot.dtsi b/arch/arm/dts/rk3399-firefly-u-boot.dtsi index

RE: [PATCH 3/3] arm64: dts: imx8mm-beacon: Re-sync dts file with Linux 5.10-rc6

2020-12-06 Thread Peng Fan
> Subject: [PATCH 3/3] arm64: dts: imx8mm-beacon: Re-sync dts file with Linux > 5.10-rc6 > > There have been some updates to the device trees, so re-sync. > > Signed-off-by: Adam Ford Acked-by: Peng Fan > > diff --git a/arch/arm/dts/imx8mm-beacon-baseboard.dtsi >

RE: [PATCH 2/3] arm: dts: imx8mm: sync dts from Linux Kernel 5.10-rc6

2020-12-06 Thread Peng Fan
> Subject: [PATCH 2/3] arm: dts: imx8mm: sync dts from Linux Kernel 5.10-rc6 > > There have been some updates to the device tree since 5.6. > This also includes some clocks, and makes it easier to keep board device tree > files in sync with Linux > > Signed-off-by: Adam Ford Acked-by: Peng

RE: [PATCH 1/3] imx: imx8mm: Update clock bindings header

2020-12-06 Thread Peng Fan
> Subject: [PATCH 1/3] imx: imx8mm: Update clock bindings header > > Import clock bindings header file from Linux 5.10-rc6 > > Signed-off-by: Adam Ford Acked-by: Peng Fan > > diff --git a/include/dt-bindings/clock/imx8mm-clock.h > b/include/dt-bindings/clock/imx8mm-clock.h > index

[PATCH 2/4] ARM: mvebu: helios4 dts changes to enable SPI

2020-12-06 Thread dgilmore
From: Dennis Gilmore mirror seettings for the clearfog on the helios4 to get SPI working. Signed-off-by: Dennis Gilmore --- arch/arm/dts/armada-388-helios4-u-boot.dtsi | 22 ++ arch/arm/dts/armada-388-helios4.dts | 46 - 2 files changed, 58 insertions(+),

[PATCH 3/4] ARM: mvebu: ClearFog make sure that SATA and UART images are buildable

2020-12-06 Thread dgilmore
From: Dennis Gilmore SATA and UART ClearFog imaages are not buildable as ENV_SECT_SIZE is not defined set values for both possible targets Signed-off-by: Dennis Gilmore --- board/solidrun/clearfog/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 4/4] ARM: mvebu: fixup building a SPI image for db-mv784mp-gp

2020-12-06 Thread dgilmore
From: Dennis Gilmore sync config options from clearfog to db-mv784mp-gp to enable building a SPI image Signed-off-by: Dennis Gilmore --- include/configs/db-mv784mp-gp.h | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/configs/db-mv784mp-gp.h

[PATCH 1/4] ARM: mvebu: helios4 adjust env sizes to enable SPI to work

2020-12-06 Thread dgilmore
From: Dennis Gilmore mirror the clearfog setup to enable SPI to work Signed-off-by: Dennis Gilmore --- arch/arm/mach-mvebu/Kconfig | 1 + board/kobol/helios4/Kconfig | 24 configs/helios4_defconfig | 2 -- 3 files changed, 25 insertions(+), 2 deletions(-) create

Re: [PATCH v3 1/2] arm: dts: add imx8mm-cl-iot-gate dts file

2020-12-06 Thread Peter Robinson
On Sun, Dec 6, 2020 at 7:43 PM Ying-Chun Liu wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > Add board dts for imx8mm-cl-iot-gate > > Signed-off-by: Kirill Kapranov > Signed-off-by: Uri Mashiach > Signed-off-by: Valentin Raevsky > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Peter Robinson >

Re: [PATCH 29/34] configs: sama7g5: add mmc config for sdmmc0

2020-12-06 Thread Jaehoon Chung
On 12/4/20 4:00 PM, eugen.hris...@microchip.com wrote: > On 03.12.2020 23:45, Jaehoon Chung wrote: >> Hi, >> >> On 12/3/20 8:20 PM, eugen.hris...@microchip.com wrote: >>> On 03.12.2020 13:11, Jaehoon Chung wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the

[PATCH 6/6] test: dm: spi: Add testcase for spi_claim_bus()

2020-12-06 Thread Ovidiu Panait
Add testcase for spi_claim_bus(), which checks that sandbox spi bus speed/mode settings are updated correctly when multiple slaves use the bus consecutively. The following configurations are used for the two spi slaves involved: * different max_hz / different modes * different max_hz / same

[PATCH 5/6] spi: spi-uclass: Fix spi_claim_bus() speed/mode setup logic

2020-12-06 Thread Ovidiu Panait
Currently, when different spi slaves claim the bus consecutively using spi_claim_bus(), spi_set_speed_mode() will only be executed on the first two calls, leaving the bus in a bad state starting with the third call. This patch drops spi_slave->speed member and adds caching of bus speed/mode in

[PATCH 4/6] test: spi: Add sandbox_spi_get_{speed, mode} interface

2020-12-06 Thread Ovidiu Panait
Introduce sandbox_spi_get_{speed, mode} public interface to retrieve the sandbox spi bus internal state. They are meant to be used in sandbox spi testcases. Signed-off-by: Ovidiu Panait --- arch/sandbox/include/asm/test.h | 16 drivers/spi/sandbox_spi.c | 14

[PATCH 3/6] spi: sandbox_spi: Implement speed/mode setup

2020-12-06 Thread Ovidiu Panait
Implement sandbox_spi_set_{speed, mode} routines, to be able to keep track of the current bus speed/mode. This will help determine whether the values passed from dm_spi_claim_bus() are valid. Signed-off-by: Ovidiu Panait --- drivers/spi/sandbox_spi.c | 26 ++ 1 file

[PATCH 2/6] sandbox: test: Add a second SPI slave on sandbox_spi bus

2020-12-06 Thread Ovidiu Panait
Place a second spi slave on the sandbox_spi bus, to be used by the spi_claim_bus() testcase we are about to introduce. We need to make sure that jumping between slaves calling spi_claim_bus() sets the bus speed and mode appropriately. Use different max-hz and mode properties for this new slave.

[PATCH 1/6] sandbox: spi: Drop unused sandbox_spi_parse_spec function

2020-12-06 Thread Ovidiu Panait
Commit 1289e96797bf ("sandbox: spi: Drop command-line SPI option") dropped support for specifying SPI devices on the command line, removing the only user of sandbox_spi_parse_spec(). Remove the function too. Fixes: 1289e96797bf ("sandbox: spi: Drop command-line SPI option") Signed-off-by: Ovidiu

[PATCH 0/6] spi: spi-uclass: Fix spi_claim_bus() speed/mode setup logic

2020-12-06 Thread Ovidiu Panait
This patchset fixes spi_claim_bus() handling of the speed/mode settings when multiple spi slaves claim the bus consecutively, as reported here: https://lists.denx.de/pipermail/u-boot/2019-December/393854.html https://lists.denx.de/pipermail/u-boot/2020-November/431554.html It also does some minor

Re: [PATCH 1/6] tbs2910: configs: remove VIDCONSOLE_AS_LCD

2020-12-06 Thread Soeren Moch
On 03.12.20 10:15, Patrick Delaunay wrote: > Remove the obsolete CONFIG_VIDCONSOLE_AS_LCD as vidconsole is used in > ./include/configs/tbs2910.h since commit 513acd04452f ("tbs2910: migrate > to DM_VIDEO"). I don't consider this workaround as obsolete, please see my response to the cover letter of

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

2020-12-06 Thread Soeren Moch
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 #ifdef CONFIG_VIDCONSOLE_AS_LCD) > > This options are now obsolete

Re: [PATCH] ARM: mx6: add support for USB armory Mk II board

2020-12-06 Thread Stefano Babic
Hi Andrej, On 21.10.20 11:57, andrej.ros...@f-secure.com wrote: > From: Andrej Rosano > > Add support for F-Secure USB armory Mk II board, an open source > flash-drive sized computer based on Freescale i.MX6UL SoC. > > http://inversepath.com/usbarmory > > Signed-off-by: Andrej Rosano > Cc:

Re: [PATCH v1] imx: clk: added IPG Clock for I2C on imx8qm

2020-12-06 Thread Stefano Babic
On 12.11.20 11:51, Oliver Graute wrote: > This patch fixes this clk issue on I2C on imx8qm > > => i2c bus > Bus 3: i2c@5a83 > => i2c dev 3 > Setting bus to 3 > Failed to enable ipg clk > Failure changing bus number (-524) > > Signed-off-by: Oliver Graute > Cc: Stefano Babic > Cc:

Re: [PATCH v2] imx: Add support for Ronetix's i.MX7-CM board.

2020-12-06 Thread Stefano Babic
Hi Ilko, your patch is since a long while in the list. I have merged it a couple of times but I went back - sorry to not communicate this before. Your patch create a DCD for the board - but we have full support for i.MX6 and i.MX to set dinamically the DDR controller in SPL, see mx7_dram_cfg(),

Re: [PATCH v1 2/2] imx: imx8qm_rom7720_a1: fix broken fsl_esdhc_imx conversion

2020-12-06 Thread Stefano Babic
Hi Oliver, sorry, lost your mail, and I see your question is still open: On 20.11.20 14:13, Oliver Graute wrote: > On 10/03/20, Stefano Babic wrote: >> On 19.12.19 15:27, Oliver Graute wrote: >>> Fix broken fsl_esdhc_imx conversion >>> >>> Signed-off-by: Oliver Graute >>> Cc: Stefano Babic >>>

Re: About the commit imx: mx6ull: update the REFTOP_VBGADJ setting

2020-12-06 Thread Michael Nazzareno Trimarchi
Hi On Fri, Dec 4, 2020 at 10:44 PM Michael Nazzareno Trimarchi wrote: > > Hi Peng > > I have a design with imx6ull that is running properly according to the > manufacturer with the old REFTOP_VBGA set > BM_ANADIG_ANA_MISC0_REFTOP_VBGADJ,. With this commit, the TJunction of > the CPU is around 8