Re: [U-Boot] [PATCH] x86: qemu: fix ACPI Kconfig options

2016-05-10 Thread Miao Yan
Hi Bin, 2016-05-11 10:13 GMT+08:00 Bin Meng : > Hi Miao, > > On Wed, May 11, 2016 at 10:02 AM, Miao Yan wrote: >> Hi Bin, >> >> 2016-05-10 11:11 GMT+08:00 Bin Meng : >>> On Mon, May 9, 2016 at 8:57 PM, Bin Meng

Re: [U-Boot] U-boot UBI environment

2016-05-10 Thread Heiko Schocher
Hello Joe, Am 11.05.2016 um 01:15 schrieb Joseph Hershberger: Hi Kevin, Am 09.05.2016 um 23:16 schrieb Kevin Smith: Hello, I would appreciate some UBI help/advice if you are able to provide it. I am trying to use UBI to store my u-boot environment, but when I try to 'saveenv', it is

Re: [U-Boot] [PATCH] dm: allow setting driver_data before/during bind

2016-05-10 Thread Simon Glass
Hi Stephen, On 4 May 2016 at 12:42, Stephen Warren wrote: > On 05/01/2016 01:27 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 28 April 2016 at 17:08, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> This will allow

Re: [U-Boot] [PATCH] x86: qemu: fix ACPI Kconfig options

2016-05-10 Thread Bin Meng
Hi Miao, On Wed, May 11, 2016 at 10:02 AM, Miao Yan wrote: > Hi Bin, > > 2016-05-10 11:11 GMT+08:00 Bin Meng : >> On Mon, May 9, 2016 at 8:57 PM, Bin Meng wrote: >>> On Mon, May 9, 2016 at 3:27 PM, Miao Yan

Re: [U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-10 Thread Bin Meng
Hi Miao, On Tue, May 10, 2016 at 10:10 AM, Miao Yan wrote: >>> >>> +config CMD_QEMU_FW_CFG >>> + bool "qfw" >>> + depends on X86 >>> + help >>> + This provides access to the QEMU firmware interface. The main >>> + feature is to allow easy

Re: [U-Boot] [PATCH] x86: qemu: fix ACPI Kconfig options

2016-05-10 Thread Miao Yan
Hi Bin, 2016-05-10 11:11 GMT+08:00 Bin Meng : > On Mon, May 9, 2016 at 8:57 PM, Bin Meng wrote: >> On Mon, May 9, 2016 at 3:27 PM, Miao Yan wrote: >>> CONFIG_GENENRATE_ACPI_TABLE controls the generation of ACPI table which >>> uses

Re: [U-Boot] [PATCH] dm: allow setting driver_data before/during bind

2016-05-10 Thread Stephen Warren
On 05/04/2016 12:42 PM, Stephen Warren wrote: On 05/01/2016 01:27 PM, Simon Glass wrote: Hi Stephen, On 28 April 2016 at 17:08, Stephen Warren wrote: From: Stephen Warren This will allow a driver's bind function to use the driver data. One example

Re: [U-Boot] [RFC PATCH] arm: socfpga: Update iomux and pll for c5 socdk RevE

2016-05-10 Thread Marek Vasut
On 05/10/2016 10:13 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Update the pinmux and pll configuration for the Cyclone5 RevE or later devkit. > > Signed-off-by: Dinh Nguyen > --- > Hi Marek, Hi! > Without these

[U-Boot] [PATCH v3 1/7] efi_loader: Add network access support

2016-05-10 Thread Alexander Graf
We can now successfully boot EFI applications from disk, but users may want to also run them from a PXE setup. This patch implements rudimentary network support, allowing a payload to send and receive network packets. With this patch, I was able to successfully run grub2 with network access

Re: [U-Boot] [PATCH] ts4800: add CONFIG_SYS_FSL_ERRATUM_ESDHC_A001

2016-05-10 Thread Fabio Estevam
Hi Sebastien, On Thu, Apr 21, 2016 at 2:37 PM, Sebastien Bourdelin wrote: > This commit fixes the MMC data transactions timeout problem on the > TS4800. > > The changes introduced in the commit e978a31 on the timeout calculation > for the MMC data

[U-Boot] [RFC PATCH] arm: socfpga: Update iomux and pll for c5 socdk RevE

2016-05-10 Thread dinguyen
From: Dinh Nguyen Update the pinmux and pll configuration for the Cyclone5 RevE or later devkit. Signed-off-by: Dinh Nguyen --- Hi Marek, Without these pinmux and pll changes, DS-5 is unable to connect to my board and Linux is stuck in a

Re: [U-Boot] [PATCH] ts4800: add CONFIG_SYS_FSL_ERRATUM_ESDHC_A001

2016-05-10 Thread Sebastien Bourdelin
Hi, On 04/21/2016 05:39 PM, Sebastien Bourdelin wrote: > Hi, > I add Fabio Estevam in the loop as suggested by Marek Vasut on IRC. > > On 04/21/2016 01:37 PM, Sebastien Bourdelin wrote: >> This commit fixes the MMC data transactions timeout problem on the >> TS4800. >> >> The changes introduced

Re: [U-Boot] [PATCH v3 6/7] ARMv8/Layerscape: switch SMP method to spin-table when the PSCI isn't available

2016-05-10 Thread York Sun
On 04/27/2016 06:50 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > If the PSCI and PPA is ready, skip the fixup for spin-table and > waking secondary cores. If not, change SMP method to spin-table, > and the device node of PSCI will be removed. > > Signed-off-by: Hou

Re: [U-Boot] [PATCH v3 3/7] ARMv8/ls1043ardb: Integrate FSL PPA

2016-05-10 Thread York Sun
On 04/27/2016 06:49 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- > V3: > - no change > > board/freescale/ls1043ardb/ls1043ardb.c | 11 +++ > include/configs/ls1043ardb.h| 9

Re: [U-Boot] Issues with bbone with 2016.05rc3

2016-05-10 Thread Peter Robinson
On 10 May 2016 20:29, "Tom Rini" wrote: > > On Tue, May 10, 2016 at 03:03:07PM +0100, Peter Robinson wrote: > > Hi Lokesh, > > > > >> Not sure if this has been addressed since RC3 but thought I'd > > >> highlight it just in case. I've not had time to test 2016.05 as much > >

Re: [U-Boot] Issues with bbone with 2016.05rc3

2016-05-10 Thread Tom Rini
On Tue, May 10, 2016 at 03:03:07PM +0100, Peter Robinson wrote: > Hi Lokesh, > > >> Not sure if this has been addressed since RC3 but thought I'd > >> highlight it just in case. I've not had time to test 2016.05 as much > >> as I'd like so playing a bit of catch up here. > > > > Which defconfig

[U-Boot] sspi on xilinx

2016-05-10 Thread Lad, Prabhakar
Hi Jagannadha, I am working on the zynq board, we have spi0 connected to flash chip, which works fine. The spi1 is connected to display we want to use sspi command to power up the display. I have enabled, the CONFIG_SPI command, but when I use the sspi command I get tx timeouts. Cheers,

Re: [U-Boot] [PATCH] warp7: Fix boot by selecting CONFIG_OF_LIBFDT

2016-05-10 Thread Tom Rini
On Tue, May 10, 2016 at 01:31:40PM -0300, Fabio Estevam wrote: > CONFIG_OF_LIBFDT needs to be selected to avoid the following > boot problem: > > reading zImage > 6346216 bytes read in 118 ms (51.3 MiB/s) > Booting from mmc ... > reading imx7d-warp.dtb > 32593 bytes read in 11 ms (2.8 MiB/s) >

Re: [U-Boot] [PATCH v2 3/6] tegra: dts: Sync tegra20 device tree files with Linux

2016-05-10 Thread Stephen Warren
On 05/09/2016 01:26 PM, Simon Glass wrote: Hi Stephen, On 9 May 2016 at 11:09, Stephen Warren wrote: On 05/08/2016 04:55 PM, Simon Glass wrote: Sync everything except the display panel, which will come in a future patch. One USB port is left disabled since we don't

[U-Boot] [PATCH] warp7: Fix boot by selecting CONFIG_OF_LIBFDT

2016-05-10 Thread Fabio Estevam
CONFIG_OF_LIBFDT needs to be selected to avoid the following boot problem: reading zImage 6346216 bytes read in 118 ms (51.3 MiB/s) Booting from mmc ... reading imx7d-warp.dtb 32593 bytes read in 11 ms (2.8 MiB/s) Kernel image @ 0x8080 [ 0x00 - 0x60d5e8 ] FDT and ATAGS support not

Re: [U-Boot] [PATCH] imx: imx-common: print i.MX 7 SoC names consistently

2016-05-10 Thread Fabio Estevam
Hi Stefan, On Fri, May 6, 2016 at 6:17 PM, Stefan Agner wrote: >> I have an off-topic question though: have you ever managed to boot >> mx7solo with a mainline kernel? > > Yes, it works nicely, just make sure you disable the second USB port: > > { > status =

Re: [U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-10 Thread Tom Rini
On Tue, May 10, 2016 at 03:17:04PM +0800, Miao Yan wrote: > Hi Bin, > > 2016-05-10 13:12 GMT+08:00 Bin Meng : > > Hi Miao, > > > > On Tue, May 10, 2016 at 12:35 PM, Miao Yan wrote: > >> 2016-05-10 11:08 GMT+08:00 Bin Meng : > >>> On

Re: [U-Boot] Issues with bbone with 2016.05rc3

2016-05-10 Thread Peter Robinson
Hi Lokesh, >> Not sure if this has been addressed since RC3 but thought I'd >> highlight it just in case. I've not had time to test 2016.05 as much >> as I'd like so playing a bit of catch up here. > > Which defconfig are you using? Recently MMC is converted to DM, may be > that could have caused

Re: [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Mario Six
On Tue, May 10, 2016 at 3:26 PM, Timur Tabi wrote: > Mario Six wrote: > >> On Tue, May 10, 2016 at 2:30 PM, Timur Tabi > > wrote: >> >> Mario Six wrote: >> >> + addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, >>

Re: [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Timur Tabi
Mario Six wrote: On Tue, May 10, 2016 at 2:30 PM, Timur Tabi > wrote: Mario Six wrote: + addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, dev->of_offset, + "reg", 0,

Re: [U-Boot] [PATCH] arm: imx-common: introduce back usec2ticks

2016-05-10 Thread Stefano Babic
Hi Peng, On 10/05/2016 11:30, Peng Fan wrote: > Hi Stefano, > > Kindly ping.. > I have maybe misunderstood the thread and I have supposed you want to send a V2 with the stuff related to secure moved to Kconfig, as requested by Tom. For that reason, you find your patch tagged with "Changes

Re: [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Mario Six
On Tue, May 10, 2016 at 2:30 PM, Timur Tabi wrote: > Mario Six wrote: > >> + addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, >> dev->of_offset, >> + "reg", 0, ); >> > > Why can't you use platform_get_resource()? > >

Re: [U-Boot] Issues with bbone with 2016.05rc3

2016-05-10 Thread Lokesh Vutla
Hi Peter, On Tuesday 10 May 2016 05:18 PM, Peter Robinson wrote: > Hi All, > > Not sure if this has been addressed since RC3 but thought I'd > highlight it just in case. I've not had time to test 2016.05 as much > as I'd like so playing a bit of catch up here. Which defconfig are you using?

Re: [U-Boot] [PATCH v2 07/11] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-05-10 Thread Marek Vasut
On 05/10/2016 01:48 PM, Mugunthan V N wrote: > Add a TI MUSB peripheral driver with driver model support and the > driver will be bound by the MUSB wrapper driver based on the > dr_mode device tree entry. > > Signed-off-by: Mugunthan V N > --- >

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-10 Thread Marek Vasut
On 05/10/2016 02:04 PM, Diego wrote: > In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: >> On 05/04/2016 04:06 PM, Diego wrote: >>> In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: On 05/04/2016 11:13 AM, Diego wrote: > > So I see three options:

Re: [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Timur Tabi
Mario Six wrote: + addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, dev->of_offset, + "reg", 0, ); Why can't you use platform_get_resource()? ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Timur Tabi
Mario Six wrote: The problem is that in 36-bit mode the physical addresses are 64-bit, which means that you get 64-bit integers when you read something from the device tree with fdtdec_get_addr. But the device tree addresses themselves seem to be 32-bit, because if I read a property like 'reg =

Re: [U-Boot] [PATCH v2 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-05-10 Thread Marek Vasut
On 05/10/2016 01:44 PM, Mugunthan V N wrote: > Adopt usb ether gadget and rndis driver to adopt driver model > > Signed-off-by: Mugunthan V N > --- > drivers/usb/gadget/ether.c | 153 > ++--- > drivers/usb/gadget/rndis.c | 13 +++- >

Re: [U-Boot] [PATCH v2 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-05-10 Thread Marek Vasut
On 05/10/2016 01:44 PM, Mugunthan V N wrote: > prepare driver for driver model migration > > Signed-off-by: Mugunthan V N > --- > drivers/usb/gadget/ether.c | 72 > -- > 1 file changed, 51 insertions(+), 21 deletions(-) > > diff

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-10 Thread Diego
In data mercoledì 4 maggio 2016 23:36:46, Marek Vasut ha scritto: > On 05/04/2016 04:06 PM, Diego wrote: > > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: > >> On 05/04/2016 11:13 AM, Diego wrote: > >>> > >>> So I see three options: > >>> 1) 65535 default with quirk table >

[U-Boot] [PATCH v2 10/11] defconfig: am335x_boneblack: enable usb driver model

2016-05-10 Thread Mugunthan V N
enable usb driver model for am335x bbb as musb supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- configs/am335x_boneblack_vboot_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH v2 08/11] am33xx: board: init usb ether gadget for rndis support

2016-05-10 Thread Mugunthan V N
Add usb ether gadget device with usb_ether_init() when CONFIG_DM_ETH and CONFIG_USB_ETHER are defined. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c | 8 1 file changed, 8 insertions(+) diff --git

[U-Boot] [PATCH v2 11/11] defconfig: am335x_gp_evm: enable usb driver model

2016-05-10 Thread Mugunthan V N
enable usb driver model for am335x gp evm as musb supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- configs/am335x_gp_evm_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am335x_gp_evm_defconfig

[U-Boot] [PATCH v2 07/11] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-05-10 Thread Mugunthan V N
Add a TI MUSB peripheral driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N --- drivers/usb/musb-new/musb_uboot.c | 2 + drivers/usb/musb-new/ti-musb.c| 113

[U-Boot] [PATCH v2 09/11] am335x_evm: enable usb ether gadget as it supports DM_ETH

2016-05-10 Thread Mugunthan V N
Since usb ether gadget have support for driver model, so enable usb ether gadget. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- include/configs/am335x_evm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/am335x_evm.h

[U-Boot] [PATCH v2 05/11] drivers: usb: musb: adopt musb backend driver to driver model

2016-05-10 Thread Mugunthan V N
Currently all backend driver ops uses hard coded physical address, so to adopt the driver to DM, add device pointer to ops call backs so that drivers can get physical addresses from the usb driver priv/plat data. Signed-off-by: Mugunthan V N ---

[U-Boot] [PATCH v2 06/11] drivers: usb: musb: add ti musb host driver with driver model support

2016-05-10 Thread Mugunthan V N
Add a TI MUSB host driver with driver model support and the driver will be bound by the MUSB wrapper driver based on the dr_mode device tree entry. Signed-off-by: Mugunthan V N --- drivers/usb/musb-new/ti-musb.c | 191 + 1 file

[U-Boot] [PATCH v2 03/11] drivers: usb: musb: add ti musb misc driver for wrapper

2016-05-10 Thread Mugunthan V N
Add a misc driver for MUSB wrapper, so that based on dr_mode the USB devices can bind to USB host or USB device drivers. Signed-off-by: Mugunthan V N --- drivers/usb/musb-new/Kconfig | 9 ++ drivers/usb/musb-new/Makefile | 1 + drivers/usb/musb-new/ti-musb.c | 64

[U-Boot] [PATCH v2 04/11] am33xx: board: probe misc drivers to register musb devices

2016-05-10 Thread Mugunthan V N
MUSB wrapper driver is bound as MISC device and underlying usb devices are bind to usb drivers based on dr_mode, so probing the MISC wrapper driver to register musb devices. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini ---

[U-Boot] [PATCH v2 01/11] configs: am335x: usb: do not define CONFIG_DM_USB for spl

2016-05-10 Thread Mugunthan V N
Since OMAP's spl doesn't support DM currently, do not define CONFIG_DM_USB for spl build. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 00/11] driver model bring-up of musb on AM335x GP and BBB

2016-05-10 Thread Mugunthan V N
This patch series enables musb driver to adopt driver model. This has been tested on the following evms (logs [1]) by loading kernel and dtb from sata hard-disk. * AM335x GP evm * AM335x BBB Also pushed a branch for testing [2] This patch series depends on the following patch series * usb common

[U-Boot] [PATCH v2 02/11] am33xx: board: do not register usb devices when CONFIG_DM_USB is defined

2016-05-10 Thread Mugunthan V N
Do not register usb devices when CONFIG_DM_USB is define. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/am33xx/board.c

[U-Boot] Issues with bbone with 2016.05rc3

2016-05-10 Thread Peter Robinson
Hi All, Not sure if this has been addressed since RC3 but thought I'd highlight it just in case. I've not had time to test 2016.05 as much as I'd like so playing a bit of catch up here. I'm seeing two different errors: On a BBBlack booting off the emmc (2Gb variety) I see: U-Boot SPL

Re: [U-Boot] [PATCH RESEND 2/2] cmd: fdt: add fdt overlay application subcommand

2016-05-10 Thread Maxime Ripard
Hi Simon, I'm finally taking the time to address the reviews that have been made here. On Sat, Apr 09, 2016 at 12:40:14PM -0600, Simon Glass wrote: > Hi Maxime, > > On 4 April 2016 at 12:25, Maxime Ripard > wrote: > > The device tree overlays are a good way to

[U-Boot] [PATCH v2 4/6] drivers: usb: gadget: ether: use net device priv to pass usb ether priv

2016-05-10 Thread Mugunthan V N
Use net device priv to pass usb ether priv and use it in net device ops callback. Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 46 +- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git

[U-Boot] [PATCH v2 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-05-10 Thread Mugunthan V N
prepare driver for driver model migration Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 72 -- 1 file changed, 51 insertions(+), 21 deletions(-) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c

[U-Boot] [PATCH v2 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-05-10 Thread Mugunthan V N
Adopt usb ether gadget and rndis driver to adopt driver model Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 153 ++--- drivers/usb/gadget/rndis.c | 13 +++- drivers/usb/gadget/rndis.h | 19 -- include/net.h

[U-Boot] [PATCH v2 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-05-10 Thread Mugunthan V N
Consolidate the net device, usb eth device and gadget device struct to single struct and a single global variable so that the same can be passed as priv of ethernet driver. Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 53

[U-Boot] [PATCH v2 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-05-10 Thread Mugunthan V N
network_started of struct eth_dev can be accessed using local variable dev and no reason to access it with the global struct. Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v2 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-05-10 Thread Mugunthan V N
Convert usb ether gadget to adopt usb driver model Signed-off-by: Mugunthan V N --- drivers/usb/gadget/ether.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index

[U-Boot] [PATCH v2 0/6] DM conversion of usb ether gadget

2016-05-10 Thread Mugunthan V N
This patch series adopts driver model for usb ether gadget driver. This series is tested with MUSB driver model conversion on AM335x GP evm and AM335x BBB (logs [1]). Also pushed a branch for testing [2] Changes from initial version: * Separated out the usb gadget driver patches from earlier

Re: [U-Boot] [PATCH] arm: imx-common: introduce back usec2ticks

2016-05-10 Thread Peng Fan
Hi Stefano, Kindly ping.. Thanks, Peng. On Fri, Apr 29, 2016 at 09:56:09AM +0800, Peng Fan wrote: >This commit "2bb014820c49a63902103bac710bc86b5772e843" >do some clean up to use the code in lib/time.c. >But usec2ticks is still being used by security related job ring code. >Bring back the

[U-Boot] [PATCH 8/8] configs: Add AM335x-ICEv2 defconfig

2016-05-10 Thread Lokesh Vutla
Adding separate defconfig fro ICEv2 board as the serial console used by this is different from other AM335x platforms. Signed-off-by: Lokesh Vutla --- board/ti/am335x/MAINTAINERS| 1 + configs/am335x_icev2_defconfig | 45 ++ 2

[U-Boot] [PATCH 7/8] ARM: dts: AM335x-ICEv2: Add minimal dts support

2016-05-10 Thread Lokesh Vutla
Add minimal dts support for AM335x-ICEv2 board Signed-off-by: Lokesh Vutla Signed-off-by: Roger Quadros --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-icev2.dts | 430 ++ board/ti/am335x/board.c |

[U-Boot] [PATCH 6/8] config: env: Set AM335x-ICEv2 board specific env

2016-05-10 Thread Lokesh Vutla
Populate the right dtb file and console for AM335x-ICEv2 board. Signed-off-by: Lokesh Vutla --- include/configs/am335x_evm.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 7c7f197..ba4c215 100644

[U-Boot] [PATCH 5/8] board: AM335x-ICEv2: Add cpsw support

2016-05-10 Thread Lokesh Vutla
In order to enable cpsw on AM335x ICEv2 board, the following needs to be done: 1)There are few on board jumper settings which gives a choice between cpsw and PRUSS, that needs to be properly selected[1]. Even after selecting this, there are few GPIOs which control these muxes that needs to be

[U-Boot] [PATCH 4/8] ARM: AM33xx: Add support for Clock Synthesizer

2016-05-10 Thread Lokesh Vutla
The CDCE913 and CDCEL913 devices are modular PLL-based, low cost, high performance , programmable clock synthesizers. They generate upto 3 output clocks from a single input frequency. Each output can be programmed for any clock-frequency. Adding support for the same. Signed-off-by: Lokesh Vutla

[U-Boot] [PATCH 2/8] board: AM335x-ICEv2: Add pinmux support

2016-05-10 Thread Lokesh Vutla
Add necessary pinmux support for AM335x ICEv2 board. Signed-off-by: Lokesh Vutla --- board/ti/am335x/mux.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c index fdf827f..8afa5f9 100644 ---

[U-Boot] [PATCH 1/8] board: AM335x-ICEv2: Add epprom support

2016-05-10 Thread Lokesh Vutla
Similar to other TI's AM335x platforms, AM335x ICEv2 also has an eeprom populated for its unique identification. Adding this info so that AM335x ICEv2 specific initialization can be done. Signed-off-by: Lokesh Vutla --- board/ti/am335x/board.h | 5 + 1 file changed, 5

[U-Boot] [PATCH 3/8] board: AM335x-ICEv2: Add DDR data

2016-05-10 Thread Lokesh Vutla
AM335x ICEv2 contains a 2Gbit(128Mx16) of DDR3 SDRAM(MT41J128M16JT-125), capable of running at 400MHz. Adding this specific DDR configuration details running at 400MHz. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 15 +++

[U-Boot] [PATCH 0/8] ARM: AM335x: Add support for ICEv2 board

2016-05-10 Thread Lokesh Vutla
TI's Industrial Communication Engine EVM is a low cost hardware mainly developed for industrial communication type applications using serial or Ethernet based interfaces. This platform features TI's AM3359 with 800MHz single core Cortex-A8 processor, 256MB DDR3, 64MB SPI flash, 8MB NOR Flash, mmc,

[U-Boot] [PATCH v2] driver/ddr/fsl: Add workaround for erratum A-010165

2016-05-10 Thread Shengzhou Liu
During DDR-2133 operation, the transmit data eye margins determined during the memory controller initialization may be sub-optimal, set DEBUG_29[12] and DEBUG_29[13:16] = 4'b0100 before MEM_EN is set. Signed-off-by: Shengzhou Liu --- v2: rebase

[U-Boot] [PATCH] driver/ddr/fsl: Add workaround for erratum A-A010165

2016-05-10 Thread Shengzhou Liu
During DDR-2133 operation, the transmit data eye margins determined during the memory controller initialization may be sub-optimal, set DEBUG_29[12] and DEBUG_29[13:16] = 4'b0100 before MEM_EN is set. Signed-off-by: Shengzhou Liu ---

[U-Boot] [PATCH] ARM: zynq: Call ps7_post_config() for SPL

2016-05-10 Thread Michal Simek
If ps7_post_config() is defined call it. It is enabling for example level shifters for PL bitstreams. Signed-off-by: Michal Simek --- Depends on: spl: Introduce new function spl_board_prepare_for_boot --- arch/arm/mach-zynq/spl.c | 15 +++ 1 file changed,

[U-Boot] [PATCH] ARM64: zynqmp: Enable option to overwrite default variables

2016-05-10 Thread Michal Simek
Enable overwriting variables out of main config file. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index

[U-Boot] [PATCH 8/8] configs: am335x_evm: Switch to env on FAT SD by default

2016-05-10 Thread Lokesh Vutla
From: Tom Rini Re-org env sections so that we can fall back to env is in FAT on SD card, for broader board compatibility Signed-off-by: Tom Rini Signed-off-by: Lokesh Vutla --- include/configs/am335x_evm.h | 40

[U-Boot] [PATCH] spl: Introduce new function spl_board_prepare_for_boot

2016-05-10 Thread Michal Simek
Call this function before passing control from SPL. For fpga case it is necessary to enable for example level shifters when bitstream is programmed. Signed-off-by: Michal Simek --- common/spl/spl.c | 6 ++ include/spl.h| 1 + 2 files changed, 7 insertions(+)

[U-Boot] [PATCH 6/8] ARM: dts: AM335x-evmsk: Add initial support

2016-05-10 Thread Lokesh Vutla
Add initial DTS support for AM335x-evm sk. Signed-off-by: Lokesh Vutla --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-evmsk.dts | 720 + board/ti/am335x/board.c| 2 + configs/am335x_evm_defconfig

[U-Boot] [PATCH 7/8] ARM: dts: AM335x-BBG: Add initial support

2016-05-10 Thread Lokesh Vutla
Add initial DTS support for AM335x-BBG Signed-off-by: Lokesh Vutla --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/am335x-bonegreen.dts | 57 +++ board/ti/am335x/board.c | 2 ++ configs/am335x_evm_defconfig |

[U-Boot] [PATCH 5/8] ARM: dts: am335x: fix cd-gpios definition as per hardware design and dt binding docs

2016-05-10 Thread Lokesh Vutla
From: Mugunthan V N As per mmc device tree binding documentation card detect gpio has to be active low signal. When a hardware is designed with active high card detect, gpio polarity has to be changed with cd-inverted dt property. In AM335x the card detect gpio is designed

[U-Boot] [PATCH 4/8] ARM: AM335x: Enable FIT

2016-05-10 Thread Lokesh Vutla
Use a single defconfig for all AM335x platforms by enabling FIT Signed-off-by: Lokesh Vutla --- board/ti/am335x/MAINTAINERS | 2 +- configs/am335x_evm_defconfig| 49 + configs/am335x_gp_evm_defconfig | 46

[U-Boot] [PATCH 3/8] ARM: dts: am335x-bone: Enable uart and timer

2016-05-10 Thread Lokesh Vutla
Allow am335x-bone.dts to be built and enable uart and timer for all beaglebones. Signed-off-by: Lokesh Vutla --- arch/arm/dts/Makefile| 2 +- arch/arm/dts/am335x-bone-common.dtsi | 5 + arch/arm/dts/am335x-bone.dts | 3 --- 3 files changed, 6

[U-Boot] [PATCH 2/8] board: am33xx: fit: add support for selecting dtb dynamically

2016-05-10 Thread Lokesh Vutla
FIT allows for a multiple dtb in a single image. SPL needs a way to detect the right dtb to be used. Adding support for the same. Signed-off-by: Lokesh Vutla --- board/ti/am335x/board.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[U-Boot] [PATCH 0/8] ARM: AM335x: Add support for FIT and various platforms

2016-05-10 Thread Lokesh Vutla
This series adds support for FIT and various AM335x based platforms BBB: http://pastebin.ubuntu.com/16340189/ BBW: http://pastebin.ubuntu.com/16340238/ AM335x-evm: http://pastebin.ubuntu.com/16340157/ AM335x-evmsk: http://pastebin.ubuntu.com/16340327/ Lokesh Vutla (6): ARM: AM33xx: configs:

[U-Boot] [PATCH 1/8] ARM: AM33xx: configs: Rename am335x_evm to am335xx_evm_nodt defconfig

2016-05-10 Thread Lokesh Vutla
This is to make am33xx_evm_defconfig to use DT and FIT support by default. Signed-off-by: Lokesh Vutla --- board/ti/am335x/MAINTAINERS | 2 +- configs/am335x_evm_defconfig | 44 --- configs/am335x_evm_nodt_defconfig | 44

[U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Mario Six
This patch adds a driver for the built-in GPIO controller of the MPC85XX SoC (probably supporting other PowerQUICC III SoCs as well). Each GPIO bank is identified by its own entry in the device tree, i.e. gpio-controller@fc00 { #gpio-cells = <2>; compatible = "fsl,pq3-gpio";

[U-Boot] [PATCH v2 2/3] dm: gpio: Add methods for open drain setting

2016-05-10 Thread Mario Six
Certain GPIO devices have the capability to switch their GPIOs into open-drain mode, that is, instead of actively driving the output (Push-pull output), the pin is connected to the collector (for a NPN transistor) or the drain (for a MOSFET) of a transistor, respectively. The pin then either forms

[U-Boot] [PATCH v2 0/3] dm: gpio: Add driver for MPC85xx GPIO controller

2016-05-10 Thread Mario Six
The functions for accessing GPIOs on MPC85xx are hardcoded in arch/powerpc/include/asm/mpc85xx_gpio.h This leads to problems if another GPIO controller supporting the driver model is to be used simultaneously. Therefore, this patch moves the "static" functions into a DM-compatible driver, and

[U-Boot] [PATCH v2 3/3] dm: gpio: Implement open drain for MPC85XX GPIO

2016-05-10 Thread Mario Six
This patch implements the open-drain setting feature for the MPC85XX GPIO controller. Signed-off-by: Mario Six --- v3: - Added missing commit message - Fixed white space issues in function headers --- drivers/gpio/Kconfig| 6 +++--- drivers/gpio/mpc85xx_gpio.c |

Re: [U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-10 Thread Miao Yan
Hi Bin, 2016-05-10 13:12 GMT+08:00 Bin Meng : > Hi Miao, > > On Tue, May 10, 2016 at 12:35 PM, Miao Yan wrote: >> 2016-05-10 11:08 GMT+08:00 Bin Meng : >>> On Tue, May 10, 2016 at 10:17 AM, Tom Rini wrote:

Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Mario Six
On Sun, May 8, 2016 at 3:28 PM, Timur Tabi wrote: > On Mon, May 2, 2016 at 6:43 AM, Mario Six wrote: > > Regarding the address width discrepancy: The system I'm working on is a > > P1022 Qoriq, which has 36 bit width, which implies that phys_addr_t needs > >

Re: [U-Boot] [PATCH 0/4] Add support for Cadence QSPI on K2G

2016-05-10 Thread Vignesh R
Hi, On 05/09/2016 08:04 PM, Jagan Teki wrote: > On 13 April 2016 at 16:22, Vignesh R wrote: >> >> This series adds support for Cadence QSPI controller present on K2G SoC. >> >> The first patch extends AHB address to 32 bit as K2G has 32 bit AHB >> address. Second patch enable

[U-Boot] [PATCH v4] dm: spi: Read default speed and mode values from DT

2016-05-10 Thread Vignesh R
In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at different bus frequencies and SPI modes. Signed-off-by: Vignesh R Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3] dm: spi: Read default speed and mode values from DT

2016-05-10 Thread Vignesh R
On 05/09/2016 08:15 PM, Jagan Teki wrote: > On 13 April 2016 at 15:40, Vignesh R wrote: >> In case of DT boot, don't read default speed and mode for SPI from >> CONFIG_*, instead read from DT node. This will make sure that boards >> with multiple SPI/QSPI controllers can be