Re: [U-Boot] [uboot] [PATCH 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > Move the phy_interface_is_rgmii to the phy.h > file for all phy's to be able to use the API. > > This now aligns with the Linux kernel based on > commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 > > Signed-off-by: Dan Murphy > --- > drivers/net/phy/ti.c | 1

Re: [U-Boot] [uboot] [PATCH 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > The code assumed that if the interface is not RGMII configured > then it must be SGMII configured. This device has the ability > to support most of the MII interfaces. Therefore add the > helper for SGMII and only configure the device if the interface is > c

Re: [U-Boot] [uboot] [PATCH 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > Add a helper to phy.h to identify whether the > phy is configured for SGMII all variables. > > Signed-off-by: Dan Murphy > --- > include/phy.h | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/include/phy.h b/include/phy.h > index 7b2d1

Re: [U-Boot] [uboot] [PATCH v4 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > Add the device tree bindings and the accompanying documentation > for the TI DP83867 Giga bit ethernet phy driver. > > The original document was from: > [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] > > Signed-off-by: Dan Murphy

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to the default. > > If devicetree is n

Re: [U-Boot] [uboot] [PATCH 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > Add the ability to pass the phy-handle node offset > to the phy driver. This allows the phy driver > to access the DT subnode's data and parse accordingly. > > Signed-off-by: Dan Murphy > --- > drivers/net/zynq_gem.c | 12 +--- > 1 file changed, 9

Re: [U-Boot] [uboot] [PATCH 1/7] drivers: net: cpsw: Add readinf of DT phy-handle node

2016-04-11 Thread Michal Simek
On 8.4.2016 18:08, Dan Murphy wrote: > Add the ability to read the phy-handle node of the > cpsw slave. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data that is available.

Re: [U-Boot] [PATCH v8 6/9] drivers: serial: add serial driver for ar933x SOC

2016-04-11 Thread Wills Wang
On Sunday, April 10, 2016 02:34 AM, Simon Glass wrote: Hi Wills, On 16 March 2016 at 02:59, Wills Wang wrote: This patch add support for ar933x serial. Reviewed-by: Thomas Chou Reviewed-by: Daniel Schwierzeck Reviewed-by: Simon Glass Signed-off-by: Wills Wang Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 3/3] tests: py: dfu: Provide functionality to set test and dummy files alt settings

2016-04-11 Thread Lukasz Majewski
Hi Stephen, > On 04/08/2016 09:44 AM, Lukasz Majewski wrote: > > After concatenation of "dfu_alt_info" variable from "dfu_alt_boot" > > and "dfu_alt_system" it may happen that test and dummy files alt > > settings are different than default 0 and 1. > > > > This patch provides ability to set diffe

[U-Boot] [PATCH 0/3] ARM: at91: sama5d2_xplained: change SDHCI GCK's clock source to UPLL

2016-04-11 Thread Wenyou Yang
To align to the Linux driver, change the clock source of the SDHCI's generated clock from PLLA to UPLL clock. Wenyou Yang (3): ARM: at91: clock: fix the GCK's clock source ARM: at91: clock: complete the GCK's clock sources board: sama5d2_xplained: change SDHCI GCK's clock source to UPLL a

[U-Boot] [PATCH 1/3] ARM: at91: clock: fix the GCK's clock source

2016-04-11 Thread Wenyou Yang
Before enabling a generated clock whose source is from the UPLL clock, check and enable the UPLL clock. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/armv7/clock.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-at91/armv7/clock.c b/arch/arm/mach-at91/armv7/clock.c in

[U-Boot] [PATCH 2/3] ARM: at91: clock: complete the GCK's clock sources

2016-04-11 Thread Wenyou Yang
Add the UPLL clock and master clock as a clock source for getting the generated clock frequency to complete its clock sources support. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/armv7/clock.c | 6 ++ arch/arm/mach-at91/include/mach/clk.h | 2 ++ 2 files changed, 8 insertions(+)

[U-Boot] [PATCH 3/3] board: sama5d2_xplained: change SDHCI GCK's clock source to UPLL

2016-04-11 Thread Wenyou Yang
Change the clock source of the SDHCI's generated clock from PLLA to UPLL clock to align to Linux driver. Signed-off-by: Wenyou Yang --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xp

[U-Boot] [PATCH] ARM64: zynqmp: Add defconfig for zcu102 revB board

2016-04-11 Thread Michal Simek
Support natively revB board. Till now support for revB was done via zcu102 defconfig where device-tree was changed to revB. This patch is adding direct defconfig for RevB. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zcu102_revB_defconfig | 27 +++ 1 file change

[U-Boot] [PATCH] ARM64: zynqmp: Remove netdev.h from board file

2016-04-11 Thread Michal Simek
Including netdev.h is causing compilation warning: + int fecmxc_register_mii_postcall(struct eth_device *dev, int (*cb)(int)); + ^ w+In file included from ../board/xilinx/zynqmp/zynqmp.c:9:0: w+../include/netdev.h:204:41: warning: ‘struct eth_device’ declared

[U-Boot] [PATCH] spl: mmc: raw: Try to load u-boot if Linux image is not found

2016-04-11 Thread Lokesh Vutla
If CONFIG_SPL_OS_BOOT is enabled and Linux image is not flashed at RAW_MODE_KERNEL_SECTOR in MMC, spl still assumes that Linux is available and tries to boot it and hangs. In order to avoid this, adding a check to verify if parsed image header is of type IH_OS_LINUX. If it fails then fall back to l

[U-Boot] [PATCH 2/7] gpio: Kconfig: Enable Zynq GPIO driver using kconfig

2016-04-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Enable DM GPIO and ZYNQ GPIO using kconfig instead of the board config file. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- There could be conflict with pca953x in Kconfig --- arch/arm/Kconfig | 1 + drivers/gpio/Kconf

[U-Boot] [PATCH 3/7] gpio: zynq: Remove non driver model code

2016-04-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Remove non driver model support as it moved to driver model. Dont need non driver model anymore. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/mach-zynq/include/mach/gpio.h | 2 - drivers/gpio/zynq_gpio.c |

[U-Boot] [PATCH 1/7] gpio: zynq: Convert Zynq GPIO to driver model

2016-04-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Convert Zynq GPIO driver to driver model Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/gpio/zynq_gpio.c | 151 +++ 1 file changed, 151 insertions(+) diff --git a/drivers/gpio/zyn

[U-Boot] [PATCH 4/7] gpio: zynq: Move the definitions to driver file

2016-04-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Move all the gpio definitions to driver file as there is no use of them in other files. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/mach-zynq/include/mach/gpio.h | 61 -- drivers/gpio/zynq

[U-Boot] [PATCH 7/7] ARM64: zynqmp: Enable CMD_GPIO and DM_GPIO for ep108

2016-04-11 Thread Michal Simek
Enable missing GPIO options. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_ep_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig index 9f72abaabb05..b45c7f281c2f 100644 --- a/configs/xilinx_zynqmp_ep_d

[U-Boot] [PATCH 5/7] gpio: zynqmp: Add GPIO driver support for ZynqMP

2016-04-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Add GPIO driver support for ZynqMP platform Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/gpio/zynq_gpio.c | 200 ++- 1 file changed, 147 insertions(+), 53 deletions(-) diff --gi

[U-Boot] [PATCH 6/7] zynqmp: Kconfig: Enable ZYNQ_GPIO for ZynqMP

2016-04-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Enable ZYNQ_GPIO for ZynqMP using Kconfig. It enables the GPIO driver support for ZynqMP. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/gpio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

[U-Boot] is there an official MAINTAINER for u-boot POST support?

2016-04-11 Thread Robert P. J. Day
as i posted sort of recently, i'm playing with the POST tests for the first time and it's clear that the docs (doc/README.POST) is a bit out of date, so i'm willing to submit a patch or two to bring it at least a bit closer to current. there is (AFAICT) no official maintainer for the POST stu

[U-Boot] [PATCH] Revert "T2080QDS/PCIe: Soft Reset PCIe on T2080QDS for down-training issue"

2016-04-11 Thread Zhao Qiang
This reverts commit 5066e62847bddf6030262ade2aa3e7bcdc930037. The reverted patch will block t2080RDB iNiC, it was a workaround for T2080QDS down-training issue, we need to revert it and find the root cause for T2080QDS down-training issue. Signed-off-by: Zhao Qiang --- drivers/pci/fsl_pci_init.

Re: [U-Boot] [PATCH] usb: ums - expose selected partition/s

2016-04-11 Thread Lukasz Majewski
Hi John, > By applying this patch, it will give us some flexibility to expose > a selected partition/s. > > e.g: > 1. To expose several partitions > ums 0 mmc 0:1,0:6 > > 2. To expose the all partitions > ums 0 mmc 0:0 > > 3. To expose multiple partititions on several devices > ums 0 mmc 0:1,1:

Re: [U-Boot] Ethernet via USB on Sinlinx SinA33

2016-04-11 Thread Hans de Goede
Hi, On 11-04-16 12:25, Quentin Schulz wrote: Hi, On 06/04/2016 17:24, Hans de Goede wrote: Hi, On 29-03-16 08:38, Quentin Schulz wrote: Hi, On 28/03/2016 14:56, Hans de Goede wrote: Hi, On 25-03-16 18:14, Quentin Schulz wrote: Hi, I am trying to get Ethernet to work through the USB port

Re: [U-Boot] [PATCH 09/10] ddr: altera: Staticize global variables

2016-04-11 Thread Pavel Machek
On Thu 2016-04-07 04:04:05, Marek Vasut wrote: > Just staticize global variables in sequencer, since there is no > point in having these symbols available outside of the DDR code. > > Signed-off-by: Marek Vasut > Cc: Dinh Nguyen > Cc: Chin Liang See Acked-by: Pavel Machek -- (english) http:

Re: [U-Boot] [PATCH] USB: g_dnl: Change device class

2016-04-11 Thread Lukasz Majewski
Hi John, > The USB Mass Storage (ums) works in Windows, Linux and OS X (EL > Capitan). But, not in OS X (Yosemite). By applying the said patch, it > extends the ums support. > > Signed-off-by: John Tobias Acked-by: Lukasz Majewski Tested-by: Lukasz Majewski Test HW: Odroid XU3 with test/py f

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-11 Thread Lukasz Majewski
Hi Semen, > > Hi All, > > This patch series move next options to Kconfigs/defconfigs: > - CONFIG_USB_DWC3* > - CONFIG_USB_GADGET_VBUS_DRAW > - CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3 platforms > for now) > - CONFIG_USB_GADGET_DOWNLOAD > - CONFIG_G_DNL_* > > All defconfig file

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-11 Thread Mugunthan V N
On Friday 08 April 2016 12:10 AM, Marek Vasut wrote: > On 04/07/2016 06:46 PM, Sam Protsenko wrote: >> On Thu, Apr 7, 2016 at 10:36 AM, Lukasz Majewski >> wrote: >>> Hi Steve, >>> No -- I do not believe that this issue is caused by different fastboot (client) versions (the executable th

[U-Boot] [PATCH] GPIO: pca953x: Remove compilation warnings on arm64

2016-04-11 Thread Michal Simek
Warnings: w+../drivers/gpio/pca953x.c: In function ‘do_pca953x’: w+../drivers/gpio/pca953x.c:220:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] w+../drivers/gpio/pca953x.c:233:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Si

[U-Boot] [PATCH] ARM64: zynqmp: Enable pca953x driver for zcu102

2016-04-11 Thread Michal Simek
zcu102 has two pca953x on i2c bus 0. Chips 0x20 and 0x21. Enable option to work with these two chips. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp_zcu102.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/xilinx_zynqmp_zcu102.h b/include/configs/xilinx_z

Re: [U-Boot] [PATCH] lib/crc8: Add crc start value

2016-04-11 Thread Simon Glass
On 8 April 2016 at 07:56, Stefan Roese wrote: > > To make the usage of this function more flexible, lets add the CRC start > value as parameter to this function. This way it can be used by other > functions requiring different start values than 0 as well. > > For non-zero CRC start values to work,

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Dan Murphy
On 04/11/2016 02:08 AM, Michal Simek wrote: > On 8.4.2016 18:08, Dan Murphy wrote: >> Not all devices use the same internal delay or fifo depth. >> Add the ability to set the internal delay for rx or tx and the >> fifo depth via the devicetree. If the value is not set in the >> devicetree then set

Re: [U-Boot] [PATCH] buildman: allow more incremental building

2016-04-11 Thread Simon Glass
Hi, On 1 April 2016 at 07:35, Tom Rini wrote: > On Mon, Mar 28, 2016 at 04:39:35PM -0600, Stephen Warren wrote: > >> From: Stephen Warren >> >> One use-case for buildman is to continually run it interactively after >> each small step in a large refactoring operation. This gives more >> immediate

Re: [U-Boot] [PATCH] dm: gpio: pca953x: introduce driver model support for pca953x

2016-04-11 Thread Michal Simek
On 11.4.2016 07:47, Peng Fan wrote: > On Sat, Apr 09, 2016 at 12:33:34PM -0600, Simon Glass wrote: >> On 18 March 2016 at 03:54, Peng Fan wrote: >>> Introduce a new driver that supports driver model for pca953x. >>> The pca953x chips are used as I2C I/O expanders. >>> This driver is designed to su

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Michal Simek
On 11.4.2016 14:01, Dan Murphy wrote: > On 04/11/2016 02:08 AM, Michal Simek wrote: >> On 8.4.2016 18:08, Dan Murphy wrote: >>> Not all devices use the same internal delay or fifo depth. >>> Add the ability to set the internal delay for rx or tx and the >>> fifo depth via the devicetree. If the va

Re: [U-Boot] [uboot] [PATCH v4 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Dan Murphy
Michal On 04/11/2016 07:11 AM, Michal Simek wrote: > On 11.4.2016 14:01, Dan Murphy wrote: >> On 04/11/2016 02:08 AM, Michal Simek wrote: >>> On 8.4.2016 18:08, Dan Murphy wrote: Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx o

[U-Boot] [uboot] [PATCH v5 1/7] drivers: net: cpsw: Add reading of DT phy-handle node

2016-04-11 Thread Dan Murphy
Add the ability to read the phy-handle node of the cpsw slave. Upon reading this handle the phy-id can be stored based on the reg node in the DT. The phy-handle also needs to be stored and passed to the phy to access any phy data that is available. Signed-off-by: Dan Murphy --- v5 - Fix checkp

[U-Boot] [uboot] [PATCH v5 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Dan Murphy
Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx or tx and the fifo depth via the devicetree. If the value is not set in the devicetree then set the delay to the default. If devicetree is not used then use the default defines within the d

[U-Boot] [uboot] [PATCH v5 6/7] net: phy: Add phy_interface_is_sgmii to phy.h

2016-04-11 Thread Dan Murphy
Add a helper to phy.h to identify whether the phy is configured for SGMII all variables. Signed-off-by: Dan Murphy --- v5 - No change include/phy.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/phy.h b/include/phy.h index 7b2d1ff..ef3eb51 100644 --- a/include/phy.h +

[U-Boot] [uboot] [PATCH v5 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-11 Thread Dan Murphy
Move the phy_interface_is_rgmii to the phy.h file for all phy's to be able to use the API. This now aligns with the Linux kernel based on commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 Signed-off-by: Dan Murphy --- v5 - No change drivers/net/phy/ti.c | 11 --- include/phy.h|

[U-Boot] [uboot] [PATCH v5 3/7] net: phy: dp83867: Add device tree bindings and documentation

2016-04-11 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy --- v5 - Removed /t between define and variable

[U-Boot] [uboot] [PATCH v5 7/7] net: phy: dp83867: Add SGMII helper for configuration

2016-04-11 Thread Dan Murphy
The code assumed that if the interface is not RGMII configured then it must be SGMII configured. This device has the ability to support most of the MII interfaces. Therefore add the helper for SGMII and only configure the device if the interface is configured for SGMII. Signed-off-by: Dan Murphy

[U-Boot] [uboot] [PATCH v5 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-11 Thread Dan Murphy
Add the ability to pass the phy-handle node offset to the phy driver. This allows the phy driver to access the DT subnode's data and parse accordingly. Signed-off-by: Dan Murphy --- v5 - Removed unused variable and fixed checkpatch warning - https://patchwork.ozlabs.org/patch/608083/ drivers

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-04-11 Thread Simon Glass
+Mugunthan, who seems to have been dropped from this thread On 8 April 2016 at 13:45, Tom Rini wrote: > On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote: >> Hi, >> >> On 31 March 2016 at 09:24, Marek Vasut wrote: >> > On 03/31/2016 05:11 PM, Tom Rini wrote: >> >> On Thu, Mar 31, 2016

Re: [U-Boot] [PATCH] dm: gpio: pca953x: introduce driver model support for pca953x

2016-04-11 Thread Michal Simek
On 11.4.2016 14:09, Michal Simek wrote: > On 11.4.2016 07:47, Peng Fan wrote: >> On Sat, Apr 09, 2016 at 12:33:34PM -0600, Simon Glass wrote: >>> On 18 March 2016 at 03:54, Peng Fan wrote: Introduce a new driver that supports driver model for pca953x. The pca953x chips are used as I2C I/

[U-Boot] [PATCH v2] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-04-11 Thread Yunhui Cui
From: Yunhui Cui The SP805-WDT module on LS2080A and LS2085A, requires configuration of PMU's PCTBENR register to enable watchdog counter decrement and reset signal generation. In order not to affect the sp805wdt driver frame, we enable the watchdog clk in advance. Signed-off-by: Yunhui Cui ---

Re: [U-Boot] [PATCH] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-04-11 Thread Yunhui Cui
Hi Bhupesh, Thanks for your suggestions about the patch. I will update it in the next version. Thanks Yunhui -Original Message- From: Bhupesh Sharma Sent: Friday, April 08, 2016 11:17 PM To: Yunhui Cui; york sun Cc: Yunhui Cui; u-boot@lists.denx.de Subject: RE: [U-Boot] [PATCH] armv8/l

[U-Boot] [PATCH] armv8/fdt: add fixup_crypto_node

2016-04-11 Thread Alex Porosanu
For Qoriq PPC&ARM v7 platforms, the crypto node is being fixup'ed in order to update the SEC internal version (aka SEC ERA). This patch adds the same functionality to the ARMv8 SoCs. Signed-off-by: Alex Porosanu --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 19 +++ 1 file changed

Re: [U-Boot] Ethernet via USB on Sinlinx SinA33

2016-04-11 Thread Quentin Schulz
Hi, On 11/04/2016 13:07, Hans de Goede wrote: > Hi, > > On 11-04-16 12:25, Quentin Schulz wrote: >> Hi, >> >> On 06/04/2016 17:24, Hans de Goede wrote: >>> Hi, >>> >>> On 29-03-16 08:38, Quentin Schulz wrote: Hi, On 28/03/2016 14:56, Hans de Goede wrote: > Hi, > > On 25

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-11 Thread B, Ravi
Tom > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Tom Rini > Sent: Saturday, April 09, 2016 1:14 AM > To: Sam Protsenko > Cc: Marek Vasut; Steve Rae; U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be >

Re: [U-Boot] Ethernet via USB on Sinlinx SinA33

2016-04-11 Thread Quentin Schulz
Hi, On 06/04/2016 17:24, Hans de Goede wrote: > Hi, > > On 29-03-16 08:38, Quentin Schulz wrote: >> Hi, >> >> On 28/03/2016 14:56, Hans de Goede wrote: >>> Hi, >>> >>> On 25-03-16 18:14, Quentin Schulz wrote: Hi, I am trying to get Ethernet to work through the USB port of the Sinli

Re: [U-Boot] [RFC 2/2] dm: i2c: Add driver for Cadence I2C IP

2016-04-11 Thread Michal Simek
Hi Heiko, On 4.1.2016 08:15, Heiko Schocher wrote: > Hello Moritz, > > Am 28.12.2015 um 18:47 schrieb Moritz Fischer: >> This is a possible drop in replacement for drivers/i2c/zynq-i2c.c >> >> Since this is cadence IP it has been renamed to cdns-i2c, >> to make sense with the compatible string. >

[U-Boot] [PATCH v2 1/2] i2c: Describe Cadence I2C devicetree bindings

2016-04-11 Thread Michal Simek
From: Moritz Fischer Signed-off-by: Moritz Fischer Signed-off-by: Michal Simek --- Changes in v2: None doc/device-tree-bindings/i2c/i2c-cdns.txt | 20 1 file changed, 20 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-cdns.txt diff --git a/doc/device-

[U-Boot] [PATCH v2 2/2] dm: i2c: Add driver for Cadence I2C IP

2016-04-11 Thread Michal Simek
From: Moritz Fischer This is a possible drop in replacement for drivers/i2c/zynq-i2c.c Since this is cadence IP it has been renamed to cdns-i2c, to make sense with the compatible string. Signed-off-by: Moritz Fischer Signed-off-by: Michal Simek --- Changes in v2: - Use dev_get_addr for readi

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-11 Thread Sam Protsenko
On Mon, Apr 11, 2016 at 2:24 PM, Lukasz Majewski wrote: > Hi Semen, > >> >> Hi All, >> >> This patch series move next options to Kconfigs/defconfigs: >> - CONFIG_USB_DWC3* >> - CONFIG_USB_GADGET_VBUS_DRAW >> - CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3 platforms >> for now) >> - CON

Re: [U-Boot] [uboot] [PATCH v5 4/7] net: phy: ti: Allow the driver to be more configurable

2016-04-11 Thread Michal Simek
On 11.4.2016 14:18, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to the default. > > If devicetree is

Re: [U-Boot] [uboot] [PATCH v5 2/7] net: zynq_gem: Add the passing of the phy-handle node

2016-04-11 Thread Michal Simek
On 11.4.2016 14:18, Dan Murphy wrote: > Add the ability to pass the phy-handle node offset > to the phy driver. This allows the phy driver > to access the DT subnode's data and parse accordingly. > > Signed-off-by: Dan Murphy > --- > > v5 - Removed unused variable and fixed checkpatch warning -

Re: [U-Boot] [uboot] [PATCH v5 5/7] net: phy: Move is_rgmii helper to phy.h

2016-04-11 Thread Michal Simek
On 11.4.2016 14:18, Dan Murphy wrote: > Move the phy_interface_is_rgmii to the phy.h > file for all phy's to be able to use the API. > > This now aligns with the Linux kernel based on > commit e463d88c36d42211aa72ed76d32fb8bf37820ef1 > > Signed-off-by: Dan Murphy > --- > > v5 - No change > >

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-11 Thread Lukasz Majewski
Hi Sam, > On Mon, Apr 11, 2016 at 2:24 PM, Lukasz Majewski > wrote: > > Hi Semen, > > > >> > >> Hi All, > >> > >> This patch series move next options to Kconfigs/defconfigs: > >> - CONFIG_USB_DWC3* > >> - CONFIG_USB_GADGET_VBUS_DRAW > >> - CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3

[U-Boot] [PATCH 1/8] iso: Make little endian and 64bit safe

2016-04-11 Thread Alexander Graf
The iso partition table implementation has a few endian and 64bit problems. Clean it up a bit to become endian and bitness safe. Signed-off-by: Alexander Graf --- disk/part_iso.c | 10 -- disk/part_iso.h | 40 2 files changed, 24 insertions(+), 26

[U-Boot] [PATCH 7/8] efi_loader: Increase path string to 32 characters

2016-04-11 Thread Alexander Graf
Whenever we want to tell our payload about a path, we limit ourselves to a reasonable amount of characters. So far we only passed in device names - exceeding 16 chars was unlikely there. However by now we also pass real file path information, so let's increase the limit to 32 characters. That way

[U-Boot] [PATCH 2/8] iso: Start with partition 1

2016-04-11 Thread Alexander Graf
The generic partition code treats partition 0 as "whole disk". So we should start with partition 1 as the first partition in the iso partition table. Signed-off-by: Alexander Graf --- disk/part_iso.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disk/part_iso.c b/disk/p

[U-Boot] [PATCH 0/8] efi_loader: Support loading from El Torito isos

2016-04-11 Thread Alexander Graf
Some distributions still provide .iso files for installation media. To give us greatest flexibility, this patch set adds support for El Torito booting with EFI payloads. Please consider for 2016.05 still. Thanks, Alex Alexander Graf (8): iso: Make little endian and 64bit safe iso: Start w

[U-Boot] [PATCH 3/8] iso: Allow 512 byte sector size

2016-04-11 Thread Alexander Graf
Real CD-ROMs are pretty obsolete these days. Usually people still keep iso files around, but just put them on USB sticks or SD cards and expect them to "just work". To support this use case with El Torito images, add support for 512 byte sector size to the iso parsing code. Signed-off-by: Alexand

[U-Boot] [PATCH 6/8] efi_loader: Pass file path to payload

2016-04-11 Thread Alexander Graf
The payload gets information on where it got loaded from. This includes the device as well as file path. So far we've treated both as the same thing and always gave it the device name. However, in some situations grub2 actually wants to find its loading path to find its configuration file. So let

[U-Boot] [PATCH 5/8] efi_loader: Add el torito support

2016-04-11 Thread Alexander Graf
When loading an el torito image, uEFI exposes said image as a raw block device to the payload. Let's do the same by creating new block devices with added offsets for the respective el torito partitions. Signed-off-by: Alexander Graf --- cmd/bootefi.c | 14 ++ lib/efi_loa

[U-Boot] [PATCH 4/8] efi_loader: Split drive add into function

2016-04-11 Thread Alexander Graf
The snippet of code to add a drive to our drive list needs to get called from 2 places in the future. Split it into a separate function. Signed-off-by: Alexander Graf --- lib/efi_loader/efi_disk.c | 84 ++- 1 file changed, 47 insertions(+), 37 deletion

[U-Boot] [PATCH 8/8] distro: Enable iso partition code

2016-04-11 Thread Alexander Graf
Now that we can properly boot EFI payloads from iso el torito images, let's enable support for isos by default in the distro header. Signed-off-by: Alexander Graf --- include/config_distro_defaults.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/config_distro_defaults.h b/include/c

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-11 Thread Michal Simek
On 11.4.2016 16:43, Simon Glass wrote: > Hi Michal, > > On 11 April 2016 at 08:41, Michal Simek wrote: >> On 9.4.2016 20:36, Simon Glass wrote: >>> Hi Michal, >>> >>> On 6 April 2016 at 12:28, Michal Simek wrote: On 6.4.2016 03:28, Masahiro Yamada wrote: > Hi. > > > 2016-04-

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-11 Thread Simon Glass
Hi Michal, On 11 April 2016 at 08:41, Michal Simek wrote: > On 9.4.2016 20:36, Simon Glass wrote: >> Hi Michal, >> >> On 6 April 2016 at 12:28, Michal Simek wrote: >>> On 6.4.2016 03:28, Masahiro Yamada wrote: Hi. 2016-04-06 4:09 GMT+09:00 Simon Glass : > Hi Michal, >

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-11 Thread Simon Glass
Hi Michal, On 11 April 2016 at 08:48, Michal Simek wrote: > On 11.4.2016 16:43, Simon Glass wrote: >> Hi Michal, >> >> On 11 April 2016 at 08:41, Michal Simek wrote: >>> On 9.4.2016 20:36, Simon Glass wrote: Hi Michal, On 6 April 2016 at 12:28, Michal Simek wrote: > On 6.4.20

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-04-11 Thread Mugunthan V N
On Monday 11 April 2016 05:50 PM, Simon Glass wrote: > +Mugunthan, who seems to have been dropped from this thread > > On 8 April 2016 at 13:45, Tom Rini wrote: >> On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote: >>> Hi, >>> >>> On 31 March 2016 at 09:24, Marek Vasut wrote: On 0

Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-11 Thread Simon Glass
Hi Eric, On 10 April 2016 at 08:48, Eric Nelson wrote: > Hi Simon, > > On 04/09/2016 11:33 AM, Simon Glass wrote: >> On 4 April 2016 at 11:50, Stephen Warren wrote: >>> On 04/03/2016 08:07 AM, Eric Nelson wrote: On 04/02/2016 08:37 PM, Stephen Warren wrote: > On 04/02/2016 09:13 AM, Eri

Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-11 Thread Eric Nelson
Hi Simon, On 04/11/2016 07:47 AM, Simon Glass wrote: > Hi Eric, > > On 10 April 2016 at 08:48, Eric Nelson wrote: >> Hi Simon, >> >> On 04/09/2016 11:33 AM, Simon Glass wrote: >>> On 4 April 2016 at 11:50, Stephen Warren wrote: On 04/03/2016 08:07 AM, Eric Nelson wrote: > On 04/02/2016

[U-Boot] [PATCH] efi_loader: Use system fdt as fallback

2016-04-11 Thread Alexander Graf
When the user did not pass any device tree or the boot script didn't find any, let's use the system device tree as last resort to get something the payload (Linux) may understand. This means that on systems that use the same device tree for U-Boot and Linux we can just share it and there's no need

Re: [U-Boot] [PATCH 2/2] dm: gpio: mxc: implement xlate function

2016-04-11 Thread Eric Nelson
Hi Peng, On 04/10/2016 10:28 PM, Peng Fan wrote: > On Tue, Mar 15, 2016 at 09:32:51PM -0600, Simon Glass wrote: >> On 14 March 2016 at 23:48, Peng Fan wrote: >>> To i.MX controller, we use such as "<&gpio1 3 GPIO_ACTIVE_LOW>" for >>> a device to refer a gpio pin in device tree. So need to impleme

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-11 Thread Michal Simek
On 9.4.2016 20:36, Simon Glass wrote: > Hi Michal, > > On 6 April 2016 at 12:28, Michal Simek wrote: >> On 6.4.2016 03:28, Masahiro Yamada wrote: >>> Hi. >>> >>> >>> 2016-04-06 4:09 GMT+09:00 Simon Glass : Hi Michal, On 5 April 2016 at 04:15, Michal Simek wrote: > Hi Simon, >>

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-04-11 Thread Simon Glass
Hi Mugunthan, On 11 April 2016 at 08:52, Mugunthan V N wrote: > On Monday 11 April 2016 05:50 PM, Simon Glass wrote: >> +Mugunthan, who seems to have been dropped from this thread >> >> On 8 April 2016 at 13:45, Tom Rini wrote: >>> On Wed, Apr 06, 2016 at 05:16:02PM -0600, Simon Glass wrote: >>>

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-11 Thread Michal Simek
On 11.4.2016 16:50, Simon Glass wrote: > Hi Michal, > > On 11 April 2016 at 08:48, Michal Simek wrote: >> On 11.4.2016 16:43, Simon Glass wrote: >>> Hi Michal, >>> >>> On 11 April 2016 at 08:41, Michal Simek wrote: On 9.4.2016 20:36, Simon Glass wrote: > Hi Michal, > > On 6 Apri

Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-04-11 Thread Simon Glass
Hi Eric, On 11 April 2016 at 08:55, Eric Nelson wrote: > Hi Simon, > > On 04/11/2016 07:47 AM, Simon Glass wrote: >> Hi Eric, >> >> On 10 April 2016 at 08:48, Eric Nelson wrote: >>> Hi Simon, >>> >>> On 04/09/2016 11:33 AM, Simon Glass wrote: On 4 April 2016 at 11:50, Stephen Warren wrote:

Re: [U-Boot] Please pull u-boot-mpc85xx master

2016-04-11 Thread Tom Rini
On Fri, Apr 08, 2016 at 03:45:07PM -0700, York Sun wrote: > Tom, > > The following changes since commit 46a16bd895144617575c788d9c2554aeef76ac44: > > kirkwood_nand: claim MPP pins on the fly (2016-04-06 15:40:33 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boo

Re: [U-Boot] [PATCH] board: ti: am57xx: Update EMIF SDRAM 1 and 3 Timings

2016-04-11 Thread Tom Rini
On Fri, Apr 08, 2016 at 04:53:44PM -0500, Nishanth Menon wrote: > From: Schuyler Patton > > Update EMIF data based on recommendations from the now standard TI > EMIF tool version 1.1.1 based on 256MBx16 DDR3L Kingston D2516EC4BXGGB > data sheet > > Update T_RRD from 5 to 6 based on AM57xx TRM -

Re: [U-Boot] [PATCH] board: ti: am57xx: Add support for am572x idk in SPL

2016-04-11 Thread Tom Rini
On Fri, Apr 08, 2016 at 05:01:29PM -0500, Nishanth Menon wrote: > From: Steve Kipisz > > The AM572x-IDK board (Industrial Dev Kit) is a board based on TI's AM5728x > SOC which has a dual core 1.5GHz A15 processor. This board is a development > platform for the Industrial market with: > - 2GB of

Re: [U-Boot] [PATCH 03/11] ti_omap5_common: eth: do not define DM_ETH for spl

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:02PM +0530, Mugunthan V N wrote: > Since omap's spl doesn't support DM currently, do not define > DM_ETH for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 04/11] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:03PM +0530, Mugunthan V N wrote: > On some boards number of slaves can be 1 when only one port > ethernet is pinned out. So do not break when slave_index and > num slaves check fails, instead continue to parse the next > child. > > Signed-off-by: Mugunthan V N Revi

Re: [U-Boot] [PATCH 05/11] ARM: omap5: add platform specific ethernet phy modes configurations

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:04PM +0530, Mugunthan V N wrote: > Add platforms specific phy mode configuration bits to be used > to configure phy mode in control module. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 07/11] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:06PM +0530, Mugunthan V N wrote: > Add syscon node to cpsw device node to read mac address > from efuse. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 08/11] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:07PM +0530, Mugunthan V N wrote: > Add syscon node to cpsw device node to read mac address > from efuse. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 06/11] drivers: net: cpsw: add support for reading mac address from efuse

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:05PM +0530, Mugunthan V N wrote: > Different TI platforms has to read with different combination to > get the mac address from efuse. So add support to read mac address > based on machine/device compatibles. > > The code is taken from Linux drivers/net/ethernet/ti/cp

Re: [U-Boot] [PATCH 09/11] defconfig: am437x_gp_evm: enable eth driver model

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:08PM +0530, Mugunthan V N wrote: > Enable eth driver model for am437x_gp_evm as cpsw supports > driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 11/11] defconfig: dra74_evm: enable eth driver model

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:10PM +0530, Mugunthan V N wrote: > Enable eth driver model for dra74_evm as cpsw supports > driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 10/11] defconfig: am437x_sk_evm: enable eth driver model

2016-04-11 Thread Tom Rini
On Thu, Apr 07, 2016 at 08:47:09PM +0530, Mugunthan V N wrote: > Enable eth driver model for am437x_sk_evm as cpsw supports > driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

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

2016-04-11 Thread Tom Rini
On Sun, Apr 10, 2016 at 09:17:46PM +0200, Marek Vasut wrote: > The following changes since commit 43d3fb5c0609a76409e7859a2a5800670c7b5bd2: > > Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq > (2016-04-06 14:17:22 -0400) > > are available in the git repository at: > > git://git

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

2016-04-11 Thread Tom Rini
On Sun, Apr 10, 2016 at 09:18:43PM +0200, Marek Vasut wrote: > The following changes since commit 43d3fb5c0609a76409e7859a2a5800670c7b5bd2: > > Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq > (2016-04-06 14:17:22 -0400) > > are available in the git repository at: > > git://git

Re: [U-Boot] [PATCH V3] common: env: support sata device

2016-04-11 Thread Tom Rini
On Sat, Apr 09, 2016 at 12:35:12PM -0600, Simon Glass wrote: > On 8 April 2016 at 13:45, Tom Rini wrote: > > On Sun, Apr 03, 2016 at 09:52:13PM +0800, Peng Fan wrote: > > > >> Introduce env support for sata device. > >> 1. Implement write_env/read_env/env_relocate_spec/saveenv/sata_get_env_dev > >

Re: [U-Boot] [PATCH 6/6] i2c: designware_i2c: Add support for PCI(e) based I2C cores (x86)

2016-04-11 Thread Stefan Roese
Hi Simon, On 04.04.2016 16:53, Stefan Roese wrote: Hi Simon, as you seem to be back from vacation (?), we (Bin and myself) would like to hear your expert comment on a x86 issue I've discovered while porting the Designware I2C driver to x86. Please see below: On 28.03.2016 08:01, Bin Meng wrote

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-11 Thread Marek Vasut
On 04/11/2016 04:03 AM, George Broz wrote: > On 10 April 2016 at 10:47, Marek Vasut wrote: >> On 04/09/2016 12:40 AM, George Broz wrote: >>> On 8 April 2016 at 05:36, Marek Vasut wrote: On 04/08/2016 07:16 AM, Stefan Roese wrote: > On 08.04.2016 01:51, George Broz wrote: > > >>>

  1   2   3   >