Re: [U-Boot] [PATCH 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now[Please note, mail behalf by 3vnmnxammciszqnjoyvtpbt.vynrlcly.fhunyvjr-jopwz....@chromium-sendgmr.bounces.google.com]

2019-01-02 Thread Kever Yang
Hi Simon, On 12/29/2018 09:16 PM, Simon Glass wrote: > This function causes a 5-second delay and stops the display working on > minnie. I don't understand why need 5-second, the logic is to check the adc key press to decide the mode, maybe because the different usage of the adc in minnie?

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-02 Thread Chee, Tien Fong
On Thu, 2019-01-03 at 06:27 +0100, Marek Vasut wrote: > On 1/3/19 6:07 AM, Chee, Tien Fong wrote: > > > > On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: > > > > > > On 1/1/19 4:10 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Sun, 2018-12-30 at 16:46 +0100, Marek Vasut wrote: >

Re: [U-Boot] [PATCH v1 07/14] pinctrl: imx: Replace static soc info definitions with run time allocations

2019-01-02 Thread Lukasz Majewski
On Wed, 2 Jan 2019 15:14:22 +0100 Marek Vasut wrote: > On 1/2/19 9:26 AM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: > >>> This commit is necessary to be able to re-use the pinctrl code in > >>> early SPL to properly configure pins. > >>> > >>>

Re: [U-Boot] [PATCH v2] misc: fs_loader: Add support for initializing MMC

2019-01-02 Thread Chee, Tien Fong
On Sun, 2018-12-30 at 09:36 +0800, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Firmware loader would encounter problem if the MMC is accessed before > initializing it. This patch would adding the support of probing block > device and initializing MMC before the MMC is accessed by

Re: [U-Boot] Booting on RK3399[Please note, mail behalf by s...@google.com]

2019-01-02 Thread Kever Yang
Hi Simon,     It's great to know you would like to support kevin. What we need is ATF instead of OP-TEE, which should be the same one used by Chrome OS support by coreboot, The guide is here and firefly-rk3399 re-use most of evb-rk3399 follow with defconfig use firefly-rk3399_defconfig:

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-02 Thread Lukasz Majewski
Hi Jagan, > On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot > wrote: > > > > > > On 29/12/2018 19:49, Jagan Teki wrote: > > > On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki > > > wrote: > > >> On Fri, Dec 21, 2018 at 2:20 PM Jean-Jacques Hiblot > > >> wrote: Better to have proper commit

[U-Boot] [PATCH 3/3] dm: arm: imx: migrate cx9020 to CONFIG_DM_MMC

2019-01-02 Thread linux-kernel-dev
From: Patrick Bruenn Enable esdhc1/2 device nodes for cx9020 and build with CONFIG_DM_MMC=y Signed-off-by: Patrick Bruenn --- arch/arm/dts/imx53-cx9020.dts | 52 +++ configs/mx53cx9020_defconfig | 1 + 2 files changed, 39 insertions(+), 14

[U-Boot] [PATCH 1/3] mmc: fsl_esdhc: add compatible for fsl, imx53-esdhc

2019-01-02 Thread linux-kernel-dev
From: Patrick Bruenn Add compatible "fsl,imx53-esdhc" to keep mmc working on i.MX53 platforms with CONFIG_DM_MMC=y Signed-off-by: Patrick Bruenn --- drivers/mmc/fsl_esdhc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index

[U-Boot] [PATCH 2/3] arm: imx: Add esdhc1/2 nodes to imx53.dtsi

2019-01-02 Thread linux-kernel-dev
From: Patrick Bruenn These nodes are required by CX9020 when build with CONFIG_DM_MMC=y They are copied from Linux 4.20 Signed-off-by: Patrick Bruenn --- arch/arm/dts/imx53.dtsi | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/imx53.dtsi

[U-Boot] [PATCH 0/3] Migrate i.MX53 based cx9020 to CONFIG_DM_MMC=y

2019-01-02 Thread linux-kernel-dev
From: Patrick Bruenn This series is based on v2019.01-rc2. It enables compatible "fsl,imx53-esdhc" for fsl_esdhc driver and copies esdhc1 and esdhc2 device tree nodes from Linux 4.20 into imx53.dtsi. The last patch enables these nodes for imx53-cx9020.dts and adds CONFIG_DM_MMC=y for

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-02 Thread Chee, Tien Fong
On Thu, 2019-01-03 at 06:27 +0100, Marek Vasut wrote: > On 1/3/19 6:07 AM, Chee, Tien Fong wrote: > > > > On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: > > > > > > On 1/1/19 4:10 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Sun, 2018-12-30 at 16:46 +0100, Marek Vasut wrote: >

Re: [U-Boot] [PATCH 3/6] ARM: socfpga: Add the configuration for FPGA SoCFPGA A10 SoCDK

2019-01-02 Thread Chee, Tien Fong
On Tue, 2019-01-01 at 21:29 +0100, Marek Vasut wrote: > On 1/1/19 4:32 AM, Chee, Tien Fong wrote: > > > > On Sun, 2018-12-30 at 16:47 +0100, Marek Vasut wrote: > > > > > > On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > Update

Re: [U-Boot] [PATCH 0/6] Add support for loading FPGA bitstream

2019-01-02 Thread Chee, Tien Fong
On Tue, 2019-01-01 at 21:36 +0100, Marek Vasut wrote: > On 1/1/19 3:52 AM, Chee, Tien Fong wrote: > > > > On Sun, 2018-12-30 at 16:44 +0100, Marek Vasut wrote: > > > > > > On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > These

Re: [U-Boot] [PATCH 5/6] spl : socfpga: Implement fpga bitstream loading with socfpga loadfs

2019-01-02 Thread Chee, Tien Fong
On Tue, 2019-01-01 at 21:31 +0100, Marek Vasut wrote: > On 1/1/19 4:39 AM, Chee, Tien Fong wrote: > > > > On Sun, 2018-12-30 at 16:51 +0100, Marek Vasut wrote: > > > > > > On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > Add

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-02 Thread Marek Vasut
On 1/3/19 6:07 AM, Chee, Tien Fong wrote: > On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: >> On 1/1/19 4:10 AM, Chee, Tien Fong wrote: >>> >>> On Sun, 2018-12-30 at 16:46 +0100, Marek Vasut wrote: On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > From: Tien

Re: [U-Boot] [PATCH 1/6] ARM: socfpga: Description on FPGA bitstream type and file name for Arria 10

2019-01-02 Thread Chee, Tien Fong
On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: > On 1/1/19 4:10 AM, Chee, Tien Fong wrote: > > > > On Sun, 2018-12-30 at 16:46 +0100, Marek Vasut wrote: > > > > > > On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > This

Re: [U-Boot] [PATCH 2/6] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-01-02 Thread Chee, Tien Fong
On Tue, 2019-01-01 at 21:27 +0100, Marek Vasut wrote: > On 1/1/19 4:28 AM, Chee, Tien Fong wrote: > > > > On Sun, 2018-12-30 at 16:45 +0100, Marek Vasut wrote: > > > > > > On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee > > > > > > > > Add

[U-Boot] [PATCH 2/2] configs: update TFABOOT defconfigs for SD boot support

2019-01-02 Thread Rajesh Bhagat
update TFABOOT defconfig for SD boot on below NXP chasis2 and chasis3 platforms: ls1043a, ls1046a, ls1088a and ls2088a. Signed-off-by: Rajesh Bhagat --- Depends on: https://patchwork.ozlabs.org/project/uboot/list/?series=83635 configs/ls1043aqds_tfa_defconfig | 1 +

[U-Boot] [PATCH 1/2] env: fix allow to build multiple environments

2019-01-02 Thread Rajesh Bhagat
Patch fixes build error when enabling CONFIG_ENV_IS_IN_SPI_FLASH and CONFIG_ENV_IS_IN_MMC at the same time mentioned issue in below link: Refer: https://lists.denx.de/pipermail/u-boot/2018-February/319565.html build error when enabling CONFIG_ENV_IS_IN_SPI_FLASH and CONFIG_ENV_IS_IN_MMC at the

[U-Boot] [PATCH 0/2] update TFABOOT defconfigs for SD boot support

2019-01-02 Thread Rajesh Bhagat
- Fixes the MMC environment issue - updates TFABOOT defconfigs for SD boot support Rajesh Bhagat (2): env: fix allow to build multiple environments configs: update TFABOOT defconfigs for SD boot support configs/ls1043aqds_tfa_defconfig | 1 + configs/ls1043ardb_tfa_defconfig | 1 +

Re: [U-Boot] Booting on RK3399

2019-01-02 Thread Simon Glass
HI Mark, On Wed, 2 Jan 2019 at 18:50, Mark Kettenis wrote: > > > From: Simon Glass > > Date: Wed, 2 Jan 2019 18:15:31 -0700 > > > > Hi Kever, > > > > I have a firefly-rk3399 and would like to boot it into U-Boot (as a start) > > from an uSD card. > > > > Are there instructions somewhere on how

[U-Boot] [PATCH] MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC

2019-01-02 Thread Adam Ford
The LogicPD board uses a Micron Flash with ECC. To boot this from SPL, the ECC needs to be correctly configured or the BCH engine times out. Signed-off-by: Adam Ford diff --git a/drivers/mtd/nand/raw/mxs_nand.c b/drivers/mtd/nand/raw/mxs_nand.c index e3341812a2..2d84bfffe2 100644 ---

Re: [U-Boot] Booting on RK3399

2019-01-02 Thread Mark Kettenis
> From: Simon Glass > Date: Wed, 2 Jan 2019 18:15:31 -0700 > > Hi Kever, > > I have a firefly-rk3399 and would like to boot it into U-Boot (as a start) > from an uSD card. > > Are there instructions somewhere on how to do this? I gather that I need > OP-TEE but not how to build it or how to

[U-Boot] [PATCH 8/8] arm: imx7s-warp: Convert to DM PMIC

2019-01-02 Thread Bryan O'Donoghue
This patch converts the warp7 and warp7_bl33 board ports over to using the DM PMIC model. Signed-off-by: Bryan O'Donoghue Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 27 +++ configs/warp7_bl33_defconfig | 6 ++

[U-Boot] [PATCH 4/8] arm: dts: imx7s-warp: Create alias for mmc0 to

2019-01-02 Thread Bryan O'Donoghue
This patch sets up an alias for mmc0 to usdhc3. Before the DM conversion only usdhc3 was enabled and therefore it appeared as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2, which left unattended would drive changes to existing warp7 bootscripts and environment variables

[U-Boot] [PATCH 2/8] arm: imx7s-warp: Add DT file hooks

2019-01-02 Thread Bryan O'Donoghue
This patch adds DT file hooks for imx7s-warp.dtb to the warp7 and warp7_bl33 builds. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/dts/Makefile| 3 ++- configs/warp7_bl33_defconfig | 3 ++- configs/warp7_defconfig

[U-Boot] [PATCH 3/8] arm: imx7s-warp: Convert to DM MMC initialization

2019-01-02 Thread Bryan O'Donoghue
Converts from fixed initialization of MMC to DM initialization of MMC. Signed-off-by: Bryan O'Donoghue Cc: Albert Aribaud Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/dts/imx7s-warp.dts | 11 --- board/warp7/warp7.c | 34 --

[U-Boot] [PATCH 5/8] warp7: defconfig: Switch on IMX7 pinctrl for both ports

2019-01-02 Thread Bryan O'Donoghue
Switches on the IMX7 pinctrl driver for the warp7 and warp7_bl33 ports, necessary to convert over to DM for this board. Signed-off-by: Bryan O'Donoghue Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- configs/warp7_bl33_defconfig | 2 ++ configs/warp7_defconfig | 2 ++ 2 files

[U-Boot] [PATCH 7/8] warp7: defconfig: Switch to DM for I2C

2019-01-02 Thread Bryan O'Donoghue
This commit switches to DM I2C for warp7 and warp7_bl33 defconfigs. Signed-off-by: Bryan O'Donoghue Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- board/warp7/warp7.c | 24 configs/warp7_bl33_defconfig | 1 + configs/warp7_defconfig | 1 +

[U-Boot] [PATCH 6/8] warp7: defconfig: Switch on DM GPIO for both warp7 ports

2019-01-02 Thread Bryan O'Donoghue
This patch switches on DM_GPIO for both WaRP7 ports. Signed-off-by: Bryan O'Donoghue Cc: Peng Fan Cc: Fabio Estevam Cc: Stefano Babic --- configs/warp7_bl33_defconfig | 1 + configs/warp7_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/warp7_bl33_defconfig

[U-Boot] [PATCH 1/8] arm: dts: imx7s-warp: Import Linux warp7 dts

2019-01-02 Thread Bryan O'Donoghue
This patch imports the Linux kernel warp7 dts as at upstream kernel commit cf76c364a1e1. The following was dropped from the incoming kernel DTS file - { - pinctrl-names = "default"; - pinctrl-0 = <_wdog>; - fsl,ext-reset-output; - status = "okay"; -}; - - -_lpsr { -

[U-Boot] [PATCH 0/8] Convert i.MX7 WaRP7 ports to DM

2019-01-02 Thread Bryan O'Donoghue
This series does a minimal conversion of WaRP7 and the BL33 version of WaRP7 to the DM. Pinctrl, GPIO, I2C, Regulators, PMIC and MMC are converted. Later patches will convert USB and UART. Bryan O'Donoghue (8): arm: dts: imx7s-warp: Import Linux warp7 dts arm: imx7s-warp: Add DT file hooks

[U-Boot] Booting on RK3399

2019-01-02 Thread Simon Glass
Hi Kever, I have a firefly-rk3399 and would like to boot it into U-Boot (as a start) from an uSD card. Are there instructions somewhere on how to do this? I gather that I need OP-TEE but not how to build it or how to put the image together. I would like to have instructions in README.rockchip if

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-02 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年1月2日 週三 下午8:22寫道: > > Hi Rick, > > On Wed, 2019-01-02 at 10:54 +0800, Rick Chen wrote: > > Hi Lukas > > > > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > > Sent: Monday, December 31, 2018 2:28 AM > > > > To: u-boot@lists.denx.de > > > > Cc: Anup

Re: [U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-02 Thread Tom Rini
On Wed, Jan 02, 2019 at 11:11:09PM +0100, Álvaro Fernández Rojas wrote: > Hi Marek, > > Check commits 841d5fbae4e993476fa87d8933db0cd58d3c2d41 and > 109d8bf3ac7b9bb04f3c46bb540eb2bb865f3dd7. > > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=841d5fbae4e993476fa87d8933db0cd58d3c2d41 > > >

Re: [U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-02 Thread Álvaro Fernández Rojas
Hi Marek, Check commits 841d5fbae4e993476fa87d8933db0cd58d3c2d41 and 109d8bf3ac7b9bb04f3c46bb540eb2bb865f3dd7. http://git.denx.de/?p=u-boot.git;a=commitdiff;h=841d5fbae4e993476fa87d8933db0cd58d3c2d41 http://git.denx.de/?p=u-boot.git;a=commitdiff;h=109d8bf3ac7b9bb04f3c46bb540eb2bb865f3dd7

Re: [U-Boot] [PATCH] bmips: fix config warnings from 2019.01

2019-01-02 Thread Álvaro Fernández Rojas
I only tested it on Comtrend AR-5387un, I will test it on other boards and report back. El 01/01/2019 a las 20:19, Tom Rini escribió: On Tue, Jan 01, 2019 at 07:45:03PM +0100, Álvaro Fernández Rojas wrote: - Fixes CONFIG_OF_EMBED warning. - Fixes missing CONFIG_BLK warning for CONFIG_USB.

Re: [U-Boot] [PATCH v9 09/10] tftp: prevent overwriting reserved memory

2019-01-02 Thread Joe Hershberger
On Wed, Dec 19, 2018 at 1:04 PM Simon Goldschmidt wrote: > > This fixes CVE-2018-18439 ("insufficient boundary checks in network > image boot") by using lmb to check for a valid range to store > received blocks. > > Signed-off-by: Simon Goldschmidt Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] net: phy: Add clause 45 identifier to phy_device

2019-01-02 Thread Joe Hershberger
On Fri, Nov 16, 2018 at 12:26 AM Pankaj Bansal wrote: > > The phy devices can be accessed via clause 22 or via clause 45. > This information can be deduced when we read phy id. if the phy id > is read without giving any MDIO Manageable Device Address (MMD), then > it conforms to clause 22.

Re: [U-Boot] [PATCH u-boot 0/2] net: designware: add meson meson compatibles

2019-01-02 Thread Joe Hershberger
On Fri, Nov 9, 2018 at 8:21 AM Neil Armstrong wrote: > > Add the compatible strings in the Synopsys DWMAC driver for : > - The Amlogic GXBB (and other GX) SoC > - The Amlogic AXG (and other GX) SoC > > Neil Armstrong (2): > net: designware: add meson meson gxbb comptatible > net: designware:

Re: [U-Boot] [U-Boot, v4, 7/8] rockchip: rk3399-puma: enable full pinctrl driver in Puma defconfig.

2019-01-02 Thread Philipp Tomsich
> This patch enables the full pinctrl driver in the defconfig > for the RK3399-Q7. > > Signed-off-by: Christoph Muellner > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > configs/puma-rk3399_defconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Philipp

Re: [U-Boot] [U-Boot, v4, 5/8] rockchip: rk3399: Add improved pinctrl driver.

2019-01-02 Thread Philipp Tomsich
> The current pinctrl driver for the RK3399 has a range of qulity issues. > E.g. it only implements the .set_state_simple() callback, it > does not parse the available pinctrl information from the DTS > (instead uses hardcoded values), is not flexible enough to cover > devices without 'interrupt'

Re: [U-Boot] [U-Boot, v4, 6/8] rockchip: rk3399: Add Kconfig option for full pinctrl driver

2019-01-02 Thread Philipp Tomsich
> This patch adds a Kconfig option to enable the full pinctrl driver > for the RK3399. This flag needs to be enabed in order to get the > features of the full pinctrl driver compiled in (i.e. a .set_state() > callback). > > Signed-off-by: Christoph Muellner > --- > > Changes in v4: None >

Re: [U-Boot] [U-Boot, v4, 8/8] rockchip: rk3399-puma: Set VDD_LOG to 950 mV.

2019-01-02 Thread Philipp Tomsich
> This patch sets VDD_LOG to 950 mV on RK3399-Q7. > This is required to address stability issues on Puma > in heavy-load use-cases. > > Reported-by: Assaf Agmon > Signed-off-by: Philipp Tomsich > Signed-off-by: Christoph Muellner > --- > > Changes in v4: > - Changed patches according to

Re: [U-Boot] [U-Boot, v4, 3/8] rockchip: rk3399-puma: enable PWM regulator in Puma defconfig.

2019-01-02 Thread Philipp Tomsich
> This patch enables the PWM regulator driver in the defconfig > for the RK3399-Q7. > > Signed-off-by: Christoph Muellner > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > configs/puma-rk3399_defconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by:

Re: [U-Boot] [U-Boot, v4, 4/8] dm: pinctrl: Add pinctrl_decode_pin_config_dm().

2019-01-02 Thread Philipp Tomsich
> pinctrl_decode_pin_config_dm() is basically a feature-equivalent > implementation of pinctrl_decode_pin_config(), which operates > on struct udevice devices and uses the dev_read_*() API. > > Signed-off-by: Christoph Muellner > --- > > Changes in v4: None > Changes in v3: None > Changes in

Re: [U-Boot] [U-Boot, v4, 1/8] rockchip: rk3399-puma: Cleanup of vdd_log DTS entry.

2019-01-02 Thread Philipp Tomsich
> This patch eliminates the non-standard entries "rockchip,pwm_id" > and "rockchip,pwm_voltage". They are neither documented nor > read out by any driver. > > Additionally it introduces the entry regulator-init-microvolt > and sets it to 900 mV, which is the default target value > for VDD_LOG. >

Re: [U-Boot] [U-Boot, v4, 2/8] power: regulator: Allow PWM regulator to be omitted from SPL.

2019-01-02 Thread Philipp Tomsich
> This patch allows to enable the PWM regulator driver > independent for U-Boot and SPL. > > Signed-off-by: Christoph Muellner > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/power/regulator/Kconfig | 7 +++ > drivers/power/regulator/Makefile | 2 +-

Re: [U-Boot] [U-Boot, 2/2] rockchip: ram: update license for sdram driver

2019-01-02 Thread Philipp Tomsich
> Rockchip may use this sdram copy of source code for both open source > and internal project, update the license to use both GPL2.0+ and > BSD-3 Clause. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk3128.c | 2 +- > drivers/ram/rockchip/sdram_rk3188.c | 2 +- >

Re: [U-Boot] [U-Boot,1/2] rockchip: rk3036: ram: update license

2019-01-02 Thread Philipp Tomsich
> All the source code of sdram_rk3036.c are from Rockchip, update the > copyright to owned by Rockchip. > > Because rockchip may use this copy of code both for open source > project and internal project, update the license to use both > GPL2.0+ and BSD-3 Clause. > > Signed-off-by: Kever Yang >

Re: [U-Boot] configs: move CONFIG_SPL_TEXT_BASE to Kconfig

2019-01-02 Thread Simon Goldschmidt
Hi Marek, Am 14.11.2018 um 19:51 schrieb Simon Goldschmidt: On 07.10.2018 02:49, Tom Rini wrote: On Sun, Sep 30, 2018 at 02:31:53PM +0200, Simon Goldschmidt wrote: Moved CONFIG_SPL_TEXT_BASE to common/spl/Kconfig with help from moveconfig.py (only had to prepare socfpga, stm32f746 and

Re: [U-Boot] [PATCH v2 1/2] dm: MIGRATION: Update migration plan for SPI

2019-01-02 Thread Jagan Teki
On Wed, Jan 2, 2019 at 12:47 AM Jagan Teki wrote: > > - v2019.04 for no dm conversion drivers > - v2019.07 for partially converted drivers. > > Note: there were many updates on this deadline, so better > not update this again. > > Signed-off-by: Jagan Teki > --- Applied to u-boot-spi/master

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

2019-01-02 Thread Jagan Teki
Hi Tom, Please pull this spi PR as part of 2019.01 thanks, Jagan. The following changes since commit 08337cd64832ed7f8147da75013510b92bbcd188: riscv: bootm: Support booting VxWorks (2018-12-31 08:08:51 -0500) are available in the Git repository at: git://git.denx.de/u-boot-spi.git master

Re: [U-Boot] [PATCH 1/1] tools: imx8image: use correct printf escape sequence

2019-01-02 Thread Heinrich Schuchardt
On 12/17/18 10:22 AM, Heinrich Schuchardt wrote: > core is of type uint64_t. So for printing we need "%"PRIu64 (not "%lu"). > > Without the patch a warning is issued when building on a 32bit system. > > Signed-off-by: Heinrich Schuchardt > --- > tools/imx8image.c | 7 +-- > 1 file changed,

Re: [U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-01-02 Thread Heinrich Schuchardt
On 1/2/19 5:37 PM, Marek Vasut wrote: > On 1/2/19 5:03 PM, Heinrich Schuchardt wrote: >> On 1/2/19 3:21 PM, Marek Vasut wrote: >>> On 1/2/19 12:29 PM, Heinrich Schuchardt wrote: If multiple USB buses exist, the output of the commands 'usb tree' and 'usb info' is confusing because it is

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-02 Thread Jagan Teki
On Wed, Jan 2, 2019 at 4:08 PM Jean-Jacques Hiblot wrote: > > > On 29/12/2018 19:49, Jagan Teki wrote: > > On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki > > wrote: > >> On Fri, Dec 21, 2018 at 2:20 PM Jean-Jacques Hiblot > >> wrote: > >> Better to have proper commit head that tells the real

Re: [U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-01-02 Thread Marek Vasut
On 1/2/19 5:03 PM, Heinrich Schuchardt wrote: > On 1/2/19 3:21 PM, Marek Vasut wrote: >> On 1/2/19 12:29 PM, Heinrich Schuchardt wrote: >>> If multiple USB buses exist, the output of the commands 'usb tree' and 'usb >>> info' is confusing because it is not clear where the output for a new bus >>>

Re: [U-Boot] [PATCH 2/2] lib: fdtdec: fixup fdtdec_get_addr_size

2019-01-02 Thread Stephen Warren
On 12/21/18 9:24 AM, Keerthy wrote: fix up fdtdec_get_addr_size to use fdtdec_get_addr_size_auto_noparent so that the address cells and size cells are obtained from the parent instead of going by the fixed length. This patch makes perfect sense to me. However, I am worried about the potential

[U-Boot] [PATCH] board: mvebu: drop unused ETH_PHY macro definitions

2019-01-02 Thread Baruch Siach
These macros are not used anywhere in the boards code. Cc: Chris Packham Cc: Dirk Eibach Cc: Mario Six Cc: Dennis Gilmore Signed-off-by: Baruch Siach --- board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 4 board/Marvell/db-88f6820-gp/db-88f6820-gp.c | 4

Re: [U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-01-02 Thread Heinrich Schuchardt
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-02 Thread Jean-Jacques Hiblot
On 02/01/2019 13:15, Lukasz Majewski wrote: On Wed, 2 Jan 2019 11:38:47 +0100 Jean-Jacques Hiblot wrote: On 29/12/2018 19:49, Jagan Teki wrote: On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki wrote: On Fri, Dec 21, 2018 at 2:20 PM Jean-Jacques Hiblot wrote: Better to have proper commit head

Re: [U-Boot] [PATCH v1 05/14] board: cosmetic: Use define to set ENET clock selection mask on TPC70

2019-01-02 Thread Lukasz Majewski
Hi Marek, > On 1/2/19 11:06 AM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: > >>> This is a cosmetic change, just to use proper define. > >>> > >>> Signed-off-by: Lukasz Majewski > >> > >> The subject tags are wrong, fix globally. > > > >

Re: [U-Boot] [PATCH v1 04/14] DTS: imx: Remove not needed '#address-cells' and '#size-cells' properties

2019-01-02 Thread Lukasz Majewski
Hi Marek, > On 1/2/19 10:43 AM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: > >>> This commit fixes warnings produced by newest in u-boot DTC > >>> compiler: 'unnecessary #address-cells/#size-cells without "ranges" > >>> or child "reg" property' >

Re: [U-Boot] [PATCH v1 12/14] imx: mmc: Use 'fsl, usdhc-index' property to provide esdhc controller number

2019-01-02 Thread Marek Vasut
On 1/2/19 11:31 AM, Lukasz Majewski wrote: > On Wed, 2 Jan 2019 02:18:58 +0100 > Marek Vasut wrote: > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> With the current code, it is not possible to assign different than >>> default numbers for mmc controllers. >>> >>> Several in-tree boards

Re: [U-Boot] [PATCH 6/6] ARM: socfpga: Synchronize the configuration for A10 SoCDK

2019-01-02 Thread Marek Vasut
On 1/2/19 9:50 AM, Chee, Tien Fong wrote: > On Tue, 2019-01-01 at 21:35 +0100, Marek Vasut wrote: >> On 1/1/19 4:51 AM, Chee, Tien Fong wrote: >>> >>> On Sun, 2018-12-30 at 16:54 +0100, Marek Vasut wrote: On 12/30/18 9:13 AM, tien.fong.c...@intel.com wrote: > > > From: Marek

Re: [U-Boot] [PATCH v1 09/14] imx: serial: dm: Enable DM_FLAG_PRE_RELOC in the IMX uart driver

2019-01-02 Thread Marek Vasut
On 1/2/19 9:42 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> The DM_FLAG_PRE_RELOC shall be enabled as this driver is going to be >>> re-used in the i.MX based SoCs. >>> >>> It is crucial to have running the serial console before >>> relocation. >>

Re: [U-Boot] [PATCH v1 13/14] DTS: imx: tpc70: Add TPC70 board (imx6q based) device tree description

2019-01-02 Thread Marek Vasut
On 1/2/19 9:49 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> This commit defines the TPC70 imx6q board with device tree >>> description. >>> >>> Signed-off-by: Lukasz Majewski >> >> Is this pulled from Linux ? > > Yes, it is - the DTS code

Re: [U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-01-02 Thread Marek Vasut
On 1/2/19 12:29 PM, Heinrich Schuchardt wrote: > If multiple USB buses exist, the output of the commands 'usb tree' and 'usb > info' is confusing because it is not clear where the output for a new bus > starts. > > Print an additional line for each bus indicating the bus number, e.g. > > => usb

Re: [U-Boot] [PATCH v1 10/14] imx: clock: Introduce set_fec_clock() to configure ETH clock (imx6)

2019-01-02 Thread Marek Vasut
On 1/2/19 10:00 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> This patch provides a generic way to setup ENET (ETH) clocks for >>> imx6(q) based boards. Previously this was performed per board in the >>> board_eth_init() function. >>> >>>

Re: [U-Boot] [PATCH v1 05/14] board: cosmetic: Use define to set ENET clock selection mask on TPC70

2019-01-02 Thread Marek Vasut
On 1/2/19 11:06 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> This is a cosmetic change, just to use proper define. >>> >>> Signed-off-by: Lukasz Majewski >> >> The subject tags are wrong, fix globally. > > Is there any doc which describes the

Re: [U-Boot] [PATCH v1 07/14] pinctrl: imx: Replace static soc info definitions with run time allocations

2019-01-02 Thread Marek Vasut
On 1/2/19 9:26 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> This commit is necessary to be able to re-use the pinctrl code in >>> early SPL to properly configure pins. >>> >>> The problem is that those "static" structures are placed in the >>> SDRAM

Re: [U-Boot] [PATCH v1 02/14] tpc70: config: Update TPC70 config to support eMMC's boot0 SPL update

2019-01-02 Thread Marek Vasut
On 1/2/19 10:47 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> The TPC70 can boot from eMMC's boot0. This patch allows it to update >>> this HW partition's SPL. >>> >>> Signed-off-by: Lukasz Majewski >>> --- >>> >>> include/configs/kp_imx6q_tpc.h | 5

Re: [U-Boot] [PATCH v1 04/14] DTS: imx: Remove not needed '#address-cells' and '#size-cells' properties

2019-01-02 Thread Marek Vasut
On 1/2/19 10:43 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> This commit fixes warnings produced by newest in u-boot DTC >>> compiler: 'unnecessary #address-cells/#size-cells without "ranges" >>> or child "reg" property' >>> >>> Signed-off-by: Lukasz

Re: [U-Boot] [PATCH v1 01/14] tpc70: config: Add script commands to update u-boot and OE's wic

2019-01-02 Thread Marek Vasut
On 1/2/19 10:50 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 1/2/19 12:37 AM, Lukasz Majewski wrote: >>> Signed-off-by: Lukasz Majewski >> >> The tags should be ARM: imx: ... >> >> The commit message is missing. >> >>> --- >>> >>> include/configs/kp_imx6q_tpc.h | 21 +

[U-Boot] [PATCH v4 0/8] rk3399-puma: Enable PWM regulator for RK3399-Q7

2019-01-02 Thread Christoph Muellner
This patch series allows to tune VDD_LOG on RK3399-Q7 Puma boards to a voltage level defined in the DTS using a PWM adjustable regulator. To do so a reimplemenation of the RK3399 pinctrl driver has been done. Although the new pinctrl driver is written in a way, that we could merge it with other

[U-Boot] [PATCH v4 8/8] rockchip: rk3399-puma: Set VDD_LOG to 950 mV.

2019-01-02 Thread Christoph Muellner
This patch sets VDD_LOG to 950 mV on RK3399-Q7. This is required to address stability issues on Puma in heavy-load use-cases. Reported-by: Assaf Agmon Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner --- Changes in v4: - Changed patches according to review feedback. Changes

[U-Boot] [PATCH v4 7/8] rockchip: rk3399-puma: enable full pinctrl driver in Puma defconfig.

2019-01-02 Thread Christoph Muellner
This patch enables the full pinctrl driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig

[U-Boot] [PATCH v4 6/8] rockchip: rk3399: Add Kconfig option for full pinctrl driver

2019-01-02 Thread Christoph Muellner
This patch adds a Kconfig option to enable the full pinctrl driver for the RK3399. This flag needs to be enabed in order to get the features of the full pinctrl driver compiled in (i.e. a .set_state() callback). Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v4 4/8] dm: pinctrl: Add pinctrl_decode_pin_config_dm().

2019-01-02 Thread Christoph Muellner
pinctrl_decode_pin_config_dm() is basically a feature-equivalent implementation of pinctrl_decode_pin_config(), which operates on struct udevice devices and uses the dev_read_*() API. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 5/8] rockchip: rk3399: Add improved pinctrl driver.

2019-01-02 Thread Christoph Muellner
The current pinctrl driver for the RK3399 has a range of qulity issues. E.g. it only implements the .set_state_simple() callback, it does not parse the available pinctrl information from the DTS (instead uses hardcoded values), is not flexible enough to cover devices without 'interrupt' field in

[U-Boot] [PATCH v4 3/8] rockchip: rk3399-puma: enable PWM regulator in Puma defconfig.

2019-01-02 Thread Christoph Muellner
This patch enables the PWM regulator driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig

[U-Boot] [PATCH v4 2/8] power: regulator: Allow PWM regulator to be omitted from SPL.

2019-01-02 Thread Christoph Muellner
This patch allows to enable the PWM regulator driver independent for U-Boot and SPL. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/power/regulator/Kconfig | 7 +++ drivers/power/regulator/Makefile | 2 +- 2 files changed, 8

[U-Boot] [PATCH v4 1/8] rockchip: rk3399-puma: Cleanup of vdd_log DTS entry.

2019-01-02 Thread Christoph Muellner
This patch eliminates the non-standard entries "rockchip,pwm_id" and "rockchip,pwm_voltage". They are neither documented nor read out by any driver. Additionally it introduces the entry regulator-init-microvolt and sets it to 900 mV, which is the default target value for VDD_LOG. Signed-off-by:

[U-Boot] Re : Re : Re: please pull u-boot-samsung master

2019-01-02 Thread Guillaume GARDET
Hi, - Guillaume GARDET a écrit : > > Hi, > > - Minkyu Kang a écrit : > > Dear Guillaume GARDET, > > > > On 28/12/18 00:41, Tom Rini wrote: > > > On Thu, Dec 27, 2018 at 12:49:53PM +0900, Minkyu Kang wrote: > > > > > >> Dear Tom, > > >> > > >> The following changes since commit >

[U-Boot] [PATCH] exynos: allow SPL to build in thumb mode

2019-01-02 Thread Guillaume GARDET
Building peach-pi smdk5420 and peach-pit with thumb mode for SPL ends-up in the following error: Error: Thumb encoding does not support an immediate here -- `msr cpsr_c,#0x13|0xC0' Use an intermediate register to be able to use thumb for exynos5 SPL. Signed-off-by: Guillaume GARDET Cc:

[U-Boot] [PATCH v2 9/9] ARM: dts: rk322x: Correct the uart2 default pin configuration

2019-01-02 Thread David Wu
To match the iomux setting of uart2 at SPL, correct the uart2 default pin configuration, if not changed, the evb-rk3229 can't output the log message. Signed-off-by: David Wu --- Changes in v2: None arch/arm/dts/rk322x.dtsi | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 7/9] rockchip: defconfig: Clean the unused pinctrl config

2019-01-02 Thread David Wu
If we used the pinctrl-rockchip driver, these config is not needed, so remove them. Signed-off-by: David Wu --- Changes in v2: None configs/chromebit_mickey_defconfig | 2 -- configs/chromebook_jerry_defconfig | 2 -- configs/chromebook_minnie_defconfig | 2 -- configs/evb-px5_defconfig

[U-Boot] [PATCH v2 6/9] pinctrl: rockchip: Add common rockchip pinctrl driver

2019-01-02 Thread David Wu
Use this driver to fit all Rockchip SOCs and to support the desired pinctrl configuration via DTS. Signed-off-by: David Wu --- Changes in v2: - Remove px30, rk2928, rk3066*. - Split it to multiple files for the relevant per-SoC data structures. drivers/pinctrl/Kconfig |

[U-Boot] [PATCH v2 5/9] rk3288: chrome: defconfig: Enable FDT for new pinctrl driver

2019-01-02 Thread David Wu
The FDT is requested for new pinctrl driver, disable SPL_OF_PLATDATA and enable SPL_OF_LIBFDT to make FDT be built in. Signed-off-by: David Wu --- Changes in v2: None configs/chromebit_mickey_defconfig | 2 -- configs/chromebook_jerry_defconfig | 2 -- configs/chromebook_minnie_defconfig |

[U-Boot] [PATCH v2 4/9] ARM: rockchip: Remove the pinctrl request at rk3288-board-spl

2019-01-02 Thread David Wu
If we use the new pinctrl driver, the pinctrl setup will be done by device probe. Remove the pinctrl setup at rk3288-board-spl. Signed-off-by: David Wu Reviewed-by: Philipp Tomsich --- Changes in v2: None arch/arm/mach-rockchip/rk3288-board-spl.c | 79 --- 1 file changed,

[U-Boot] [PATCH v2 3/9] ARM: rockchip: Kconfig: Remove the SPL_PINCTRL for rk3188

2019-01-02 Thread David Wu
It seems that pinctrl is not requested for rk3188 SPL, remove it so that can save more space for SPL image size. Signed-off-by: David Wu Reviewed-by: Philipp Tomsich --- Changes in v2: None arch/arm/mach-rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH v2 1/9] rockchip: rk3399-evb: defconfig: Enable FDT for new pinctrl driver

2019-01-02 Thread David Wu
The FDT is requested for new pinctrl driver, disable SPL_OF_PLATDATA to make FDT be built in. Signed-off-by: David Wu --- Changes in v2: None configs/evb-rk3399_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index

[U-Boot] [PATCH v2 2/9] ARM: rockchip: rk3188: Remove the pinctrl setup and enable uart at SPL

2019-01-02 Thread David Wu
When the boot ROM sets up MMC we don't need to do it again. Remove the MMC setup code entirely, but we also need to enable uart for debug message. Signed-off-by: David Wu --- Changes in v2: None arch/arm/mach-rockchip/rk3188-board-spl.c | 41 ++- 1 file changed, 2

[U-Boot] [PATCH v2 0/9] Add common pinctrl driver support for rockchip

2019-01-02 Thread David Wu
The common pinctrl driver for rockchip Socs, it depends the PINCTRL_FULL config. If use it, the default pinctrl setup from DTS could be configured at device probe. Changes in v2: - Remove px30, rk2928, rk3066*. - Split it to multiple files for the relevant per-SoC data structures. David Wu (9):

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-02 Thread Auer, Lukas
Hi Rick, On Wed, 2019-01-02 at 10:54 +0800, Rick Chen wrote: > Hi Lukas > > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > Sent: Monday, December 31, 2018 2:28 AM > > > To: u-boot@lists.denx.de > > > Cc: Anup Patel; Lukas Auer; Rick Jian-Zhi Chen(陳建志); Bin Meng; > > >

Re: [U-Boot] [PATCH] dm: usb: gadget: Fix boot breakage on sunxi platforms

2019-01-02 Thread Lukasz Majewski
On Wed, 2 Jan 2019 11:38:47 +0100 Jean-Jacques Hiblot wrote: > On 29/12/2018 19:49, Jagan Teki wrote: > > On Mon, Dec 24, 2018 at 3:44 AM Jagan Teki > > wrote: > >> On Fri, Dec 21, 2018 at 2:20 PM Jean-Jacques Hiblot > >> wrote: Better to have proper commit head that > >> tells the real

Re: [U-Boot] [PATCH 0/5] imx8: several fixes

2019-01-02 Thread Peng Fan
Ping. Thanks, Peng. > -Original Message- > From: Peng Fan [mailto:peng@nxp.com] > Sent: 2018年12月15日 20:20 > To: sba...@denx.de > Cc: Fabio Estevam ; u-boot@lists.denx.de; > dl-uboot-imx ; Peng Fan > Subject: [PATCH 0/5] imx8: several fixes > > Several fixes when moving to support

[U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-01-02 Thread Heinrich Schuchardt
If multiple USB buses exist, the output of the commands 'usb tree' and 'usb info' is confusing because it is not clear where the output for a new bus starts. Print an additional line for each bus indicating the bus number, e.g. => usb tree USB device tree: USB bus 0 1 Hub (5 Gb/s, 0mA)

[U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-01-02 Thread Heinrich Schuchardt
If multiple USB buses exist, the output of the commands 'usb tree' and 'usb info' is confusing because it is not clear where the output for a new bus starts. Print an additional line for each bus indicating the bus number, e.g. => usb tree USB device tree: USB bus 0 1 Hub (5 Gb/s, 0mA)

Re: [U-Boot] [PATCH v2 0/3] ddr: vybrid: Support for vf610 built-in DDR3 memory calibration

2019-01-02 Thread Lukasz Majewski
Hi Fabio, Stefano, > This patch series provides code to perform read leveling - RDLVL, > which is adjusting the DQS strobe in relation to the DQ signals so > that the strobe edge is centered in the window of valid read data. > > The code is based on Vybrid's Reference Manual's: > "VFxxx

  1   2   >