Re: [U-Boot] FEC and EFI Simple Network

2018-03-28 Thread Joe Hershberger
Hi Patrick, On Wed, Mar 28, 2018 at 4:54 PM, Fabio Estevam wrote: > Adding Joe in case he has some ideas. > > On Tue, Mar 27, 2018 at 9:12 AM, Patrick Wildt wrote: >> Hi, >> >> I have been debugging network issues when running an EFI Application >> that uses the EFI Simple Network protocol on an

Re: [U-Boot] [PATCH 4/4] phylib: Don't re-define CONFIG_PHY_MARVELL

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 7:38 AM, Mario Six wrote: > For certain boards, having CONFIG_PHY_MARVELL in the defconfig will > result in a redefinition warning, because it is also defined in > config_phylib_all_drivers.h. > > Add a check to stop this redefinition, but keep it for those boards that > st

Re: [U-Boot] [PATCH 3/4] tsec: Fix reading phy registers from DT

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 7:38 AM, Mario Six wrote: > Bus translations should be applied when reading the address of the sgmii > phy registers from the DT. Use ofnode_get_addr_index instead of the > plain ofnode_read_u32_default to fix this. > > Signed-off-by: Mario Six Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/4] net: Initialize as many ethernet devices as possible

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 7:38 AM, Mario Six wrote: > On devices that have their first network interface provided by a FPGA, > the initialization of further interfaces will fail if the FPGA is not > yet programmed. This leads to problems during factory setup when the > data is supposed to be loaded

Re: [U-Boot] [PATCH 1/4] net: Always align tx packets

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 7:38 AM, Mario Six wrote: > Make sure that TX packets are always cache-aligned. > > Signed-off-by: Mario Six > --- > net/arp.c | 3 ++- > net/ping.c | 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/net/arp.c b/net/arp.c > index 4c79e09ccb..191

Re: [U-Boot] [PATCH] axi: ethernet: Added support for 64 bit addressing for axi-ethernet

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 9:35 AM, Michal Simek wrote: > From: Vipul Kumar > > This patch uses writeq() function to enable greater than 32 bit > addressing of axi-ethernet for the ZynqMP devices. > > Signed-off-by: Vipul Kumar > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 2/3] fpga: zynqmp: Update zynqmp_load() as per latest xilfpga

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 9:30 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Latest xilfpga expects to set BIT5 of flags for nonsecure > bitsream and also expects length in bytes instead of words > This patch does the same. > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-of

Re: [U-Boot] [PATCH] net: phy: xilinx_phy: Read phytype using property xlnx, phy-type

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 9:36 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > This patch reads phytype from property "xlnx,phy-type" instead > od simply looking for "phy-type". This is to be inline with > Linux and also fixes the issue of detecting it wrongly in > u-boot. > > Signed

Re: [U-Boot] [PATCH V3 6/6] net: fec: Fix issue in DM probe timeout

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 7:54 AM, Peng Fan wrote: > From: Ye Li > > Since the probe function has changed to reset FEC controller prior than > setup PHY. If reset FEC controller timeout, the priv->phydev is not > initialized, so can't free it. > > Signed-off-by: Ye Li Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH 4/9] net: Improve menu options and help for BOOTP options

2018-03-28 Thread Chris Packham
On Thu, Mar 29, 2018 at 4:18 PM, Chris Packham wrote: > On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger > wrote: >> The options were pretty unhelpful, so improve them some. >> >> Signed-off-by: Joe Hershberger >> --- > > Couple of questions below. But with or without changes > > Reviewed-by: C

Re: [U-Boot] [PATCH 5/9] net: Add the BOOTP_DNS2 option to Kconfig

2018-03-28 Thread Chris Packham
On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger wrote: > Commit 3b3ea2c56ec4bc5 ("Kconfig: cmd: Make networking command dependent on > NET") > removed the help documentation from the README but didn't add it back to > Kconfig. > > Signed-off-by: Joe Hershberger Reviewed-by: Chris Packham >

Re: [U-Boot] [PATCH 4/9] net: Improve menu options and help for BOOTP options

2018-03-28 Thread Chris Packham
On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger wrote: > The options were pretty unhelpful, so improve them some. > > Signed-off-by: Joe Hershberger > --- Couple of questions below. But with or without changes Reviewed-by: Chris Packham > > cmd/Kconfig | 19 ++- > 1 file cha

Re: [U-Boot] [PATCH 3/9] net: Move the DHCP command below the BOOTP command

2018-03-28 Thread Chris Packham
On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger wrote: > Move DHCP to directly follow BOOTP so that Kconfig can show the > dependency as a hierarchy. > > Signed-off-by: Joe Hershberger > --- I never quite understood the distinction between bootp and dhcp. I know technically bootp was an earlier

Re: [U-Boot] [PATCH 2/9] net: Move net command options to the cmd menu

2018-03-28 Thread Chris Packham
On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger wrote: > Options that controlled the tftp and bootp commands depended on their > commands, but lived in the net menu. > > Move them so they are in a consistent location. > > Signed-off-by: Joe Hershberger > --- Reviewed-by: Chris Packham > cmd/

Re: [U-Boot] [PATCH 1/9] net: Make CMD_NET a menuconfig

2018-03-28 Thread Chris Packham
On Thu, Mar 29, 2018 at 9:51 AM, Joe Hershberger wrote: > Previously, CMD_NET was an alias for 2 commands (bootp and tftpboot) and > they we not able to be disabled. Separate out those 2 commands and move > CMD_NET up to the menu level, which more accurately represents the code. > > Signed-off-by:

[U-Boot] Marvell Armada-38x DDR training code

2018-03-28 Thread Chris Packham
Hi, I've posted a couple of improvements to the in-tree ddr training code but we've known for a while that u-boot proper is a bit behind Marvell's code for ddr training. And now I really do have a problem on my board that is fixed by using Marvell's code. Yesterday I got hold of patches from Marv

[U-Boot] [PATCH] riscv: ae250: Support DT provided by the board at runtime

2018-03-28 Thread Andes
From: Rick Chen Enable CONFIG_OF_BOAD to support delivery dtb to u-boot at run time instead of embedded. There are two methods to delivery dtb. 1 Pass from loader: When u-boot boot from RAM, gdb or loader can pass dtb via a2 to u-boot dynamically. Of course gdb or loader shall be in ch

[U-Boot] [PATCH] timer: Add High Precision Event Timers (HPET) support

2018-03-28 Thread Ivan Gorinov
Adding HPET as an alternative timer for x86 (default is TSC). HPET main counter has constant clock frequency, calibration is not required. This change also makes TSC timer driver optional on x86 platforms. If X86_TSC is disabled, early timer functions are provided by HPET. HPET can be selected as

Re: [U-Boot] FEC and EFI Simple Network

2018-03-28 Thread Fabio Estevam
Adding Joe in case he has some ideas. On Tue, Mar 27, 2018 at 9:12 AM, Patrick Wildt wrote: > Hi, > > I have been debugging network issues when running an EFI Application > that uses the EFI Simple Network protocol on an i.MX6 machine (FEC). > > The symptom is that u-boot's (FEC) internal RX ring

Re: [U-Boot] [U-Boot,2/3] rockchip: mmc: update MAINTAINERS

2018-03-28 Thread Philipp Tomsich
> The Rockchip-specific wrappers to the DW-MMC and the SDHCI driver > were not covered as part of what's maintained by the architecture > maintainers. Add them here. > > Signed-off-by: Philipp Tomsich > --- > > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) > Applied to u-boot-rockchi

Re: [U-Boot] [U-Boot,3/3] rockchip: sdhci: support 8bit bus-width

2018-03-28 Thread Philipp Tomsich
> The Rockchip-specific SDHCI wrapper does not process the 'bus-width' > property in the SDHCI node. Consequently, the bus is always kept in > 4bit mode, even if 8bit wide operation is available, supported and > requested in the DTS. > > This change adds processing of the 'bus-width' property and

Re: [U-Boot] [U-Boot, 1/3] rockchip: defconfig: puma-rk3399: enable DMA for SDHCI controller

2018-03-28 Thread Philipp Tomsich
> For the RK3399-Q7, we have a fast eMMC connected in an 8 bit wide > configuration to the SDHCI controller (sdhci@fe33). Enable DMA > within the SDHCI driver to get the best performance out of it. > > Signed-off-by: Philipp Tomsich > --- > > configs/puma-rk3399_defconfig | 1 + > 1 file c

Re: [U-Boot] [U-Boot, 2/2] video: rk3399_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Punit Agrawal > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/video/rockchip/rk3399_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-rockchip, thanks! ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, 1/2] video: rk3288_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Punit Agrawal > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > drivers/video/rockchip/rk3288_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-rockchip, thanks! ___ U-Boot mailing l

Re: [U-Boot] [U-Boot, 2/2] video: rk3399_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Punit Agrawal > --- > drivers/video/rockchip/rk3399_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 1/2] video: rk3288_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Punit Agrawal > --- > drivers/video/rockchip/rk3288_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 2/2] video: rk3399_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Punit Agrawal > --- > drivers/video/rockchip/rk3399_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 1/2] video: rk3288_mipi: Combine NULL check into IS_ERR_OR_NULL()

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Punit Agrawal > --- > drivers/video/rockchip/rk3288_mipi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] rockchip: rk3399: set fdtfile

2018-03-28 Thread Philipp Tomsich
> Signed-off-by: Mark Kettenis > Acked-by: Philipp Tomsich > Tested-by: Klaus Goger > Reviewed-by: Philipp Tomsich > --- > include/configs/rk3399_common.h | 1 + > 1 file changed, 1 insertion(+) > Applied to u-boot-rockchip, thanks! ___ U-Boot mail

[U-Boot] [PATCH 6/9] net: Improve BOOTP PXE config option

2018-03-28 Thread Joe Hershberger
Improve the documentation and correct the listed dependencies. Signed-off-by: Joe Hershberger --- cmd/Kconfig | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index db75759..cc059c4 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1071,12 +1071

[U-Boot] [PATCH 9/9] Revert "Kconfig: cmd: Make networking command dependent on NET"

2018-03-28 Thread Joe Hershberger
This reverts the parts of commit 3b3ea2c56ec4bc5588281fd103c744e608f8b25c where it changed the EFI dependency on NET. Signed-off-by: Joe Hershberger --- Kconfig | 2 +- cmd/bootefi.c| 4 ++-- lib/efi_loader/Makefile | 2 +- lib/efi_loader/e

[U-Boot] [PATCH 8/9] net: Make core net code depend on NET instead of CMD_NET

2018-03-28 Thread Joe Hershberger
No commands are necessary to have a network stack. Signed-off-by: Joe Hershberger --- net/Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/Makefile b/net/Makefile index ed102ec..95e9f63 100644 --- a/net/Makefile +++ b/net/Makefile @@ -8,18 +8,18 @@ #c

[U-Boot] [PATCH 7/9] net: Make the BOOTP options default

2018-03-28 Thread Joe Hershberger
The BOOTP options used to be and should still be default for all boards with CMD_NET enabled. One should not be forced to use DISTRO_DEFAULTS to get them. Signed-off-by: Joe Hershberger --- Kconfig | 6 -- cmd/Kconfig | 6 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --

[U-Boot] [PATCH 1/9] net: Make CMD_NET a menuconfig

2018-03-28 Thread Joe Hershberger
Previously, CMD_NET was an alias for 2 commands (bootp and tftpboot) and they we not able to be disabled. Separate out those 2 commands and move CMD_NET up to the menu level, which more accurately represents the code. Signed-off-by: Joe Hershberger --- cmd/Kconfig | 25 +---

[U-Boot] [PATCH 4/9] net: Improve menu options and help for BOOTP options

2018-03-28 Thread Joe Hershberger
The options were pretty unhelpful, so improve them some. Signed-off-by: Joe Hershberger --- cmd/Kconfig | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index 7ef9501..76fd111 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1031,2

[U-Boot] [PATCH 0/9] net: Clean up the menus and dependencies among commands and options

2018-03-28 Thread Joe Hershberger
There have been a few issues persisting in the net menus and a recent change that went in (Kconfig: cmd: Make networking command dependent on NET) caused a few new issues. Clean up these things and further move to separate CMD_NET from NET along appropriate boundaries. Joe Hershberger (9): net:

[U-Boot] [PATCH 5/9] net: Add the BOOTP_DNS2 option to Kconfig

2018-03-28 Thread Joe Hershberger
Commit 3b3ea2c56ec4bc5 ("Kconfig: cmd: Make networking command dependent on NET") removed the help documentation from the README but didn't add it back to Kconfig. Signed-off-by: Joe Hershberger --- cmd/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/cmd/Kconfig b/cmd

[U-Boot] [PATCH 2/9] net: Move net command options to the cmd menu

2018-03-28 Thread Joe Hershberger
Options that controlled the tftp and bootp commands depended on their commands, but lived in the net menu. Move them so they are in a consistent location. Signed-off-by: Joe Hershberger --- cmd/Kconfig | 50 ++ net/Kconfig | 50 --

[U-Boot] [PATCH 3/9] net: Move the DHCP command below the BOOTP command

2018-03-28 Thread Joe Hershberger
Move DHCP to directly follow BOOTP so that Kconfig can show the dependency as a hierarchy. Signed-off-by: Joe Hershberger --- cmd/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/Kconfig b/cmd/Kconfig index d714f73..7ef9501 100644 --- a/cmd/Kconfig ++

Re: [U-Boot] [PATCH v2 2/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS

2018-03-28 Thread Fabio Estevam
On Wed, Mar 28, 2018 at 5:27 PM, Pierre-Jean TEXIER wrote: > use the generic filesystem command 'load' rather > than 'fatload' to avoid per-fs specific commands. > > Signed-off-by: Pierre-Jean TEXIER Reviewed-by: Fabio Estevam ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2 1/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-28 Thread Fabio Estevam
On Wed, Mar 28, 2018 at 5:27 PM, Pierre-Jean TEXIER wrote: > This enable generic file system commands (load, ls). > > Signed-off-by: Pierre-Jean TEXIER Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listi

[U-Boot] [PATCH v2 2/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS

2018-03-28 Thread Pierre-Jean TEXIER
use the generic filesystem command 'load' rather than 'fatload' to avoid per-fs specific commands. Signed-off-by: Pierre-Jean TEXIER --- Changes for v2: - apply modications into warp7.h - replace fatload command in CONFIG_EXTRA_ENV_SETTINGS (prefer 'load') include/configs/warp7.

[U-Boot] [PATCH v2 1/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-28 Thread Pierre-Jean TEXIER
This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER --- Changes for v2: - None configs/warp7_defconfig| 1 + configs/warp7_secure_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-03-28 Thread Joe Hershberger
On Sun, Mar 25, 2018 at 8:40 PM, Bin Meng wrote: > Hi Joe, > > On Sat, Mar 24, 2018 at 1:11 AM, Joe Hershberger > wrote: >> On Thu, Mar 22, 2018 at 9:46 AM, Bin Meng wrote: >>> Hi, >>> >>> On Fri, Feb 2, 2018 at 9:53 PM, Stefan Mavrodiev wrote: CONFIG_PHY_ADDR is used for old-style config

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-28 Thread Jagan Teki
On Wed, Mar 28, 2018 at 4:45 PM, Maxime Ripard wrote: > On Wed, Mar 28, 2018 at 03:22:20PM +0530, Jagan Teki wrote: >> >> May it's good option to look at v3 changes, since DM_MMC Migration >> >> expires in coming release, dt changes which are related to MMC we can >> >> wait for proper supported f

Re: [U-Boot] [PATCH v2] Kconfig: cmd: Make networking command dependent on NET

2018-03-28 Thread Joe Hershberger
On Wed, Mar 28, 2018 at 2:45 AM, Michal Simek wrote: > On 28.3.2018 01:28, Joe Hershberger wrote: >> Hi Heinrich, >> >> On Wed, Feb 28, 2018 at 5:05 PM, Heinrich Schuchardt >> wrote: >>> On 02/28/2018 02:09 AM, Tom Rini wrote: On Mon, Feb 26, 2018 at 04:01:02PM +0100, Michal Simek wrote

Re: [U-Boot] [PATCH] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-28 Thread Pierre-Jean Texier
Hi Fabio Le 28/03/2018 à 03:02, Fabio Estevam a écrit : Hi Pierre-Jean, On Tue, Mar 27, 2018 at 4:50 PM, Pierre-Jean TEXIER wrote: This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER --- configs/warp7_defconfig| 1 + configs/warp7_secure_defcon

Re: [U-Boot] [PATCH] arm: stm32mp1: add PSCI support

2018-03-28 Thread Mark Rutland
Hi, On Tue, Mar 20, 2018 at 01:59:03PM +0100, Patrick Delaunay wrote: > Add minimal PSCI support for Linux. > > Signed-off-by: Patrick Delaunay > +int __secure psci_features(unsigned int psci_fid) > +{ > + switch (psci_fid) { > + case ARM_PSCI_0_2_FN_PSCI_VERSION: > + case ARM_PSCI_

[U-Boot] [PATCH 2/6] arm64: zynqmp: Add support for zc1751 dc3

2018-03-28 Thread Michal Simek
zc1751 is based board with dc3 extenstion card which is used for silicon validation. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zc1751-xm017-dc3.dts | 210 + .../zynqmp/zynqmp-zc1751-xm017-dc3/psu_init_gpl.c | 9

[U-Boot] [PATCH 6/6] arm64: zynqmp: Add support for Xilinx zcu111-revA

2018-03-28 Thread Michal Simek
Xilinx zcu111 is a customer board. It is reusing some parts from zcu102. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zcu111-revA.dts | 763 configs/xilinx_zynqmp_zcu111_revA_defconfig | 95 i

[U-Boot] [PATCH 5/6] arm64: zynqmp: Add support for Xilinx zcu106-revA

2018-03-28 Thread Michal Simek
Xilinx zcu106 is a customer board. It is reusing some parts from zcu102. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zcu106-revA.dts| 884 + .../zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c

[U-Boot] [PATCH 3/6] arm64: zynqmp: Add support for zc12xx boards

2018-03-28 Thread Michal Simek
Add support for zc12xx boards. All of them are internal boards for silicon validation and share very similar base platforms. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 3 + arch/arm/dts/zynqmp-zc1232-revA.dts| 87 +++ arch/arm/dts/zyn

[U-Boot] [PATCH 4/6] arm64: zynqmp: Add support for zcu104 customer board

2018-03-28 Thread Michal Simek
Xilinx zcu104 is another customer board. It is sort of zcu102 clone with some differences. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 2 + arch/arm/dts/zynqmp-zcu104-revA.dts| 481 +++ arch/arm/dts/zynqmp-zcu104-revC.dts

[U-Boot] [PATCH 1/6] arm64: zynqmp: Add support for zcu100 aka 96ultra board

2018-03-28 Thread Michal Simek
Add support for Xilinx zcu100. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zcu100-revC.dts| 580 .../zynqmp/zynqmp-zcu100-revC/psu_init_gpl.c | 993 + configs/xilinx_zynqmp

[U-Boot] [PATCH 0/6] arm64: zynqmp: Add new platforms to u-boot

2018-03-28 Thread Michal Simek
Hi, all these platforms are waiting in linux-next for merging that's why make sense to support them also in uboot. zcu100, zcu104, zcu106, zcu111 are customer boards zc12XX and zc1751 are internal boards. Thanks, Michal Michal Simek (6): arm64: zynqmp: Add support for zcu100 aka 96ultra board

[U-Boot] [PATCH 1/2] arm64: zynqmp: Add low level initialization for zcu102-revA

2018-03-28 Thread Michal Simek
Add psu init for zcu102-revA. Signed-off-by: Michal Simek --- .../zynqmp/zynqmp-zcu102-revA/psu_init_gpl.c | 826 + 1 file changed, 826 insertions(+) create mode 100644 board/xilinx/zynqmp/zynqmp-zcu102-revA/psu_init_gpl.c diff --git a/board/xilinx/zynqmp/zynqmp-zcu1

[U-Boot] [PATCH 0/2] arm64: zynqmp: Add missing psu_init configuration files

2018-03-28 Thread Michal Simek
Hi, this patchset is adding missing low level configuration files for current boards supported by U-Boot. Thanks, Michal Michal Simek (2): arm64: zynqmp: Add low level initialization for zcu102-revA arm64: zynqmp: Add low level initialization for zc1751 .../zynqmp/zynqmp-zc1751-xm015-dc1/

[U-Boot] [PATCH 4/4] arm64: zynqmp: Enable Fixed link support

2018-03-28 Thread Michal Simek
This patch enables the fixed link support for all ZynqMP boards. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm018_dc4_defc

[U-Boot] [PATCH 2/4] arm64: zynqmp: Enable ethernet phys for zc1751 dc5

2018-03-28 Thread Michal Simek
Enable ethernet phys for zc1751 dc5. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig index 3dca21dc1650

[U-Boot] [PATCH 3/4] arm64: zynqmp: Enable mac address randomization for zc1751 dc5

2018-03-28 Thread Michal Simek
There is no memory which stores mac address that's why generate it. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_def

[U-Boot] [PATCH 1/4] arm64: zynqmp: Enable booting to ATF

2018-03-28 Thread Michal Simek
From: Luca Ceresoli U-Boot is now able to boot to ARM Trusted Firmware (ATF). The boot flow is SPL(EL3) loads ATF and full u-boot and jump to ATF(EL3) which pass control to full u-boot(EL2). This has been tested on zcu106, so enable it in this defconfig. To generate an image that triggers this b

[U-Boot] [PATCH 0/4] arm64: zynqmp: Enable various kconfig features

2018-03-28 Thread Michal Simek
This patchset is enabling missing options were the most interesting one is SPL_ATF which permits to boot system from one fit image file. Thanks, Michal Luca Ceresoli (1): arm64: zynqmp: Enable booting to ATF Michal Simek (3): arm64: zynqmp: Enable ethernet phys for zc1751 dc5 arm64: zynq

[U-Boot] [PATCH] arm64: zynqmp: Enable pxe and dhcp if commands are enabled

2018-03-28 Thread Michal Simek
Targets without net can't use pxe or dhcp boot methods. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 8c0b5d9c06ae..635

[U-Boot] [PATCH] net: phy: xilinx_phy: Read phytype using property xlnx, phy-type

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch reads phytype from property "xlnx,phy-type" instead od simply looking for "phy-type". This is to be inline with Linux and also fixes the issue of detecting it wrongly in u-boot. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --

[U-Boot] [PATCH] axi: ethernet: Added support for 64 bit addressing for axi-ethernet

2018-03-28 Thread Michal Simek
From: Vipul Kumar This patch uses writeq() function to enable greater than 32 bit addressing of axi-ethernet for the ZynqMP devices. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 33 + 1 file changed, 25 insertions(

[U-Boot] [PATCH] nand: arasan_nfc: Fixed NAND write issue

2018-03-28 Thread Michal Simek
From: Vipul Kumar In commit 2453c695185f ("arm64: zynqmp: nand: Fixed NAND erase issue for size 1GiB or more"), ARASAN_NAND_MEM_ADDR1_PAGE_MASK macro changed to 0x and the same macro is used in nand write and so that getting nand write error. This patch reverted this macro to the 0x a

[U-Boot] [PATCH] fpga: zynq: Add delay after PCFG_PROG_B change

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu There is delay needed after PCFG_PROGB change if AES key source is efuse. This fixes the issue of encrypted bitstream loading with AES efuse as key source. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/fpga/zynqpl.c | 16 ++

[U-Boot] [PATCH 2/3] fpga: zynqmp: Update zynqmp_load() as per latest xilfpga

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Latest xilfpga expects to set BIT5 of flags for nonsecure bitsream and also expects length in bytes instead of words This patch does the same. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/sys_proto

[U-Boot] [PATCH 3/3] fpga: zynqmp: Fix the nonsecure bitstream loading issue

2018-03-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Xilfpga library expects the size of bitstream in a pointer but currenly we are passing the size as a value. This patch fixes this issue. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- drivers/fpga/

[U-Boot] [PATCH 1/3] fpga: zynqmp: Add support to get the PCAP status for fpga info command

2018-03-28 Thread Michal Simek
From: Nitin Jain This patch adds support for ZynqMP platform to print FPGA PCAP status for "fpga status" command. Signed-off-by: Nitin Jain Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/fpga/zynqmppl.c | 14 ++ include/zynqmppl.h | 1 +

[U-Boot] [PATCH 0/3] fpga: zynqmp: Fpga changes

2018-03-28 Thread Michal Simek
Hi, these patches are syncing latest firmware expectation and showing information about fpga status. Thanks, Michal Nitin Jain (1): fpga: zynqmp: Add support to get the PCAP status for fpga info command Siva Durga Prasad Paladugu (2): fpga: zynqmp: Update zynqmp_load() as per latest xilfpg

[U-Boot] [PATCH] clk: zynqmp: Add new compatible string for clock driver

2018-03-28 Thread Michal Simek
New and old clk drivers are sharing IDs and descriptions. Signed-off-by: Michal Simek --- drivers/clk/clk_zynqmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c index 4ef8662af560..d0d6c898bc58 100644 --- a/drivers/clk/clk_zynqmp.c +++ b

[U-Boot] [PATCH 2/6] arm: zynq: Sync up licenses with mainline kernel

2018-03-28 Thread Michal Simek
Use different location for SPDX line. Also update dates for new mainline DTS files. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-cc108.dts | 5 ++--- arch/arm/dts/zynq-zc702.dts | 5 + arch/arm/dts/zynq-zc706.dts | 5 + arch/arm/dts/zynq-zc770-xm010.dts | 5 ++---

[U-Boot] [PATCH 5/6] arm: zynq: Fix eeprom dt nodes

2018-03-28 Thread Michal Simek
- Use eeprom for node name - Use atmel compatible string instead of at. - Add missing labels Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm010.dts | 4 ++-- arch/arm/dts/zynq-zc770-xm011.dts | 4 ++-- arch/arm/dts/zynq-zc770-xm012.dts | 8 arch/arm/dts/zynq-zc770-xm013.dts

[U-Boot] [PATCH 4/6] ARM: dts: zynq: Add generic compatible string for I2C EEPROM

2018-03-28 Thread Michal Simek
From: Javier Martinez Canillas The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the ven

[U-Boot] [PATCH 3/6] arm: zynq: Use i2c-mux instead of i2cswitch for pca9548

2018-03-28 Thread Michal Simek
i2c muxes should described like this. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 2 +- arch/arm/dts/zynq-zc706.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index b95c1608d220..1410c4d7b6bd

[U-Boot] [PATCH 6/6] arm: zynq: Use fixed partitions for spi flash for zc770 xm010

2018-03-28 Thread Michal Simek
Sync with mainline. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm010.dts | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts index 2c594b7ecc6c..a779672f3add 100644 --- a/arch/arm

[U-Boot] [PATCH 1/6] arm: zynq: Remove 0x prefixes from cc108

2018-03-28 Thread Michal Simek
The patch fixing issues reported by DTC: zynq-cc108.dtb: Warning (unit_address_format): Node /amba/spi@e000d000/flash@0/partition@0x40 unit name should not have leading "0x" zynq-cc108.dtb: Warning (unit_address_format): Node /amba/spi@e000d000/flash@0/partition@0x80 unit name should not ha

[U-Boot] [PATCH 0/6] arm: Fix zynq DTS file with mainline Linux kernel

2018-03-28 Thread Michal Simek
Hi, with reviewing new Xilinx platforms for Linux kernel some issues were found which should be fixed. Also Kernel adopted SPDX that's why position has changed. Based on my talk with Tom it is not a problem to adopt Linux kernel style and keep these dts in sync. Thanks, Michal Javier Martinez C

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-28 Thread Andre Przywara
Hi, On 28/03/18 10:52, Jagan Teki wrote: > On Wed, Mar 28, 2018 at 4:23 AM, André Przywara > wrote: >> On 27/03/18 18:58, Jagan Teki wrote: >>> On Sat, Mar 24, 2018 at 6:37 AM, André Przywara >>> wrote: On 23/03/18 18:14, Jagan Teki wrote: > On Wed, Mar 14, 2018 at 7:27 AM, Andre Przy

Re: [U-Boot] [PATCH 0/4] Meson clock driver

2018-03-28 Thread Neil Armstrong
On 28/03/2018 12:52, Beniamino Galvani wrote: > 2018-03-28 10:59 GMT+02:00 Neil Armstrong : > >> Do you plan to re-send the driver soon ? > > Yes, I plan to submit it again in the next days. > > Beniamino > Cool ! Thanks ! Can you base it after my "ARM: meson: rename GXBB to GX" patch ? It wi

[U-Boot] [PATCH V3 1/6] net: fec_mxc: Fix DM driver issue in recv

2018-03-28 Thread Peng Fan
From: Ye Li When using ethernet DM driver, the recv interface has a change with non-DM interface, that driver needs to set the packet pointer and provide it to upper layer to process. In fec driver, the fecmxc_recv functions does not handle the packet pointer parameter. This may cause crash in u

[U-Boot] [PATCH V3 6/6] net: fec: Fix issue in DM probe timeout

2018-03-28 Thread Peng Fan
From: Ye Li Since the probe function has changed to reset FEC controller prior than setup PHY. If reset FEC controller timeout, the priv->phydev is not initialized, so can't free it. Signed-off-by: Ye Li --- V3: New drivers/net/fec_mxc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-

[U-Boot] [PATCH V3 3/6] net: fec: set dev->seq to priv->dev_id

2018-03-28 Thread Peng Fan
To platforms has two enet interface, using dev->seq could avoid conflict. i.MX6UL/ULL evk board net get the wrong MAC address from fuse, eth1 get MAC0 address, eth0 get MAC1 address from fuse. Set the priv->dev_id to device->seq as the real net interface alias id then .fec_get_hwaddr() read the re

[U-Boot] [PATCH V3 5/6] net: fex_mxc: add i.MX6UL/SX/SL compatible

2018-03-28 Thread Peng Fan
Add i.MX6UL/SX/SL compatible. Signed-off-by: Peng Fan Acked-by: Joe Hershberger --- V3: None V2: None drivers/net/fec_mxc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index ba66c2f95a..765226e3ab 100644 --- a/drivers/net/fec_mxc.c +++

[U-Boot] [PATCH V3 4/6] net: fec: sharing MDIO for two enet controllers

2018-03-28 Thread Peng Fan
On i.MX6SX, 6UL and 7D, there are two enet controllers each has a MDIO port. But Some boards share one MDIO port for the two enets. So introduce a configuration CONFIG_FEC_MXC_MDIO_BASE to indicate the MDIO port for sharing. In Kconfig, user needs enable CONFIG_FEC_MXC_SHARE_MDIO first to enter the

[U-Boot] [PATCH 3/4] tsec: Fix reading phy registers from DT

2018-03-28 Thread Mario Six
Bus translations should be applied when reading the address of the sgmii phy registers from the DT. Use ofnode_get_addr_index instead of the plain ofnode_read_u32_default to fix this. Signed-off-by: Mario Six --- drivers/net/tsec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH] mtd: cfi_flash: Make live-tree compatible

2018-03-28 Thread Mario Six
Make the cfi_flash driver compatible with a live device tree. Signed-off-by: Mario Six --- drivers/mtd/cfi_flash.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index da44e6184e..e5509fe353 100644 ---

[U-Boot] [PATCH 2/3] mpc83xx/pci: Register IMMR region

2018-03-28 Thread Mario Six
Register the IMMR region as a PCI region when PCI is used on MPC83xx. Signed-off-by: Mario Six --- drivers/pci/pci-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index ad43e8a27c..0778705f76 100644 --- a/drivers/pci/pci-uclas

[U-Boot] [PATCH 6/7] video_display: Add power_on function

2018-03-28 Thread Mario Six
Add a power_on function to the display uclass to allow devices to be probed and powered-on separately. Signed-off-by: Mario Six --- drivers/video/display-uclass.c | 10 ++ include/display.h | 18 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/vide

[U-Boot] [PATCH 3/7] sandbox: Add and build AXI bus and device

2018-03-28 Thread Mario Six
Add test AXI drivers to the sandbox. Signed-off-by: Mario Six --- arch/sandbox/dts/sandbox.dts | 11 +++ arch/sandbox/dts/test.dts| 11 +++ configs/sandbox_defconfig| 3 +++ 3 files changed, 25 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/s

[U-Boot] [PATCH] clk: Add ICS8N3QV01 driver

2018-03-28 Thread Mario Six
Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO. Signed-off-by: Mario Six --- drivers/clk/Kconfig | 8 ++ drivers/clk/Makefile | 1 + drivers/clk/ics8n3qv01.c | 231 +++ 3 files changed, 240 insertions(+) create mode 1006

[U-Boot] [PATCH 3/3] pci: Add MPC83xx PCIe driver

2018-03-28 Thread Mario Six
Add a PCIe driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/pcie.c | 4 + drivers/pci/Kconfig | 16 ++ drivers/pci/Makefile| 1 + drivers/pci/pcie_mpc83xx.c | 442 4 files changed

[U-Boot] [PATCH] cmd: ximg: Respect cache line size for flushing

2018-03-28 Thread Mario Six
Make sure that the cache line size if respected when flushing the cache. Signed-off-by: Mario Six --- cmd/ximg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ximg.c b/cmd/ximg.c index 21b5c37721..069c6ad39a 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -249,7 +249,7 @@ d

[U-Boot] [PATCH 1/7] drivers: Add AXI uclass and ihs_axi driver

2018-03-28 Thread Mario Six
Add a uclass for AXI (Advanced eXtensible Interface) busses, and a driver for the gdsys IHS AXI bus on IHS FPGAs. Signed-off-by: Mario Six --- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/axi/Kconfig | 24 ++ drivers/axi/Makefile | 9 +++ drivers/ax

[U-Boot] [PATCH 1/4] net: Always align tx packets

2018-03-28 Thread Mario Six
Make sure that TX packets are always cache-aligned. Signed-off-by: Mario Six --- net/arp.c | 3 ++- net/ping.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/arp.c b/net/arp.c index 4c79e09ccb..191434f5e2 100644 --- a/net/arp.c +++ b/net/arp.c @@ -182,7 +182,8 @@ vo

[U-Boot] [PATCH 4/4] phylib: Don't re-define CONFIG_PHY_MARVELL

2018-03-28 Thread Mario Six
For certain boards, having CONFIG_PHY_MARVELL in the defconfig will result in a redefinition warning, because it is also defined in config_phylib_all_drivers.h. Add a check to stop this redefinition, but keep it for those boards that still don't have it in their defconfig. Signed-off-by: Mario Si

Re: [U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

2018-03-28 Thread Vasyl Vavrychuk
Hi, Bin Meng, Thanks for your suggestions. Please find my comments below On Wed, Mar 28, 2018 at 7:36 AM, Bin Meng wrote: > > > > > Tested on VxWorks 7 release SR0520 2017-12-08. > > > > On what board? Intel Stratix 10 DevKit > As I mentioned before, why do you want to use 'bootvx' to boot a >

[U-Boot] [PATCH 1/3] drivers: Add OSD uclass

2018-03-28 Thread Mario Six
Some devices offer a text-based OSD (on-screen display) that can be programmatically controlled (i.e. text displayed on). Add a uclass to support such devices. Signed-off-by: Mario Six --- drivers/video/Kconfig| 8 +++ drivers/video/Makefile | 2 + drivers/video/video_

[U-Boot] [PATCH] gpio: uclass: Fix debug string

2018-03-28 Thread Mario Six
A debug string still has the old name of a function being called; update it. Signed-off-by: Mario Six --- drivers/gpio/gpio-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index 9faf3357af..1fbfdef477 100644 ---

  1   2   >