Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Sughosh Ganu
hi Albert, On Mon Jul 08, 2013 at 09:55:51PM +0200, Albert ARIBAUD wrote: > > > Invalidating the cache in addition to flushing it would not prevent > > > further writes from dirtying the cache lines if they happen before > > > the cache is disabled. > > > > I have a doubt on this. The arm926ej

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Sughosh Ganu
hi Albert, On Mon Jul 08, 2013 at 09:55:51PM +0200, Albert ARIBAUD wrote: > > > Invalidating the cache in addition to flushing it would not prevent > > > further writes from dirtying the cache lines if they happen before > > > the cache is disabled. > > > > I have a doubt on this. The arm926ej

Re: [U-Boot] [PATCH 2/3] usb: omap5-evm: Add ethernet support to the uevm

2013-07-08 Thread Lokesh Vutla
Hi Dan, On Tuesday 09 July 2013 02:29 AM, Dan Murphy wrote: > Add code to configure the USB EHCI host controller. > This enumerates an ethernet controller through USB3 using > the HSIC lines. > > Signed-off-by: Dan Murphy > --- > arch/arm/cpu/armv7/omap5/hw_data.c | 15 +++ > arch

Re: [U-Boot] [PATCH] OMAP5: USB_EHCI: Enable ehci support for omap5

2013-07-08 Thread Lokesh Vutla
Hi Dan, On Tuesday 09 July 2013 02:29 AM, Dan Murphy wrote: > From: "Govindraj.R" > > * Enable all usb ehci related clocks. > * Add ehci support to omap5 board file and arch specific > sysc reg mask values. > * Enable config options for usb support and ethernet support > > Signed-off-by: Govin

Re: [U-Boot] [PATCH v6 03/12] nand: add Faraday FTNANDC021 NAND controller support

2013-07-08 Thread Kuo-Jung Su
2013/7/9 Scott Wood : > On 07/08/2013 08:42:01 PM, Kuo-Jung Su wrote: >> >> 2013/7/9 Scott Wood : >> > On 07/03/2013 10:40:35 PM, Kuo-Jung Su wrote: >> >> >> >> +#ifndef __ARMEB__ >> >> + put_unaligned_le32(readl(®s->dr), buf + off); >> >> +#else >> >> + put_unaligned_be

Re: [U-Boot] [PATCH v6 03/12] nand: add Faraday FTNANDC021 NAND controller support

2013-07-08 Thread Scott Wood
On 07/08/2013 08:42:01 PM, Kuo-Jung Su wrote: 2013/7/9 Scott Wood : > On 07/03/2013 10:40:35 PM, Kuo-Jung Su wrote: >> >> +#ifndef __ARMEB__ >> + put_unaligned_le32(readl(®s->dr), buf + off); >> +#else >> + put_unaligned_be32(readl(®s->dr), buf + off); >> +#endif > > >

Re: [U-Boot] [PATCH] net: ftmac110: cosmetics and cleanup

2013-07-08 Thread Kuo-Jung Su
2013/7/9 Joe Hershberger : > Hi Kuo-Jung Su, > > On Wed, Jul 3, 2013 at 9:10 PM, Kuo-Jung Su wrote: >> From: Kuo-Jung Su >> >> 1. Update license statement >> >> 2. struct ftmac110_regs __iomem *regs -> struct ftmac110_regs *regs. >> >> 3. Reformat hardware tx/rx descriptor as an uniform one, >>

Re: [U-Boot] [PATCH v6 03/12] nand: add Faraday FTNANDC021 NAND controller support

2013-07-08 Thread Kuo-Jung Su
2013/7/9 Scott Wood : > On 07/03/2013 10:40:35 PM, Kuo-Jung Su wrote: >> >> +#ifndef __ARMEB__ >> + put_unaligned_le32(readl(®s->dr), buf + off); >> +#else >> + put_unaligned_be32(readl(®s->dr), buf + off); >> +#endif > > > Can't you just use plain put_unaligned()? Be s

Re: [U-Boot] [PATCH v6 03/12] nand: add Faraday FTNANDC021 NAND controller support

2013-07-08 Thread Scott Wood
On 07/03/2013 10:40:35 PM, Kuo-Jung Su wrote: +#ifndef __ARMEB__ + put_unaligned_le32(readl(®s->dr), buf + off); +#else + put_unaligned_be32(readl(®s->dr), buf + off); +#endif Can't you just use plain put_unaligned()? Be sure to cast buf + off to a 32-bit pointer.

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-08 Thread Pavel Machek
Hi! > > > > From: Dinh Nguyen > > > > > > > > Because the SOCFPGA platform will include support for Cyclone V and > > > > Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to > > > > be more generic. > > > > > > > > Signed-off-by: Dinh Nguyen > > > > Reviewed-by: Pavel Machek >

Re: [U-Boot] [PATCH] net: ftmac110: cosmetics and cleanup

2013-07-08 Thread Joe Hershberger
Hi Kuo-Jung Su, On Wed, Jul 3, 2013 at 9:10 PM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > 1. Update license statement > > 2. struct ftmac110_regs __iomem *regs -> struct ftmac110_regs *regs. > > 3. Reformat hardware tx/rx descriptor as an uniform one, >and replace uint32_t[2] with uint64_t

Re: [U-Boot] [PATCH v3] net: Use ARRAY_SIZE at appropriate places

2013-07-08 Thread Joe Hershberger
Hi Axel, On Tue, Jul 2, 2013 at 10:24 PM, Axel Lin wrote: > Use ARRAY_SIZE instead of having similar implementation in each drivers. > The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used > at all, so this patch removes it instead of converting it to use ARRAY_SIZE. > > Signe

Re: [U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-08 Thread Joe Hershberger
Hi Jim and Stephen, On Wed, Jul 3, 2013 at 11:01 PM, Jim Lin wrote: > TFTP booting is slow when a USB keyboard is installed and > CONFIG_USB_KEYBOARD is defined. > This fix is to change Ctrl-C polling to every second when NET transfer > is running. > > Signed-off-by: Jim Lin > --- > Changes in v

Re: [U-Boot] [PATCH 2/2 V2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-07-08 Thread Timur Tabi
On 07/08/2013 01:19 PM, Wolfgang Denk wrote: > + uint32_t crc_buf; > + > + memcpy(&crc_buf, &buf[24], sizeof(unsigned int)); Well, this is wrong, because it should be sizeof(uint32_t). Or maybe sizeof(crc_buf). -- Timur Tabi __

Re: [U-Boot] Run a standalone application on a core other than 0

2013-07-08 Thread Scott Wood
On 07/08/2013 02:07:53 PM, João Fernandes wrote: Indeed, my code currently doesn't setup the TLB. So you're using the initial mapping that the U-Boot spin table code creates? It looks like that entry is missing MAS2_M. This needs to be fixed. The secondary IMA that U-Boot creates also nee

Re: [U-Boot] [PATCH 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-08 Thread Nishanth Menon
On 07/08/2013 03:53 PM, Dan Murphy wrote: Add the tca642x gpio expander driver http://www.ti.com/sitesearch/docs/universalsearch.tsp?searchTerm=tca642&linkId=1 I think there are just TCA6424 ? giving a link to the product helps I suppose. Signed-off-by: Dan Murphy --- drivers/gpio/Makefile

Re: [U-Boot] [PATCH 2/2] omap5: Configure the tca6424 gpio expander

2013-07-08 Thread Nishanth Menon
$subject omap5: uevm On 07/08/2013 03:54 PM, Dan Murphy wrote: Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. As well as HDMI PEO signal. we use HDMI in u-boot? Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c | 12 board/ti

Re: [U-Boot] [PATCH 2/3] usb: omap5-evm: Add ethernet support to the uevm

2013-07-08 Thread Nishanth Menon
On 07/08/2013 03:59 PM, Dan Murphy wrote: Add code to configure the USB EHCI host controller. This enumerates an ethernet controller through USB3 using the HSIC lines. Code says: > + * OMAP EHCI port support > + * Based on LINUX KERNEL > + * drivers/usb/host/ehci-omap.c and drivers/mfd/omap-usb-

Re: [U-Boot] Porting ehci-exynos.c to handle exynos4412 (odroid-u2)

2013-07-08 Thread Lukasz Majewski
On Mon, 8 Jul 2013 11:03:05 -0700 Suriyan Ramasami wrote: > Hello Lukasz, >Thanks for your response. I guess I was not very clear with my > question. > >u-boot code already exists for the odroid-u2 (that is what it > uses). So I assume that the u-boot code was the part of the BSP? The

[U-Boot] [PATCH 1/3] omap5: uevm: Change the board name to correct name

2013-07-08 Thread Dan Murphy
Change the board name for the sys info to 5432 uEVM Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index 90046e8..00bd72d 100644 --- a/board/ti/omap5_uevm/evm.c +

[U-Boot] [PATCH] OMAP5: USB_EHCI: Enable ehci support for omap5

2013-07-08 Thread Dan Murphy
From: "Govindraj.R" * Enable all usb ehci related clocks. * Add ehci support to omap5 board file and arch specific sysc reg mask values. * Enable config options for usb support and ethernet support Signed-off-by: Govindraj.R --- arch/arm/cpu/armv7/omap5/clocks.c| 20 +++---

[U-Boot] [PATCH 2/3] usb: omap5-evm: Add ethernet support to the uevm

2013-07-08 Thread Dan Murphy
Add code to configure the USB EHCI host controller. This enumerates an ethernet controller through USB3 using the HSIC lines. Signed-off-by: Dan Murphy --- arch/arm/cpu/armv7/omap5/hw_data.c | 15 +++ arch/arm/include/asm/arch-omap5/clock.h |6 + arch/arm/include/asm/arch-

[U-Boot] [PATCH 3/3] HACK: ehci-omap: do gpio toggle after port power is set

2013-07-08 Thread Dan Murphy
Need to check why gpio toggling in ehci-omap is not working and works only from ehci-hcd. Signed-off-by: Dan Murphy --- drivers/usb/host/ehci-hcd.c |7 ++- drivers/usb/host/ehci-omap.c |2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c

[U-Boot] [PATCH 1/2] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-08 Thread Dan Murphy
Add the tca642x gpio expander driver Signed-off-by: Dan Murphy --- drivers/gpio/Makefile |1 + drivers/gpio/tca642x.c | 312 include/tca642x.h | 64 ++ 3 files changed, 377 insertions(+) create mode 100644 drivers/gpio/tca642

[U-Boot] [PATCH 2/2] omap5: Configure the tca6424 gpio expander

2013-07-08 Thread Dan Murphy
Configure the tca6424 gpio expander This allows use of the debug and tri color LEDs. As well as HDMI PEO signal. Signed-off-by: Dan Murphy --- board/ti/omap5_uevm/evm.c | 12 board/ti/omap5_uevm/mux_data.h |2 ++ include/configs/omap5_uevm.h |5 + 3 files change

[U-Boot] [PATCH] gpio: tca642x: Add the tca642x gpio expander driver

2013-07-08 Thread Dan Murphy
Add the tca642x gpio expander driver Signed-off-by: Dan Murphy --- drivers/gpio/Makefile |1 + drivers/gpio/tca642x.c | 312 include/tca642x.h | 64 ++ 3 files changed, 377 insertions(+) create mode 100644 drivers/gpio/tca642

Re: [U-Boot] TLB mapping for pcie mem space for fsl corenet processors

2013-07-08 Thread Sughosh Ganu
hi Scott, On Tue, Jul 9, 2013 at 12:37 AM, Scott Wood wrote: > On 07/04/2013 01:13:29 PM, Sughosh Ganu wrote: > >> hi, >> The tlb entries for the pcie mem space for the corenet SoC's is done >> for 1.5GiB but certain boards use all the 4 pcie controller >> instantiations, and each controller is

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-08 Thread Albert ARIBAUD
Hi Dinh, On Mon, 8 Jul 2013 11:10:37 -0500, Dinh Nguyen wrote: > Hi Albert, > > On Fri, 2013-07-05 at 23:04 +0200, ZY - albert.u.boot wrote: > > Hi dingu...@altera.com, > > > > On Tue, 2 Jul 2013 17:00:18 -0500, wrote: > > > > > From: Dinh Nguyen > > > > > > Because the SOCFPGA platform wi

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Albert ARIBAUD
Hi Sughosh, On Mon, 8 Jul 2013 19:37:22 +0530, Sughosh Ganu wrote: > hi Albert, > > On Mon Jul 08, 2013 at 02:32:16PM +0200, Albert ARIBAUD wrote: > > Hi Sughosh, > > > > On Mon, 8 Jul 2013 17:38:46 +0530, Sughosh Ganu > > wrote: > > > > > hi Albert, > > > On Mon Jul 08, 2013 at 12:22:57PM +

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Stephen Warren
On 07/08/2013 01:50 PM, Marek Vasut wrote: > Dear Stephen Warren, > > [...] > >> I had already tested the commit in your tree right before the reverts >> (a36466c50b1b3614c3cfdae194227f7dd8e2c592); that's how I noticed that >> the reverts weren't necessary, since I'd expected that commit to fail

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Marek Vasut
Dear Stephen Warren, [...] > I had already tested the commit in your tree right before the reverts > (a36466c50b1b3614c3cfdae194227f7dd8e2c592); that's how I noticed that > the reverts weren't necessary, since I'd expected that commit to fail > but it didn't. So we are now all good? Ready for re

Re: [U-Boot] [PATCH v2 5/5] am335x_evm: Add basic README

2013-07-08 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> Add a README for the family of boards the am335x_evm covers, and include Tom> instructions on preparing and using falcon mode, for various media. Tom> Signed-off-by: Tom Rini Reviewed-by: Peter Korsgaard -- Bye, Peter Korsgaard ___

Re: [U-Boot] [PATCH v2 3/5] am335x_evm: Update eMMC falcon mode locations

2013-07-08 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> The previous location used for the "args" portion of falcon mode was too Tom> small to allow for a device tree to be saved there, so move the location Tom> slightly and increase the size. In addition, our previous kernel Tom> location was part of the area

Re: [U-Boot] [PATCH v2 2/5] am335x_evm: Correct DFU ALT settings for falcon mode

2013-07-08 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> Now that we have falcon mode enabled, the partiton numbers for NAND have Tom> changed, and we need to list entries for updating these parts of the Tom> system. While adding falcon mode entires for eMMC (raw), we round up Tom> the limit on U-Boot for ease

[U-Boot] Pull request: u-boot-video/master (updated)

2013-07-08 Thread Anatolij Gustschin
Hey Tom, here is an updated pull request, please pull. Thanks! Anatolij The following changes since commit e6bf18dba2a21bebf2c421b1c2e188225f6485a1: Prepare v2013.07-rc2 (2013-06-28 18:03:51 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you

Re: [U-Boot] TLB mapping for pcie mem space for fsl corenet processors

2013-07-08 Thread Scott Wood
On 07/04/2013 01:13:29 PM, Sughosh Ganu wrote: hi, The tlb entries for the pcie mem space for the corenet SoC's is done for 1.5GiB but certain boards use all the 4 pcie controller instantiations, and each controller is assigned 512MiB size in the config files. Should the tlb entries not map 2GiB

Re: [U-Boot] [PATCH 08/22] net: Add sunxi (Allwinner) wemac driver

2013-07-08 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/08/2013 12:29 PM, Joe Hershberger wrote: > Hi Tom, > > On Mon, Jul 8, 2013 at 11:16 AM, Tom Rini wrote: >> On Mon, Jul 08, 2013 at 10:43:03AM -0500, Joe Hershberger wrote: >>> On Sun, Nov 25, 2012 at 5:41 AM, Henrik Nordstr?m >>> wrote:

Re: [U-Boot] [PATCH] video: consolidate splash screen alignment code

2013-07-08 Thread Anatolij Gustschin
On Tue, 2 Jul 2013 00:04:05 +0200 Anatolij Gustschin wrote: > Code for checking "splashpos" environment variable is > duplicated in drivers, move it to the common function. > Call this function also in the bmp display command to > consider "splashpos" settings. > > Signed-off-by: Anatolij Gusts

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Stephen Warren
On 07/08/2013 12:25 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 07/08/2013 11:03 AM, Marek Vasut wrote: >>> Dear Stephen Warren, >>> On 07/08/2013 07:25 AM, Vivek Gautam wrote: > On Mon, Jul 8, 2013 at 6:33 PM, Marek Vasut wrote: >>> On Mon, Jul 1, 2013 at 10:11 PM, Stephen

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Marek Vasut
Dear Stephen Warren, > On 07/08/2013 11:03 AM, Marek Vasut wrote: > > Dear Stephen Warren, > > > >> On 07/08/2013 07:25 AM, Vivek Gautam wrote: > >>> On Mon, Jul 8, 2013 at 6:33 PM, Marek Vasut wrote: > > On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren > > > > > > wrote: > >> On 07

[U-Boot] [PATCH 2/2 V2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-07-08 Thread Wolfgang Denk
Fix: mpc8323erdb.c: In function 'mac_read_from_eeprom': mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Wolfgang Denk cc: Timur Tabi cc: Kim Phillips --- V2: use uint32_t for crc_buf to make sure we always get

[U-Boot] [PATCH 2/2 V2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-07-08 Thread Wolfgang Denk
Fix: mpc8323erdb.c: In function 'mac_read_from_eeprom': mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Wolfgang Denk cc: Timur Tabi cc: Kim Phillips --- V2: use uint32_t for crc_buf to make sure we always get

Re: [U-Boot] Run a standalone application on a core other than 0

2013-07-08 Thread Scott Wood
On 07/08/2013 12:22:03 PM, João Fernandes wrote: Thank you Scott. On a somehow related question, when I use "cpu X release" to run some code on a core other than 0, the changes to memory made by cpu X are not made visible globally. I believe this is connected with WIMGE bits - as soon as dis

Re: [U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-08 Thread Stephen Warren
On 07/03/2013 10:01 PM, Jim Lin wrote: > TFTP booting is slow when a USB keyboard is installed and > CONFIG_USB_KEYBOARD is defined. > This fix is to change Ctrl-C polling to every second when NET transfer > is running. Building this generates: net.c: In function ‘NetLoop’: net.c:486:6: warning:

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Stephen Warren
On 07/08/2013 11:03 AM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 07/08/2013 07:25 AM, Vivek Gautam wrote: >>> On Mon, Jul 8, 2013 at 6:33 PM, Marek Vasut wrote: > On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren > wrote: >> On 07/01/2013 07:49 AM, Vivek Gautam wrote: >>> On

Re: [U-Boot] Porting ehci-exynos.c to handle exynos4412 (odroid-u2)

2013-07-08 Thread Suriyan Ramasami
Hello Lukasz, Thanks for your response. I guess I was not very clear with my question. u-boot code already exists for the odroid-u2 (that is what it uses). Unfortunately, it does not have USB support. I am looking at just adding the EHCI and USB (uses a 3503A) part of the code. I checked

Re: [U-Boot] Run a standalone application on a core other than 0

2013-07-08 Thread João Fernandes
Thank you Scott. On a somehow related question, when I use "cpu X release" to run some code on a core other than 0, the changes to memory made by cpu X are not made visible globally. I believe this is connected with WIMGE bits - as soon as disable L1 and L2 it works fine - am I correct? If so, does

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Marek Vasut
Dear Stephen Warren, > On 07/08/2013 07:25 AM, Vivek Gautam wrote: > > On Mon, Jul 8, 2013 at 6:33 PM, Marek Vasut wrote: > >>> On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren wrote: > On 07/01/2013 07:49 AM, Vivek Gautam wrote: > > On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote:

[U-Boot] [PATCH 2/2] Revert "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Marek Vasut
This reverts commit 020bbcb76b5be0d5406d2ae7c26dbdb013ead812. This commit causes breakage of the EHCI, where on Tegra it is not possible to run "usb reset" twice as it results in the board hang. Signed-off-by: Marek Vasut Cc: Vivek Gautam Cc: Stephen Warren --- common/usb_hub.c | 34 ---

[U-Boot] [PATCH 1/2] Revert "usb: hub: Parallelize power-cycling of root-hub ports"

2013-07-08 Thread Marek Vasut
This reverts commit 0bf796f7ae22086f0504f3297e9fb4e96aa04161. This commit causes breakage of the EHCI, where on Tegra it is not possible to run "usb reset" twice as it results in the board hang. Signed-off-by: Marek Vasut Cc: Vivek Gautam Cc: Stephen Warren --- common/usb_hub.c | 19 +++

Re: [U-Boot] [PATCH 08/22] net: Add sunxi (Allwinner) wemac driver

2013-07-08 Thread Joe Hershberger
Hi Tom, On Mon, Jul 8, 2013 at 11:16 AM, Tom Rini wrote: > On Mon, Jul 08, 2013 at 10:43:03AM -0500, Joe Hershberger wrote: >> On Sun, Nov 25, 2012 at 5:41 AM, Henrik Nordstr?m >> wrote: >> > This patch adds support for the WEMAC, the ethernet controller included >> > in the Allwinner A10 SoC. I

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-08 Thread Dinh Nguyen
Hi Albert, On Fri, 2013-07-05 at 23:04 +0200, ZY - albert.u.boot wrote: > Hi dingu...@altera.com, > > On Tue, 2 Jul 2013 17:00:18 -0500, wrote: > > > From: Dinh Nguyen > > > > Because the SOCFPGA platform will include support for Cyclone V and > > Arria V FPGA parts, renaming socfpga_cyclone5

Re: [U-Boot] phylib: add natsemi dp83630 phy

2013-07-08 Thread Joe Hershberger
On Tue, Jun 4, 2013 at 3:58 AM, Heiko Schocher wrote: > add natsemi dp83630 phy, used on the upcoming siemens boards. > > Signed-off-by: Heiko Schocher > Cc: Andy Fleming > Cc: Joe Hershberger Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] U-Boot + libtomcrypt

2013-07-08 Thread Andreas Bießmann
Hi André, On 08.07.13 10:28, André Schaller wrote: > Hi there, > > I want to add some Random Number Generation functions / Hashing > Functions to u-boot. I implemented the functionality and now I need to > include it to the upstream source code of u-boot (inside > hwinit-common.c). I was wonderin

Re: [U-Boot] phylib: add atheros ar803x phy

2013-07-08 Thread Joe Hershberger
On Tue, Jun 4, 2013 at 3:58 AM, Heiko Schocher wrote: > add atheros ar803x phy, used on the upcoming siemens boards. > > Signed-off-by: Heiko Schocher > Cc: Andy Fleming > Cc: Joe Hershberger Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists

Re: [U-Boot] [PATCH 08/22] net: Add sunxi (Allwinner) wemac driver

2013-07-08 Thread Tom Rini
On Mon, Jul 08, 2013 at 10:43:03AM -0500, Joe Hershberger wrote: > On Sun, Nov 25, 2012 at 5:41 AM, Henrik Nordstr?m > wrote: > > This patch adds support for the WEMAC, the ethernet controller included > > in the Allwinner A10 SoC. It will get used in the upcoming A10 board > > support. > > > > Fr

[U-Boot] [PATCH v2 0/5] Improve falcon mode and am335x_evm docs

2013-07-08 Thread Tom Rini
Hey all, The following 5 patches update docs for falcon mode, and am335x_evm. The first adds a quick general note about how failure is decided in falcon mode and we drop back to U-Boot. The rest update slightly, and then document, falcon mode for am335x_evm by providing examples for eMMC or raw

[U-Boot] [PATCH v2 5/5] am335x_evm: Add basic README

2013-07-08 Thread Tom Rini
Add a README for the family of boards the am335x_evm covers, and include instructions on preparing and using falcon mode, for various media. Signed-off-by: Tom Rini --- board/ti/am335x/README | 113 1 file changed, 113 insertions(+) create mode

Re: [U-Boot] [PATCH 0/3] net: macb: add support for gigabit MAC

2013-07-08 Thread Joe Hershberger
On Wed, Apr 24, 2013 at 2:59 AM, Bo Shen wrote: > This patch add macb support for gigabit MAC, will be used by sama5d3. > Tha patch for sama5d3 is in patchwork: > http://patchwork.ozlabs.org/patch/226795/ > > After this patch is applied, will add gmac support for sama5d3 > > Bo Shen (3): > net

[U-Boot] [PATCH v2 3/5] am335x_evm: Update eMMC falcon mode locations

2013-07-08 Thread Tom Rini
The previous location used for the "args" portion of falcon mode was too small to allow for a device tree to be saved there, so move the location slightly and increase the size. In addition, our previous kernel location was part of the area we set aside for U-Boot itself, so move it up a bit highe

[U-Boot] [PATCH v2 1/5] README.falcon: Note how we determine if we can boot the OS or not

2013-07-08 Thread Tom Rini
Reviewed-by: Peter Korsgaard Signed-off-by: Tom Rini --- doc/README.falcon |2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/README.falcon b/doc/README.falcon index 93e855d..6357b1e 100644 --- a/doc/README.falcon +++ b/doc/README.falcon @@ -41,6 +41,8 @@ file (CONFIG_CMD_SPL_NAND_OFS

[U-Boot] [PATCH v2 4/5] am335x_evm: Correct CONFIG_CMD_SPL_WRITE_SIZE

2013-07-08 Thread Tom Rini
We use CONFIG_CMD_SPL_WRITE_SIZE when reading/writing the args portion of falcon mode to NAND. Previously it was half the size of the eraseblock which is too small, increase to eraseblock size. Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v2 2/5] am335x_evm: Correct DFU ALT settings for falcon mode

2013-07-08 Thread Tom Rini
Now that we have falcon mode enabled, the partiton numbers for NAND have changed, and we need to list entries for updating these parts of the system. While adding falcon mode entires for eMMC (raw), we round up the limit on U-Boot for ease of math later. Signed-off-by: Tom Rini --- include/conf

Re: [U-Boot] [PATCH v4] net: update FTGMAC100 for MMU/D-cache support

2013-07-08 Thread Joe Hershberger
On Tue, May 7, 2013 at 1:33 AM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > Signed-off-by: Kuo-Jung Su > CC: Joe Hershberger > CC: Tom Rini Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boo

Re: [U-Boot] [PATCH v4] net: add Faraday FTMAC110 10/100Mbps ethernet support

2013-07-08 Thread Joe Hershberger
On Tue, May 7, 2013 at 1:33 AM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux. > However it has a weird DMA alignment issue: > > (1) Tx DMA Buffer Address: > 1 bytes aligned: Invalid > 2 bytes aligned: O.K > 4 bytes a

Re: [U-Boot] [PATCH] net: phy: supplement support for Micrel's KSZ9031

2013-07-08 Thread Joe Hershberger
On Tue, Apr 30, 2013 at 9:57 AM, SARTRE Leo wrote: > Add function ksz9031_phy_extended_write and ksz9031_phy_extended_read > > Signed-off-by: Leo Sartre Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [Patch v2 0/3] Enable network support on at91sam9n12ek board

2013-07-08 Thread Joe Hershberger
On Tue, Apr 23, 2013 at 9:46 PM, Bo Shen wrote: > This patch set based on the following patch set: > - arm: at91: add at91sam9n12ek board support > - http://patchwork.ozlabs.org/patch/237184/ > > And implement the following things > - add ignore for network block comment style checking >

Re: [U-Boot] [PATCH] phylib: Add Atheros AR8035 GETH PHY support

2013-07-08 Thread Joe Hershberger
On Wed, Apr 10, 2013 at 3:23 AM, Xie Xiaobo wrote: > Signed-off-by: Xie Xiaobo Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] add support for Xilinx 1000BASE-X phy (GTX)

2013-07-08 Thread Joe Hershberger
On Thu, Feb 21, 2013 at 7:25 AM, Charles Coldwell wrote: > commit 39695029bc15041c809df3db4ba19bd729c447fa > Author: Charles Coldwell > Date: Tue Feb 19 08:27:33 2013 -0500 > > Changes to support the Xilinx 1000BASE-X phy (GTX/MGT) Applied, Thanks. -Joe

Re: [U-Boot] [PATCH] net: Correct check for link-local target IP conflict

2013-07-08 Thread Joe Hershberger
On Fri, Feb 8, 2013 at 2:18 PM, Joe Hershberger wrote: > Make the link-local code conform more completely with the RFC. > > This will prevent ARP queries for the target (such as while it is > rebooting) from causing the device to choose a different link-local > address, thinking that its address i

Re: [U-Boot] [Patch v2] PHY: micrel.c: add support for KSZ9031

2013-07-08 Thread Joe Hershberger
On Wed, Feb 6, 2013 at 3:18 PM, David Andrey wrote: > Add support for Micrel PHY KSZ9031 in phylib, > including small rework for KSZ9021 to avoid > code duplication > > Signed-off-by: David Andrey > Cc: Troy Kisky > Cc: Joe Herschberger > Cc: Andy Fleming Applied, Thanks. -Joe ___

Re: [U-Boot] [PATCH 2/2] net/tftp: sparse fixes

2013-07-08 Thread Joe Hershberger
On Wed, Jan 16, 2013 at 6:09 PM, Kim Phillips wrote: > tftp.c:464:17: warning: cast to restricted __be16 > tftp.c:552:29: warning: cast to restricted __be16 > tftp.c:640:33: warning: cast to restricted __be16 > tftp.c:642:25: warning: cast to restricted __be16 > > Signed-off-by: Kim Phillips > Cc

Re: [U-Boot] [PATCH 1/2] net: make IPaddr type big endian

2013-07-08 Thread Joe Hershberger
On Wed, Jan 16, 2013 at 6:09 PM, Kim Phillips wrote: > for use with sparse. > > Signed-off-by: Kim Phillips > Cc: Joe Hershberger Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/2] net/macb: Add arch specific routine to get mdio control

2013-07-08 Thread Joe Hershberger
On Thu, Dec 13, 2012 at 5:52 AM, Vipin Kumar wrote: > From: Shiraz Hashim > > SPEAr310 and SPEAr320 Ethernet interfaces share same MDIO lines to control > their > respective phys. Currently there is a fixed configuration in which only a > particular MAC can use the MDIO lines. > > Call an arch s

Re: [U-Boot] [PATCH v2 1/2] net/designware: Do not select MIIPORT for RGMII interface

2013-07-08 Thread Joe Hershberger
On Thu, Dec 13, 2012 at 5:52 AM, Vipin Kumar wrote: > Do not select MIIPORT for RGMII interface > > Signed-off-by: Vipin Kumar > Acked-by: Stefan Roese Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH] net: nfs: add dynamic wait period

2013-07-08 Thread Joe Hershberger
On Tue, Dec 11, 2012 at 12:14 PM, Matthias Brugger wrote: > This patch tackles the time out problem which leads to break the > boot process, when loading file over nfs. The patch does two things. > > First of all, we just ignore messages that arrive with a rpc_id smaller > then the client id. We j

Re: [U-Boot] [PATCH v2 08/10] NET: mvgbe: add support for Dove

2013-07-08 Thread Joe Hershberger
On Tue, Dec 4, 2012 at 2:32 AM, Sebastian Hesselbarth wrote: > Marvell Dove also uses mvgbe as ethernet driver, therefore add support > for Dove to reuse the current driver. > > Signed-off-by: Sebastian Hesselbarth Applied, Thanks. -Joe ___ U-Boot mail

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Stephen Warren
On 07/08/2013 07:25 AM, Vivek Gautam wrote: > On Mon, Jul 8, 2013 at 6:33 PM, Marek Vasut wrote: >>> On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren >>> wrote: On 07/01/2013 07:49 AM, Vivek Gautam wrote: > On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: >>> (Sorry to those on

Re: [U-Boot] [PATCH v4 08/10] NET: mvgbe: add phylib support

2013-07-08 Thread Joe Hershberger
On Sun, May 26, 2013 at 1:37 PM, Sascha Silbe wrote: > From: Sebastian Hesselbarth > > This add phylib support to the Marvell GBE driver. > > Signed-off-by: Sebastian Hesselbarth > Acked-by: Prafulla Wadaskar > Signed-off-by: Sascha Silbe Applied, Thanks. -Joe

Re: [U-Boot] [PATCH v4 07/10] NET: phy: add 88E1310 PHY initialization

2013-07-08 Thread Joe Hershberger
On Sun, May 26, 2013 at 1:37 PM, Sascha Silbe wrote: > From: Sebastian Hesselbarth > > This adds PHY initialization for Marvell Alaska 88E1310 PHY. > > Signed-off-by: Sebastian Hesselbarth Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v2] pxe: try bootz if bootm fails to find a valid image

2013-07-08 Thread Joe Hershberger
On Mon, Dec 3, 2012 at 1:17 PM, Rob Herring wrote: > From: Rob Herring > > Standard pxelinux servers will typically use a zImage rather than u-boot > image format, so fallback to bootz if bootm fails. > > Signed-off-by: Rob Herring Applied, Thanks. -Joe _

Re: [U-Boot] [PATCH 01/10] pxe: Use ethact setting for pxe

2013-07-08 Thread Joe Hershberger
On Sun, Dec 2, 2012 at 9:00 PM, Rob Herring wrote: > From: Rob Herring > > Get the MAC address using eth_getenv_enetaddr_by_index so that the MAC > address of ethact is used. This enables using the a NIC other than the > first one for PXE boot. > > Signed-off-by: Rob Herring Applied series, Tha

Re: [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2013-07-08 Thread Joe Hershberger
On Wed, Nov 28, 2012 at 4:15 AM, wrote: > From: Yegor Yefremov > > The driver code was taken from Linux kernel source: > drivers/net/phy/icplus.c > > Signed-off-by: Yegor Yefremov Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de htt

Re: [U-Boot] [PATCH 1/2] phy: export genphy_parse_link()

2013-07-08 Thread Joe Hershberger
On Tue, Jan 15, 2013 at 4:41 AM, Yegor Yefremov wrote: > On Wed, Nov 28, 2012 at 11:15 AM, wrote: >> From: Yegor Yefremov >> >> Signed-off-by: Yegor Yefremov Applied, Thanks. -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mai

Re: [U-Boot] [PATCH 08/22] net: Add sunxi (Allwinner) wemac driver

2013-07-08 Thread Joe Hershberger
On Sun, Nov 25, 2012 at 5:41 AM, Henrik Nordström wrote: > This patch adds support for the WEMAC, the ethernet controller included > in the Allwinner A10 SoC. It will get used in the upcoming A10 board > support. > > From: Stefan Roese > Signed-off-by: Stefan Roese > Signed-off-by: Henrik Nordst

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-08 Thread Tom Rini
On Mon, Jul 08, 2013 at 09:17:10AM -0500, Robert Nelson wrote: > On Mon, Jul 8, 2013 at 9:13 AM, Tom Rini wrote: > > On Thu, Jul 04, 2013 at 01:26:11PM -0700, Simon Glass wrote: > >> In the recent bootm refactor, the PREP stage was missing in the bootz > >> command. This causes unpredictable beha

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-08 Thread Robert Nelson
On Mon, Jul 8, 2013 at 9:13 AM, Tom Rini wrote: > On Thu, Jul 04, 2013 at 01:26:11PM -0700, Simon Glass wrote: >> In the recent bootm refactor, the PREP stage was missing in the bootz >> command. This causes unpredictable behaviour. >> >> The use of a local variable means that the reset of cmd_boo

Re: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-07-08 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/08/2013 04:59 AM, Sumit Gemini wrote: > HI Lukasz, > > I am using spi nor flash, and may i know the fixes which you > fixed, and all changes. because i am facing problem only in > upload. This means you are not using mainline, as we do not have

Re: [U-Boot] [PATCH v2 5/5] bootm: Add the missing PREP stage to bootz and correct image handling

2013-07-08 Thread Tom Rini
On Thu, Jul 04, 2013 at 01:26:11PM -0700, Simon Glass wrote: > In the recent bootm refactor, the PREP stage was missing in the bootz > command. This causes unpredictable behaviour. > > The use of a local variable means that the reset of cmd_bootm.c does not > in fact use the same image structure,

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Sughosh Ganu
hi Albert, On Mon Jul 08, 2013 at 02:32:16PM +0200, Albert ARIBAUD wrote: > Hi Sughosh, > > On Mon, 8 Jul 2013 17:38:46 +0530, Sughosh Ganu > wrote: > > > hi Albert, > > On Mon Jul 08, 2013 at 12:22:57PM +0200, Albert ARIBAUD wrote: > > > > > > > > > It you flush first then disable, you leav

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Vivek Gautam
Hi Marek, On Mon, Jul 8, 2013 at 6:33 PM, Marek Vasut wrote: > Hi guys, > >> On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren >> wrote: >> > On 07/01/2013 07:49 AM, Vivek Gautam wrote: >> >> Hi Marek, >> >> >> >> On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: >> >>> Dear Stephen Warren,

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-08 Thread Tom Rini
On Fri, Jul 05, 2013 at 01:48:30PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, Jul 5, 2013 at 1:29 PM, Tom Rini wrote: > > > On Fri, Jul 05, 2013 at 01:21:09PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, Jul 5, 2013 at 1:15 PM, Tom Rini wrote: > > > > > > > On Fri, Jul 05, 2

[U-Boot] [PATCH] omap3/sys_info: fix printout of OMAP36XX L3 freqency

2013-07-08 Thread Andreas Bießmann
The OMAP36xx/OMAP37xx family uses L3 frequency of 200MHz instead of 165MHz used by OMAP34xx/OMAP35xx. Also fix checkpatch warning about alignment. Signed-off-by: Andreas Bießmann --- arch/arm/cpu/armv7/omap3/sys_info.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [U-Boot] [PATCH] usb: fix unaligned access in device_qual()

2013-07-08 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Marek, > > On Wed, 3 Jul 2013 15:30:20 +0200, Marek Vasut wrote: > > Dear Albert ARIBAUD, > > > > > Hi Marek, > > > > > > On Thu, 27 Jun 2013 15:23:33 +0200, Marek Vasut wrote: > > > > Hello Albert, > > > > > > > > > Hi Marek, > > > > > > > > > > On Thu, 27 Jun 201

Re: [U-Boot] [PATCH 0/7] USB: XHCI: Add xHCI host controller stack driver

2013-07-08 Thread Marek Vasut
Hi Vivek, [...] > Very well said. I can see Dan's stack is nicely sync'ed with Linux > (with ifdef's ;-) which i am sure are going to vanish down the line) > I had a initial look at Dan's patches, which have backported DWC3 and > XHCI, but i am sure we are going to > need some amount of code to b

Re: [U-Boot] Regression due to 020bbcb "usb: hub: Power-cycle on root-hub ports"

2013-07-08 Thread Marek Vasut
Hi guys, > On Mon, Jul 1, 2013 at 10:11 PM, Stephen Warren wrote: > > On 07/01/2013 07:49 AM, Vivek Gautam wrote: > >> Hi Marek, > >> > >> On Sun, Jun 30, 2013 at 10:08 PM, Marek Vasut wrote: > >>> Dear Stephen Warren, > >>> > (Sorry to those on to/cc; I'm resending this so it goes to the

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Albert ARIBAUD
Hi Sughosh, On Mon, 8 Jul 2013 17:38:46 +0530, Sughosh Ganu wrote: > hi Albert, > On Mon Jul 08, 2013 at 12:22:57PM +0200, Albert ARIBAUD wrote: > > > > > It you flush first then disable, you leave a time window between the > > two where a write to the cache can happen (either because your co

Re: [U-Boot] [PATCH 4/4] arm:goni: Add support for USB mass storage

2013-07-08 Thread Minkyu Kang
On Monday, July 8, 2013, Minkyu Kang wrote: > On 04/07/13 19:52, Lukasz Majewski wrote: > > From: Arkadiusz Wlodarczyk > > > > > This commit enables support for USB mass storage composite function. > > It defines platform code and enables it at config file. > > > > Signed-off-by: Arkadiusz Wlodarc

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Sughosh Ganu
hi Albert, On Mon Jul 08, 2013 at 12:22:57PM +0200, Albert ARIBAUD wrote: > It you flush first then disable, you leave a time window between the > two where a write to the cache can happen (either because your code > does one, or because the compiler optimized one in). If it happens, > then you

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-08 Thread Sughosh Ganu
hi Albert, On Mon Jul 08, 2013 at 12:22:57PM +0200, Albert ARIBAUD wrote: > It you flush first then disable, you leave a time window between the > two where a write to the cache can happen (either because your code > does one, or because the compiler optimized one in). If it happens, > then you

  1   2   >