Re: [RFC PATCH] imx: skip unused compatible strings in drivers

2020-05-26 Thread Marek Vasut
On 5/26/20 1:58 PM, Anatolij Gustschin wrote: > On Tue, 26 May 2020 13:25:00 +0200 > Marek Vasut ma...@denx.de wrote: > >> On 5/26/20 1:12 PM, Soeren Moch wrote: >>> On 25.05.20 22:24, Anatolij Gustschin wrote: Converting to DM increases binary size and breaks building some boards

[PATCH] regmap: Check for out-of-range offsets before mapping them

2020-05-26 Thread Pratyush Yadav
In regmap_raw_{read,write}_range(), offsets are checked to make sure they aren't out of range. But this check happens _after_ the address is mapped from physical memory. Input should be sanity-checked before using it. Mapping the address before validating it leaves the door open to passing an

[PATCH v2] i2c: octeon_i2c: Add I2C controller driver for Octeon

2020-05-26 Thread Stefan Roese
From: Suneel Garapati Add support for I2C controllers found on Octeon II/III and Octeon TX TX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati Signed-off-by: Stefan Roese Cc: Heiko Schocher Cc: Simon Glass Cc: Daniel Schwierzeck Cc: Aaron Williams Cc:

Re: [PATCH 2/2] sf: Simplify probe for dm code

2020-05-26 Thread Jagan Teki
On Tue, May 26, 2020 at 5:11 AM Tom Rini wrote: > > On Mon, May 25, 2020 at 03:48:22PM -0600, Simon Glass wrote: > > Hi Jagan, > > > > On Mon, 25 May 2020 at 02:14, Jagan Teki wrote: > > > > > > Hi Simon, > > > > > > On Fri, May 22, 2020 at 10:20 PM Simon Glass wrote: > > > > > > > > Hi Jagan,

Re: [PATCH v1 03/15] arm: dts: ns3: add pinctrl node

2020-05-26 Thread Simon Glass
Hi Rayagonda, On Tue, 26 May 2020 at 04:08, Rayagonda Kokatanur wrote: > > Hi Simon, > > On Mon, May 25, 2020 at 7:45 AM Simon Glass wrote: > > > > Hi, > > > > On Sun, 17 May 2020 at 02:20, Rayagonda Kokatanur > > wrote: > > > > > > Add pinctrl dt node for ns3. > > > > > > Signed-off-by:

Re: [ANN] U-Boot v2020.07-rc3 released

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 01:13:56PM +0200, Wolfgang Denk wrote: > Dear Peter, > > In message > you > wrote: > > > > > > I'm going to continue with the every-other-week RC schedule and release on > > > July 6th. I'm currently planning to branch -next on June 8th but PRs > > > can be posted

Re: [PATCH 2/2] sf: Simplify probe for dm code

2020-05-26 Thread Jagan Teki
On Tue, May 26, 2020 at 3:18 AM Simon Glass wrote: > > Hi Jagan, > > On Mon, 25 May 2020 at 02:14, Jagan Teki wrote: > > > > Hi Simon, > > > > On Fri, May 22, 2020 at 10:20 PM Simon Glass wrote: > > > > > > Hi Jagan, > > > > > > On Fri, 22 May 2020 at 08:41, Jagan Teki > > > wrote: > > > > >

Re: [PATCH] video: make backlight and panel drivers optional

2020-05-26 Thread Simon Glass
On Mon, 25 May 2020 at 16:20, Anatolij Gustschin wrote: > > Not all boards use these drivers, so allow to disable them to fix > building boards with U-Boot binary image size restrictions. > > Signed-off-by: Anatolij Gustschin > --- > drivers/video/Kconfig | 27 +-- >

Re: [U-Boot] is it mandatory for SPL to support DM

2020-05-26 Thread Simon Glass
Hi Marek, On Mon, 25 May 2020 at 13:06, Marek Vasut wrote: > > On 5/25/20 6:59 PM, Simon Glass wrote: > > Hi Marek, > > > > On Mon, 25 May 2020 at 09:56, Marek Vasut wrote: > >> > >> On 5/25/20 5:48 PM, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On Mon, 25 May 2020 at 09:43, Marek Vasut

RE: [PATCH v3 1/5] imx: mkimage_fit_atf: Fix FIT image if BL31.bin missing

2020-05-26 Thread Peng Fan
> Subject: [PATCH v3 1/5] imx: mkimage_fit_atf: Fix FIT image if BL31.bin > missing > > From: Heiko Stuebner > > Right now if its bl31.bin is missing, the imx make_fit_atf.sh does return > "sucessful" without generating an .its source file, which makes autobuilders > unhappy. > > So this

RE: [ANN] U-Boot v2020.07-rc3 released

2020-05-26 Thread Alexey Brodkin
Hi Tom, Wolfgang, > > In message > > you > > wrote: > > > > > > > > I'm going to continue with the every-other-week RC schedule and release > > > > on > > > > July 6th. I'm currently planning to branch -next on June 8th but PRs > > > > can be posted sooner and I'll get them queued up.

Re: [RFC PATCH] imx: skip unused compatible strings in drivers

2020-05-26 Thread Anatolij Gustschin
On Tue, 26 May 2020 14:42:08 +0200 Marek Vasut ma...@denx.de wrote: > On 5/26/20 2:40 PM, Peng Fan wrote: > >> Subject: Re: [RFC PATCH] imx: skip unused compatible strings in drivers > >> > >> On Tue, 26 May 2020 13:25:00 +0200 > >> Marek Vasut ma...@denx.de wrote: > >> > >>> On 5/26/20 1:12

[PATCH v2] gpio: octeon_gpio: Add GPIO controller driver for Octeon

2020-05-26 Thread Stefan Roese
From: Suneel Garapati Add support for GPIO controllers found on Octeon II/III and Octeon TX TX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Daniel Schwierzeck Cc: Aaron Williams Cc: Chandrakala Chavva --- v2

Re: [PATCH] arch: arm: uDPU: fix PHY mode definition to sgmii-2500

2020-05-26 Thread Stefan Roese
Hi Jakov, On 23.05.20 20:23, Jakov Petrina wrote: On 12/05/2020 12:02, Jakov Petrina wrote: Commit f49ac7e1c4 switched the default PHY speed to 3.125Gbit to resolve issues with SFP modules. However, U-Boot does not have a "2500base-x" phy-mode. Resolve this by using "sgmii-2500" instead.

Re: [PATCH] nitrogen6x: update video console name

2020-05-26 Thread Troy Kisky
On 5/26/2020 3:03 AM, Anatolij Gustschin wrote: > After migration to DM 'vga' name is not longer supported, > Update the upgrade script to use 'vidconsole' instead. > > Signed-off-by: Anatolij Gustschin > Cc: Troy Kisky > --- > board/boundary/nitrogen6x/6x_upgrade.txt | 2 +- > 1 file changed,

Re: u-boot Marvell ethernet switch development

2020-05-26 Thread Rob Nino
Hello Dennis, I am looking for a RD-XC3-24G4XG-B dev board and possibly someone to help develop code for the switch. Thanks, --Rob -- Sent from: http://u-boot.10912.n7.nabble.com/

RE: [RFC PATCH] imx: skip unused compatible strings in drivers

2020-05-26 Thread Peng Fan
> Subject: Re: [RFC PATCH] imx: skip unused compatible strings in drivers > > On Tue, 26 May 2020 13:25:00 +0200 > Marek Vasut ma...@denx.de wrote: > > > On 5/26/20 1:12 PM, Soeren Moch wrote: > > > On 25.05.20 22:24, Anatolij Gustschin wrote: > > >> Converting to DM increases binary size and

Re: [RFC PATCH] imx: skip unused compatible strings in drivers

2020-05-26 Thread Marek Vasut
On 5/26/20 2:40 PM, Peng Fan wrote: >> Subject: Re: [RFC PATCH] imx: skip unused compatible strings in drivers >> >> On Tue, 26 May 2020 13:25:00 +0200 >> Marek Vasut ma...@denx.de wrote: >> >>> On 5/26/20 1:12 PM, Soeren Moch wrote: On 25.05.20 22:24, Anatolij Gustschin wrote: >

Re: [PATCH v6 00/16] Add Rockchip RK3399 USB3.0 Host support

2020-05-26 Thread Marcin Juszkiewicz
W dniu 26.05.2020 o 05:32, Frank Wang pisze: > This series add quirks for DWC3 and add Rockchip RK3399 USB3.0 host support. > > The function has been tested pass on rk3399-evb and roc-rk3399-pc board. > > For V6 update: > - Use [PATCH v6 04/16] instead of [PATCH v5 05/16] to fix that the

Re: [ANN] U-Boot v2020.07-rc3 released

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 01:15:36PM +, Alexey Brodkin wrote: > Hi Tom, Wolfgang, > > > > In message > > > you > > > wrote: > > > > > > > > > > I'm going to continue with the every-other-week RC schedule and > > > > > release on > > > > > July 6th. I'm currently planning to branch -next on

Re: [PATCH v2] arm: dts: uDPU: switch default PHY speed to 3.125Gbit

2020-05-26 Thread Stefan Roese
On 24.04.20 11:24, Jakov Petrina wrote: This resolves issues with certain SFP modules. Signed-off-by: Jakov Petrina Signed-off-by: Vladimir Vid --- v2: - changed PHY mode as well Reviewed-by: Stefan Roese Thanks, Stefan arch/arm/dts/armada-3720-uDPU.dts | 18 ++ 1

Re: [PATCH v2] arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236

2020-05-26 Thread Stefan Roese
Hi Luka, On 07.05.20 21:32, Luka Kovacic wrote: Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier implementation of new CRS3xx series boards, based on Marvell Prestera 98DX3236. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina --- Changes for v2: - Fix the

Re: patman: ImportError

2020-05-26 Thread Stefan Bosch
Hi Simon, Am 20.05.20 um 18:07 schrieb Stefan Bosch: Hi Simon, Am 20.05.20 um 02:52 schrieb Simon Glass: Hi Stefan, On Sun, 17 May 2020 at 07:54, Stefan Bosch wrote: Hi Simon, Am 17.05.20 um 01:03 schrieb Simon Glass: Hi Stefan, On Sat, 16 May 2020 at 05:27, Stefan Bosch wrote:

Re: [PATCH v2 00/12] mips: Add initial Octeon MIPS64 base support

2020-05-26 Thread Stefan Roese
Hi Daniel, On 14.05.20 11:59, Stefan Roese wrote: This patch adds very basic support for the Octeon III SoCs. Only CFI parallel UART, reset and NOR flash are supported for now. Please note that the basic Octeon port does not include the DDR3/4 initialization yet. This will be added in some

Re: [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL

2020-05-26 Thread Heinrich Schuchardt
On 26.05.20 11:48, Patrick Delaunay wrote: > Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in > common/Kconfig: > line 668:config LOG_MAX_LEVEL > line 688:config SPL_LOG_MAX_LEVEL > line 708:config TPL_LOG_MAX_LEVEL > > Signed-off-by: Patrick Delaunay > --- > >

Re: [PATCH v1] i2c: octeon_i2c: Add I2C controller driver for Octeon

2020-05-26 Thread Stefan Roese
Hi Heiko, On 19.05.20 08:07, Heiko Schocher wrote: Hello Stefan, Am 14.05.2020 um 09:23 schrieb Stefan Roese: From: Suneel Garapati Add support for I2C controllers found on Octeon II/III and Octeon TX TX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati

[PATCH 1/9] spi Drop spi_init()

2020-05-26 Thread Jagan Teki
spi_init doesn't exist anywhere in the code. Drop it. Signed-off-by: Jagan Teki --- drivers/spi/cf_spi.c | 4 drivers/spi/kirkwood_spi.c | 4 2 files changed, 8 deletions(-) diff --git a/drivers/spi/cf_spi.c b/drivers/spi/cf_spi.c index dd9c77281f..dec92df69b 100644 ---

[PATCH 2/9] spi: Kconfig: Drop redundant CF_SPI definition

2020-05-26 Thread Jagan Teki
CF_SPI kconfig option defined twice with DM_SPI and non DM_SPI. Drop the non DM_SPI side kconfig definition. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index fc759e71e2..658a48e57a 100644

[PATCH 3/9] spi: Kconfig: Move MSCC_BB_SPI, FSL_QSPI into DM_SPI

2020-05-26 Thread Jagan Teki
- MSCC_BB_SPI - FSL_QSPI Both are fully dm-driven, let's move them into DM_SPI side definition. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index

[PATCH 0/9] spi: dm-convert and cleanups

2020-05-26 Thread Jagan Teki
We still have few drivers left over, drivers/spi/fsl_espi.c drivers/spi/fsl_dspi.c drivers/spi/kirkwood_spi.c drivers/spi/mxc_spi.c drivers/spi/omap3_spi.c drivers/spi/sh_qspi.c Yes, most of them have SPL foot-print issues but will figure out the proper solutions and do necessary cleanup in

Re: [PATCH 2/4] x86: apl: Add hex offsets for registers in FSP-M

2020-05-26 Thread Bin Meng
Hi Simon, On Tue, May 26, 2020 at 4:16 AM Simon Glass wrote: > > When comparing hex dumps it is useful to see the offsets of the registers. > Add them in where they correspond to a multiple of 16. > > Possibly it would be useful to have a a command to output the FSP values > in human-readable

Re: [PATCH 3/4] x86: coral: Correct some FSP-S settings

2020-05-26 Thread Bin Meng
Hi Simon, On Tue, May 26, 2020 at 4:16 AM Simon Glass wrote: > > Some settings were modified slightly in the device-tree conversion. Return > these to their original values. This makes WiFi work again. > > Signed-off-by: Simon Glass > --- > > arch/x86/dts/chromebook_coral.dts | 10 +++--- >

[U-Boot] Pull request: u-boot-riscv/master

2020-05-26 Thread uboot
Hi Tom, Please pull some riscv updates: - sifive: fix palmer's email address. - Move all SMP related SBI calls to SBI_v01. Thanks Rick The following changes since commit 8c48bb21bd6a1778d1f299de30ff62c07929702b: Prepare v2020.07-rc3 (2020-05-25 20:34:01 -0400) are available in the Git

Re: [U-Boot] Pull request: u-boot-riscv/master

2020-05-26 Thread Rick Chen
Hi Tom > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, May 25, 2020 11:40 PM > To: Open Source Project uboot > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master > > On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com

Re: [PATCH v4 2/9] usb: xhci: Use only 32-bit accesses in xhci_writeq/xhci_readq

2020-05-26 Thread Marek Szyprowski
Hi Simon, On 25.05.2020 23:40, Simon Glass wrote: > On Mon, 25 May 2020 at 11:42, Sylwester Nawrocki > wrote: >> On 25.05.2020 19:04, Simon Glass wrote: >>> On Mon, 25 May 2020 at 10:57, Sylwester Nawrocki >>> wrote: On 25.05.2020 16:57, Simon Glass wrote: > On Mon, 25 May 2020 at

Re: [PATCH v3 0/3] cmd: add driver, fs and part type listing commands

2020-05-26 Thread Wolfgang Denk
Dear Tom, for patch series all review comments have been resolved, and the latest version has seen no further comments, but it has not been pulled either. Is any further action required to get this into mainline? > This series adds commands for listing the supported partition tables, > listing

Re: [PATCH v12 00/18] RISC-V SiFive FU540 support SPL

2020-05-26 Thread Jagan Teki
On Mon, May 25, 2020 at 7:52 PM Pragnesh Patel wrote: > > Hi Bin, > > >-Original Message- > >From: Bin Meng > >Sent: 25 May 2020 18:42 > >To: Pragnesh Patel > >Cc: U-Boot Mailing List ; Atish Patra > >; Palmer Dabbelt ; Paul > >Walmsley ; Jagan Teki > >; Anup Patel ; Sagar > >Kadam ;

Re: [PATCH v12 00/18] RISC-V SiFive FU540 support SPL

2020-05-26 Thread Bin Meng
Hi Jagan, On Tue, May 26, 2020 at 4:06 PM Jagan Teki wrote: > > On Mon, May 25, 2020 at 7:52 PM Pragnesh Patel > wrote: > > > > Hi Bin, > > > > >-Original Message- > > >From: Bin Meng > > >Sent: 25 May 2020 18:42 > > >To: Pragnesh Patel > > >Cc: U-Boot Mailing List ; Atish Patra > >

Re: [PATCH 4/4] x86: apl: Add hex offsets for registers in FSP-S

2020-05-26 Thread Bin Meng
Hi Simon, On Tue, May 26, 2020 at 4:16 AM Simon Glass wrote: > > When comparing hex dumps it is useful to see the offsets of the registers. > Add them in where they correspond to a multiple of 16. > > Possibly it would be useful to have a a command to output the FSP values > in human-readable

[PATCH] board: xilinx/zynqmp: Remove 1-second delay at boot

2020-05-26 Thread Mike Looijmans
SPL boot is slow on the ZynqMP because of this delay. The initialization done in psu_init no longer requires an external delay, so this can be removed to speed up the SPL boot flow considerably. Signed-off-by: Mike Looijmans --- board/xilinx/zynqmp/zynqmp.c | 4 1 file changed, 4

Re: Warnings on Edison

2020-05-26 Thread Bin Meng
Hi Andy, On Wed, May 20, 2020 at 4:17 PM Andy Shevchenko wrote: > > On Tue, May 19, 2020 at 10:47:27AM -0600, Simon Glass wrote: > > Hi Andy, > > > > When I build edison on master I recently started seeing this warning: > > > > +board/intel/edison/dsdt.asl.tmp210: Name (SSCN, Package

Re: [PATCH v12 00/18] RISC-V SiFive FU540 support SPL

2020-05-26 Thread Jagan Teki
On Tue, May 26, 2020 at 1:35 PM Jagan Teki wrote: > > On Mon, May 25, 2020 at 7:52 PM Pragnesh Patel > wrote: > > > > Hi Bin, > > > > >-Original Message- > > >From: Bin Meng > > >Sent: 25 May 2020 18:42 > > >To: Pragnesh Patel > > >Cc: U-Boot Mailing List ; Atish Patra > > >; Palmer

Re: [PATCH 1/2] riscv: Avoid the reserved memory fixup if src and dst point to the same place

2020-05-26 Thread Bin Meng
On Wed, May 20, 2020 at 3:41 PM Bin Meng wrote: > > From: Bin Meng > > The copy of reserved memory node from source dtb to destination dtb > can be avoided if they point to the same place. This is useful when > OF_PRIOR_STAGE is used. > > Signed-off-by: Bin Meng > --- > >

Re: [PATCH v3] Nokia RX-51: Add automated test for running RX-51 build in qemu

2020-05-26 Thread Lokesh Vutla
On 26/05/20 2:48 pm, Pali Rohár wrote: > On Sunday 17 May 2020 14:38:22 Pali Rohár wrote: >> This patch contains test/nokia_rx51_test.sh script which automatically >> download and compile all needed tools in local temporary directory to >> generate a simple MTD images for booting Maemo kernel

Re: [PATCH v3] Nokia RX-51: Add automated test for running RX-51 build in qemu

2020-05-26 Thread Lokesh Vutla
On 26/05/20 3:02 pm, Pali Rohár wrote: > On Tuesday 26 May 2020 14:52:50 Lokesh Vutla wrote: >> On 26/05/20 2:48 pm, Pali Rohár wrote: >>> Hello Tom! Have you looked at this updated V3 patch? >>> >> >> Sorry, this was merged into master yesterday. >> >> Thanks and regards, >> Lokesh > > Sorry,

Re: [PATCH v2] x86: chromebook_coral: Fix a build error

2020-05-26 Thread Bin Meng
Hi Simon, On Mon, May 25, 2020 at 11:53 PM Simon Glass wrote: > > At present coral does not build due to a missing header file. The need > for this was introduced recently on master. Fix it. > > Fixes: e9a32698517 ("x86: apl: Use devicetree for FSP-M configuration") > Signed-off-by: Simon Glass

[PATCH 5/9] spi: davinci: Drop non-dm code

2020-05-26 Thread Jagan Teki
Now all boards which are using davinci SPI driver have moved to SPL_DM so drop the unneeded non-dm code. Cc: Adam Ford Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 12 +- drivers/spi/davinci_spi.c| 157 ---

[PATCH 6/9] spi: mxs: Drop nondm code

2020-05-26 Thread Jagan Teki
Deadline for DM migration already passed by months and no response on full dm conversation hence removed the nondm code. Note: Look like there is no user for nondm code for this driver. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 12 ++--- drivers/spi/mxs_spi.c | 123

[PATCH 8/9] spi: Zap SOFT_SPI (non-dm)

2020-05-26 Thread Jagan Teki
- Deadline for DM migration already passed by months. - Sent couple of zap patches and - No response on dm conversation hence removed the driver. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 13 ++- drivers/spi/Makefile | 1 - drivers/spi/soft_spi_legacy.c | 168

[PATCH 7/9] spi: mxs: Code cleanup

2020-05-26 Thread Jagan Teki
Order the macros, private structures and simple functions in a proper way to have more code readability. No functionality changed. Signed-off-by: Jagan Teki --- drivers/spi/mxs_spi.c | 37 ++--- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git

[PATCH 9/9] doc: driver-model: Update SPI migration status

2020-05-26 Thread Jagan Teki
Update SPI drivers, driver model conversion status as per latest conversion and dropping nondm code. Signed-off-by: Jagan Teki --- doc/driver-model/migration.rst | 5 - 1 file changed, 5 deletions(-) diff --git a/doc/driver-model/migration.rst b/doc/driver-model/migration.rst index

Re: [PATCH v4 2/9] usb: xhci: Use only 32-bit accesses in xhci_writeq/xhci_readq

2020-05-26 Thread Bin Meng
Hi Simon, On Tue, May 26, 2020 at 5:41 AM Simon Glass wrote: > > Hi Sylwester, > > On Mon, 25 May 2020 at 11:42, Sylwester Nawrocki > wrote: > > > > Hi Simon, > > > > On 25.05.2020 19:04, Simon Glass wrote: > > > On Mon, 25 May 2020 at 10:57, Sylwester Nawrocki > > > wrote: > > >> On

[PATCH 4/9] ks2_evm: Switch to DM_SPL, SPL_OF_CONTROL

2020-05-26 Thread Jagan Teki
This would make SPL build to DM_SPL, SPL_OF_CONTROL. Build fine with but not tested. Cc: Vitaly Andrianov Signed-off-by: Jagan Teki --- configs/k2e_evm_defconfig| 2 ++ configs/k2g_evm_defconfig| 2 ++ configs/k2hk_evm_defconfig | 2 ++

Re: [PATCH v12 00/18] RISC-V SiFive FU540 support SPL

2020-05-26 Thread Jagan Teki
On Tue, May 26, 2020 at 1:38 PM Bin Meng wrote: > > Hi Jagan, > > On Tue, May 26, 2020 at 4:06 PM Jagan Teki wrote: > > > > On Mon, May 25, 2020 at 7:52 PM Pragnesh Patel > > wrote: > > > > > > Hi Bin, > > > > > > >-Original Message- > > > >From: Bin Meng > > > >Sent: 25 May 2020 18:42

Re: [PATCH 1/4] x86: coral: Correct some FSP-M settings

2020-05-26 Thread Bin Meng
On Tue, May 26, 2020 at 4:16 AM Simon Glass wrote: > > Some settings were modified slightly in the device-tree conversion. Return > these to their original values. > > Signed-off-by: Simon Glass > --- > > arch/x86/dts/chromebook_coral.dts | 5 + > 1 file changed, 5 insertions(+) >

Re: [PATCH v3] Nokia RX-51: Add automated test for running RX-51 build in qemu

2020-05-26 Thread Pali Rohár
On Sunday 17 May 2020 14:38:22 Pali Rohár wrote: > This patch contains test/nokia_rx51_test.sh script which automatically > download and compile all needed tools in local temporary directory to > generate a simple MTD images for booting Maemo kernel image by U-Boot from > RAM, eMMC and OneNAND.

Re: [PATCH v3] Nokia RX-51: Add automated test for running RX-51 build in qemu

2020-05-26 Thread Pali Rohár
On Tuesday 26 May 2020 14:52:50 Lokesh Vutla wrote: > On 26/05/20 2:48 pm, Pali Rohár wrote: > > Hello Tom! Have you looked at this updated V3 patch? > > > > Sorry, this was merged into master yesterday. > > Thanks and regards, > Lokesh Sorry, I have not looked into git repository yet. So are

[PATCH] colibri_imx6: fix video stdout in default environment

2020-05-26 Thread Anatolij Gustschin
After migration to DM 'vga' name is not longer supported, change it to 'vidconsole' in the default environment. Signed-off-by: Anatolij Gustschin Cc: Igor Opaniuk --- include/configs/colibri_imx6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] nitrogen6x: update video console name

2020-05-26 Thread Anatolij Gustschin
After migration to DM 'vga' name is not longer supported, Update the upgrade script to use 'vidconsole' instead. Signed-off-by: Anatolij Gustschin Cc: Troy Kisky --- board/boundary/nitrogen6x/6x_upgrade.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/3] x86: spi: Rewrite logic for obtaining the SPI memory map

2020-05-26 Thread Bin Meng
Hi Simon, On Mon, May 18, 2020 at 11:01 AM Simon Glass wrote: > > At present this logic does not work on link and samus, since their SPI > controller is not a PCI device, but a child of the PCH. > > Unfortunately, fixing this involves a lot of extra logic. Still, this was > requested in the

[PATCH v3 5/5] rockchip: make_fit_atf: add signature handling

2020-05-26 Thread Heiko Stuebner
From: Heiko Stuebner If the newly added fit-generator key-options are found, append needed signature nodes to all generated image blocks, so that they can get signed when mkimage later compiles the .itb from the generated .its. Signed-off-by: Heiko Stuebner Reviewed-by: Kever Yang ---

[PATCH v3 2/5] mkimage: fit_image: handle multiple errors when writing signatures

2020-05-26 Thread Heiko Stuebner
From: Heiko Stuebner fit_image_write_sig() contains mostly functions from libfdt that return FDT_ERR_foo errors but also a call to fit_set_timestamp() which returns a regular error. When handling the size increase via multiple iterations, check for both -FDT_ERR_NOSPACE but also for -ENOSPC.

Re: [PATCH v4 2/9] usb: xhci: Use only 32-bit accesses in xhci_writeq/xhci_readq

2020-05-26 Thread Sylwester Nawrocki
Hi, On 26.05.2020 09:49, Marek Szyprowski wrote: > On 25.05.2020 23:40, Simon Glass wrote: >> On Mon, 25 May 2020 at 11:42, Sylwester Nawrocki >> wrote: >>> On 25.05.2020 19:04, Simon Glass wrote: On Mon, 25 May 2020 at 10:57, Sylwester Nawrocki wrote: > On 25.05.2020 16:57,

[PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL

2020-05-26 Thread Patrick Delaunay
Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in common/Kconfig: line 668:config LOG_MAX_LEVEL line 688:config SPL_LOG_MAX_LEVEL line 708:config TPL_LOG_MAX_LEVEL Signed-off-by: Patrick Delaunay --- doc/README.log | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] apalis_imx6: fix video stdout in default environment

2020-05-26 Thread Anatolij Gustschin
After migration to DM 'vga' name is not longer supported, change it to 'vidconsole' in the default environment. Signed-off-by: Anatolij Gustschin Cc: Igor Opaniuk --- include/configs/apalis_imx6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] cm_fx6: fix video stdout in default environment

2020-05-26 Thread Anatolij Gustschin
After migration to DM 'vga' name is not longer supported, change it to 'vidconsole' in the default environment. Signed-off-by: Anatolij Gustschin Cc: Nikita Kiryanov --- include/configs/cm_fx6.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/cm_fx6.h

[PATCH] video: ipuv3: remove non-DM code

2020-05-26 Thread Anatolij Gustschin
All ipuv3 users have been converted, drop obsolete code. Signed-off-by: Anatolij Gustschin --- drivers/video/imx/Kconfig| 2 +- drivers/video/imx/mxc_ipuv3_fb.c | 43 2 files changed, 1 insertion(+), 44 deletions(-) diff --git

Re: [PATCH v1 03/15] arm: dts: ns3: add pinctrl node

2020-05-26 Thread Rayagonda Kokatanur
Hi Simon, On Mon, May 25, 2020 at 7:45 AM Simon Glass wrote: > > Hi, > > On Sun, 17 May 2020 at 02:20, Rayagonda Kokatanur > wrote: > > > > Add pinctrl dt node for ns3. > > > > Signed-off-by: Rayagonda Kokatanur > > --- > > arch/arm/dts/ns3-pinctrl.dtsi | 321

Re: [ANN] U-Boot v2020.07-rc3 released

2020-05-26 Thread Peter Robinson
> It's release day and I've tagged v2020.07-rc3. We're moving along > nicely and should continue with prioritizing stabilization and obviously > correct updates / migrations at this time. > > Once again, for a changelog, > git log --merges v2020.07-rc2..v2020.07-rc3 > and as always, I ask for

[PATCH v3 3/5] spl: fit: enable signing a generated u-boot.itb

2020-05-26 Thread Heiko Stuebner
From: Heiko Stuebner With SPL_FIT_SIGNATURE enabled we will likely want a generated u-boot.itb to be signed and the key stores so that the spl can reach it. So add a SPL_FIT_SIGNATURE_KEY_DIR option and suitable hooks into the Makefile to have mkimage sign the .itb and store the used key into

[PATCH v3 4/5] spl: fit: add Kconfig option to specify key-hint for fit_generator

2020-05-26 Thread Heiko Stuebner
From: Heiko Stuebner The u-boot.itb can be generated either from a static .its that can simply include the needed signature nodes with key-hints or from a fit-generator script referenced in CONFIG_SPL_FIT_GENERATOR. In the script-case it will need to know what key to include for the key-hint

[PATCH v3 1/5] imx: mkimage_fit_atf: Fix FIT image if BL31.bin missing

2020-05-26 Thread Heiko Stuebner
From: Heiko Stuebner Right now if its bl31.bin is missing, the imx make_fit_atf.sh does return "sucessful" without generating an .its source file, which makes autobuilders unhappy. So this change is similar to Tom Rini's commit 4c78028737c3 ("mksunxi_fit_atf.sh: Allow for this to complete when

[PATCH v3 0/5] rockchip: make it possible to sign the u-boot.itb

2020-05-26 Thread Heiko Stuebner
From: Heiko Stuebner This series makes it possible to sign a generated u-boot.itb automatically even if the its-source got created by a generator script. To let the SPL know about the key, the -K option for mkimage points to the dts/dt-spl.dtb which can then get included into the spl binary.

Re: [PATCH v1] i2c: octeon_i2c: Add I2C controller driver for Octeon

2020-05-26 Thread Stefan Roese
Hi Simon, On 19.05.20 14:32, Simon Glass wrote: Hi, On Thu, 14 May 2020 at 01:23, Stefan Roese wrote: From: Suneel Garapati Add support for I2C controllers found on Octeon II/III and Octeon TX TX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati

Re: [PATCH v1] gpio: octeon_gpio: Add GPIO controller driver for Octeon

2020-05-26 Thread Stefan Roese
Hi Simon, On 25.05.20 19:03, Simon Glass wrote: On Thu, 14 May 2020 at 08:26, Stefan Roese wrote: From: Suneel Garapati Add support for GPIO controllers found on Octeon II/III and Octeon TX TX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati Cc: Simon Glass

Re: [RFC PATCH] imx: skip unused compatible strings in drivers

2020-05-26 Thread Soeren Moch
On 25.05.20 22:24, Anatolij Gustschin wrote: > Converting to DM increases binary size and breaks building some > boards (i.e. tbs2910, gcc 9.2). The approach to address this issue > via cutting off unused properties/nodes in device tree via custom > u-boot.dtsi was not welcome, even if the

[PATCH v3 1/5] imx8mp_evk: spl: drop useless code

2020-05-26 Thread Fabio Estevam
From: Peng Fan Drop useless getting ccm device, there is no need to explicted do this in board code, and we not enable SPL CLK currently. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale/imx8mp_evk/spl.c | 14

[PATCH v3 4/5] imx8mp_evk: spl: no need the code since spl framework could do that

2020-05-26 Thread Fabio Estevam
From: Peng Fan We no need invoke the code, since spl framework could help us do that. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale/imx8mp_evk/spl.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)

[PATCH v3 5/5] imx: imx8mp_evk: fix boot issue

2020-05-26 Thread Fabio Estevam
From: Peng Fan The u-boot-spl.bin pad with ddr firmware conflicts with the CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten by malloc in SPL stage and cause ddr initialization not able to finish. So update the related addresses to fix the issue. Reported-by: Fabio Estevam

[PATCH v3 3/5] imx8mp_evk: spl: use spl_early_init

2020-05-26 Thread Fabio Estevam
From: Peng Fan Use spl_early_init to replace spl_init, spl_init will be invoked in board_init_r, we only need use spl_early_init to setup malloc and scan early dt. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master

[PATCH v3 2/5] imx8mp_evk: spl: drop timer_init

2020-05-26 Thread Fabio Estevam
From: Peng Fan timer_init has been invoked in arch_cpu_init, no need to invoke it again in board code. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale/imx8mp_evk/spl.c | 2 -- 1 file changed, 2 deletions(-)

Re: [PATCH] Azure: Add 'tools-only' build for macOS X hosts

2020-05-26 Thread Heinrich Schuchardt
On 5/18/20 2:52 PM, Tom Rini wrote: > On Sun, May 17, 2020 at 12:48:42PM +1000, Jonathan Gray wrote: >> On Sat, May 16, 2020 at 02:54:39PM -0400, Tom Rini wrote: >>> Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully >>> this will catch changes to host tools that are

Re: [PATCH][v4 5/6] board: tbs2910: Enable distro_boot support.

2020-05-26 Thread Denis 'GNUtoo' Carikli
On Sun, 1 Mar 2020 14:59:04 +0100 Soeren Moch wrote: > On 27.02.20 01:37, Denis 'GNUtoo' Carikli wrote: > > This keeps the compatibility with the old bootcmd. [...] > > --- a/include/configs/tbs2910.h > > +++ b/include/configs/tbs2910.h > > @@ -8,6 +8,15 @@ > > #ifndef __TBS2910_CONFIG_H > >

[v2] Azure: Add 'tools-only' build for macOS X hosts

2020-05-26 Thread Tom Rini
Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini Changes in v2: - Add step to brew install gmake - Add display name to the build step ---

[PATCH 1/1] efi_loader: allow compiling with clang

2020-05-26 Thread Heinrich Schuchardt
On ARM systems gd is stored in register r9 or x18. When compiling with clang gd is defined as a macro calling function gd_ptr(). So we can not make assignments to gd. In the UEFI sub-system we need to save gd when leaving to UEFI binaries and have to restore gd when reentering U-Boot. Define a

[PATCH] SPI_DM: Drop non DM support

2020-05-26 Thread Bhargav Shah
+ Dropped non DM support from Krikwood SPI + Modify config files Signed-off-by: Bhargav Shah diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index 449c3a435e..2022779c47 100644 --- a/configs/clearfog_defconfig +++ b/configs/clearfog_defconfig @@ -67,6 +67,8 @@

[PATCH v1] x86: acpi: Drop _HID() where enumerated by _ADR()

2020-05-26 Thread Andy Shevchenko
ACPICA complains that either _HID() or _ADR() should be used. For General Purpose DMA we may not drop the _ADR() because the device is enumerated by PCI. Thus, simple drop _HID(). Reported-by: Bin Meng Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/arch-tangier/acpi/southcluster.asl |

Re: [PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Marek Vasut
On 5/26/20 9:06 PM, Tom Rini wrote: > The config header for this platform disables both CMD_SF and CMD_SPI and > the defconfig leaves them enabled. Disable them from the defconfig and > enable them in the header. > > Cc: Marek Vasut > Cc: Masakazu Mochizuki > Signed-off-by: Tom Rini > --- >

Re: [PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 09:21:59PM +0200, Marek Vasut wrote: > On 5/26/20 9:06 PM, Tom Rini wrote: > > The config header for this platform disables both CMD_SF and CMD_SPI and > > the defconfig leaves them enabled. Disable them from the defconfig and > > enable them in the header. > > > > Cc:

Re: [PATCH] tbs2910: migrate to DM_VIDEO

2020-05-26 Thread Anatolij Gustschin
On Sun, 24 May 2020 17:46:22 +0200 Soeren Moch sm...@web.de wrote: > On 23.05.20 01:24, Anatolij Gustschin wrote: > > Migration to DM_VIDEO driver is long overdue, configure it in > > board config files. To enable the display set stdout like: > > > > setenv stdout serial,vidconsole > > > >

[PATCH] rockchip: rockpro64: enable DM_KEYBOARD

2020-05-26 Thread Marcin Juszkiewicz
USB stack uses DM so DM_KEYBOARD is needed to get USB keyboard working. Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git configs/rockpro64-rk3399_defconfig configs/rockpro64-rk3399_defconfig index 9d4343a5a7..a511c60d13

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2020-05-26 Thread Heinrich Schuchardt
On 26.05.20 22:10, Tom Rini wrote: > On Tue, May 26, 2020 at 10:02:36PM +0200, Heinrich Schuchardt > wrote: >> On 26.05.20 20:40, Tom Rini wrote: >>> Ah, I thought you might not have been part of Coverity. >>> https://scan.coverity.com/projects/das-u-boot is where to >>> start, it will take GitHub

Re: [PATCH] video: ipuv3: remove some useless code to reduce binary size

2020-05-26 Thread Anatolij Gustschin
On Mon, 25 May 2020 12:05:14 -0400 Tom Rini tr...@konsulko.com wrote: > On Mon, May 25, 2020 at 02:34:17PM +0200, Anatolij Gustschin wrote: > > > To enable DM_VIDEO we must decrease binary size to fix build > > breakage for some boards, so drop not needed code. Also add > > !DM_VIDEO guards

[PATCH 8/8] Convert CONFIG_BOARD_LATE_INIT to Kconfig

2020-05-26 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BOARD_LATE_INIT Signed-off-by: Tom Rini --- configs/am335x_pdu001_defconfig | 1 + configs/bcm7260_defconfig | 1 + configs/bcm7445_defconfig | 1 + configs/cl-som-imx7_defconfig | 1 + configs/controlcenterdc_defconfig | 1

[PATCH 1/8] pfla02: Rework excluding NAND from SPL

2020-05-26 Thread Tom Rini
Rather than only enable CONFIG_CMD_NAND for non-SPL builds, move the CMD options to defconfig and rework the guards to not try and call the function in SPL builds. Cc: Stefano Babic Signed-off-by: Tom Rini --- A grep around for setup_gpmi_nand() shows that other platforms will just make an

[PATCH 1/1] fs: fat_write: fix short name creation.

2020-05-26 Thread Heinrich Schuchardt
Truncate file names if the buffer size is exceeded to avoid a buffer overflow. Use Sphinx style function description. Add a TODO comment. Reported-by: CID 303779 Signed-off-by: Heinrich Schuchardt --- fs/fat/fat_write.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-)

[PATCH 5/8] topic_miami: Disable GPIO

2020-05-26 Thread Tom Rini
Per the boards config header file, there is no useful GPIO on these boards. Remove CONFIG_CMD_GPIO from the defconfigs. Cc: Mike Looijmans Signed-off-by: Tom Rini --- configs/topic_miami_defconfig | 1 - configs/topic_miamilite_defconfig | 1 - configs/topic_miamiplus_defconfig | 1 -

[PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Tom Rini
The config header for this platform disables both CMD_SF and CMD_SPI and the defconfig leaves them enabled. Disable them from the defconfig and enable them in the header. Cc: Marek Vasut Cc: Masakazu Mochizuki Signed-off-by: Tom Rini --- This is a case where it's hard to tell if this is the

[PATCH 3/8] bcmstb: Migrate CONFIG_CMD_EXT[24]

2020-05-26 Thread Tom Rini
The common config header for bcm7260 and bcm7445 enable CONFIG_CMD_EXT2/EXT4 but the defconfigs do not. This results in the commands being disabled. Enable them via the defconfig. Cc: Thomas Fitzsimmons Signed-off-by: Tom Rini --- configs/bcm7260_defconfig | 2 ++ configs/bcm7445_defconfig |

[PATCH 2/8] mx6memcal: Finish migration to defconfig options

2020-05-26 Thread Tom Rini
The config header for this platform uses '#undef' in a number of cases. All of the MMC related ones were already handled correctly in the defconfig file. In the case of CONFIG_CMD_FUSE, the command was being built and enabled via defconfig. Disable it in the defconfig, cleanup the header. Cc:

  1   2   >