Re: [U-Boot] [v3, 0/5] Split fsl_esdhc driver for i.MX

2019-05-29 Thread Y.b. Lu
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月23日 17:15 > To: linux-kernel-dev > Cc: Y.b. Lu ; u-boot@lists.denx.de; Steffen Dirkwinkel > ; Patrick Brünn > Subject: Re: [U-Boot] [v3, 0/5] Split fsl_esdhc driver for i.MX > > Hi > > > Hi > > > > On Tue, 2019-05-21 at 08:51

Re: [U-Boot] [PATCH] cmd/fpga.c: correct typo, capitalize "Xilinx"

2019-05-29 Thread Michal Simek
On 28. 05. 19 17:33, Robert P. J. Day wrote: > A couple minor tweaks to printed strings in cmd/fpga.c. > > Signed-off-by: Robert P. J. Day > > --- > > diff --git a/cmd/fpga.c b/cmd/fpga.c > index b1f224bc6a..62453f0a8f 100644 > --- a/cmd/fpga.c > +++ b/cmd/fpga.c > @@ -458,7 +458,7 @@

Re: [U-Boot] [PATCH v2 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-29 Thread Kever Yang
On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > The ROCK64 is a credit card size SBC based on Rockchip RK3328 > Quad-Core ARM Cortex A53. > > This series allow building u-boot SPL and u-boot.itb for Rock64 > board. The proprietary TPL is stil required for deploy: > > ./tools/mkimage -n

Re: [U-Boot] [PATCH v2 4/5] rockchip: dts: rk3328: add rk3328-rock64.dts

2019-05-29 Thread Kever Yang
On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > rk3328-rock64.dts has been taken from Linux kernel commit > > cff6d1d6f88b ("arm64: dts: rockchip: enable HS200 for eMMC on rock64") > > with minor modifications (drop nodes not known by rk3328.dtsi). > > Signed-off-by: Matwey V. Kornilov

[U-Boot] [PATCH] cmd: mdio: Fix access to arbitrary PHY addresses

2019-05-29 Thread Vladimir Oltean
Alex reported the following: " I'm doing some MDIO work on a freescale/NXP platform and I bumped into errors with this command: => mdio r emdio#3 5 3 Reading from bus emdio#3 "Synchronous Abort" handler, esr 0x860e elr: 862b8000 lr : 8200cce4 (reloc) ...

Re: [U-Boot] [PATCH] clk: sifive: fu540-prci: align primary DT match string to the DT bindings

2019-05-29 Thread Bin Meng
On Sun, May 26, 2019 at 5:13 PM Paul Walmsley wrote: > > The U-Boot PRCI driver for the SiFive FU540 uses an out-of-date DT > binding string, since the U-boot PRCI driver was upstreamed before the nits: U-boot -> U-Boot > mainline Linux kernel PRCI driver was finished. This means that the >

Re: [U-Boot] [PATCH v2 2/5] rockchip: rk3328: add SPL support

2019-05-29 Thread Kever Yang
On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > From: Kever Yang > > Add SPL support for rk3328, default with of-platdata enabled. > > Signed-off-by: Kever Yang > [cherry picked from > https://github.com/rockchip-linux/u-boot/commit/cb2b7a1bc75ebb116b1eb9b0ae0223e84d86fc4b > with minor

Re: [U-Boot] [PATCH v2 1/5] rockchip: rk3328: add SPL board file support

2019-05-29 Thread Kever Yang
On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > From: Kever Yang > > rk3328 SPL is locate at dram, so do not have strict size limit, > suppose to enable storage media controller driver, load ATF and > U-Boot, then boot into ATF. > > Signed-off-by: Kever Yang > [cherry picked from >

[U-Boot] [PATCH v3] gpio: add gpio-hog support

2019-05-29 Thread Heiko Schocher
add gpio-hog support. GPIO hogging is a mechanism providing automatic GPIO request and configuration as part of the gpio-controller's driver probe function. for more infos see: doc/device-tree-bindings/gpio/gpio.txt Signed-off-by: Heiko Schocher --- clean travis build, see result:

[U-Boot] [PATCH v2 2/2] power: regulator: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-29 Thread Keerthy
Remove $SPL from Makefile as the corresponding SPL config options are not present. This enables them at SPL. Signed-off-by: Keerthy --- drivers/power/regulator/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/regulator/Makefile

[U-Boot] [PATCH v2 1/2] power: pmic: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-29 Thread Keerthy
Remove $SPL from Makefile as the corresponding SPL config options are not present. This enables them at SPL. Signed-off-by: Keerthy --- drivers/power/pmic/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile

Re: [U-Boot] [PATCH v2 0/5] Add initial support for Pine64 Rock64 board

2019-05-29 Thread Kever Yang
Hi Matwey,     Recommend to use patman(tools/patman) to send to patch set, so that it's easy to add change log for each version on each patch, and don't forget to add review tag if you didn't change anything fot the patch, eg. review tag from Simon on patch 3. Thanks, - Kever On 05/19/2019

Re: [U-Boot] [PATCH v2 3/5] rockchip: Kconfig: enable SPL support for rk3328

2019-05-29 Thread Kever Yang
On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > From: Kever Yang > > Enable SPL support and some related option in Kconfig. > > Signed-off-by: Kever Yang > [cherry picked from > https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d > with minor

Re: [U-Boot] [PATCH v3 00/11] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-29 Thread Peng Fan
Hi All Will we force to use CCF in future? And Is there possibility this feature would land in v2019.07? If not, I'll try to convert i.MX8MM CLK to no-CCF DM CLK version, since i.MX8MM has been pending for long time. Thanks, Peng. > Subject: Re: [PATCH v3 00/11] clk: Port Linux common clock

Re: [U-Boot] [PATCH] clk: sifive: fu540-prci: align primary DT match string to the DT bindings

2019-05-29 Thread Atish Patra
On 5/29/19 6:19 PM, Bin Meng wrote: On Sun, May 26, 2019 at 5:13 PM Paul Walmsley wrote: The U-Boot PRCI driver for the SiFive FU540 uses an out-of-date DT binding string, since the U-boot PRCI driver was upstreamed before the nits: U-boot -> U-Boot mainline Linux kernel PRCI driver was

Re: [U-Boot] [PATCH] clk: sifive: fu540-prci: align primary DT match string to the DT bindings

2019-05-29 Thread Bin Meng
On Thu, May 30, 2019 at 1:06 PM Atish Patra wrote: > > On 5/29/19 6:19 PM, Bin Meng wrote: > > On Sun, May 26, 2019 at 5:13 PM Paul Walmsley > > wrote: > >> > >> The U-Boot PRCI driver for the SiFive FU540 uses an out-of-date DT > >> binding string, since the U-boot PRCI driver was upstreamed

Re: [U-Boot] [PATCH v8 1/3] rockchip: rk3399: Add Nanopi NEO4 board support

2019-05-29 Thread Kever Yang
Hi Jagan On 05/17/2019 06:29 PM, Jagan Teki wrote: > Add initial support for Nanopi NEO4 board. > > Specification > - Rockchip RK3399 > - 1GB DDR3-1866 > - SD card slot > - eMMC Socket > - RTL8211E 1Gbps > - AP6212 WiFI/BT > - HDMI In/Out, DP, MIPI CSI > - USB 3.0, 2.0 > - USB Type C power and

[U-Boot] [PATCH v2 1/3] rk3399: orangepi: Enable TPL

2019-05-29 Thread Jagan Teki
Enable TPL for OrangePI rk3399 board. Reviewed-by: Kever Yang Signed-off-by: Jagan Teki --- Changes for v2: - rebase on master configs/orangepi-rk3399_defconfig | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/orangepi-rk3399_defconfig

[U-Boot] [PATCH v2 2/3] rk3399: nanopi4: Enable TPL

2019-05-29 Thread Jagan Teki
Enable TPL for NanoPC T4, NanoPI M4 boards. Reviewed-by: Kever Yang Signed-off-by: Jagan Teki --- Changes for v2: - rebase on master configs/nanopc-t4-rk3399_defconfig | 7 --- configs/nanopi-m4-rk3399_defconfig | 7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH] arm: exynos: odroid: Fix the confict scripaddr extra env setting

2019-05-29 Thread Krzysztof Kozlowski
On Fri, 24 May 2019 at 10:51, Anand Moon wrote: > > Fix the confict of scriptaddr address with ramdisk_addr_r used > in EXTRA_ENV_SETTINGS. > > Signed-off-by: Anand Moon My comment from previous patch stays valid: "... but there is no conflict in the first place. These addresses are not used in

[U-Boot] [PATCH v5 00/15] Add Support for eMMC in Am65x-evm

2019-05-29 Thread Faiz Abbas
Add Support for eMMC in TI's AM65x-evm. The series starts by syncing the sdhci0 node from the kernel. Then it adds APIs and changes to the driver required for handling the driver's integrated phy. The current maximum supported speed is DDR52. Higher speeds and tuning support will be added in a

[U-Boot] [RFC PATCH] net: implement NC-SI network support

2019-05-29 Thread Samuel Mendoza-Jonas
This introduces support for the NC-SI protocol to u-boot, something which so far has only been available in vendor trees. NC-SI (Network Controller Sideband Interface) is a protocol to manage a sideband connection to a proper network interface, for example a BMC (Baseboard Management Controller)

Re: [U-Boot] [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code

2019-05-29 Thread Peng Fan
> > > > > Subject: [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code > > > > > > Dropped useless code for i.MX eSDHC driver. > > > > > > Signed-off-by: Yangbo Lu > > > --- > > > Changes for v2: > > > - Added this patch. > > > Changes for v3: > > > - None. > > > --- > > >

Re: [U-Boot] [PATCH] mtd: spi-nor-ids: Add SPI_NOR_4B_OPCODES to micron mt35xu512g flash ID

2019-05-29 Thread Jagan Teki
On Wed, May 22, 2019 at 4:50 PM Kuldeep Singh wrote: > > Signed-off-by: Kuldeep Singh > --- > drivers/mtd/spi/spi-nor-ids.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c > index af0b3a6488..a143fba265

Re: [U-Boot] [PATCH v8 2/3] rockchip: rk3399: Add Rockpro64 board support

2019-05-29 Thread Kever Yang
On 05/17/2019 06:29 PM, Jagan Teki wrote: > Add initial support for Rockpro64 board. > > Specification > - Rockchip RK3399 > - 2/4GB Dual-Channel LPDDR3 > - SD card slot > - eMMC socket > - 128Mb SPI Flash > - Gigabit ethernet > - PCIe 4X slot > - WiFI/BT module socket > - HDMI In/Out, DP, MIPI

[U-Boot] [PATCH v5 04/15] mmc: sdhci: Add support for sdhci-caps-mask

2019-05-29 Thread Faiz Abbas
Add Support for masking some bits in the capabilities register of a host controller. Also remove the redundant readl() into caps1. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/sdhci.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v5 01/15] arm64: dts: k3: Sync sdhci0 node from kernel and change driver name

2019-05-29 Thread Faiz Abbas
Sync the sdhci0 node from kernel. This changes the compatible that is required to be there in the driver. Change the same for the SD card node which is not yet supported in kernel. This also syncs the main_pmx0 node as a side effect. Also change the name of the driver to match the compatible in

[U-Boot] [PATCH v5 09/15] configs: am65x_evm: Enable CONFIG_REGMAP

2019-05-29 Thread Faiz Abbas
Add Support for CONFIG_REGMAP. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- configs/am65x_evm_a53_defconfig | 2 ++ configs/am65x_evm_r5_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index

[U-Boot] [PATCH v2 4/5] apalis_imx6: use UUID for rootfs

2019-05-29 Thread Igor Opaniuk
From: Igor Opaniuk 1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. 2. Fix legacy USB command (both sdboot and usbboot can be used now). Acked-by: Marcel Ziswiler

[U-Boot] [PATCH v2 5/5] apalis-tk1: use UUID for rootfs

2019-05-29 Thread Igor Opaniuk
From: Igor Opaniuk 1. Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. 2. Fix legacy USB command (both sdboot and usbboot can be used now). Acked-by: Marcel Ziswiler

Re: [U-Boot] efi_loader: efi_runtime_detach()?

2019-05-29 Thread Alexander Graf
On 24.05.19 09:17, AKASHI Takahiro wrote: On Fri, May 24, 2019 at 07:27:11AM +0200, Heinrich Schuchardt wrote: On 5/22/19 5:15 AM, AKASHI Takahiro wrote: Alex, It seems to me that the current efi_runtime_detach() has two meanings: * changes relating to the transition to virtual address mode

Re: [U-Boot] [PATCH 0/2] efi_loader: implement deprecated Unicode collation protocol

2019-05-29 Thread Leif Lindholm
On Wed, May 29, 2019 at 12:09:43PM +0200, Alexander Graf wrote: > > > > Do you want to change this policy? > > > > (I'm just asking.) > > > I am using SCT a lot to test my patches. I want to be able to run the > > > tests on the final code. > > Wouldn't it be better to patch/fork the upstream SCT

Re: [U-Boot] [v3, 0/5] Split fsl_esdhc driver for i.MX

2019-05-29 Thread Lukasz Majewski
Hi Y.b, > The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX > initially. The later QoriQ series PowerPC processors (which were > evolutions of MPC83XX/MPC85XX), QorIQ series ARM processors, and > i.MX series processors were using this driver for their eSDHCs too. > > For the two

Re: [U-Boot] [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code

2019-05-29 Thread Y.b. Lu
> -Original Message- > From: Peng Fan > Sent: 2019年5月29日 9:53 > To: Y.b. Lu ; u-boot@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam ; > dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ; Patrick > Bruenn ;

Re: [U-Boot] [v3, 1/5] Move CONFIG_FSL_ESDHC to defconfig

2019-05-29 Thread Lukasz Majewski
On Tue, 21 May 2019 08:51:42 + "Y.b. Lu" wrote: > Moved CONFIG_FSL_ESDHC from header files to defconfig files. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Rebased. > Changes for v3: > - Rebased. Reviewed-by: Lukasz Majewski > --- >

Re: [U-Boot] [PATCH 1/1] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-29 Thread Heinrich Schuchardt
On 5/29/19 11:40 AM, Alexander Graf wrote: On 28.05.19 12:13, Heinrich Schuchardt wrote: From: AKASHI Takahiro If a user defines BootNext but not BootOrder and loading from BootNext fails, you will see only a message like this: BootOrder not defined This may confuse a user. Adding an

Re: [U-Boot] [PATCH v2] fsl_qspi: Improve QSPI driver to incorporate 4 byte commands

2019-05-29 Thread Jagan Teki
On Fri, Apr 26, 2019 at 6:12 PM Rajat Srivastava wrote: > > Previously, the SPI framework supported only 3-byte opcodes > but the FSL QSPI controller used to deal with flashes that > work with 4-byte opcodes. As a workaround to resolve this, > for every 3-byte opcodes sent by framework FSL QSPI

Re: [U-Boot] [PATCH 2/3] rk3399: nanopi4: Enable TPL

2019-05-29 Thread Kever Yang
Hi Jagan, On 05/09/2019 06:57 PM, Jagan Teki wrote: > Enable TPL for NanoPC T4, NanoPI M4 boards. > > Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever > --- > configs/nanopc-t4-rk3399_defconfig | 7 --- > configs/nanopi-m4-rk3399_defconfig | 7 --- > 2 files

Re: [U-Boot] [PATCH 1/3] rk3399: orangepi: Enable TPL

2019-05-29 Thread Kever Yang
Hi Jagan,     The first two patches need re-base after the patch from Tom: 344a0e4367 configs: Resync with savedefconfig Thanks, - Kever On 05/09/2019 06:57 PM, Jagan Teki wrote: > Enable TPL for OrangePI rk3399 board. > > Signed-off-by: Jagan Teki > --- > configs/orangepi-rk3399_defconfig |

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-29 Thread Bartosz Golaszewski
wt., 28 maj 2019 o 17:05 Adam Ford napisał(a): > > On Tue, May 28, 2019 at 2:58 AM Bartosz Golaszewski wrote: > > > > From: Bartosz Golaszewski > > > > Enable CONFIG_SPL_DM and enable the driver model for serial by defining > > an appropriate device in the board file for da850-lcdk. > > > >

Re: [U-Boot] [PATCH 1/1] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-29 Thread Alexander Graf
On 28.05.19 12:13, Heinrich Schuchardt wrote: From: AKASHI Takahiro If a user defines BootNext but not BootOrder and loading from BootNext fails, you will see only a message like this: BootOrder not defined This may confuse a user. Adding an error message will be helpful.

[U-Boot] [PATCH v5 02/15] mmc: am654_sdhci: Remove quirks

2019-05-29 Thread Faiz Abbas
The host controller works perfectly well without having to add any quirks. Remove them. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/am654_sdhci.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index

[U-Boot] [PATCH v5 03/15] regmap: Add API regmap_init_mem_index()

2019-05-29 Thread Faiz Abbas
In device nodes with more than one entry in the reg property, it is sometimes useful to regmap only of the entries. Add an API regmap_init_mem_index() to facilitate this. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/core/regmap.c | 42 ++

[U-Boot] [PATCH v5 15/15] configs: am65x_evm_a53: Add Support for creating GPT partitions

2019-05-29 Thread Faiz Abbas
Add Support for creating GPT partitions in U-boot. Signed-off-by: Faiz Abbas --- configs/am65x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 5fd9aacd68..43d2ccc5ed 100644 ---

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-29 Thread Marek Vasut
On 5/29/19 3:34 AM, Derald Woods wrote: > On Tue, May 28, 2019 at 7:49 PM Marek Vasut wrote: >> >> On 5/29/19 2:00 AM, Derald Woods wrote: >>> On Tue, May 28, 2019 at 6:27 PM Marek Vasut wrote: On 5/29/19 1:16 AM, Derald Woods wrote: > On Tue, May 28, 2019 at 4:16 PM Marek Vasut

Re: [U-Boot] [v3, 2/5] mmc: split fsl_esdhc driver for i.MX

2019-05-29 Thread Y.b. Lu
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月29日 14:30 > To: Y.b. Lu > Cc: u-boot@lists.denx.de; Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ; Patrick >

Re: [U-Boot] [v3, 4/5] mmc: fsl_esdhc: drop i.MX code

2019-05-29 Thread Y.b. Lu
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月29日 14:40 > To: Y.b. Lu > Cc: u-boot@lists.denx.de; Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ; Patrick >

Re: [U-Boot] [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code

2019-05-29 Thread Y.b. Lu
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月29日 14:43 > To: Y.b. Lu > Cc: u-boot@lists.denx.de; Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ; Patrick >

Re: [U-Boot] [PATCH] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-29 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 03:55 David Lechner napisał(a): > > On 5/28/19 8:52 PM, Adam Ford wrote: > > On Tue, May 28, 2019 at 7:03 PM David Lechner wrote: > >> > >> This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. > >> On the EV3, U-Boot is loaded into RAM by another bootloader,

[U-Boot] [PATCH v2 2/2] arm: davinci: remove leftover assembly

2019-05-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There are no more users of lowlevel_init.S. Remove the file. Suggested-by: Adam Ford Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/Makefile| 4 - arch/arm/mach-davinci/lowlevel_init.S | 692 -- 2 files changed, 696

[U-Boot] [PATCH v2 1/2] configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

2019-05-29 Thread Bartosz Golaszewski
From: David Lechner This adds a define for CONFIG_SKIP_LOWLEVEL_INIT in the legoev3 config. On the EV3, U-Boot is loaded into RAM by another bootloader, so we don't need the lowlevel init in U-Boot. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- include/configs/legoev3.h

Re: [U-Boot] [PATCH 3/3] doc: rockchip: Add doc for rk3399 TPL build/flash

2019-05-29 Thread Kever Yang
Hi Jagan, On 05/09/2019 06:57 PM, Jagan Teki wrote: > This patch add documentation for TPL build and flashing steps > for rk3399 boards. > > Add full boot log for future reference. > > Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever > --- > doc/README.rockchip | 51

[U-Boot] [PATCH v2 0/2] davinci: remove leftover low-level routines

2019-05-29 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I'm resending my earlier patch together with David's commit that makes this series not break the build for LEGO EV3. Bartosz Golaszewski (1): arm: davinci: remove leftover assembly David Lechner (1): configs/legoev3: define CONFIG_SKIP_LOWLEVEL_INIT

[U-Boot] [PATCH v2 3/3] doc: rockchip: Add doc for rk3399 TPL build/flash

2019-05-29 Thread Jagan Teki
This patch add documentation for TPL build and flashing steps for rk3399 boards. Add full boot log for future reference. Reviewed-by: Kever Yang Signed-off-by: Jagan Teki --- Changes for v2: - rebase on master doc/README.rockchip | 51 - 1 file

[U-Boot] [PATCH v5 14/15] am65x_evm: Add Support for creating a filesystem GPT partition in eMMC

2019-05-29 Thread Faiz Abbas
Add Support for creating a GPT partition for the filesystem in eMMC. The filesystem is created in the user partition (partition 0). Signed-off-by: Faiz Abbas --- include/configs/am65x_evm.h | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/am65x_evm.h

[U-Boot] [PATCH v5 06/15] arm: dts: k3: Add phy specific properties to SD card node

2019-05-29 Thread Faiz Abbas
With changes in the driver requiring phy related properties, add the same for the SD card node to prevent breaking boot with the driver update. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 3 +++ arch/arm/dts/k3-am654-r5-base-board.dts

[U-Boot] [PATCH v5 12/15] mmc: am654_sdhci: Add a platform specific set_control_reg() callback

2019-05-29 Thread Faiz Abbas
Add a platform specific set_control_reg() callback to help switch to UHS speed modes. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/am654_sdhci.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c

[U-Boot] [PATCH v5 05/15] mmc: sdhci: Make sdhci_set_clock() non static

2019-05-29 Thread Faiz Abbas
The am654_sdhci driver needs to switch the clock off before disabling its phy dll and needs to re-enable the clock before enabling the phy again. Therefore, make the sdhci_set_clock() function accessible in the am654_sdhci driver. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini ---

Re: [U-Boot] [PATCH v4 06/15] arm: dts: k3: Add phy specific properties to SD card node

2019-05-29 Thread Faiz Abbas
Hi Andreas, On 24/05/19 12:27 AM, Andreas Dannenberg wrote: > Hi Faiz, > > On Thu, May 23, 2019 at 12:37:43PM -0500, Faiz Abbas wrote: >> With changes in the driver requiring phy related properties, >> add the same for the SD card node to prevent breaking boot with >> the driver update. >> >>

[U-Boot] [PATCH v5 10/15] mmc: am654_sdhci: Use f_max in mmc_config

2019-05-29 Thread Faiz Abbas
Use f_max provided in mmc_config and remove it from the platform specific data. Signed-off-by: Faiz Abbas --- drivers/mmc/am654_sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c index 5639e1818b..8e07baa74f 100644

Re: [U-Boot] [v3, 4/5] mmc: fsl_esdhc: drop i.MX code

2019-05-29 Thread Lukasz Majewski
On Tue, 21 May 2019 08:52:44 + "Y.b. Lu" wrote: > Dropped i.MX code which couldn't be reused. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Added this patch. > Changes for v3: > - Rebased. > --- > drivers/mmc/fsl_esdhc.c | 609 >

Re: [U-Boot] [v3, 5/5] mmc: fsl_esdhc_imx: drop useless code

2019-05-29 Thread Lukasz Majewski
On Tue, 21 May 2019 08:53:04 + "Y.b. Lu" wrote: > Dropped useless code for i.MX eSDHC driver. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Added this patch. > Changes for v3: > - None. > --- > drivers/mmc/fsl_esdhc_imx.c | 96 > ++---

[U-Boot] [PATCH v5 11/15] mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

2019-05-29 Thread Faiz Abbas
The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific to arasan/zynq controllers. Add the same to sdhci.h. Also create a common API to set UHS timings in HOST_CONTROL2. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/sdhci.c | 28

[U-Boot] [PATCH v2 1/5] colibri_imx7: use UUID for rootfs

2019-05-29 Thread Igor Opaniuk
From: Igor Opaniuk Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- include/configs/colibri_imx7.h | 47

[U-Boot] [PATCH v2 3/5] colibri_vf: use UUID for rootfs

2019-05-29 Thread Igor Opaniuk
From: Igor Opaniuk Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- include/configs/colibri_vf.h | 15

[U-Boot] [PATCH v2 2/5] colibri-imx6ull: use UUID for rootfs

2019-05-29 Thread Igor Opaniuk
From: Igor Opaniuk Replace usage of "/dev/mmcblk*p*" with a proper UUID of rootfs partition. This fixes the issue, when MMC controllers are probed in a different order in U-boot and Linux kernel. Acked-by: Marcel Ziswiler Signed-off-by: Igor Opaniuk --- include/configs/colibri-imx6ull.h | 13

Re: [U-Boot] [PATCH 0/2] efi_loader: implement deprecated Unicode collation protocol

2019-05-29 Thread Alexander Graf
On 24.05.19 15:30, Peter Robinson wrote: On Fri, May 24, 2019 at 6:19 AM Heinrich Schuchardt wrote: On 5/24/19 3:02 AM, AKASHI Takahiro wrote: Heinrich, On Thu, May 16, 2019 at 07:34:54PM +0200, Heinrich Schuchardt wrote: In EFI 1.10 a version of the Unicode collation protocol using ISO

Re: [U-Boot] [v3, 3/5] Convert to use fsl_esdhc_imx for i.MX platforms

2019-05-29 Thread Lukasz Majewski
On Tue, 21 May 2019 08:52:23 + "Y.b. Lu" wrote: > Converted to use fsl_esdhc_imx for i.MX platforms. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: > - Rebased. > Changes for v3: > - Rebased. > --- > arch/arm/cpu/arm1136/mx35/generic.c | 10 +- >

Re: [U-Boot] [v3, 2/5] mmc: split fsl_esdhc driver for i.MX

2019-05-29 Thread Lukasz Majewski
Hi Y.b. Lu, > The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX > initially. The later QoriQ series PowerPC processors (which were > evolutions of MPC83XX/MPC85XX), QorIQ series ARM processors, and > i.MX series processors were using this driver for their eSDHCs too. > > For the

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-29 Thread Derald Woods
On Wed, 29 May 2019, 05:07 Marek Vasut, wrote: > On 5/29/19 3:34 AM, Derald Woods wrote: > > On Tue, May 28, 2019 at 7:49 PM Marek Vasut > wrote: > >> > >> On 5/29/19 2:00 AM, Derald Woods wrote: > >>> On Tue, May 28, 2019 at 6:27 PM Marek Vasut > wrote: > > On 5/29/19 1:16 AM,

Re: [U-Boot] [PATCH] arm: mvebu: helios4: Enable CONFIG_BLK and CONFIG_DM_MMC

2019-05-29 Thread Dennis Gilmore
Reviewed-by: Dennis Gilmore Tested-by: Dennis Gilmore On Mon, May 20, 2019 at 2:53 AM Stefan Roese wrote: > > This patch enables CONFIG_BLK and CONFIG_DM_MMC on helios4 to remove > these compile warnings: > > = WARNING == > This board does not use

Re: [U-Boot] [PATCH v2 4/7] remoteproc: add elf file load support

2019-05-29 Thread Fabien DESSENNE
Hi Lokesh On 29/05/2019 6:21 AM, Lokesh Vutla wrote: > > On 27/05/19 5:53 PM, Fabien Dessenne wrote: >> The current implementation supports only binary file load. >> Add helpers to support ELF format (sanity check, and load). >> Note that since an ELF image is built for the remote processor, the

[U-Boot] u-boot error undefined instruction

2019-05-29 Thread Pierluigi Greto
Hello everyone, Apologize if it's not the right channel to ask this kind of questions. I have build an image using YOCTO for an arm7 platform. I'm creating a fitImage with the kernel and the dtb file, but after installing the image and starting the device I get this error: ``` Starting

Re: [U-Boot] [linux-sunxi] [PATCH v6] sun8i: h3: Add support for the Beelink-x2 STB

2019-05-29 Thread Code Kipper
On Wed, 29 May 2019 at 14:01, Jagan Teki wrote: > > On Wed, May 29, 2019 at 5:25 PM wrote: > > > > From: Marcus Cooper > > > > The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, > > 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the > > SoC's

Re: [U-Boot] [PATCH 1/3] rk3399: orangepi: Enable TPL

2019-05-29 Thread Kever Yang
Hi Jagan, On 05/09/2019 06:57 PM, Jagan Teki wrote: > Enable TPL for OrangePI rk3399 board. > > Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever > --- > configs/orangepi-rk3399_defconfig | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git

[U-Boot] [PATCH 1/1] splash: display splash in DM_VIDEO configurations

2019-05-29 Thread Igor Opaniuk
Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't have any effect. Introduce a common function for both dm-video/lcd stacks, that checks env("splashimage") and invokes bmp_display() accordingly. For additional details please check discussion [1]. [1]

[U-Boot] [PATCH v5 13/15] configs: am65x: Add configs to support environment in eMMC

2019-05-29 Thread Faiz Abbas
Add configs such that U-boot environment is in eMMC by default. Signed-off-by: Faiz Abbas --- configs/am65x_evm_a53_defconfig | 5 ++--- include/configs/am65x_evm.h | 10 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configs/am65x_evm_a53_defconfig

[U-Boot] [PATCH v5 07/15] mmc: sdhci: Make set_ios_post() return int

2019-05-29 Thread Faiz Abbas
Make set_ios_post() return int to faciliate error handling in platform drivers. Signed-off-by: Faiz Abbas --- drivers/mmc/sdhci.c | 2 +- drivers/mmc/xenon_sdhci.c | 4 +++- include/sdhci.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH v5 08/15] mmc: am654_sdhci: Add Support for PHY

2019-05-29 Thread Faiz Abbas
Add support in the driver for handling phy specific registers. Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini --- drivers/mmc/Kconfig | 1 + drivers/mmc/am654_sdhci.c | 229 +- 2 files changed, 224 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH] armv8: fsl-layerscape: fix config dependency for layerscape pci code

2019-05-29 Thread Alex Marginean
Fixes a link error on layerscape platform, linking fails with CONFIG_PCI set and CONFIG_PCI_LAYERSCAPE unset. Signed-off-by: Alex Marginean --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fdt.c

Re: [U-Boot] Reading from an arbitrary address over MDIO no longer works

2019-05-29 Thread Alex Marginean
On 5/29/2019 5:19 PM, Vladimir Oltean wrote: On 29.05.2019 15:27, Alex Marginean wrote: Hi Carlo, everyone, I'm doing some MDIO work on a freescale/NXP platform and I bumped into errors with this command: => mdio r emdio#3 5 3 Reading from bus emdio#3 "Synchronous Abort" handler, esr

Re: [U-Boot] Reading from an arbitrary address over MDIO no longer works

2019-05-29 Thread Vladimir Oltean
On 29.05.2019 18:00, Alex Marginean wrote: > On 5/29/2019 5:19 PM, Vladimir Oltean wrote: >> On 29.05.2019 15:27, Alex Marginean wrote: >>> >>> Hi Carlo, everyone, >>> >>> I'm doing some MDIO work on a freescale/NXP platform and I bumped into >>> errors with this command: >>> => mdio r emdio#3 5 3

Re: [U-Boot] [PATCH] sunxi: move CONFIG_SPL_TEXT_BASE from *_defconfig to Kconfig

2019-05-29 Thread Jagan Teki
On Mon, May 27, 2019 at 6:15 AM Andre Przywara wrote: > > The choice of the SPL_TEXT_BASE is not really a decision that should be > specified by each board's defconfig, as this setting is actually > dictated by the SoC's memory map and the BootROM behaviour. > > To make this obvious and reduce

[U-Boot] [PATCH v2] armv8: fsl-layerscape: Update qspi clk cfg

2019-05-29 Thread Pankit Garg
Update qspi clock configuration in TFABOOT in case of all boot sources except qspi boot source. Signed-off-by: Pankit Garg --- Changes for v2: - change subject line of commit-id arch/arm/cpu/armv8/fsl-layerscape/soc.c | 9 + 1 file changed, 9 insertions(+) diff --git

[U-Boot] [v4, 0/5] Split fsl_esdhc driver for i.MX

2019-05-29 Thread Y.b. Lu
The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX initially. The later QoriQ series PowerPC processors (which were evolutions of MPC83XX/MPC85XX), QorIQ series ARM processors, and i.MX series processors were using this driver for their eSDHCs too. For the two series processors, the

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-29 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 15:04 Adam Ford napisał(a): > > On Wed, May 29, 2019 at 4:40 AM Bartosz Golaszewski wrote: > > > > wt., 28 maj 2019 o 17:05 Adam Ford napisał(a): > > > > > > On Tue, May 28, 2019 at 2:58 AM Bartosz Golaszewski wrote: > > > > > > > > From: Bartosz Golaszewski > > > > > > > >

Re: [U-Boot] U-Boot PXA support

2019-05-29 Thread Tom Rini
On Thu, May 16, 2019 at 02:53:55PM +, Marcel Ziswiler wrote: > Hi Tom > > On Mon, 2019-05-06 at 09:26 -0400, Tom Rini wrote: > > Hey folks, > > > > I'm attempting, again, to see what we need to do in order to use gcc- > > 8.x > > for U-Boot and ran into, again: > >

Re: [U-Boot] [PATCH 3/3] usb: musb-new: omap2430: Fix compilation warning with USB_MUSB_GADGET

2019-05-29 Thread Marek Vasut
On 5/29/19 1:44 PM, Derald Woods wrote: > > > On Wed, 29 May 2019, 05:07 Marek Vasut, > wrote: > > On 5/29/19 3:34 AM, Derald Woods wrote: > > On Tue, May 28, 2019 at 7:49 PM Marek Vasut > wrote: > >> > >> On

Re: [U-Boot] [PATCH 1/1] efi_loader: bootmgr: print a message when loading from BootNext failed

2019-05-29 Thread Alexander Graf
> Am 29.05.2019 um 12:59 schrieb Heinrich Schuchardt : > >> On 5/29/19 11:40 AM, Alexander Graf wrote: >> >>> On 28.05.19 12:13, Heinrich Schuchardt wrote: >>> From: AKASHI Takahiro >>> >>> If a user defines BootNext but not BootOrder and loading from BootNext >>> fails, you will see only a

Re: [U-Boot] [PATCH v2] fsl_qspi: Improve QSPI driver to incorporate 4 byte commands

2019-05-29 Thread Schrempf Frieder
Hi Jagan, On 29.05.19 13:06, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 6:12 PM Rajat Srivastava > wrote: >> >> Previously, the SPI framework supported only 3-byte opcodes >> but the FSL QSPI controller used to deal with flashes that >> work with 4-byte opcodes. As a workaround to resolve this,

Re: [U-Boot] [PATCH v2] fsl_qspi: Improve QSPI driver to incorporate 4 byte commands

2019-05-29 Thread Jagan Teki
Hi Frieder, On Wed, May 29, 2019 at 6:14 PM Schrempf Frieder wrote: > > Hi Jagan, > > On 29.05.19 13:06, Jagan Teki wrote: > > On Fri, Apr 26, 2019 at 6:12 PM Rajat Srivastava > > wrote: > >> > >> Previously, the SPI framework supported only 3-byte opcodes > >> but the FSL QSPI controller used

Re: [U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-29 Thread Sekhar Nori
On 28/05/19 8:44 PM, Adam Ford wrote: >> -void spl_board_init(void) >> +void board_init_f(ulong dummy) >> { > The da850 uses the device tree to get the serial port information, and > someone else just submitted a patch to enable the device tree for the > LCDK. At least for the da850-evm, we

Re: [U-Boot] [PATCH v3] board/BuR/zynq/brsmarc2: initial commit

2019-05-29 Thread Michal Simek
On 29. 05. 19 14:31, Hannes Schmelzer wrote: > On 5/27/19 8:35 AM, Michal Simek wrote: >> On 10. 05. 19 7:52, Hannes Schmelzer wrote: >>> This commit adds the first of a few more Xilinx ZYNQ based SoM boards. >>> >>> The SoM is based on Xilinx Zynq 7000 SoC. >>> Mainly vxWorks 6.9.4.x is running

Re: [U-Boot] [PATCH v2 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-29 Thread Adam Ford
On Wed, May 29, 2019 at 8:13 AM Sekhar Nori wrote: > > On 28/05/19 8:44 PM, Adam Ford wrote: > >> -void spl_board_init(void) > >> +void board_init_f(ulong dummy) > >> { > > > The da850 uses the device tree to get the serial port information, and > > someone else just submitted a patch to enable

[U-Boot] [PATCH] arm: mvebu: helios4: add MMC to SPL DT

2019-05-29 Thread dgilmore
From: Dennis Gilmore This allows SPL to load the main U-Boot image from MMC once DM_MMC is enabled. Signed-off-by: Dennis Gilmore --- arch/arm/dts/armada-388-helios4-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi

Re: [U-Boot] [PATCH v6] sun8i: h3: Add support for the Beelink-x2 STB

2019-05-29 Thread Code Kipper
On Wed, 29 May 2019 at 13:55, wrote: > > From: Marcus Cooper > > The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, > 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the > SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a > dual

[U-Boot] [v4, 2/5] mmc: split fsl_esdhc driver for i.MX

2019-05-29 Thread Y.b. Lu
The fsl_esdhc driver was for Freescale eSDHC on MPC83XX/MPC85XX initially. The later QoriQ series PowerPC processors (which were evolutions of MPC83XX/MPC85XX), QorIQ series ARM processors, and i.MX series processors were using this driver for their eSDHCs too. For the two series processors, the

[U-Boot] [v4, 1/5] Move CONFIG_FSL_ESDHC to defconfig

2019-05-29 Thread Y.b. Lu
Moved CONFIG_FSL_ESDHC from header files to defconfig files. Signed-off-by: Yangbo Lu Tested-by: Steffen Dirkwinkel Reviewed-by: Peng Fan Reviewed-by: Lukasz Majewski Acked-by: Jason Liu --- Changes for v2: - Rebased. Changes for v3: - Rebased. Changes for v4: - Added

Re: [U-Boot] [PATCH 4/4] davinci: omapl138-lcdk: enable driver-model in SPL

2019-05-29 Thread Adam Ford
On Wed, May 29, 2019 at 8:23 AM Bartosz Golaszewski wrote: > > śr., 29 maj 2019 o 15:04 Adam Ford napisał(a): > > > > On Wed, May 29, 2019 at 4:40 AM Bartosz Golaszewski wrote: > > > > > > wt., 28 maj 2019 o 17:05 Adam Ford napisał(a): > > > > > > > > On Tue, May 28, 2019 at 2:58 AM Bartosz

Re: [U-Boot] Reading from an arbitrary address over MDIO no longer works

2019-05-29 Thread Vladimir Oltean
On 29.05.2019 15:27, Alex Marginean wrote: > > Hi Carlo, everyone, > > I'm doing some MDIO work on a freescale/NXP platform and I bumped into > errors with this command: > => mdio r emdio#3 5 3 > Reading from bus emdio#3 > "Synchronous Abort" handler, esr 0x860e > elr: 862b8000 lr :

  1   2   >