Re: [U-Boot] [PATCH 2/2] net: mvneta: zero Tx descriptors on init

2018-06-17 Thread Stefan Roese
On 17.06.2018 13:55, Baruch Siach wrote: From: Rabeeh Khoury Make the initialization sequence consistent with the Linux kernel driver. Signed-off-by: Rabeeh Khoury Signed-off-by: Baruch Siach --- drivers/net/mvneta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mvneta.c

Re: [U-Boot] [PATCH 1/2] net: mvneta: dcache flush TX descriptors at init

2018-06-17 Thread Stefan Roese
On 17.06.2018 13:55, Baruch Siach wrote: From: Rabeeh Khoury This fixes sporadic timeout on initial packet Tx (usually ARP), with an error message like: timeout: packet not sent Signed-off-by: Rabeeh Khoury Signed-off-by: Baruch Siach --- drivers/net/mvneta.c | 1 + 1 file changed, 1

[U-Boot] [PATCH v3 4/4] arm: zynq: Add parallel NOR flash mini u-boot configuration for zynq

2018-06-17 Thread Siva Durga Prasad Paladugu
Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint OCM memory. This configuration only has required parallel nor flash support. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v2: - None Changes from v1: - None --- arch/arm/dts/Makefile

[U-Boot] [PATCH v3 2/4] arm: zynq: Dont define SDRAM_BASE and SDRAM_SIZE in .h

2018-06-17 Thread Siva Durga Prasad Paladugu
Remove the SDRAM_BASE nad SDRAM_SIZE as it can now get these details from DT. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v2: - None Changes from v1: - Removed commit reference from description as per comment --- include/configs/zynq_cse.h | 3 --- 1 file changed, 3 deletions(-)

[U-Boot] [PATCH v3 3/4] arm: zynq: Add Nand flash mini u-boot configuration for zynq

2018-06-17 Thread Siva Durga Prasad Paladugu
Add configuration files/dtses for mini u-boot configuration which runs on smaller footprint of memory. This configuration has only required nand flash support. Signed-off-by: Siva Durga Prasad Paladugu --- Changes from v2: - None Changes from v1: - Update memory node as per comment - Removed intc

[U-Boot] [PATCH v3 1/4] lib: fdtdec: Add new variable ram_start to global data

2018-06-17 Thread Siva Durga Prasad Paladugu
Added new variable ram_start to global data structure for holding the start address of first bank of RAM, and then use this ram_start for calculating ram_top properly. This patch fixes the erroneous calculation of ram_top incase of non zero ram start address. This patch also renames fdtdec_setup_me

Re: [U-Boot] [PATCH] usb: sunxi: ohci: make ohci_t the first member in private data

2018-06-17 Thread Jagan Teki
On Mon, Jun 18, 2018 at 6:44 AM, Marek Vasut wrote: > On 06/17/2018 06:13 PM, Vasily Khoruzhick wrote: >> ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be >> the first member in private data struct. >> >> Fixes 831cc98b1 ("usb: sunxi: Simplify ccm reg base code") >> >> Signed-off-by

Re: [U-Boot] [PATCH v10 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-06-17 Thread Vasily Khoruzhick
On Sun, Jun 17, 2018 at 11:04 PM, Jagan Teki wrote: >> Do git pull and make sure you are at least at >> a715415bb5948c84cc44c601b193188990f7238b. > > Yes, I even tried on this, can't see any issue? Let me know If I still miss > any. > > U-Boot 2018.07-rc1-00165-ga715415bb5 (Jun 18 2018 - 11:28:28

Re: [U-Boot] [PATCH v10 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-06-17 Thread Jagan Teki
On Mon, Jun 18, 2018 at 11:18 AM, Vasily Khoruzhick wrote: > On Sun, Jun 17, 2018 at 10:19 PM, Jagan Teki wrote: > > Hi Jagan, > >> I've plugged keyboard and mouse on so-pine board, couldn't reproduce the >> issue. >> This is on top of master, where this series got merged, is this issue >> repro

Re: [U-Boot] [PATCH v10 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-06-17 Thread Vasily Khoruzhick
On Sun, Jun 17, 2018 at 10:19 PM, Jagan Teki wrote: Hi Jagan, > I've plugged keyboard and mouse on so-pine board, couldn't reproduce the > issue. > This is on top of master, where this series got merged, is this issue > reproduces on your recent changes? > U-Boot 2018.07-rc1-00161-g76d69eb01d

[U-Boot] [PATCH] imx6ul: geam: Fix fdt_file mismatch

2018-06-17 Thread Jagan Teki
fdt_file is looking for imx6ul-geam-kit.dtb but Linux has imx6ul-geam.dtb, since Linux skipped -kit on file name by below commit. "ARM: dts: imx6ul-geam: Skip suffix -kit from dts name" (sha1: 182de5ebce71e469cfa686fcdf08c9cbe11ece97) So, due to this mismatch U-Boot failed to pick the proper dtb w

Re: [U-Boot] [PATCH v10 00/35] phy: sunxi: Add Allwinner sun4i USB PHY

2018-06-17 Thread Jagan Teki
On Sat, Jun 16, 2018 at 11:34 PM, Vasily Khoruzhick wrote: > On Tue, Jun 5, 2018 at 8:39 PM, Vasily Khoruzhick wrote: >> On Tue, Jun 5, 2018 at 12:04 AM, Jagan Teki wrote: >>> >>> Let me look at it and will come back. >> >> I fixed it. See "usb: sunxi: sun50i: enable OHCI0 clock when OHCI1 is >>

[U-Boot] [PATCH] Makefile: drop unused cpp_cfg macro

2018-06-17 Thread Baruch Siach
Commit e19b0fb4851f (kbuild: generate u-boot.cfg as a byproduct of include/autoconf.mk) removed the use of the cpp_cfg macro in Makefile, but forgot to remove its definition. Cc: Masahiro Yamada Signed-off-by: Baruch Siach --- Makefile | 5 - 1 file changed, 5 deletions(-) diff --git a/Mak

[U-Boot] [PATCH] ARM: dts: rmobile: Add HS200 support to E3 Ebisu

2018-06-17 Thread Marek Vasut
Add regulator nodes and pinmux settings to the SDHI3 on E3 Ebisu and enable HS200 mode on it. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77990-ebisu.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm/dts/r8a77990-ebisu.d

[U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp

2018-06-17 Thread Baruch Siach
Since commit f916757300 (imx: Create distinct pre-processed mkimage config files), *.cfgtmp files are no longer generated. There is no need to remove them on the 'clean' target anymore. Remove also the .gitignore glob. Cc: Trent Piepho Signed-off-by: Baruch Siach --- .gitignore | 1 - Makefile

[U-Boot] [PATCH] net: ravb: Filter out supported PHY features

2018-06-17 Thread Marek Vasut
The RAVB only supports 100Full and 1000Full operation, it does not support 10Full or any Half-duplex modes. The PHY could still advertise those features though, so filter out the PHY features accordingly. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/ravb

[U-Boot] [PATCH 3/3] ARM: dts: rmobile: Move the PHY reset GPIOs into PHY nodes

2018-06-17 Thread Marek Vasut
Both the RAVB and SH ether driver now support parsing the PHY reset GPIOs from both the PHY nodes and the MAC nodes, move the reset GPIOs back into the PHY nodes to minimize DT difference between U-Boot and Linux. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/r8a77970-eagle.

[U-Boot] [PATCH 2/3] net: sh_eth: Support reset GPIO both in mac and phy node

2018-06-17 Thread Marek Vasut
The recent DTs have the PHY reset GPIO in the PHY node rather than the ethernet MAC node, support extracting the PHY reset GPIO info from both the PHY node and ethernet MAC node. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/sh_eth.c | 13 +++-- 1

[U-Boot] [PATCH 1/3] net: ravb: Support reset GPIO both in mac and phy node

2018-06-17 Thread Marek Vasut
The recent DTs have the PHY reset GPIO in the PHY node rather than the ethernet MAC node, support extracting the PHY reset GPIO info from both the PHY node and ethernet MAC node. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Joe Hershberger --- drivers/net/ravb.c | 13 +++-- 1 f

Re: [U-Boot] [PATCH] usb: sunxi: ohci: make ohci_t the first member in private data

2018-06-17 Thread Marek Vasut
On 06/17/2018 06:13 PM, Vasily Khoruzhick wrote: > ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be > the first member in private data struct. > > Fixes 831cc98b1 ("usb: sunxi: Simplify ccm reg base code") > > Signed-off-by: Vasily Khoruzhick Sigh, I really wonder how (or if at a

[U-Boot] P4080DS SerDes configuration (and P4080DS memory, mabye?)

2018-06-17 Thread Wolfgang Wegner
Dear QoriQ experts, I am trying to set up a P4080DS board. The manual (P4080DSUG.pdf) lists SerDes configurations with Bank 1 lanes A-H used as PCIe, and Banks 2 and 3 as SGMII (one of them configured as XAUI would be OK, too - what is important to me is 3 PCI slots and an SGMII slot). U-Boot lis

[U-Boot] Q about ARM "boot_mode.h"

2018-06-17 Thread Wis Macomson
On Github: linux-u-boot/arch/arm/include/asm/arch-rockchip/boot_mode.h contains these lines 21-26 #ifndef __ASSEMBLY__ int setup_boot_mode(void); #endif int setup_boot_mode(void); Won't this give multiple definitions of "setup_boot_mode" if __ASSEMBLY__ is not defined? -wis

Re: [U-Boot] [RFC] ARM: rmobile: create DT memory nodes for R8A7795 3.0 and newer

2018-06-17 Thread Laurent Pinchart
Hi Marek, On Saturday, 16 June 2018 02:42:30 EEST Marek Vasut wrote: > On 06/16/2018 01:21 AM, Laurent Pinchart wrote: > > On Friday, 15 June 2018 15:00:31 EEST Marek Vasut wrote: > >> On 06/15/2018 01:43 PM, Marek Vasut wrote: > >>> On 06/15/2018 12:37 PM, Ulrich Hecht wrote: > On Fri, Jun 1

Re: [U-Boot] [PATCH] spi: mxc: Fix compilation problem of DM_SPI class driver

2018-06-17 Thread Michael Nazzareno Trimarchi
Hi On Sun, Jun 17, 2018 at 8:27 PM, Michael Trimarchi wrote: > drivers/spi/mxc_spi.c:507: undefined reference to `dev_get_addr' > linux-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509 > > Change-Id: I1df196ed847cf06e19d3039bc4461eb8bd928a83 I will repost without change id ;) >

[U-Boot] [PATCH] spi: mxc: Fix compilation problem of DM_SPI class driver

2018-06-17 Thread Michael Trimarchi
drivers/spi/mxc_spi.c:507: undefined reference to `dev_get_addr' linux-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509 Change-Id: I1df196ed847cf06e19d3039bc4461eb8bd928a83 Signed-off-by: Michael Trimarchi --- drivers/spi/mxc_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[U-Boot] [PATCH] usb: sunxi: ohci: make ohci_t the first member in private data

2018-06-17 Thread Vasily Khoruzhick
ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be the first member in private data struct. Fixes 831cc98b1 ("usb: sunxi: Simplify ccm reg base code") Signed-off-by: Vasily Khoruzhick --- drivers/usb/host/ohci-sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[U-Boot] [PATCH V2] eth: dm: fec: Add gpio phy reset binding

2018-06-17 Thread Michael Trimarchi
Add the missing gpio phy reset binding to the gpio and reset time configuration Signed-off-by: Michael Trimarchi --- Changes v1 -> v2: - fix commit message - fix timeout property read --- drivers/net/fec_mxc.c | 43 +-- drivers/net/fec_mxc.

[U-Boot] Please pull u-boot-x86

2018-06-17 Thread Bin Meng
Hi Tom, The following changes since commit a715415bb5948c84cc44c601b193188990f7238b: Merge branch 'master' of git://git.denx.de/u-boot-usb (2018-06-16 00:07:37 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to 0102023966558075e52

Re: [U-Boot] [PATCH v2 10/13] dm: video: Add an EFI framebuffer driver

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > This adds a DM video driver for U-Boot as the EFI payload. The driver > makes use of all necessary information from the passed EFI GOP info > to create a linear framebuffer device, as if it were initialized by > U-Boot itself. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 06/13] x86: Add generic EFI payload support

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > It is possible to create a generic EFI payload for all x86 boards. > The payload is configured to include as many generic drivers as > possible. All stuff that touches low-level initialization are not > allowed as such is the EFI BIOS's responsib

Re: [U-Boot] [PATCH v2 08/13] x86: baytrail: Drop EFI-specific test logics

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > Now that we have generic EFI payload support, drop EFI-specific test > logics in BayTrail Kconfig and codes, and all BayTrail boards too. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/bay

Re: [U-Boot] [PATCH v2 09/13] efi: stub: Pass EFI GOP information to U-Boot payload

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > If UEFI BIOS has the graphics output protocol (GOP), let's pass its > information to U-Boot payload so that U-Boot can utilize it (eg: > an EFI framebuffer driver). > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > --- > > Changes in v2:

Re: [U-Boot] [PATCH v2 13/13] x86: efi: app: Display correct CPU info during boot

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > Currently when EFI application boots, it says: > > CPU: x86_64, vendor , device 0h > > Fix this by calling x86_cpu_init_f() in arch_cpu_init(). > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > > --- > > Changes in v2: > - drop patches

Re: [U-Boot] [PATCH v2 11/13] x86: efi: payload: Add EFI framebuffer driver support

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > This turns on the EFI framebuffer driver support so that a graphics > console can be of additional help. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/dts/efi-x86_payload.dts | 4 > boa

Re: [U-Boot] [PATCH v2 12/13] x86: Rename efi-x86 target to efi-x86_app

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > To avoid confusion, let's rename the efi-x86 target to efi-x86_app. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > > --- > > Changes in v2: > - update README.u-boot_on_efi to use efi-x86_app > > arch/x86/cpu/efi/Makefile

Re: [U-Boot] [PATCH v2 05/13] x86: efi: payload: Add arch_cpu_init()

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > This adds arch_cpu_init() to the payload codes, in preparation for > supporting a generic efi payload. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/efi/payload.c | 11 --- > 1 fi

Re: [U-Boot] [PATCH v2 04/13] x86: efi: Refactor the directory of EFI app and payload support

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > At present the EFI application and payload support codes in the x86 > directory is distributed in a hybrid way. For example, the Kconfig > options for both app and payload are in arch/x86/lib/efi/Kconfig, > but the source codes in the same direct

Re: [U-Boot] [PATCH v2 07/13] x86: Drop QEMU-specific EFI payload support

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > Now that we have generic EFI payload support for all x86 boards, > drop the QEMU-specific one. > > Signed-off-by: Bin Meng > Reviewed-by: Simon Glass > > --- > > Changes in v2: > - update QEMU MAINTAINERS file to remove defconfig files > > arc

Re: [U-Boot] [PATCH v2 01/13] x86: doc: Fix reference to EFI doc in U-Boot

2018-06-17 Thread Bin Meng
On Tue, Jun 12, 2018 at 11:36 PM, Bin Meng wrote: > Since commit f3b5056c4e72 ("efi_loader: split README.efi into two > separate documents"), the original README.efi was renamed to > README.u-boot_on_efi, but x86 doc still refers to the old one. > > This updates the x86 doc to reference both READM

Re: [U-Boot] [PULL] u-boot-usb/master

2018-06-17 Thread Tom Rini
On Sat, Jun 16, 2018 at 02:12:30AM +0200, Marek Vasut wrote: > The following changes since commit 7868909ed53ed41a945f7ed95ebb88aa252142ce: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2018-06-12 13:25:24 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-usb.g

[U-Boot] [PATCH 5/5] x86: efi-x86_payload: Enable usb keyboard during boot

2018-06-17 Thread Bin Meng
For boards that don't route serial port pins out, it's quite common to attach a USB keyboard as the input device, along with a monitor. However USB is not automatically started in the generic efi payload codes. This uses a payload specific last_stage_init() to start the USB bus, so that a USB keybo

[U-Boot] [PATCH 4/5] x86: efi-x86_payload: Enumerate PCI bus during early boot

2018-06-17 Thread Bin Meng
The generic efi payload currently does not enumerate the PCI bus, which means peripherals on the PCI bus are not discovered by their drivers. This uses board_early_init_r() to do the PCI enumeration. Signed-off-by: Bin Meng --- board/efi/efi-x86_payload/Kconfig | 1 + board/efi/efi-x86_paylo

[U-Boot] [PATCH 3/5] efi: stub: Move the use_uart assignment immediately after exit_boot_services() call

2018-06-17 Thread Bin Meng
The use_uart assignment should follow immediately after the call to exit_boot_services(), in case we want some debug output after that. Signed-off-by: Bin Meng --- lib/efi/efi_stub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi/efi_stub.c b/lib/efi/efi_stub.

[U-Boot] [PATCH 2/5] board_r: Do not initialize IDE when DM BLK is on

2018-06-17 Thread Bin Meng
With driver model philosophy, we should avoid explicitly calling driver initialization routine during boot. This updates the ram init sequence table to exclude the IDE initialization for DM BLK. Signed-off-by: Bin Meng --- common/board_r.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

[U-Boot] [PATCH 1/5] x86: qemu: Change default vesa mode to 1024x768x32

2018-06-17 Thread Bin Meng
The default vesa mode was changed since commit 55b4e1b7d999 ("x86: Change default FRAMEBUFFER_VESA_MODE of some boards") for better VxWorks compatibility but with the changes QEMU video console no longer works. This is because QEMU's vgabios implements the VESA mode 8:8:8 as 24bpp without an alpha

[U-Boot] [PATCH 1/2] net: mvneta: dcache flush TX descriptors at init

2018-06-17 Thread Baruch Siach
From: Rabeeh Khoury This fixes sporadic timeout on initial packet Tx (usually ARP), with an error message like: timeout: packet not sent Signed-off-by: Rabeeh Khoury Signed-off-by: Baruch Siach --- drivers/net/mvneta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mvneta.

[U-Boot] [PATCH 2/2] net: mvneta: zero Tx descriptors on init

2018-06-17 Thread Baruch Siach
From: Rabeeh Khoury Make the initialization sequence consistent with the Linux kernel driver. Signed-off-by: Rabeeh Khoury Signed-off-by: Baruch Siach --- drivers/net/mvneta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index 316a72b16517..3

[U-Boot] [PATCH] eth: dm: fec: Add gpio phy reset binding

2018-06-17 Thread Michael Trimarchi
Add the missing gpio phy reset binding to the gpio and it's reset time configuration Signed-off-by: Michael Trimarchi --- drivers/net/fec_mxc.c | 42 -- drivers/net/fec_mxc.h | 5 - 2 files changed, 40 insertions(+), 7 deletions(-) diff --git a/drive

[U-Boot] [PATCH] ARM: dts: rmobile: Move the PHY reset GPIO back

2018-06-17 Thread Marek Vasut
The current state of RAVB driver expects the PHY reset GPIO in the RAVB mode, move it back from the PHY node to avoid breakage. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/arm/dts/salvator-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts