Re: [U-Boot] [PATCH V2 1/1] net: phy: micrel: make ksz9021 phy accessible

2012-07-10 Thread Dirk Behme
On 11.07.2012 02:53, Troy Kisky wrote: On 6/28/2012 11:00 AM, Troy Kisky wrote: Micrel accidentally used the same part number for the KS8721 and KSZ9021. So, both cannot be in the same build of u-boot. Add a config option to handle this. Signed-off-by: Troy Kisky Acked-by: Vladimir Zapolskiy

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-10 Thread Sughosh Ganu
On Tue Jul 10, 2012 at 11:20:53PM +0400, Mikhail Kshevetskiy wrote: > On Wed, 11 Jul 2012 00:09:06 +0530 > Sughosh Ganu wrote: > > > diff --git a/arch/arm/cpu/arm926ejs/davinci/spl.c > > > b/arch/arm/cpu/arm926ejs/davinci/spl.c index 74632e5..50b4bbc 100644 > > > --- a/arch/arm/cpu/arm926ejs/davin

Re: [U-Boot] [PATCH] mx6: Make pad name macro consistent with the datasheet

2012-07-10 Thread Dirk Behme
On 07.07.2012 18:54, Stefano Babic wrote: On 15/06/2012 15:48, Ashok wrote: Use the same name as defined in the datasheet. DSP_CLK -> DISP_CLK Signed-off-by: Ashok Kumar Reddy Kourla --- Applied to u-boot-imx, thanks. Hmm, this isn't part of v2012.07-rc1? Sorry if I missed something. B

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
Below is my current progress, as I'm not any kind of a programmer (I hack in Python a bit) this is where I hit a brick wall. I compiled U-Boot with both Guruplug and Dreamplug configurations. The Dreamplug configuration I cannot flash as it will want to boot from SPI, which isn't on the V10s,

Re: [U-Boot] [PATCH 1/3] common/cmd_rsmode.c: add imx reset mode command

2012-07-10 Thread Dirk Behme
On 22.06.2012 18:04, Eric Nelson wrote: On 06/21/2012 03:57 PM, Wolfgang Denk wrote: Dear Eric Nelson, In message<4fcd17a5.6030...@boundarydevices.com> you wrote: The function of the watchdog should be reserved for auch systems who need it to implement security related functions; messing with

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-07-10 Thread Dirk Behme
On 12.06.2012 19:23, Marek Vasut wrote: Dear Eric Nelson, On 06/12/2012 10:07 AM, Stefano Babic wrote: On 15/05/2012 14:58, Dirk Behme wrote: On 09.05.2012 07:45, Stefano Babic wrote: On 09/05/2012 01:31, Eric Nelson wrote: Thanks Andy, On 05/08/2012 03:59 PM, Andy Fleming wrote: --- a/dr

Re: [U-Boot] [PATCH 3/3] mxc_i2c: remove setting speed at each start

2012-07-10 Thread Dirk Behme
On 06.05.2012 17:27, Stefano Babic wrote: On 06/05/2012 01:06, Marek Vasut wrote: Dear Troy Kisky, On 5/5/2012 2:36 PM, Marek Vasut wrote: Dear Troy Kisky, On 5/5/2012 6:08 AM, Marek Vasut wrote: Dear Troy Kisky, On 4/24/2012 8:33 PM, Troy Kisky wrote: Other then being very weird, this

Re: [U-Boot] [PATCH 1/3] mxc_i2c: specify i2c base address in config file

2012-07-10 Thread Dirk Behme
On 06.05.2012 17:27, Stefano Babic wrote: On 25/04/2012 05:33, Troy Kisky wrote: The following platforms had their config files changed flea3, imx31_phycore, mx35pdk, mx53ard, mx53evk, mx53smd Signed-off-by: Troy Kisky --- Hi Troy, arch/arm/include/asm/arch-mx31/imx-regs.h |7 +++

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-07-10 Thread Dirk Behme
Hi Fabio, On 15.04.2012 11:02, stefano babic wrote: Am 14/04/2012 22:13, schrieb Wolfgang Denk: Dear Stefano, In message <4f898ca5.8070...@denx.de> you wrote: The start address CONFIG_SYS_MEMTEST_START is the lowest address of the SDRAM that can be accessed, that is MMDC0_ARB_BASE_ADDR (0x100

Re: [U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-10 Thread Michal Simek
On 07/10/2012 11:04 PM, Simon Glass wrote: Hi Mich On Tue, Jul 10, 2012 at 11:34 AM, Michal Simek mailto:mon...@monstr.eu>> wrote: On 07/09/2012 11:32 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mailto:mon...@monstr.eu>

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 05:08 PM, Marek Vasut wrote: Dear Michal Simek, [...] Michal, can you try investigating how will the DT probing intertwine with the DM? Firstly I need to understand what you are trying to achieve and how. Then if I have time I can look at how DT probing can be added to it. But

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 05:11 PM, Marek Vasut wrote: Dear Michal Simek, Dear Wolfgang, On 07/10/2012 03:03 PM, Wolfgang Denk wrote: Dear Michal Simek, In message<4ffc1ef8.9060...@monstr.eu> you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on inform

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-10 Thread Michal Simek
On 07/10/2012 08:36 PM, Stephan Linz wrote: Am Dienstag, den 10.07.2012, 10:16 +0200 schrieb Michal Simek: On 07/09/2012 09:06 PM, Stephan Linz wrote: Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: microblaze: Fix CONFIG_SYS_HZ usage in board config Do not use hardcoded value. U

Re: [U-Boot] U-boot Porting

2012-07-10 Thread Wolfgang Denk
Dear Aaron, In message <4ffcaf12.1030...@cavium.com> you wrote: > > I made a number of additions to the header files. For the most part I > did not update them from Linux but modified the existing ones. I tried > to keep my changes minimal. As I said I use board_octeon.c instead of > board.c.

Re: [U-Boot] [PATCH v2 07/19] tegra: fdt: Add LCD definitions for Tegra

2012-07-10 Thread Thierry Reding
On Wed, Jul 11, 2012 at 06:44:10AM +0200, Simon Glass wrote: > Hi Stephen, > > On Fri, Jun 15, 2012 at 1:32 AM, Stephen Warren wrote: > > > On 06/13/2012 10:19 AM, Simon Glass wrote: > > > Add LCD definitions and also a proposed binding for LCD displays. > > > > > > The PWFM is in progress on the

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Wolfgang Denk
Dear Joe, In message you wrote: > > I assumed that I received it because I was directly addressed, but > perhaps noone on the mailing list (including PW) received it. A simple test is always to check if the message ID is known to gmane; in this case we have Message-ID: <1341901134-7826-1-git-

Re: [U-Boot] [PATCH 06/12] microblaze: intc: Add device-tree driver configuration

2012-07-10 Thread Michal Simek
On 07/10/2012 11:02 PM, Simon Glass wrote: Hi Michal, On Tue, Jul 10, 2012 at 11:07 AM, Michal Simek mailto:mon...@monstr.eu>> wrote: On 07/09/2012 11:26 PM, Simon Glass wrote: Hi Michal, On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek mailto:mon...@monstr.eu>

Re: [U-Boot] [PATCH v2 09/19] tegra: Add SOC support for display/lcd

2012-07-10 Thread Simon Glass
On Wed, Jul 11, 2012 at 6:49 AM, Simon Glass wrote: > Hi Stephen, > > > On Fri, Jun 15, 2012 at 1:39 AM, Stephen Warren wrote: > >> On 06/13/2012 10:19 AM, Simon Glass wrote: >> > From: Wei Ni >> > >> > Add support for the LCD peripheral at the Tegra2 SOC level. A separate >> > LCD driver will u

Re: [U-Boot] [PATCH v2 03/19] fdt: Add function to look up a phandle's register address

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:17 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > This is a commonly-used requirement, so add a function to support it > > easily. > > Uggh. Why would this ever be needed; shouldn't the driver for the node > referenced by the phand

Re: [U-Boot] [PATCH v2 14/19] lcd: Add support for flushing LCD fb from dcache after update

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:51 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > This provides an option for the LCD to flush the dcache after each update > > (puts, scroll or clear). > > > diff --git a/common/cmd_echo.c b/common/cmd_echo.c > > > + /* Use pu

Re: [U-Boot] [PATCH v2 12/19] arm: Add control over cachability of memory regions

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:49 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > Add support for adjusting the cachability of an L1 section by updating > > the MMU. The mmu_set_region_dcache() function allows drivers to make > > these changes after the MMU is se

Re: [U-Boot] [PATCH v2 11/19] tegra: Add LCD support to Nvidia boards

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:47 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > Add calls to the LCD driver from Nvidia board code. > > > diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > > > @@ -87,6 +88,9 @@ int board_init(void) > > > +

Re: [U-Boot] [PATCH v2 10/19] tegra: Add LCD driver

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:45 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > This driver supports driving a single LCD and providing a U-Boot console > > on it. > > > +int fdt_decode_lcd(const void *blob, struct fdt_lcd *config) > > > + fdtdec_decode_gpi

Re: [U-Boot] [PATCH v2 08/19] tegra: Add support for PWFM

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:35 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > The pulse width/frequency modulation peripheral supports generating > > a repeating pulse. It is useful for controlling LCD brightness. > > Surely this should be modeled as a driver

Re: [U-Boot] [PATCH v2 07/19] tegra: fdt: Add LCD definitions for Tegra

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:32 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > Add LCD definitions and also a proposed binding for LCD displays. > > > > The PWFM is in progress on the device-tree-discuss list, so only a > > very basic binding is offered here.

Re: [U-Boot] [PATCH] ARM: EXYNOS: fixed compiler warning message

2012-07-10 Thread Rajeshwari Birje
Hi Jaehoon Chung, Acked-by: Rajeshwari Shinde Thanks and Regards, Rajeshwari Shinde. On Tue, Jul 10, 2012 at 12:50 PM, Jaehoon Chung wrote: > Removed [-Wuninitialized] warning message. > The fout_sel is assigned to "-1" by default. > And start, gpio_func is initialized to 0. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 06/19] tegra: Add display support to funcmux

2012-07-10 Thread Simon Glass
Hi Stephen, On Fri, Jun 15, 2012 at 1:24 AM, Stephen Warren wrote: > On 06/13/2012 10:19 AM, Simon Glass wrote: > > Add support for a default pin mapping for display1. > > > +static const struct pingroup_config disp1_default[] = { > > + PINMUX(LM0, RSVD4, NORMAL,NORMAL), > > +

Re: [U-Boot] [PATCH V2 1/1] net: phy: micrel: make ksz9021 phy accessible

2012-07-10 Thread Troy Kisky
On 6/28/2012 11:00 AM, Troy Kisky wrote: Micrel accidentally used the same part number for the KS8721 and KSZ9021. So, both cannot be in the same build of u-boot. Add a config option to handle this. Signed-off-by: Troy Kisky Acked-by: Vladimir Zapolskiy --- v2: add ack --- drivers/net/phy/m

Re: [U-Boot] U-boot Porting

2012-07-10 Thread Aaron Williams
Hi Daniel, My comments are inline. On 07/09/2012 02:11 PM, Daniel Schwierzeck wrote: Hi Aaron, 2012/7/6 Aaron Williams : Hi Andreas, I would love to see OCTEON support in the mainline as well, though I am not sure how I should go about this since it is a substantial amount of code. Fortunate

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2012-07-10 Thread Joe Hershberger
Hi Marek, On Fri, Dec 16, 2011 at 2:36 PM, Marek Vasut wrote: >> On Friday 16 December 2011 13:13:33 Marek Vasut wrote: >> > On Friday 16 December 2011 12:33:53 Mike Frysinger wrote: >> > > rename ISA_OFFSET to CONFIG_NE2000_IO_OFFSET, then move the "2" to >> > > CONFIG_NE2000_IO_STRIDE, and move

Re: [U-Boot] [PATCH v4] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-07-10 Thread Andy Fleming
On Mon, May 7, 2012 at 8:41 AM, Dirk Eibach wrote: > Signed-off-by: Dirk Eibach > Cc: Timur Tabi > --- > Changes in v2: > - add Cc > - split up original patch series > Changes in v3: > - use clrsetbits() instead of clrbits()/setbits() > - remove dead code > - remove unnecessary #undef > Changes

Re: [U-Boot] [PATCH] fdt: Include arch specific gpio.h

2012-07-10 Thread Simon Glass
Hi Michal, On Tue, Jul 10, 2012 at 11:56 AM, Michal Simek wrote: > Also include arch specific gpio.h which can contain > gpio function implementation. > > Signed-off-by: Michal Simek > CC: Simon Glass > --- > lib/fdtdec.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff -

Re: [U-Boot] [PATCH 09/12] microblaze: timer: Add device-tree driver configuration

2012-07-10 Thread Simon Glass
Hi Mich On Tue, Jul 10, 2012 at 11:34 AM, Michal Simek wrote: > On 07/09/2012 11:32 PM, Simon Glass wrote: > >> Hi Michal, >> >> >> On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek > mon...@monstr.eu>> wrote: >> >> Read configuration from DTB. >> >> Signed-off-by: Michal Simek > mon...@monst

Re: [U-Boot] [PATCH 06/12] microblaze: intc: Add device-tree driver configuration

2012-07-10 Thread Simon Glass
Hi Michal, On Tue, Jul 10, 2012 at 11:07 AM, Michal Simek wrote: > On 07/09/2012 11:26 PM, Simon Glass wrote: > >> Hi Michal, >> >> >> On Mon, Jul 9, 2012 at 2:20 AM, Michal Simek > mon...@monstr.eu>> wrote: >> >> Read configuration from DTB. >> >> Signed-off-by: Michal Simek > mon...@mo

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
I have everything working via openocd I compiled a U-Boot for Dreamplug on a Raspberry Pi and noticed that it isn't configured to support the V10 Dreamplugs. I'm compiling another version as we speak for the guru plug board and will report back on that one. The V10s don't have SPI/NOR flash a

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, On Tue, Jul 10, 2012 at 2:39 PM, Wolfgang Denk wrote: > Dear Joe, > > In message > you > wrote: >> >> Something about your email is not being pulled into patchwork. >> Perhaps it hasn't made it past a list moderator? > > List moderation has nothing to do with that. Patchwork is ju

Re: [U-Boot] [PATCH V3 3/3] arm/davinci: spl - add compressed u-boot image support

2012-07-10 Thread Mikhail Kshevetskiy
On Wed, 11 Jul 2012 00:19:26 +0530 Sughosh Ganu wrote: > hi Mikhail, > On Mon Jul 09, 2012 at 10:53:40PM +0400, Mikhail Kshevetskiy wrote: > > Motivation: > > * we have a board with 128 Kb spi flash, so normal u-boot.ais does not > >fit on it. > > > > This patch add support of compressed 2-

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-10 Thread Mikhail Kshevetskiy
On Wed, 11 Jul 2012 00:09:06 +0530 Sughosh Ganu wrote: > hi Mikhail, > On Mon Jul 09, 2012 at 10:53:39PM +0400, Mikhail Kshevetskiy wrote: > > This patch allow us to have a universal spl that detects a boot > > device and select a corresponding boot algorithm for main u-boot part > > (SOC_DA8XX o

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Wolfgang Denk
Dear Joe, In message you wrote: > > Something about your email is not being pulled into patchwork. > Perhaps it hasn't made it past a list moderator? List moderation has nothing to do with that. Patchwork is just another e-mail address registered on the mailing list, so if you receive t throug

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-10 Thread Joe Hershberger
Hi Prafulla, On Mon, Jul 9, 2012 at 3:42 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Holger Brunck [mailto:holger.bru...@keymile.com] >> Sent: 09 July 2012 17:34 >> To: Prafulla Wadaskar >> Cc: Detlev Zundel; Valentin Longchamp; u-boot@lists.denx.de >> Subject: Re: [PA

Re: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash

2012-07-10 Thread Hornung, Michael
On Mon, Jul 9, 2012 at 9:45 PM, Fabio Estevam wrote: > Hi Michael, Hi Fabio, > > On Mon, Jul 9, 2012 at 9:57 AM, Hornung, Michael wrote: > >> +++ b/board/freescale/mx35pdk/imximage.cfg >> >> +BOOT_FROM spi > > Please see the Freescale U-boot, you missed the initialization of the CS5: > >

[U-Boot] [PATCH v3 2/2] arm: work around assembler bug

2012-07-10 Thread Allen Martin
Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions < 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a short branch (b.n instruction) that won't reach when the symbol gets preempted. http://so

[U-Boot] [PATCH v3 1/2] tools, config.mk: add binutils-version

2012-07-10 Thread Allen Martin
Modeled after gcc-version, add function to get binutils version. Signed-off-by: Allen Martin --- config.mk |1 + tools/binutils-version.sh | 20 2 files changed, 21 insertions(+) create mode 100755 tools/binutils-version.sh diff --git a/config.mk b/co

[U-Boot] Pull request: u-boot-net/master

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, Please pull a few bug fixes. The following changes since commit 211e47549b668c7cdd8658c0413a272f0d0495d4: Wolfgang Denk (1): Prepare v2012.07-rc1 are available in the git repository at: git://git.denx.de/u-boot-net.git master Mike Frysinger (1): net: fix typo in

Re: [U-Boot] [PATCH] net: fix typo in arp clean up

2012-07-10 Thread Joe Hershberger
Hi Mike, On Tue, Jul 10, 2012 at 5:41 AM, Mike Frysinger wrote: > The clean up patch missed an &, so we end up passing an int rather than > a pointer to the sprintf function. > > arp.c: In function 'ArpReceive': > arp.c:197: warning: format '%p' expects type 'void *', but argument 3 has > type '

Re: [U-Boot] [PATCH V3 3/3] arm/davinci: spl - add compressed u-boot image support

2012-07-10 Thread Sughosh Ganu
hi Mikhail, On Mon Jul 09, 2012 at 10:53:40PM +0400, Mikhail Kshevetskiy wrote: > Motivation: > * we have a board with 128 Kb spi flash, so normal u-boot.ais does not >fit on it. > > This patch add support of compressed 2-nd u-boot stage. To create a compressed > ais image its required: > *

Re: [U-Boot] [PATCH V3 2/3] arm/davinci: spl - boot device selection

2012-07-10 Thread Sughosh Ganu
hi Mikhail, On Mon Jul 09, 2012 at 10:53:39PM +0400, Mikhail Kshevetskiy wrote: > This patch allow us to have a universal spl that detects a boot > device and select a corresponding boot algorithm for main u-boot part > (SOC_DA8XX only) I have not tested this patch, will do so sometime this week.

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Joe Hershberger
On Tue, Jul 10, 2012 at 1:35 PM, Timur Tabi wrote: > Joe Hershberger wrote: > > diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c > index bb57e4d..268d884 100644 > --- a/drivers/net/sh_eth.c > +++ b/drivers/net/sh_eth.c > @@ -415,7 +415,11 @@ static int sh_eth_config(str

Re: [U-Boot] [PATCH 08/12] microblaze: timer: Prepare for device-tree initialization

2012-07-10 Thread Stephan Linz
Am Dienstag, den 10.07.2012, 10:16 +0200 schrieb Michal Simek: > On 07/09/2012 09:06 PM, Stephan Linz wrote: > > Am Montag, den 09.07.2012, 11:20 +0200 schrieb Michal Simek: > >> microblaze: Fix CONFIG_SYS_HZ usage in board config > >> > >> Do not use hardcoded value. Use CONFIG_SYS_HZ instead. >

Re: [U-Boot] [PATCH RESEND] tftp: fix type of block arg to store_block

2012-07-10 Thread Joe Hershberger
Hi Jayachandran C, On Tue, Jul 10, 2012 at 1:18 AM, Jayachandran C wrote: > [Sending again, probably for the last time. This is a simple fix for an > obvious issue, please merge if you are convinced :) ] > > The block argument for store_block can be -1 when the tftp sequence > number rolls over

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Timur Tabi
Joe Hershberger wrote: @@ -384,7 +387,11 @@ static int fm_eth_open(struct eth_device *dev, bd_t *bd) fmc_tx_port_graceful_stop_disable(fm_eth); #ifdef CONFIG_PHYLIB - phy_startup(fm_eth->phydev); + ret = phy_startup(fm_eth->phydev); +

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Joe Hershberger
Hi Timur Tabi, On Tue, Jul 10, 2012 at 11:15 AM, Timur Tabi wrote: > Joe Hershberger wrote: > >>> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c >>> index eee41d7..5700552 100644 >>> --- a/drivers/net/fec_mxc.c >>> +++ b/drivers/net/fec_mxc.c >>> @@ -510,7 +510,13 @@ static int fec_op

Re: [U-Boot] [PATCH] net: bugfix: NetSetTimeout assumes CONFIG_SYS_HZ=1000

2012-07-10 Thread Joe Hershberger
Hi Wolfgang, On Sun, Jul 8, 2012 at 2:58 PM, Wolfgang Denk wrote: > Dear Tetsuyuki Kobayashi, > > In message <4fe85b87.6090...@kmckk.co.jp> you wrote: >> NetSetTimeout sets incorrect value to timeDelta when CONFIG_SYS_HZ != 1000. > > Your patch is OK per se, but please note that it is a mandatory

Re: [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Peter Meerwald
> So, why? Are you doing custom builds for beagleboard, but with the dss > stuff removed? To try and make beagle an easier starting point for > custom hardware? Thanks! I consider a CONFIG #define which only works when defined a bug thx, p. -- Peter Meerwald +43-664-218 (mobile) __

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
Luka, Working on it. Trying to get a workable build environment at the moment. I have been using binary u-boot images and do not have a build environment for u-boot. Trying to build one on Fedora, however not seeing any good docs on how to do it >.< -- Steven McGrath Sent with Sparrow (h

Re: [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 06:07:34PM +0200, Peter Meerwald wrote: > From: Peter Meerwald > > Signed-off-by: Peter Meerwald So, why? Are you doing custom builds for beagleboard, but with the dss stuff removed? To try and make beagle an easier starting point for custom hardware? Thanks! -- To

Re: [U-Boot] [PATCH v2 2/2] arm: work around assembler bug

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 11:04:50AM -0700, Allen Martin wrote: > On Tue, Jul 10, 2012 at 10:50:34AM -0700, Tom Rini wrote: > > On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote: > > > On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: > > > > * PGP Signed by an unknown key > > > >

Re: [U-Boot] [PATCH v2 2/2] arm: work around assembler bug

2012-07-10 Thread Allen Martin
On Tue, Jul 10, 2012 at 10:50:34AM -0700, Tom Rini wrote: > On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote: > > On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: > > > * PGP Signed by an unknown key > > > > > > On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote: > >

Re: [U-Boot] [PATCH v2] usb_storage: fix ehci driver max transfer size

2012-07-10 Thread Marek Vasut
Dear Stefan Herbrechtsmeier, > The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: > Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in > usb_storage as it wrongly assumes that every transfer can use > 4096 bytes per qt_buffer. This is wrong if the start address of > t

[U-Boot] [PATCH v2] usb_storage: fix ehci driver max transfer size

2012-07-10 Thread Stefan Herbrechtsmeier
The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in usb_storage as it wrongly assumes that every transfer can use 4096 bytes per qt_buffer. This is wrong if the start address of the data is not page aligned to 4096 byte

Re: [U-Boot] RMLL/LSM 2012 - U-Boot Developer's Meeting

2012-07-10 Thread Marek Vasut
Dear Wolfgang Denk, > Hi all, > > this is just a reminder for the first U-Boot Developer's Meeting which > takes place next week in the context of the 13es Rencontres Mondiales > du Logiciel Libre (RMLL) aka 13th Libre Software Meeting (LSM) in > Geneva. > > So far, the following events are sche

Re: [U-Boot] [PATCH v2 2/2] arm: work around assembler bug

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 10:44:33AM -0700, Allen Martin wrote: > On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: > > * PGP Signed by an unknown key > > > > On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote: > > > Disable sibling call optimization based on binutils version. Thi

Re: [U-Boot] [PATCH v2 2/2] arm: work around assembler bug

2012-07-10 Thread Allen Martin
On Tue, Jul 10, 2012 at 10:25:05AM -0700, Tom Rini wrote: > * PGP Signed by an unknown key > > On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote: > > Disable sibling call optimization based on binutils version. This is > > to work around a bug in the assember in binutils versions < 2.2

Re: [U-Boot] [PATCH v2 2/2] arm: work around assembler bug

2012-07-10 Thread Tom Rini
On Tue, Jul 10, 2012 at 10:00:17AM -0700, Allen Martin wrote: > Disable sibling call optimization based on binutils version. This is > to work around a bug in the assember in binutils versions < 2.22. > Branches to weak symbols can be incorrectly optimized in thumb mode to > a short branch (b.n in

[U-Boot] [PATCH v2 2/2] arm: work around assembler bug

2012-07-10 Thread Allen Martin
Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions < 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a short branch (b.n instruction) that won't reach when the symbol gets preempted. http://so

[U-Boot] [PATCH v2 1/2] tools, config.mk: add binutils-version

2012-07-10 Thread Allen Martin
Modeled after gcc-version, add function to get binutils version. Signed-off-by: Allen Martin --- config.mk |1 + tools/binutils-version.sh | 20 2 files changed, 21 insertions(+) create mode 100755 tools/binutils-version.sh diff --git a/config.mk b/co

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Luka Perkov
Hi Steven, On Tue, Jul 10, 2012 at 10:57:53AM -0500, Steven McGrath wrote: > These instructions are great, however they don't work for the newer > v10 Dreamplugs. I would be happy to lend my v10 Dreamplug to the cause > to get a workable U-Boot for it. Can you please try with kwboot? It's in mai

Re: [U-Boot] Dreamplug v10 uboot

2012-07-10 Thread Steven McGrath
Jason, These instructions are great, however they don't work for the newer v10 Dreamplugs. I would be happy to lend my v10 Dreamplug to the cause to get a workable U-Boot for it. -- Steven McGrath Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, July 2, 2012 at 1:20 PM, Ja

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Timur Tabi
Joe Hershberger wrote: >> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c >> index eee41d7..5700552 100644 >> --- a/drivers/net/fec_mxc.c >> +++ b/drivers/net/fec_mxc.c >> @@ -510,7 +510,13 @@ static int fec_open(struct eth_device *edev) >> fec_eth_phy_config(edev); >>

[U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Peter Meerwald
From: Peter Meerwald Signed-off-by: Peter Meerwald --- board/ti/beagle/beagle.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index a02a350..f13f1be 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beag

Re: [U-Boot] [PATCH 2/2] [v3] net: abort network initialization if the PHY driver fails

2012-07-10 Thread Joe Hershberger
Hi Timur Tabi, On Mon, Jul 9, 2012 at 1:52 PM, Timur Tabi wrote: > Now that phy_startup() can return an actual error code, check for that error > code and abort network initialization if the PHY fails. > > Signed-off-by: Timur Tabi > Acked-by: Nobuhiro Iwamamatsu (sh_eth part) > Acked-by: Steph

Re: [U-Boot] [PATCH] smsc95xx: align buffers to cache line size

2012-07-10 Thread Marek Vasut
Dear Ilya Yanok, > On Tue, Jul 10, 2012 at 1:34 PM, Marek Vasut wrote: > > > > aligned to > > > > 16 bytes for arch with 16 byte cachelines. > > > > > > Yes, and this is exactly what we need. > > > > > > > ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); this stuff maybe? It'll be > > > > It isn't, E

Re: [U-Boot] [PATCH 02/13] S3C64XX: Switch to use readl/writel to operate nand flash

2012-07-10 Thread Scott Wood
On 07/10/2012 08:00 AM, Zhong Hongbo wrote: > On 07/10/2012 08:29 PM, Zhong Hongbo wrote: >> On 07/10/2012 06:19 AM, Scott Wood wrote: >>> On 07/07/2012 04:57 AM, Zhong Hongbo wrote: @@ -89,15 +96,16 @@ static void s3c_nand_select_chip(struct mtd_info *mtd, int chip) */ stat

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, > Dear Wolfgang, > > On 07/10/2012 03:03 PM, Wolfgang Denk wrote: > > Dear Michal Simek, > > > > In message<4ffc1ef8.9060...@monstr.eu> you wrote: > >> The hardest part I have identify on microblaze was about u-boot > >> variables. Because based on information from device-tre

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, [...] > > Michal, can you try investigating how will the DT probing intertwine with > > the DM? > > Firstly I need to understand what you are trying to achieve and how. > Then if I have time I can look at how DT probing can be added to it. > > But I think that there is good e

Re: [U-Boot] [U-Boot-DM] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Simon Glass, > Hi, > > On Tue, Jul 10, 2012 at 3:05 PM, Marek Vasut wrote: > > Dear Michal Simek, > > > > > Hi Simon, Wolfgang and others, > > > > > > just want to open new topic about FDT driver initialization function > > > declaration. > > > > Ok, my few nits (with consideration of th

Re: [U-Boot] Issue with running commands

2012-07-10 Thread Sughosh Ganu
On Tue Jul 03, 2012 at 12:54:04AM +0530, Sughosh Ganu wrote: > hi, > While testing on hawkboard with the latest commit, i hit an issue of > commands not being accepted. > > hawkboard > reset > Unknown command '�' - try 'help' > hawkboard > > > Running git bisect showed that this is caused due

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 03:18 PM, Simon Glass wrote: Hi Michal, On Tue, Jul 10, 2012 at 12:23 PM, Michal Simek mailto:mon...@monstr.eu>> wrote: Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. There are some drivers which c

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
Dear Wolfgang, On 07/10/2012 03:03 PM, Wolfgang Denk wrote: Dear Michal Simek, In message<4ffc1ef8.9060...@monstr.eu> you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose where variables should be s

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Wolfgang Denk
Dear Marek, In message <201207101505.26919.marek.va...@gmail.com> you wrote: > > Wolfgang, is it possible to somehow tag the DM patches so we can later > collect > these tagged patches to prove we did the amount of work to the university > committee? Or maybe simple "dm:" in the subject will s

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 03:12 PM, Marek Vasut wrote: Dear Wolfgang Denk, Dear Michal Simek, In message<4ffc1ef8.9060...@monstr.eu> you wrote: The hardest part I have identify on microblaze was about u-boot variables. Because based on information from device-tree you can choose where variables should b

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
On 07/10/2012 03:00 PM, Marek Vasut wrote: Dear Michal Simek, Dear Wolfgang, On 07/10/2012 01:54 PM, Wolfgang Denk wrote: Dear Michal, In message<4ffc02bd.7060...@monstr.eu> you wrote: just want to open new topic about FDT driver initialization function declaration. There are some driver

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Simon Glass
Hi Michal, On Tue, Jul 10, 2012 at 12:23 PM, Michal Simek wrote: > Hi Simon, Wolfgang and others, > > just want to open new topic about FDT driver initialization function > declaration. > > There are some drivers which can be simple move to fdt initialization. > I have in my mind ethernet driver

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Simon Glass
Hi, On Tue, Jul 10, 2012 at 3:05 PM, Marek Vasut wrote: > Dear Michal Simek, > > > Hi Simon, Wolfgang and others, > > > > just want to open new topic about FDT driver initialization function > > declaration. > > Ok, my few nits (with consideration of the DM stuff) ... > 1) Parsing the DTB is slo

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Michal Simek, > > In message <4ffc1ef8.9060...@monstr.eu> you wrote: > > The hardest part I have identify on microblaze was about u-boot > > variables. Because based on information from device-tree you can choose > > where variables should be stored and also this memory

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, > Hi Simon, Wolfgang and others, > > just want to open new topic about FDT driver initialization function > declaration. Ok, my few nits (with consideration of the DM stuff) ... 1) Parsing the DTB is slowish 2) The DT can bind nicely with the DM, but if you could investigate f

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Wolfgang Denk
Dear Michal Simek, In message <4ffc1ef8.9060...@monstr.eu> you wrote: > > The hardest part I have identify on microblaze was about u-boot variables. > Because based on information from device-tree you can choose where variables > should be stored and also this memory should be accessible before u

Re: [U-Boot] [PATCH 02/13] S3C64XX: Switch to use readl/writel to operate nand flash

2012-07-10 Thread Zhong Hongbo
On 07/10/2012 08:29 PM, Zhong Hongbo wrote: > On 07/10/2012 06:19 AM, Scott Wood wrote: >> On 07/07/2012 04:57 AM, Zhong Hongbo wrote: >>> +static inline unsigned int s3c64xx_get_base_nand(void) >>> +{ >>> + return ELFIN_NAND_BASE; >>> +} >> >> unsigned long or uintptr_t would be more appropriate

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Marek Vasut
Dear Michal Simek, > Dear Wolfgang, > > On 07/10/2012 01:54 PM, Wolfgang Denk wrote: > > Dear Michal, > > > > In message<4ffc02bd.7060...@monstr.eu> you wrote: > >> just want to open new topic about FDT driver initialization function > >> declaration. > >> > >> There are some drivers which can

Re: [U-Boot] [PATCH v2] arm: cm4008, cm41xx: set gd->ram_size in dram_init

2012-07-10 Thread Greg Ungerer
On 07/10/2012 07:58 AM, Albert ARIBAUD wrote: Hi Andreas, On Fri, 06 Jul 2012 12:25:00 +0200, "Andreas Bießmann" wrote: Dear Yann Vernier, On 06.07.2012 11:14, Yann Vernier wrote: On Friday 06 July 2012 10:43:40 you wrote: =((CONFIG_SYS_SDRAM_BASE+CONFIG_SYS_SDRAM_SIZE-0x1)<<(22-16) |

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
Dear Wolfgang, On 07/10/2012 01:54 PM, Wolfgang Denk wrote: Dear Michal, In message<4ffc02bd.7060...@monstr.eu> you wrote: just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt initialization. I have in my mi

Re: [U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Wolfgang Denk
Dear Michal, In message <4ffc02bd.7060...@monstr.eu> you wrote: > > just want to open new topic about FDT driver initialization function > declaration. > > There are some drivers which can be simple move to fdt initialization. > I have in my mind ethernet drivers and then systemace (I have porte

Re: [U-Boot] [PATCH] smsc95xx: align buffers to cache line size

2012-07-10 Thread Ilya Yanok
On Tue, Jul 10, 2012 at 1:34 PM, Marek Vasut wrote: > > > aligned to > > > 16 bytes for arch with 16 byte cachelines. > > > > Yes, and this is exactly what we need. > > > > ALLOC_CACHE_ALIGN_BUFFER(u32, tmpbuf, 1); this stuff maybe? It'll be > It isn't, EHCI needs it aligned on 32 byte boundary.

[U-Boot] [PATCH] net: fix typo in arp clean up

2012-07-10 Thread Mike Frysinger
The clean up patch missed an &, so we end up passing an int rather than a pointer to the sprintf function. arp.c: In function 'ArpReceive': arp.c:197: warning: format '%p' expects type 'void *', but argument 3 has type 'int' Signed-off-by: Mike Frysinger --- net/arp.c |2 +- 1 files change

Re: [U-Boot] [PATCH v2 4/7] dfu: MMC specific routines for DFU operation

2012-07-10 Thread Lukasz Majewski
Hi Tom, > On Wed, Jul 04, 2012 at 05:48:39PM +0200, Lukasz Majewski wrote: > > Support for MMC storage devices to work with DFU framework. > > > > Signed-off-by: Lukasz Majewski > > Signed-off-by: Kyungmin Park > > Cc: Marek Vasut > [snip] > > + case RAW_ADDR: > > + sprintf(cmd_buf

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-10 Thread Prafulla Wadaskar
> -Original Message- > From: Detlev Zundel [mailto:d...@denx.de] > Sent: 09 July 2012 20:02 > To: Prafulla Wadaskar > Cc: Valentin Longchamp; u-boot@lists.denx.de; > holger.bru...@keymile.com > Subject: Re: [U-Boot] [PATCH 12/20] arm/km: add support for external > switchconfiguration > >

[U-Boot] FDT driver initialization function declaration

2012-07-10 Thread Michal Simek
Hi Simon, Wolfgang and others, just want to open new topic about FDT driver initialization function declaration. There are some drivers which can be simple move to fdt initialization. I have in my mind ethernet drivers and then systemace (I have ported it). Ethernet drivers use include/netdev.h

[U-Boot] [PATCH] fdt: Include arch specific gpio.h

2012-07-10 Thread Michal Simek
Also include arch specific gpio.h which can contain gpio function implementation. Signed-off-by: Michal Simek CC: Simon Glass --- lib/fdtdec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index cc09e06..b12eb77 100644 --- a/lib/fdtdec.c ++

Re: [U-Boot] [STATUS] v2012.07-rc1 is out - release date July 23

2012-07-10 Thread Marek Vasut
Dear Wolfgang Denk, > Hi everybody, > > this is to let you know that the v2012.07-rc1 prerelease is out. > > Please help testing, so we can fix the remaining issues before the > release, which I decided to shift by a week, i. e. the new schedule > for the release is July 23. > > Please also not

Re: [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-07-10 Thread Heiko Schocher
Hello Holger, On 10.07.2012 11:25, Holger Brunck wrote: Hi Heiko, On 06/28/2012 04:30 PM, Holger Brunck wrote: If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger Brunck cc: Heiko

  1   2   >