Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-06 Thread Marcel Ziswiler
On Thu, 2015-08-06 at 23:29 -0600, Simon Glass wrote: > The memalign() function arguments are around the wrong way! I assume you meant that one: diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c index 3c3e082..11d26be 100644 --- a/drivers/usb/eth/usb_ether.c +++ b/drivers/u

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Jaehoon Chung
Hi, On 08/07/2015 12:07 PM, Marek Vasut wrote: > On Friday, August 07, 2015 at 05:00:24 AM, Simon Glass wrote: >> Hi Marek, > > Hi Simon, > >> On 6 August 2015 at 20:58, Marek Vasut wrote: >>> On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: Hi Marek, >>> >>> Hi Simon, >>> >>

Re: [U-Boot] CONFIG_DM_ETH USB_ETHER_ASIX Reception Issue on Tegra

2015-08-06 Thread Simon Glass
Hi Marcel, On 4 August 2015 at 01:33, Marcel Ziswiler wrote: > On Tue, 2015-08-04 at 01:10 +0200, Marek Vasut wrote: > >> This trims down the scope quite considerably. Does the controller >> with with >> CONFIG_DM_ETH enabled if you plug in a USB stick instead of an >> ethernet ? > > Yes, USB sti

[U-Boot] [PATCH] armv8: ls2085a: Add support of CONFIG_CMD_GREPENV

2015-08-06 Thread Prabhakar Kushwaha
Enable CONFIG_CMD_GREPENV to allow search in env variables Signed-off-by: Prabhakar Kushwaha --- include/configs/ls2085a_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h index 5afee55..b75395a 100644 --- a/include/co

Re: [U-Boot] [PATCH v4 3/3] mmc: Calculate dwmmc FIFO threshold size if not provided

2015-08-06 Thread Jaehoon Chung
Hi, Could you fix the prefix of subject with dw_mmc? :) Anyway..looks good to me. Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 08/07/2015 11:16 AM, Simon Glass wrote: > We can calculate this. Add code to do this if it is not provided. > > Signed-off-by: Simon Glass > --- > > Chang

Re: [U-Boot] [PATCH v4 1/3] mmc: dw_mmc: Avoid using printf() for errors

2015-08-06 Thread Jaehoon Chung
Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 08/07/2015 11:16 AM, Simon Glass wrote: > The dw_mmc driver uses printf() in various places. > > These bloat the code and cause problems for SPL. Use debug() where possible > and try to return a useful error code instead. > > Signed-off-by

Re: [U-Boot] [PATCH] patman: Don't run patman when it is imported as a module

2015-08-06 Thread Simon Glass
On 30 July 2015 at 23:34, Chris Packham wrote: > Hi Simon, > > On Fri, Jul 31, 2015 at 7:47 AM, Simon Glass wrote: >> Commit 488d19c (patman: add distutils based installer) has the side effect >> of making patman run twice with each invocation. Fix this by checking for >> 'main program' invocatio

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Marek Vasut
On Friday, August 07, 2015 at 05:00:24 AM, Simon Glass wrote: > Hi Marek, Hi Simon, > On 6 August 2015 at 20:58, Marek Vasut wrote: > > On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: > >> Hi Marek, > > > > Hi Simon, > > > >> On 6 August 2015 at 20:51, Marek Vasut wrote: > >> >

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Simon Glass
Hi Marek, On 6 August 2015 at 20:58, Marek Vasut wrote: > On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: >> Hi Marek, > > Hi Simon, > >> On 6 August 2015 at 20:51, Marek Vasut wrote: >> > On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: >> >> Some SoCs want to adjust

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Marek Vasut
On Friday, August 07, 2015 at 04:54:42 AM, Simon Glass wrote: > Hi Marek, Hi Simon, > On 6 August 2015 at 20:51, Marek Vasut wrote: > > On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: > >> Some SoCs want to adjust the input clock to the DWMMC block as a way of > >> controlling the

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Simon Glass
Hi Marek, On 6 August 2015 at 20:51, Marek Vasut wrote: > On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: >> Some SoCs want to adjust the input clock to the DWMMC block as a way of >> controlling the MMC bus clock. Update the get_mmc_clk() method to support >> this. >> >> Signed-off

Re: [U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Marek Vasut
On Friday, August 07, 2015 at 04:16:28 AM, Simon Glass wrote: > Some SoCs want to adjust the input clock to the DWMMC block as a way of > controlling the MMC bus clock. Update the get_mmc_clk() method to support > this. > > Signed-off-by: Simon Glass Hi Simon, > --- > > Changes in v4: > - Upda

Re: [U-Boot] [V4 1/2] sf: Add clear flag status register operation on Micron chips

2015-08-06 Thread Hou Zhiqiang
Hi Jagan, Do you have any feedback? > -Original Message- > From: Zhiqiang Hou [mailto:b48...@freescale.com] > Sent: 2015年7月23日 17:54 > To: u-boot@lists.denx.de; jt...@openedev.com > Cc: Sun York-R58495; Hu Mingkai-B21284; Hou Zhiqiang-B48286; Hu Mingkai- > B21284 > Subject: [V4 1/2] sf: A

Re: [U-Boot] [PATCH 08/15] x86: Re-order efi-x86_defconfig

2015-08-06 Thread Simon Glass
Hi Bin, On 28 July 2015 at 01:48, Bin Meng wrote: > Hi Simon, > > On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote: >> Use savedefconfig to get this file into the correct order. >> >> Signed-off-by: Simon Glass >> --- >> > > Since efi series is not applied, can you move this to your efi v2 se

Re: [U-Boot] [PATCH 05/15] dm: pci: Add a way to iterate through all PCI devices

2015-08-06 Thread Simon Glass
Hi Bin, On 28 July 2015 at 01:48, Bin Meng wrote: > Hi Simon, > > On Tue, Jul 28, 2015 at 5:47 AM, Simon Glass wrote: >> These functions allow iteration through all PCI devices including bridges. >> The children of each PCI bus are returned in turn. This can be useful for >> configuring, checkin

Re: [U-Boot] [PATCH] imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file

2015-08-06 Thread Peng Fan
On Thu, Aug 06, 2015 at 11:34:16AM +0200, Soeren Moch wrote: >On 08/06/15 07:43, Peng Fan wrote: >>Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig. >>Add enable "CONFIG_ARCH_MX6" for boards based on mx6. >>Then we can choose target boards using "make ARCH=arm menuconfig

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Peng Fan
Hi Stefano, On Thu, Aug 06, 2015 at 03:54:22PM +0200, Stefano Babic wrote: >Hi Peng, > >On 06/08/2015 06:41, Peng Fan wrote: >> Hi Nikolay, >> On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: >>> Hi Peng, >>> >>> On 08/03/2015 01:06 PM, Peng Fan wrote: The MIB RAM and FIFO re

[U-Boot] [PATCH v4 2/3] mmc: dw_mmc: Support bypass mode with the get_mmc_clk() method

2015-08-06 Thread Simon Glass
Some SoCs want to adjust the input clock to the DWMMC block as a way of controlling the MMC bus clock. Update the get_mmc_clk() method to support this. Signed-off-by: Simon Glass --- Changes in v4: - Update commit message to indicate this patch is for the dw_mmc driver drivers/mmc/dw_mmc.c

[U-Boot] [PATCH v4 3/3] mmc: Calculate dwmmc FIFO threshold size if not provided

2015-08-06 Thread Simon Glass
We can calculate this. Add code to do this if it is not provided. Signed-off-by: Simon Glass --- Changes in v4: None drivers/mmc/dw_mmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index a034c3f..cce2a5d 100644 ---

[U-Boot] [PATCH v4 1/3] mmc: dw_mmc: Avoid using printf() for errors

2015-08-06 Thread Simon Glass
The dw_mmc driver uses printf() in various places. These bloat the code and cause problems for SPL. Use debug() where possible and try to return a useful error code instead. Signed-off-by: Simon Glass --- Changes in v4: - Update commit message to indicate this patch is for the dw_mmc driver d

Re: [U-Boot] [PATCH v2 00/15] Add macros to ease our life with independent CONFIGs between U-Boot and SPL

2015-08-06 Thread Scott Wood
On Mon, 2015-08-03 at 07:59 -0600, Simon Glass wrote: > Hi, > > On 1 August 2015 at 07:14, Masahiro Yamada > wrote: > > > > I hope this series will make our life easier. > > I agree. This seems like a clever solution to the problem. > > As you probably saw on the other thread, Scott Wood sugge

Re: [U-Boot] [PATCH v3] x86: baytrail: Configure FSP UPD from device tree

2015-08-06 Thread Bin Meng
Hi Andrew, On Fri, Aug 7, 2015 at 4:08 AM, Andrew Bradford wrote: > From: Andrew Bradford > > Allow for configuration of FSP UPD from the device tree which will > override any settings which the FSP was built with itself. > > Modify the MinnowMax and BayleyBay boards to transfer sensible UPD > s

[U-Boot] [PATCH v1 1/2] armv8/ls2085a_emu: Drop DDR3 emulation target

2015-08-06 Thread York Sun
The emulator with DDR3 model was used during model bringup. DDR4 controllers are used with ls2085a. Drop the DDR4 target defconfig and enable DDR4 in ls2085a_emu_defconfig. Signed-off-by: York Sun --- board/freescale/ls2085a/MAINTAINERS |1 - configs/ls2085a_emu_D4_defconfig| 14 -

[U-Boot] [PATCH v1 2/2] powerpc/defconfig: Rename defconfig file for DDR4 targets

2015-08-06 Thread York Sun
Previously the DDR4 targets were named with _D4. Rename them with _DDR4 for consistency. Signed-off-by: York Sun --- board/freescale/t102xqds/MAINTAINERS |4 ++-- board/freescale/t1040qds/MAINTAINERS |2 +- board/freescale/t104xrdb/MAINTAINERS

[U-Boot] [PATCH v1 0/2] Rename DDR4 target names

2015-08-06 Thread York Sun
Freescale T1 series supports both DDR3 and DDR4. We have boards for each type of memory. To make the naming consistence and easy to understand, use _DDR4 instead of _D4 for the names. The same applies to Layerscape LS1 series, which already has _ddr4 in the name. LS2 series doesn't support DDR3, so

Re: [U-Boot] [PATCH v3 25/25] rockchip: Add a simple README

2015-08-06 Thread Simon Glass
Hi Christoph, On 6 August 2015 at 09:35, Christoph Fritz wrote: > Hi Simon > > On Tue, 2015-06-23 at 17:29 -0600, Simon Glass wrote: >> +Future work >> +=== >> + >> +Immediate priorities are: >> + >> +- MMC support (in U-Boot itself) >> +- GPIO (driver exists but is lightly tested) >> +-

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

2015-08-06 Thread Simon Glass
Hi Tom, This includes some driver model support for devres (managed device resource framework), I2C multiplexers, some PMIC framework improvements and USB Ethernet additions. It also includes support for spring (Exynos5-based Chromebook) as requested by Minkyu (Samsung maintainer). The following

Re: [U-Boot] [PATCH 04/21] TI PHY: Add support to control 2nd USB PHY in DRA7xx/AM57xx

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:54 PM, Kishon Vijay Abraham I wrote: > Added support to power on/power off the second USB PHY present in > DRA7xx and AM57xx. > > Signed-off-by: Kishon Vijay Abraham I Acked-by: Marek Vasut Best regards, Marek Vasut

Re: [U-Boot] [PATCH 02/21] usb: gadget: ether: Perform board initialization from ethernet gadget driver

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:52 PM, Kishon Vijay Abraham I wrote: > Ethernet gadget driver can be used both by both SPL and u-boot. Since > usb_eth_init() is the entry point for ethernet gadget driver, perform > board initialization there. Also perform the cleanup in usb_eth_halt. > > Sig

Re: [U-Boot] [PATCH] imx: usb: ehci-mx6: wait_for_bit to check reg status

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 10:46:03 PM, Adrian Alonso wrote: > Add wait_for_bit to check reg bit status and replace unbounded > loops to check usb command status > > Signed-off-by: Adrian Alonso Applied to u-boot-usb/master, thanks! Best regards, Marek Vasut ___

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 07:03:24 PM, Stefano Babic wrote: > Hi Marek, > > On 06/08/2015 16:28, Marek Vasut wrote: > > On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: > >> Hi Stefano and Marek, > >> > >> Thanks for the suggestions. > >> > >> On Thu, Aug 6, 2015 at 10:38

Re: [U-Boot] [PATCH 01/21] usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:15:51 PM, Kishon Vijay Abraham I wrote: > Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and > USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used > USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead. > > Signed-off-by: Kishon Vijay Abr

Re: [U-Boot] [PATCH 15/21] usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 06:16:05 PM, Kishon Vijay Abraham I wrote: > xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have > the corresponding cleanup function in xhci_hcd_stop. > > Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop(). > > Signed-off-by: Kishon V

Re: [U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 10:43:15 PM, Adrian Alonso wrote: > Cleanup read/write register access, use clr/set bits_le32 > > Signed-off-by: Adrian Alonso Applied all to u-boot-usb/master, thanks! Best regards, Marek Vasut ___ U-Boot mailing list

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Simon, On Thu, Aug 6, 2015 at 4:31 PM, Simon Glass wrote: > Please check the README about the SPL flow. From what I can see > malloc() is not available before board_init_r() in SPL. > > However, if you add a call to spl_init() from your board_init_f(), > then early malloc would be available.

Re: [U-Boot] [PATCH] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-06 Thread Hans de Goede
Hi, On 06-08-15 18:10, Simon Glass wrote: hi Hans, On 1 August 2015 at 10:05, Simon Glass wrote: Hi Hans, On 25 July 2015 at 03:58, Hans de Goede wrote: Currently the serial code assumes that there is always at least one serial port (and panics / crashes due to null pointer dereferences wh

Re: [U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-08-06 Thread Piotr Zierhoffer
Hello 2015-08-02 14:56 GMT+02:00 Hans de Goede : > Hi, > > On 01-08-15 21:22, Scott Wood wrote: >> >> On Sat, 2015-08-01 at 14:30 +0200, Boris Brezillon wrote: >>> >>> Hi Hans, >>> >>> On Sat, 1 Aug 2015 14:15:53 +0200 >>> Hans de Goede wrote: >>> Hi, On 23-07-15 14:33, Piotr Zierh

Re: [U-Boot] [PATCH v3 25/25] rockchip: Add a simple README

2015-08-06 Thread Christoph Fritz
Hi Simon On Tue, 2015-06-23 at 17:29 -0600, Simon Glass wrote: > +Future work > +=== > + > +Immediate priorities are: > + > +- MMC support (in U-Boot itself) > +- GPIO (driver exists but is lightly tested) > +- I2C (driver exists but is non-functional) > +- USB host > +- USB device > +- PM

Re: [U-Boot] [PATCH] fdt: add new fdt address parsing functions

2015-08-06 Thread Stephen Warren
On 08/06/2015 03:31 PM, Stephen Warren wrote: fdtdec_get_addr_size() hard-codes the number of cells used to represent an address or size in DT. This is incorrect in many cases depending on the DT binding for a particular node or property (e.g. it is incorrect for the "reg" property). In most case

[U-Boot] [PATCH] fdt: add new fdt address parsing functions

2015-08-06 Thread Stephen Warren
From: Stephen Warren fdtdec_get_addr_size() hard-codes the number of cells used to represent an address or size in DT. This is incorrect in many cases depending on the DT binding for a particular node or property (e.g. it is incorrect for the "reg" property). In most cases, DT parsing code must u

[U-Boot] [PATCH 1/2] sunxi: Fix gmac not working on the Colombus board

2015-08-06 Thread Hans de Goede
The phy is using a RGMII interface, which we need to specify in our board-config, and the dts needs a gmac section (the dts changes have also been submitted to the kernel). Signed-off-by: Hans de Goede --- arch/arm/dts/sun6i-a31-colombus.dts | 12 configs/Colombus_defconfig

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread LEMIEUX, SYLVAIN
> -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: 6-Aug-15 2:43 PM > > Hi Sylvain, > > On 06.08.2015 16:50, LEMIEUX, SYLVAIN wrote: > > Hi Vladimir, > > > > Thanks for the feedback; > > > > Marek, Vladimir, > > > > there is a question below; I will wait for fe

[U-Boot] [PATCH] imx: usb: ehci-mx6: wait_for_bit to check reg status

2015-08-06 Thread Adrian Alonso
Add wait_for_bit to check reg bit status and replace unbounded loops to check usb command status Signed-off-by: Adrian Alonso --- Patch depends on the following patch set: imx: usb: ehci-mx6: add usb support for imx7d soc imx: usb: ehci-mx6: document board specific functions imx: usb: ehci-mx6: r

[U-Boot] [PATCH 3/3][v3] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-06 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso --- Changes for V2: Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d Changes for V3: Fix identation for usbnc_regs struct drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx6.c | 100

[U-Boot] [PATCH 2/3][v3] imx: usb: ehci-mx6: document board specific functions

2015-08-06 Thread Adrian Alonso
Document target board specific functions board_ehci_hcd_init - override usb phy mode board_ehci_hcd_init - set usb vbus voltage board_ehci_power - enables/disables usb vbus voltage Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d so

[U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Adrian Alonso
Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc Changes for V3: Resend drivers/usb/host/ehci-mx6.c | 51 - 1 file changed, 1

[U-Boot] Pull request, u-boot-tegra/master

2015-08-06 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! ./MAKEALL -s tegra is OK (all 32-bit builds), and ./MAKEALL -a aarch64 is OK (includes p2571, P2371 and E220). The following changes since commit a5325cd5e91f77a2214e80198ae31c1d8b7e7c3c: configs: Remove CONFIG_SERIAL_MULTI (201

[U-Boot] [PATCH v3] x86: baytrail: Configure FSP UPD from device tree

2015-08-06 Thread Andrew Bradford
From: Andrew Bradford Allow for configuration of FSP UPD from the device tree which will override any settings which the FSP was built with itself. Modify the MinnowMax and BayleyBay boards to transfer sensible UPD settings from the Intel FSPv4 Gold release to the respective dts files, with the

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Simon Glass
Hi, On 6 August 2015 at 12:24, Fabio Estevam wrote: > On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic wrote: > >> This is in RAM, of course. Increasing the size by 3KiB is not IMHO for >> i.MX6 a problem, there is enough space in IRAM. But what is surprising >> is that Fabio gets a Null pointer by

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 3:24 PM, Fabio Estevam wrote: > On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic wrote: > >> This is in RAM, of course. Increasing the size by 3KiB is not IMHO for >> i.MX6 a problem, there is enough space in IRAM. But what is surprising >> is that Fabio gets a Null pointer by

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-06 Thread Stephen Warren
On 08/05/2015 05:45 PM, Simon Glass wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren wrote: On 08/03/2015 09:52 AM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 0

Re: [U-Boot] [PATCH] Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

2015-08-06 Thread Stephen Warren
On 08/06/2015 01:09 AM, Michal Suchanek wrote: Hello, On 6 August 2015 at 01:45, Simon Glass wrote: Hi Stephen, On 5 August 2015 at 12:22, Stephen Warren wrote: On 08/04/2015 10:08 PM, Simon Glass wrote: Hi Stephen, On 3 August 2015 at 12:20, Stephen Warren wrote: On 08/03/2015 09:52

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread Vladimir Zapolskiy
Hi Sylvain, On 06.08.2015 16:50, LEMIEUX, SYLVAIN wrote: > Hi Vladimir, > > Thanks for the feedback; > > Marek, Vladimir, > > there is a question below; I will wait for feedback before sending an updated > version of the patch. > > > Sylvain > >> -Original Message- >> From: Vladimir

Re: [U-Boot] [PATCH V4 1/2] ARM: tegra: Add e2220-1170 board

2015-08-06 Thread Stephen Warren
On 08/05/2015 03:22 PM, Tom Warren wrote: Both of these applied to u-boot-tegra/next. PTAL. I'll issue a PR for this (and the other 11 outstanding Tegra patches from you, me and Alex) when I get a green light. Echoing what I said on chat for the purposes of the mailing list archive: The com

Re: [U-Boot] Wrong release date for v2015.10 on the denx.de

2015-08-06 Thread Anatolij Gustschin
Hi Bin, On Thu, 6 Aug 2015 10:56:11 +0800 Bin Meng wrote: > Hi Wolfgang, > > By checking http://www.denx.de/wiki/U-Boot/ReleaseCycle, it says: > > "Release "v2015.10" is scheduled in 66 days — on Aug 12, 2015." > > This Aug 12 date is wrong. Could you please fix it? Thanks for mentioning thi

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-06 Thread Vladimir Zapolskiy
Hi Sylvain, On 06.08.2015 21:01, LEMIEUX, SYLVAIN wrote: > Hi Vladimir, > > See comment below. > >> -Original Message- >> From: Vladimir Zapolskiy [mailto:v...@mleia.com] >> >> Hi Sylvain, >> >> On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: >>> From: Sylvain Lemieux >>> >>> Incorp

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 2:03 PM, Stefano Babic wrote: > This is in RAM, of course. Increasing the size by 3KiB is not IMHO for > i.MX6 a problem, there is enough space in IRAM. But what is surprising > is that Fabio gets a Null pointer by malloc(). Yes, so I did a simpler patch that shows the mal

[U-Boot] [PATCH 2/2] sunxi: gpio: Add support for the gpio banks which are part of the R-io cluster

2015-08-06 Thread Hans de Goede
sun6i and later have a couple of io-blocks which are shared between the main CPU core and the "R" cpu which is small embedded cpu which can be active while the main system is suspended. These gpio banks sit at a different mmio address then the normal banks, and have a separate devicetree node and

Re: [U-Boot] [PATCH v5 5/5] usb: lpc32xx: add host USB driver

2015-08-06 Thread LEMIEUX, SYLVAIN
Hi Vladimir, See comment below. > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > > Hi Sylvain, > > On 05.08.2015 21:31, slemieux.t...@gmail.com wrote: > > From: Sylvain Lemieux > > > > Incorporate USB driver from legacy LPCLinux NXP BSP. > > The files taken from

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Stefano Babic
Hi Marek, On 06/08/2015 16:28, Marek Vasut wrote: > On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: >> Hi Stefano and Marek, >> >> Thanks for the suggestions. >> >> On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic wrote: >>> There is the possibility to set a malloc area inside SPL

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Marek, On Thu, Aug 6, 2015 at 11:28 AM, Marek Vasut wrote: > You want to avoid this "CONFIG_SYS_SPL_MALLOC_*" stuff, as it increases the > SPL size by 3kiB compared to MALLOC_F . Also, MALLOC_F needs just the base > address of the malloc area to work (see my email). Thanks, I removed CONFIG_

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Vitaly Andrianov
On 08/06/2015 11:31 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote: On 08/06/2015 10:04 AM, Tom Rini wrote: On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r

[U-Boot] [PATCH 20/21] spl: Add USB peripheral boot device value for am43xx

2015-08-06 Thread Kishon Vijay Abraham I
Add USB peripheral boot device value for am43xx here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/include/asm/arch-am33xx/spl.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-am33xx/spl.h b/arch/arm/include/asm/arch-am33xx/spl.h index f8fdace..edf589e 10

[U-Boot] [PATCH 21/21] configs: am43xx: Add am43xx_evm_usbspl_defconfig

2015-08-06 Thread Kishon Vijay Abraham I
Add a new config to support usb rndis boot for am43xx. Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/MAINTAINERS |1 + configs/am43xx_evm_usbspl_defconfig |9 + 2 files changed, 10 insertions(+) create mode 100644 configs/am43xx_evm_usbspl_defconfig diff --g

[U-Boot] [PATCH 13/21] ARM: OMAP5/AM43xx: remove enabling USB clocks from enable_basic_clocks()

2015-08-06 Thread Kishon Vijay Abraham I
Now that we have separate function to enable USB clocks, remove enabling USB clocks from enable_basic_clocks(). Now board_usb_init() should take care to invoke enable_usb_clocks() for enabling USB clocks. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 12 -

[U-Boot] [PATCH 15/21] usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop

2015-08-06 Thread Kishon Vijay Abraham I
xhci omap driver has board_usb_init in xhci_hcd_init but doesn't have the corresponding cleanup function in xhci_hcd_stop. Fix it here by invoking board_usb_cleanup() in xhci_hcd_stop(). Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/host/xhci-omap.c |1 + 1 file changed, 1 insertion

[U-Boot] [PATCH 17/21] am43xx: Add USB device boot support to SPL

2015-08-06 Thread Kishon Vijay Abraham I
From: Tom Rini Add in code to initialize the DWC3 gadget controller so that we can do RNDIS in SPL on these platforms. Signed-off-by: Tom Rini Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/board.c | 39 ++--- drivers/usb/gadget/gadget_ch

[U-Boot] [PATCH 19/21] spl: Fix USB boot device values for am43xx

2015-08-06 Thread Kishon Vijay Abraham I
commit 62c5674ea136 ("omap: SPL boot devices cleanup and completion") while doing the cleanups changed the value of BOOT_DEVICE_USB from 13 to 0x45. Fix it here. Fixes: commit <62c5674ea136a> ("omap: SPL boot devices cleanup and completion"). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/i

[U-Boot] [PATCH 16/21] include: configs: am43xx_evm: add 'usb stop' in usbboot env

2015-08-06 Thread Kishon Vijay Abraham I
The usbboot environment variable has 'usb start' command but doesn't have the corresponding 'usb stop' command. This breaks usb peripheral mode if tried after 'run usbboot' fails to load the images in usb host mode. Fix it here by adding 'usb stop' command in usbboot env. Signed-off-by: Kishon Vi

[U-Boot] [PATCH 11/21] ARM: AM43xx: Add functions to enable and disable USB clocks

2015-08-06 Thread Kishon Vijay Abraham I
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 70 ++ arch

[U-Boot] [PATCH 14/21] board: ti: remove duplicate initialization of vbus_id_status

2015-08-06 Thread Kishon Vijay Abraham I
vbus_id_status is initialized in board_usb_init. So remove it while creating dwc3_device objects. Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/board.c |2 -- board/ti/dra7xx/evm.c |2 -- 2 files changed, 4 deletions(-) diff --git a/board/ti/am43xx/board.c b/board/ti/am43x

[U-Boot] [PATCH 18/21] usb: gadget: ether: populate _reset_ callback

2015-08-06 Thread Kishon Vijay Abraham I
populate _reset_ callback to the USB ethernet gadget since UDC core expects every gadget driver to have the reset callback. This shouldn't be needed once the ethernet gadget driver is adapted to use the composite driver. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/gadget/ether.c |1

[U-Boot] [PATCH 10/21] ARM: AM43xx: Add support for disabling clocks in uboot

2015-08-06 Thread Kishon Vijay Abraham I
Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/am33xx/clock.c| 53 ++

[U-Boot] [PATCH 09/21] ARM: OMAP5: Add functions to enable and disable USB clocks

2015-08-06 Thread Kishon Vijay Abraham I
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap5/hw_data.c | 97 arch

[U-Boot] [PATCH 08/21] ARM: OMAP5: Add support for disabling clocks in uboot

2015-08-06 Thread Kishon Vijay Abraham I
Add do_disable_clocks() to disable clock domains and module clocks. These clocks are enabled using do_enable_clocks(). Cc: Roger Quadros Cc: Tero Kristo Cc: Nishanth Menon Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 53

[U-Boot] [PATCH 12/21] board: ti: invoke clock API to enable and disable clocks

2015-08-06 Thread Kishon Vijay Abraham I
invoke enable_usb_clocks during board_usb_init and disable_usb_clocks during board_usb_exit to enable and disable clocks respectively. Signed-off-by: Kishon Vijay Abraham I --- board/ti/am43xx/board.c |2 ++ board/ti/beagle_x15/board.c |4 board/ti/dra7xx/evm.c |2 ++

[U-Boot] [PATCH 07/21] include: configs: Enable DWC3 and DFU in ti_omap5_common

2015-08-06 Thread Kishon Vijay Abraham I
Enabled configs for dwc3, dwc3-omap and PHY for dwc3 in ti_omap5_common. Also enabled support for DFU. Since ti_omap5_common is used by dra7 too, removed these configs from dra7xx_evm config file. Signed-off-by: Kishon Vijay Abraham I --- include/configs/dra7xx_evm.h | 63 ---

[U-Boot] [PATCH 06/21] board: ti: OMAP5: added USB initializtion code

2015-08-06 Thread Kishon Vijay Abraham I
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in omap5 board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/include/asm/arch-omap5/omap.h |6 +++ board/ti/omap5_uevm/evm.c | 75 +

[U-Boot] [PATCH 03/21] ARM: DRA7: Enable clocks for USB OTGSS2 and USB PHY2

2015-08-06 Thread Kishon Vijay Abraham I
Enabled clocks for the second dwc3 controller and second USB PHY present in DRA7. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/cpu/armv7/omap5/hw_data.c | 16 arch/arm/cpu/armv7/omap5/prcm-regs.c|2 ++ arch/arm/include/asm/arch-omap5/clock.h |3 +++ arch

[U-Boot] [PATCH 04/21] TI PHY: Add support to control 2nd USB PHY in DRA7xx/AM57xx

2015-08-06 Thread Kishon Vijay Abraham I
Added support to power on/power off the second USB PHY present in DRA7xx and AM57xx. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ti_usb_phy.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_

[U-Boot] [PATCH 05/21] board: ti: beagle_x15: added USB initializtion code

2015-08-06 Thread Kishon Vijay Abraham I
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in beagle_x15 board file that can be invoked by various gadget drivers. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/include/asm/arch-omap5/omap.h |2 +- board/ti/beagle_x15/board.c| 111 +

[U-Boot] [PATCH 01/21] usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts

2015-08-06 Thread Kishon Vijay Abraham I
Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/dwc3-omap.c | 46 +---

[U-Boot] [PATCH 02/21] usb: gadget: ether: Perform board initialization from ethernet gadget driver

2015-08-06 Thread Kishon Vijay Abraham I
Ethernet gadget driver can be used both by both SPL and u-boot. Since usb_eth_init() is the entry point for ethernet gadget driver, perform board initialization there. Also perform the cleanup in usb_eth_halt. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/gadget/ether.c |4 1 fi

[U-Boot] [PATCH 00/21] beagle_x15/omap5: Add dwc3 peripheral support

2015-08-06 Thread Kishon Vijay Abraham I
Patch series performs the following: *) Add dwc3 peripheral support for beagle_x15 and omap5 *) Add RNDIS boot support for AM43xx *) Cleanups and Fixes Kishon Vijay Abraham I (20): usb: dwc3: dwc3-omap: Use the clear register inorder to clear the interrupts usb: gadget: ether: Perform boar

Re: [U-Boot] [PATCH] dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port

2015-08-06 Thread Simon Glass
hi Hans, On 1 August 2015 at 10:05, Simon Glass wrote: > Hi Hans, > > On 25 July 2015 at 03:58, Hans de Goede wrote: >> Currently the serial code assumes that there is always at least one serial >> port (and panics / crashes due to null pointer dereferences when there is >> none). >> >> This mak

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Tom Rini
On Thu, Aug 06, 2015 at 10:08:59AM -0500, Nishanth Menon wrote: > On 08/06/2015 10:04 AM, Tom Rini wrote: > > On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > > > >> This allows us to do basic math in hush shell. For example: > >> U-Boot# r1=10 > >> U-Boot# r2=20 > >> U-Boot# sete

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
On 08/06/2015 10:04 AM, Tom Rini wrote: > On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > >> This allows us to do basic math in hush shell. For example: >> U-Boot# r1=10 >> U-Boot# r2=20 >> U-Boot# setexpr.l r3 $r1 + $r2 >> U-Boot# echo $r3 >> 30 >> >> Reported-by: Vitaly Andrian

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-08-06 Thread Tom Warren
> -Original Message- > From: Alex Courbot > Sent: Thursday, August 06, 2015 12:58 AM > To: Tom Warren; Andreas Färber; u-boot@lists.denx.de > Cc: linux-te...@vger.kernel.org; gnu...@gmail.com; Stephen Warren; > Guillaume Gardet > Subject: Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT n

Re: [U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Tom Rini
On Thu, Aug 06, 2015 at 09:48:27AM -0500, Nishanth Menon wrote: > This allows us to do basic math in hush shell. For example: > U-Boot# r1=10 > U-Boot# r2=20 > U-Boot# setexpr.l r3 $r1 + $r2 > U-Boot# echo $r3 > 30 > > Reported-by: Vitaly Andrianov > Suggested-by: Tom Rini > Signed-off-by: Nish

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Andrew Bradford
Hi Simon, On 08/06 08:02, Simon Glass wrote: > Hi, > > On 29 June 2015 at 11:57, Simon Glass wrote: > > Hi Andrew, > > > > On 29 June 2015 at 08:36, Andrew Bradford > > wrote: > >> Hi Simon, > >> > >> On 06/07 18:58, Simon Glass wrote: > >>> Hi Bin, > >>> > >>> On 5 June 2015 at 19:30, Bin Men

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Bin Meng
Hi Simon, On Thu, Aug 6, 2015 at 10:02 PM, Simon Glass wrote: > Hi, > > On 29 June 2015 at 11:57, Simon Glass wrote: >> Hi Andrew, >> >> On 29 June 2015 at 08:36, Andrew Bradford >> wrote: >>> Hi Simon, >>> >>> On 06/07 18:58, Simon Glass wrote: Hi Bin, On 5 June 2015 at 19:30,

[U-Boot] [PATCH] ti_armv7_common: enable setexpr

2015-08-06 Thread Nishanth Menon
This allows us to do basic math in hush shell. For example: U-Boot# r1=10 U-Boot# r2=20 U-Boot# setexpr.l r3 $r1 + $r2 U-Boot# echo $r3 30 Reported-by: Vitaly Andrianov Suggested-by: Tom Rini Signed-off-by: Nishanth Menon --- include/configs/ti_armv7_common.h | 1 + 1 file changed, 1 insertion

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 04:14:34 PM, Fabio Estevam wrote: > Hi Stefano and Marek, > > Thanks for the suggestions. > > On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic wrote: > > There is the possibility to set a malloc area inside SPL: > > > > CONFIG_SYS_SPL_MALLOC_START > > CONFIG_SYS_SP

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi Stefano and Marek, Thanks for the suggestions. On Thu, Aug 6, 2015 at 10:38 AM, Stefano Babic wrote: > There is the possibility to set a malloc area inside SPL: > > CONFIG_SYS_SPL_MALLOC_START > CONFIG_SYS_SPL_MALLOC_SIZE > you do not need a lot of space, and you can try to put it inside the

Re: [U-Boot] [PATCH] x86: WIP: Enable D0 stepping microcode for MinnowMax

2015-08-06 Thread Simon Glass
Hi, On 29 June 2015 at 11:57, Simon Glass wrote: > Hi Andrew, > > On 29 June 2015 at 08:36, Andrew Bradford wrote: >> Hi Simon, >> >> On 06/07 18:58, Simon Glass wrote: >>> Hi Bin, >>> >>> On 5 June 2015 at 19:30, Bin Meng wrote: >>> > Hi Simon, >>> > >>> > On Sat, Jun 6, 2015 at 12:17 AM, Simo

Re: [U-Boot] [PATCH 2/4] net: fec: do not access reserved register for i.MX6UL

2015-08-06 Thread Stefano Babic
Hi Peng, On 06/08/2015 06:41, Peng Fan wrote: > Hi Nikolay, > On Wed, Aug 05, 2015 at 05:31:27PM +0300, Nikolay Dimitrov wrote: >> Hi Peng, >> >> On 08/03/2015 01:06 PM, Peng Fan wrote: >>> The MIB RAM and FIFO receive start register does not exist on >>> i.MX6UL. Accessing these register will cau

Re: [U-Boot] [PATCH v5 1/5] dma: lpc32xx: add DMA driver

2015-08-06 Thread LEMIEUX, SYLVAIN
Hi Vladimir, Thanks for the feedback; Marek, Vladimir, there is a question below; I will wait for feedback before sending an updated version of the patch. Sylvain > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > > Hi Sylvain, > > On 05.08.2015 21:31, slemieux

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Stefano Babic
Hi Fabio, On 06/08/2015 15:25, Fabio Estevam wrote: > Hi, > > I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. > > The idea is to read some parameters from the SPI NOR flash and configure > the DDR accordingly. > > This is similar to what gw_ventana_spl.c does, but it read

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Marek Vasut
On Thursday, August 06, 2015 at 03:25:22 PM, Fabio Estevam wrote: > Hi, > > I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. > > The idea is to read some parameters from the SPI NOR flash and configure > the DDR accordingly. > > This is similar to what gw_ventana_spl.c does

[U-Boot] Using spi_alloc_slave() from SPL

2015-08-06 Thread Fabio Estevam
Hi, I am trying to use spi_flash_probe() inside SPL on a custom mx6 board. The idea is to read some parameters from the SPI NOR flash and configure the DDR accordingly. This is similar to what gw_ventana_spl.c does, but it reads from i2c eeprom instead of SPI NOR. Here are the changes just to i

  1   2   >