Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-07-29 Thread Jason Hui
Hi, Marek, On Sat, Jul 30, 2011 at 1:09 AM, Marek Vasut wrote: > On Friday, July 29, 2011 01:24:49 PM Jason Hui wrote: >> Hi, Marek, >> >> On Fri, Jul 29, 2011 at 5:32 PM, Marek Vasut wrote: >> > Rewrite the mxc_i2c driver. >> >  * This version is much closer to Linux implementation. >> >  * Fix

Re: [U-Boot] [PATCH] Constify getenv(), setenv() and hash code functions

2011-07-29 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1311943338-23147-1-git-send-email...@denx.de> you wrote: > This is needed to get rid of build warnings like > > main.c:311: warning: passing argument 2 of 'setenv' discards qualifiers from > pointer target type > > which result from commit 09c2e90 "unify version_

Re: [U-Boot] [PATCH] README: udate Coding Style description to current status quo

2011-07-29 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1311800395-18915-1-git-send-email...@denx.de> you wrote: > Signed-off-by: Wolfgang Denk > --- > README | 12 +--- > 1 files changed, 5 insertions(+), 7 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

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

2011-07-29 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > The following changes since commit 85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7: > > Fix build error causes by "unify version_string" (2011-07-28 22:16:57 +0200) > > are available in the git repository at: > git://git.denx.de/u-boot-mpc85xx.git master >

Re: [U-Boot] [PATCHv2] fsl_ddr: Don't use full 64-bit divides on32-bit PowerPC

2011-07-29 Thread York Sun
On Fri, 2011-07-29 at 16:26 -0500, Moffett, Kyle D wrote: > On Jul 29, 2011, at 14:46, York Sun wrote: > > On Fri, 2011-07-29 at 11:35 -0700, York Sun wrote: > >> On Fri, 2011-07-29 at 12:20 -0500, Moffett, Kyle D wrote: > >>> On Jul 28, 2011, at 17:41, York Sun wrote: > I found a problem with

Re: [U-Boot] [PATCH] phy.c: make less verbose - turn printf() into debug()

2011-07-29 Thread Wolfgang Denk
Dear Andy Fleming, In message <45a1d757-ba98-4f92-b8c3-4dddbfd5c...@freescale.com> you wrote: > > Hmmm That output is quite useful. There are a large number of I agree that it is useful. > situations where those messages signal to the user that their > configuration is a certain way (perhap

Re: [U-Boot] [PATCHv2] fsl_ddr: Don't use full 64-bit divides on32-bit PowerPC

2011-07-29 Thread Moffett, Kyle D
On Jul 29, 2011, at 14:46, York Sun wrote: > On Fri, 2011-07-29 at 11:35 -0700, York Sun wrote: >> On Fri, 2011-07-29 at 12:20 -0500, Moffett, Kyle D wrote: >>> On Jul 28, 2011, at 17:41, York Sun wrote: I found a problem with the round up. Please try picos_to_mclk(mclk_to_picos(3))

Re: [U-Boot] [PATCH] phy.c: make less verbose - turn printf() into debug()

2011-07-29 Thread Andy Fleming
On Jul 27, 2011, at 8:22 AM, Kumar Gala wrote: > > On Jul 25, 2011, at 2:39 AM, Wolfgang Denk wrote: > >> The PHY driver was too verbose and corrupted the boot message display >> like this: >> >> ... >> Net: TSEC0 connected to Marvell 88ES >> TSEC1 connected to Marvell 88E

Re: [U-Boot] Please pull u-boot-mpc85xx (updated)

2011-07-29 Thread Kumar Gala
On Jul 29, 2011, at 3:05 PM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message you > wrote: >> [ pulled in a USB patch, and fix for fdt usb code that fixes MPC83xx build >> issues] > ... >> powerpc/8xxx: Remove dependancy on > > Shall I pull as is, or do you want to fix the commit

Re: [U-Boot] RFC [PATCH 4/5 v5 RESEND] dreamplug: initial board support.

2011-07-29 Thread Jason
On Fri, Jul 29, 2011 at 10:10:03PM +0200, Wolfgang Denk wrote: > Dear Jason Cooper, > > In message <1311952624-583-1-git-send-email-u-b...@lakedaemon.net> you wrote: > > Copied wholeheartedly from board/Marvell/guruplug and modified to add > > support > > for SPI NOR flash. > > > > Also, the fol

Re: [U-Boot] RFC [PATCH 4/5 v5 RESEND] dreamplug: initial board support.

2011-07-29 Thread Wolfgang Denk
Dear Jason Cooper, In message <1311952624-583-1-git-send-email-u-b...@lakedaemon.net> you wrote: > Copied wholeheartedly from board/Marvell/guruplug and modified to add support > for SPI NOR flash. > > Also, the following features are used: > - Use the Marvell Integrated RTC. > - disp

Re: [U-Boot] Please pull u-boot-mpc85xx (updated)

2011-07-29 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > [ pulled in a USB patch, and fix for fdt usb code that fixes MPC83xx build > issues] ... > powerpc/8xxx: Remove dependancy on Shall I pull as is, or do you want to fix the commit message? Best regards, Wolfgang Denk -- DENX Software Engineerin

Re: [U-Boot] [PATCH] powerpc/8xxx: Remove dependancy on

2011-07-29 Thread Wolfgang Denk
Dear Kumar Gala, In message <1311948372-21134-1-git-send-email-ga...@kernel.crashing.org> you wrote: > We used for USB_MAX_DEVICE. However this we requires we actual > build in support for USB into u-boot (which should not be required for > device tree fixup). You might want to fix this senten

Re: [U-Boot] [PATCH] mpc8xxx: lc_common_dimm_params: make less verbose

2011-07-29 Thread Wolfgang Denk
Dear Kumar, In message <73174ea1-7cbe-4c0f-a426-08f3c0eb7...@kernel.crashing.org> you wrote: > > > It may have value to you, but for 99.X % of the users it is completey > > meaningless. > > Its quite helpful for debug of customer issues. Should we add a CONFIG_ = > option for this? I already s

[U-Boot] [PATCH 3/3] cfb_console.c: checkpatch cleanup

2011-07-29 Thread Wolfgang Denk
Fix the following: ERROR: do not initialise statics to 0 or NULL ERROR: do not use assignment in if condition Signed-off-by: Wolfgang Denk --- drivers/video/cfb_console.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/video/cfb_console.c b/drive

[U-Boot] [PATCH 2/3] cfb_console.c: drop custom PRINTD() and use debug() instead

2011-07-29 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- drivers/video/cfb_console.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 917bba6..d2dd421 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console

[U-Boot] [PATCH 0/3] cfb_console.c - coding style cleanup

2011-07-29 Thread Wolfgang Denk
The following 3 patches will clean up cfb_console.c so that future patches are more likely to pass checkpatch without problems. The following warnings will not be fixed: WARNING: externs should be avoided in .c files WARNING: consider using strict_strtoul in preference to simple_strtoul Best r

Re: [U-Boot] [PATCH] cfb_console: fix build breakage

2011-07-29 Thread Wolfgang Denk
Dear Sergei Shtylyov, In message <4e32a86d.1010...@mvista.com> you wrote: > > > diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c > > index 77e7285..b56197f 100644 > > --- a/drivers/video/cfb_console.c > > +++ b/drivers/video/cfb_console.c > > @@ -1494,7 +1494,7 @@ static voi

Re: [U-Boot] RFC [PATCH 4/5 v5] dreamplug: initial board support.

2011-07-29 Thread Jason
On Fri, Jul 29, 2011 at 11:57:46AM -0700, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Jason [mailto:u-b...@lakedaemon.net] > > Sent: Friday, July 29, 2011 8:49 PM > > To: Prafulla Wadaskar > > Cc: cl...@debian.org; w...@denx.de; u-boot@lists.denx.de; Prabhanjan > > Sarna

Re: [U-Boot] RFC [PATCH 4/5 v5] dreamplug: initial board support.

2011-07-29 Thread Prafulla Wadaskar
> -Original Message- > From: Jason [mailto:u-b...@lakedaemon.net] > Sent: Friday, July 29, 2011 8:49 PM > To: Prafulla Wadaskar > Cc: cl...@debian.org; w...@denx.de; u-boot@lists.denx.de; Prabhanjan > Sarnaik; Ashish Karkare; Siddarth Gore; bd...@gag.com > Subject: Re: RFC [PATCH 4/5 v5]

Re: [U-Boot] [PATCHv2] fsl_ddr: Don't use full 64-bit divides on32-bit PowerPC

2011-07-29 Thread York Sun
On Fri, 2011-07-29 at 11:35 -0700, York Sun wrote: > Kyle, > > On Fri, 2011-07-29 at 12:20 -0500, Moffett, Kyle D wrote: > > On Jul 28, 2011, at 17:41, York Sun wrote: > > > On Mon, 2011-03-14 at 16:35 -0500, Moffett, Kyle D wrote: > > >> On Mar 14, 2011, at 16:22, York Sun wrote: > > >>> On Wed,

Re: [U-Boot] [PATCH] post: fix up I/O helper usage

2011-07-29 Thread Mike Frysinger
On Thu, Jul 28, 2011 at 07:23, Wolfgang Denk wrote: > Mike Frysinger wrote: >> >> -     return in_le32((volatile void *)(_POST_WORD_ADDR)); >> >> +     return inl((volatile void *)(_POST_WORD_ADDR)); >> >>  } >> > >> > Is this supposed to fix any real problem, or just a change according >> > to you

Re: [U-Boot] [PATCHv2] fsl_ddr: Don't use full 64-bit divides on32-bit PowerPC

2011-07-29 Thread York Sun
Kyle, On Fri, 2011-07-29 at 12:20 -0500, Moffett, Kyle D wrote: > On Jul 28, 2011, at 17:41, York Sun wrote: > > On Mon, 2011-03-14 at 16:35 -0500, Moffett, Kyle D wrote: > >> On Mar 14, 2011, at 16:22, York Sun wrote: > >>> On Wed, 2011-02-23 at 11:35 -0500, Kyle Moffett wrote: > + *

Re: [U-Boot] [PATCH] da850: read MAC address from I2C EEPROM on AM18xx EVM

2011-07-29 Thread Mike Frysinger
On Thu, Jul 28, 2011 at 11:31, Mike Frysinger wrote: > On Thu, Jul 28, 2011 at 09:25,  >        if (getenv("ethaddr") == NULL) { > > this should get fixed to use the eth helper instead of poking the env > yourself.  see board/bf537-stamp/bf537-stamp.c as an example. actually, it looks like this pa

Re: [U-Boot] [PATCHv2] fsl_ddr: Don't use full 64-bit divides on32-bit PowerPC

2011-07-29 Thread Moffett, Kyle D
On Jul 28, 2011, at 17:41, York Sun wrote: > On Mon, 2011-03-14 at 16:35 -0500, Moffett, Kyle D wrote: >> On Mar 14, 2011, at 16:22, York Sun wrote: >>> On Wed, 2011-02-23 at 11:35 -0500, Kyle Moffett wrote: + * Now divide by 5^12 and track the 32-bit remainder, then divide + * by 2*(

[U-Boot] [PATCH v3 3/5] omap: reuse omap3 gpio support in omap4

2011-07-29 Thread Aneesh V
Signed-off-by: Aneesh V --- V2: * Added a new file that was accidentally missing in v1 V3: * Fix build break for other boards by restoring the old header files Resending with v3 TAG in the subject line. --- arch/arm/cpu/armv7/omap-common/Makefile|1 + arch/arm/cpu/armv7/{omap

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-07-29 Thread Marek Vasut
On Friday, July 29, 2011 01:24:49 PM Jason Hui wrote: > Hi, Marek, > > On Fri, Jul 29, 2011 at 5:32 PM, Marek Vasut wrote: > > Rewrite the mxc_i2c driver. > > * This version is much closer to Linux implementation. > > * Fixes IPG_PERCLK being incorrectly used as clock source > > * Fixes behavi

[U-Boot] [PATCH 3/5] omap: reuse omap3 gpio support in omap4

2011-07-29 Thread Aneesh V
Signed-off-by: Aneesh V --- V2: * Added a new file that was accidentally missing in v1 V3: * Fix build break for other boards by restoring the old header files --- arch/arm/cpu/armv7/omap-common/Makefile|1 + arch/arm/cpu/armv7/{omap3 => omap-common}/gpio.c | 39 +-

[U-Boot] [PATCH V7 7/7] devkit8000: Add nand-spl support for new SPL

2011-07-29 Thread Simon Schwarz
Add NAND SPL support to the devkit8000 config Signed-off-by: Simon Schwarz --- V1 changes: ADD devkit8000_nand to board.cfg ADD nand_spl Makefile, llinker script, spl-devkit8000.c ADD config ecc, SRAM, SPL to board config ADD CONFIG_SYS_SRAM_START and _SIZE to board config ADD CONFIG_SYS_SPL_TEXT

[U-Boot] [PATCH V7 6/7] omap3: new SPL structure support

2011-07-29 Thread Simon Schwarz
Support for the new spl structure. Using the interface defined by Aneesh V for OMAP4 Signed-off-by: Simon Schwarz --- V1 changes: ADD support for early console output in SPL V2 changes: ADD include omap_common.h in board.c ADD implement new omap common interface omap_boot_device, omap_boot_mode

[U-Boot] [PATCH V7 5/7] spl: Add POWER library to new spl

2011-07-29 Thread Simon Schwarz
Adds power library to the new spl Signed-off-by: Simon Schwarz --- Didn't exist before V7 --- doc/README.SPL |1 + spl/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/doc/README.SPL b/doc/README.SPL index ef946ce..2987f43 100644 --- a/doc/README.SPL +++ b/

[U-Boot] [PATCH V7 4/7] spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
Adds NAND libarary to SPL. Signed-off-by: Simon Schwarz --- V1 changes: CHG Default to HW ecc in SPL build ADD nand_read_buf16 function, read buffer ADD omap_dev_ready function, indicte if chip is ready V2 changes: DEL GPMC_WAIT0_PIN_ACTIVE define CHG omap_dev_ready() renamed to omap_spl_dev_re

[U-Boot] [PATCH V7 3/7] omap-common: add nand spl support

2011-07-29 Thread Simon Schwarz
Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarz --- This patch didn't exist before V2! V2 changes: ADD Some define-barriers for OMAP3 to only use NAND ADD nand_load_image() - inits the OMAP gpmc, loads the images - parses the header CHG cosmetic ADD do_reset() im

[U-Boot] [PATCH V7 2/7] omap3: Configure RAM bank 0 if in SPL

2011-07-29 Thread Simon Schwarz
OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the implementation of a SPL. This patch configures RAM bank 0 if CONFIG_SPL_BUILD is set. Settings for Micron-RAM used by devkit8000 are added to mem.h Signed-off-by: Simon Schwarz --- V1 chang

[U-Boot] [PATCH V7 1/7] omap-common/omap4: relocate early UART clock setup

2011-07-29 Thread Simon Schwarz
Moves the early UART clock setup setup_clocks_for_console() from preloader_console_init() to s_init() of OMAP4. This is done to prepare for OMAP3 integration. This patch was posted seperatly to the mailinglist but I decidet - since it is a prereqesit for this patch to add it. Former port to ML: h

Re: [U-Boot] "EHCI timed out on TD" on OpenRD Ultimate

2011-07-29 Thread Jason
On Fri, Jul 29, 2011 at 12:30:46PM -0400, Jason wrote: > On Fri, Jul 29, 2011 at 11:51:08AM -0400, Jason wrote: > > On Thu, Jul 28, 2011 at 11:15:56PM +0400, Alexei Ozhigov wrote: > > > 2011/7/28 Jason : > > > > On Thu, Jul 28, 2011 at 07:25:54PM +0400, Alexei Ozhigov wrote: > > > >> I tried runnin

[U-Boot] [PATCH V7 0/7] OMAP3 and devkit8000 SPL support

2011-07-29 Thread Simon Schwarz
V1 Initial SPL support for OMAP3 was based on the old SPL V2 Introduced major changes. It is based on the OMAP4-SPL patch by Aneesh V and the new SPL Framework by Daniel Schwierzeck and Aneesh V V3 Some small bug fixes and correct placed SOB. V4 Corrected one bugfix and some style problems

Re: [U-Boot] [PATCH V6 1/5] omap3: Configure RAM bank 0 if in SPL

2011-07-29 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 11:42 AM, Simon Schwarz wrote: > Hi Aneesh, > > On 07/28/2011 10:50 AM, Aneesh V wrote: >> Hi Simon, >> >> First of all sorry for giving my first comments on v6. But I didn't >> have mail access for the last couple of days. >> >> On Thursday 28 July 2011 02:08 PM, Simon Sc

Re: [U-Boot] [PATCH v2 3/5] omap: reuse omap3 gpio support in omap4

2011-07-29 Thread Aneesh V
Hi All, On Wednesday 20 July 2011 04:25 PM, Aneesh V wrote: > Signed-off-by: Aneesh V > --- > V2: > * Added a new file that was accidentally missing in v1 > --- [snip ..] > .../include/asm/{arch-omap3/gpio.h => omap_gpio.h} | 27 +--- I just realized that this change in header file

Re: [U-Boot] "EHCI timed out on TD" on OpenRD Ultimate

2011-07-29 Thread Jason
On Fri, Jul 29, 2011 at 11:51:08AM -0400, Jason wrote: > On Thu, Jul 28, 2011 at 11:15:56PM +0400, Alexei Ozhigov wrote: > > 2011/7/28 Jason : > > > On Thu, Jul 28, 2011 at 07:25:54PM +0400, Alexei Ozhigov wrote: > > >> I tried running latest U-Boot on OpenRD Ultimate, and USB support > > >> appear

Re: [U-Boot] "armv7: integrate cache maintenance support" breaks km_kirkwood ethernet

2011-07-29 Thread Aneesh V
Hi Jason, On Friday 29 July 2011 06:21 PM, Jason Liu wrote: > Hi, All, > > 2011/7/29 Wolfgang Denk: >> Dear Aneesh, >> >> In message<4e3161ed.5030...@keymile.com> Holger Brunck wrote: >>> >>> today I did a rebase of my development branch to current u-boot master. And >>> I >>> saw on our km_kirk

Re: [U-Boot] "EHCI timed out on TD" on OpenRD Ultimate

2011-07-29 Thread Jason
On Thu, Jul 28, 2011 at 11:15:56PM +0400, Alexei Ozhigov wrote: > 2011/7/28 Jason : > > On Thu, Jul 28, 2011 at 07:25:54PM +0400, Alexei Ozhigov wrote: > >> I tried running latest U-Boot on OpenRD Ultimate, and USB support > >> appears to be broken: > >> > >> > >> Marvell>> usb reset > >> > >> (Re)

Re: [U-Boot] RFC [PATCH 5/5 v5] dreamplug: use MACH_TYPE_DREAMPLUG

2011-07-29 Thread Jason
On Thu, Jul 28, 2011 at 12:39:02PM -0700, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Jason [mailto:u-b...@lakedaemon.net] > > Sent: Thursday, July 28, 2011 7:38 AM > > To: Prafulla Wadaskar > > Cc: cl...@debian.org; w...@denx.de; u-boot@lists.denx.de; Prabhanjan > > Sar

Re: [U-Boot] RFC [PATCH 4/5 v5] dreamplug: initial board support.

2011-07-29 Thread Jason
On Thu, Jul 28, 2011 at 12:37:32PM -0700, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Jason [mailto:u-b...@lakedaemon.net] > > Sent: Thursday, July 28, 2011 7:33 AM > > To: Prafulla Wadaskar > > Cc: cl...@debian.org; w...@denx.de; u-boot@lists.denx.de; Prabhanjan > > Sar

[U-Boot] RFC [PATCH 4/5 v5 RESEND] dreamplug: initial board support.

2011-07-29 Thread Jason Cooper
Copied wholeheartedly from board/Marvell/guruplug and modified to add support for SPI NOR flash. Also, the following features are used: - Use the Marvell Integrated RTC. - display Marvell CPU/L2/etc speeds if requested. Note: this still uses MACH_TYPE_GURUPLUG until MACH_TYPE_DREA

Re: [U-Boot] RFC [PATCH 3/5] usb: Some EHCI chipsets are slow to respond.

2011-07-29 Thread Jason
On Thu, Jul 28, 2011 at 12:16:00PM -0700, Prafulla Wadaskar wrote: > > -Original Message- > > From: Jason [mailto:u-b...@lakedaemon.net] > > Sent: Thursday, July 28, 2011 7:07 AM > > To: Prafulla Wadaskar > > Cc: cl...@debian.org; w...@denx.de; u-boot@lists.denx.de; Prabhanjan > > Sarnaik;

Re: [U-Boot] "armv7: integrate cache maintenance support" breaks km_kirkwood ethernet

2011-07-29 Thread Aneesh V
Dear Wolfgang, On Friday 29 July 2011 06:03 PM, Wolfgang Denk wrote: > Dear Aneesh, > > In message<4e3161ed.5030...@keymile.com> Holger Brunck wrote: >> >> today I did a rebase of my development branch to current u-boot master. And I >> saw on our km_kirkwood board that our egiga0 interface isn't

[U-Boot] Please pull u-boot-mpc85xx (updated)

2011-07-29 Thread Kumar Gala
[ pulled in a USB patch, and fix for fdt usb code that fixes MPC83xx build issues] The following changes since commit ce0f709bcd52bbe5f432771ad3a18bd3d5a6747f: cfb_console: fix build breakage (2011-07-29 11:28:26 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx

[U-Boot] [PATCH] powerpc/8xxx: Remove dependancy on

2011-07-29 Thread Kumar Gala
We used for USB_MAX_DEVICE. However this we requires we actual build in support for USB into u-boot (which should not be required for device tree fixup). At this time no FSL SoC that utilizies this code (83xx/85xx) has more than 2 USB controllers. So we replace USB_MAX_DEVICE with a local defin

Re: [U-Boot] [PATCH][v3] powerpc/85xx: enable USB2 gadget mode for corenet ds board

2011-07-29 Thread Kumar Gala
On Jul 28, 2011, at 3:17 AM, Shaohui Xie wrote: > to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to > 'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break > out if it cannot find 'usb1', so drop the 'else' clause to make driver scan > all the 'usbx'. > > S

Re: [U-Boot] Broken FSL boards

2011-07-29 Thread Kumar Gala
On Jul 29, 2011, at 8:20 AM, Wolfgang Denk wrote: > Hi Kim, Kumar & Andy, > > I'm not sure if you already notied that there is a relatively large > number of Freescale boards that is broken in recent builds: > > onfiguring for MPC837XEMDS_HOST - Board: MPC837XEMDS, Options: PCI > In file includ

[U-Boot] Broken FSL boards

2011-07-29 Thread Wolfgang Denk
Hi Kim, Kumar & Andy, I'm not sure if you already notied that there is a relatively large number of Freescale boards that is broken in recent builds: onfiguring for MPC837XEMDS_HOST - Board: MPC837XEMDS, Options: PCI In file included from fdt.c:34: /home/wd/git/u-boot/work/include/usb.h:159:2: er

[U-Boot] [GIT pull] Please pull u-boot-mpc85xx

2011-07-29 Thread Kumar Gala
The following changes since commit 85f3df1c3a6e8f8f0c7a1daa0cdc3714daf967d7: Fix build error causes by "unify version_string" (2011-07-28 22:16:57 +0200) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master Bhaskar Upadhaya (1): powerpc/85xx: Fix up clock

Re: [U-Boot] [PATCH 2/2] [v2] powerpc/85xx: verify the device tree before booting Linux

2011-07-29 Thread Kumar Gala
On May 3, 2011, at 1:24 PM, Timur Tabi wrote: > Introduce ft_verify_fdt(), a function that is called after the device tree > has been fixed up, that displays warning messages if there is a mismatch > between the physical addresses of some devices that U-Boot has configured with > what the device

Re: [U-Boot] [PATCH] mpc8xxx: lc_common_dimm_params: make less verbose

2011-07-29 Thread Kumar Gala
On Jul 28, 2011, at 2:11 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <1311879751.29459.24.camel@oslab-l1> you wrote: >> >> I don't agree one line with the module information corrupts the boot >> messages. Do we have fixed format? Am I missing something? > > Yes, we have a well def

Re: [U-Boot] "armv7: integrate cache maintenance support" breaks km_kirkwood ethernet

2011-07-29 Thread Jason Liu
Hi, All, 2011/7/29 Wolfgang Denk : > Dear Aneesh, > > In message <4e3161ed.5030...@keymile.com> Holger Brunck wrote: >> >> today I did a rebase of my development branch to current u-boot master. And I >> saw on our km_kirkwood board that our egiga0 interface isn't working anymore. >> >> The CPU is

Re: [U-Boot] [PATCH V0] omap-common: move early UART clock setup to s_init

2011-07-29 Thread Simon Schwarz
Hi Andreas, On 07/28/2011 11:44 AM, Andreas Bießmann wrote: > Hi Simon, > > Am 28.07.2011 11:22, schrieb Simon Schwarz: >> Moves the early UART clock setup setup_clocks_for_console() from >> preloader_console_init() to s_init() of OMAP4. > > I recommend putting this in your 'devkit8000 nand_spl su

Re: [U-Boot] [PATCH] powerpc/p2041rdb: Enable SATA support

2011-07-29 Thread Kumar Gala
On Jul 26, 2011, at 8:55 PM, Mingkai Hu wrote: > Signed-off-by: Mingkai Hu > --- > include/configs/P2041RDB.h | 20 > 1 files changed, 20 insertions(+), 0 deletions(-) applied to 85xx - k ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH] powerpc/85xx: Cleanup handling of PVR detection for e500/e500mc/e5500

2011-07-29 Thread Kumar Gala
On Jul 26, 2011, at 10:01 PM, Kumar Gala wrote: > At some point we broke the detection of e500v1 class cores. Fix that > and simply the code to just utilize PVR_VER() to have a single case > statement. > > Signed-off-by: Kumar Gala > --- > arch/powerpc/cpu/mpc85xx/cpu.c | 32 ++

Re: [U-Boot] [PATCH] powerpc/85xx: Fix build failure for P1023RDS

2011-07-29 Thread Kumar Gala
On Jul 28, 2011, at 2:36 PM, Kumar Gala wrote: > When we added the fman fdt fixup we forgot to fixup the P1023RDS > platform. So we would get: > > fdt.c: In function 'fdt_fixup_fman_firmware': > fdt.c:465:15: error: 'CONFIG_SYS_FMAN_FW_LENGTH' undeclared (first use in > this function) > fdt.c:

Re: [U-Boot] problem with mpc837x start.S

2011-07-29 Thread shawn Bai
Sorry, guys, I have no idea whether it makes you feel uncomfortable the way I ask questions. If yes, I apologize. But, I really don't understand the way uboot branch to nor flash, branch to ram. I have read the source code in the 83xx/start.S file for many times, and I have looked up the archives

[U-Boot] [PATCH] Constify getenv(), setenv() and hash code functions

2011-07-29 Thread Wolfgang Denk
This is needed to get rid of build warnings like main.c:311: warning: passing argument 2 of 'setenv' discards qualifiers from pointer target type which result from commit 09c2e90 "unify version_string". Signed-off-by: Wolfgang Denk Cc: Andreas Bießmann --- common/cmd_nvedit.c | 13 +++

Re: [U-Boot] "armv7: integrate cache maintenance support" breaks km_kirkwood ethernet

2011-07-29 Thread Wolfgang Denk
Dear Aneesh, In message <4e3161ed.5030...@keymile.com> Holger Brunck wrote: > > today I did a rebase of my development branch to current u-boot master. And I > saw on our km_kirkwood board that our egiga0 interface isn't working anymore. > > The CPU is a: > SoC: Kirkwood 88F6281_A0 > > After b

Re: [U-Boot] [PATCH] cfb_console: fix build breakage

2011-07-29 Thread Sergei Shtylyov
Hello. On 29-07-2011 11:10, Andreas Bießmann wrote: > Commit 09c2e90c110ef99f1203685acd1059114a51b167 "unify version_string" > introduced a build breakage in cfb_console.c > ---8<--- > cfb_console.c:1497: warning: format '%s' expects type 'char *', but > argument 3 has type 'const char (*)[]' >

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
Dear Wolfgang Denk, On 07/29/2011 11:27 AM, Wolfgang Denk wrote: > Dear Simon Schwarz, > > In message<4e327989.6070...@gmail.com> you wrote: >> On 07/28/2011 09:16 PM, Scott Wood wrote: >>> On Thu, 28 Jul 2011 10:38:09 +0200 >>> Simon Schwarz wrote: >>> +CONFIG_SPL_POWER_SUPPORT (drivers/p

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 06:18 PM, Aneesh V wrote: [snip] >> >> Oh. There I played around with the Access Size Adaptation of the GPMC - >> It is still a x16 interface - this is what the 16 refers to IMHO. But > > Ok. I have to admit that I am not a NAND expert and I do not understand > this code w

Re: [U-Boot] [PATCH v4 02/12] omap4: cleanup pin mux data

2011-07-29 Thread Wolfgang Denk
Dear Aneesh V, In message <4e328e73.9080...@ti.com> you wrote: > > My patch is already in u-boot-arm. If I have to rework this patch > should I create a new patch to fix the problem or should I re-work the > original patch? It's not worth fighting about this. Please feel free to leave as is. Be

[U-Boot] u-boot-2011-03

2011-07-29 Thread Rajeev Rao Battu
Greetings, I am bit new to Linux, working as R&D engineer, i am currently using u-boot-1.3.4 & 2008.10. In that i am facing bit problem with nandflash bad blocks. i want to upgrade my u-boot to 2011.03 when i compile this u-boot u-boot version i am encountering errors. following is th

Re: [U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-07-29 Thread Jason Hui
Hi, Marek, On Fri, Jul 29, 2011 at 5:32 PM, Marek Vasut wrote: > Rewrite the mxc_i2c driver. >  * This version is much closer to Linux implementation. >  * Fixes IPG_PERCLK being incorrectly used as clock source >  * Fixes behaviour of the driver on iMX51 >  * Clean up coding style a bit ;-) I d

Re: [U-Boot] [PATCH RESEND v2] armv7: Disable D cache for goni target (s5p)

2011-07-29 Thread Aneesh V
Hi Chander, On Friday 29 July 2011 04:01 PM, Chander Kashyap wrote: > Hi Aneesh, > > On 29 July 2011 15:43, Aneesh V wrote: >> Hi Linus, >> >> On Friday 29 July 2011 04:04 AM, Linus Walleij wrote: >>> On Thu, Jul 28, 2011 at 7:04 AM, Minkyu Kangwrote: Dear Linus Walleij, On 18

Re: [U-Boot] [PATCH v4 02/12] omap4: cleanup pin mux data

2011-07-29 Thread Aneesh V
Dear Wolfgang, On Friday 29 July 2011 02:26 PM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4e32722c.6020...@ti.com> you wrote: >> Dear Wolfgang, >> >> On Friday 29 July 2011 12:56 AM, Wolfgang Denk wrote: >>> Dear Aneesh V, >>> >>> In message<1311233298-17265-3-git-send-email-ane...@ti.

[U-Boot] Der Gewinner

2011-07-29 Thread Euromillion-Microsoft System 2011
EUROPEAN-WORLDWIDE:MICROSOFT-PRIMITIVA JACKPOT-LOTTERIE 2011 PROMO SPAN-NR:Nº/009819 WINNER B.P.S GEMEIND SOFTWARES SYSTEM PROMOTION ESPAÑA)APARTADO POSTAL(P.O.BOX 17083-28080 Zaragoza España)Date:27/07/2011 --- Glückwunsch Ihr E-Mail-Adr

Re: [U-Boot] [PATCH RESEND v2] armv7: Disable D cache for goni target (s5p)

2011-07-29 Thread Chander Kashyap
Hi Aneesh, On 29 July 2011 15:43, Aneesh V wrote: > Hi Linus, > > On Friday 29 July 2011 04:04 AM, Linus Walleij wrote: >> On Thu, Jul 28, 2011 at 7:04 AM, Minkyu Kang  wrote: >>> Dear Linus Walleij, >>> >>> On 18 July 2011 19:35, Linus Walleij  wrote: On Mon, Jul 18, 2011 at 9:23 AM, Lukasz

Re: [U-Boot] [PATCH RESEND v2] armv7: Disable D cache for goni target (s5p)

2011-07-29 Thread Aneesh V
Hi Linus, On Friday 29 July 2011 04:04 AM, Linus Walleij wrote: > On Thu, Jul 28, 2011 at 7:04 AM, Minkyu Kang wrote: >> Dear Linus Walleij, >> >> On 18 July 2011 19:35, Linus Walleij wrote: >>> On Mon, Jul 18, 2011 at 9:23 AM, Lukasz Majewski >>> wrote: >>> Disable D cache for goni targe

[U-Boot] Your Mailbox Has Exceeded It Storage Limit

2011-07-29 Thread Chernipeski, Randy
Your Mailbox Has Exceeded It Storage Limit As Set By Your Administrator, And You Will Not Be Able To Receive New Mails Until You Re-Validate It. To Re-Validate - > Click Here: Note: Do not send your e-mail or password to any one via e-

Re: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework

2011-07-29 Thread Stefano Babic
On 07/29/2011 11:35 AM, Marek Vasut wrote: >> >> why you change i2c clock from IPG_PERCLK to IPG_CLK? > > On MX51, PERCLK are those fast (680MHz) clock, that's not source of clock for > I2C. The IPG_CLK (they are 68.5MHz iirc) are source for the I2C. Also, I > discussed this with Stefano and we

Re: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework

2011-07-29 Thread Marek Vasut
On Friday, July 29, 2011 08:55:14 AM Jason Hui wrote: > Hi, Marek, > > On Thu, Jul 14, 2011 at 5:58 AM, Marek Vasut wrote: > > Rewrite the mxc_i2c driver. > > * This version is much closer to Linux implementation. > > * Fixes IPG_PERCLK being incorrectly used as clock source > > * Fixes behavi

[U-Boot] [PATCH V4] I2C: mxc_i2c rework

2011-07-29 Thread Marek Vasut
Rewrite the mxc_i2c driver. * This version is much closer to Linux implementation. * Fixes IPG_PERCLK being incorrectly used as clock source * Fixes behaviour of the driver on iMX51 * Clean up coding style a bit ;-) Based on commit: e39428d53d080ad2615b772d7f99d2a70c2aaab2 Date: Mon Jun 21 0

Re: [U-Boot] [PATCH] cfb_console: fix build breakage

2011-07-29 Thread Wolfgang Denk
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message <1311923413-62087-1-git-send-email-andreas.de...@googlemail.com> you wrote: > Commit 09c2e90c110ef99f1203685acd1059114a51b167 "unify version_string" > introduced a build breakage in cfb_console.c > > ---8<--- > cfb_console.c:1497: warning: for

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Wolfgang Denk
Dear Simon Schwarz, In message <4e327989.6070...@gmail.com> you wrote: > On 07/28/2011 09:16 PM, Scott Wood wrote: > > On Thu, 28 Jul 2011 10:38:09 +0200 > > Simon Schwarz wrote: > > > >> +CONFIG_SPL_POWER_SUPPORT (drivers/power/libpower.o) > > > > Not sure what this has to do with NAND. > > rig

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
On 07/28/2011 09:16 PM, Scott Wood wrote: > On Thu, 28 Jul 2011 10:38:09 +0200 > Simon Schwarz wrote: > >> +CONFIG_SPL_POWER_SUPPORT (drivers/power/libpower.o) > > Not sure what this has to do with NAND. right. This used by devkit8000 - will change the subject to "spl: add NAND and POWER library

Re: [U-Boot] [PATCH v2] env: allow people to force envcrc building

2011-07-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1310157865-28441-1-git-send-email-vap...@gentoo.org> you wrote: > For people who want to manually extract the embedded environment so that > it can be manually packed into the final u-boot image, add a config opt > to force building of the envcrc tool. > > Signed-

Re: [U-Boot] [PATCH v4 02/12] omap4: cleanup pin mux data

2011-07-29 Thread Wolfgang Denk
Dear Aneesh V, In message <4e32722c.6020...@ti.com> you wrote: > Dear Wolfgang, > > On Friday 29 July 2011 12:56 AM, Wolfgang Denk wrote: > > Dear Aneesh V, > > > > In message<1311233298-17265-3-git-send-email-ane...@ti.com> you wrote: > >> - separate mux settings into essential and non essentia

Re: [U-Boot] [PATCH V4 2/5] omap-common: add nand spl support

2011-07-29 Thread Simon Schwarz
Hi Scott, On 07/28/2011 08:56 PM, Scott Wood wrote: > On Thu, 28 Jul 2011 09:51:01 +0200 > Simon Schwarz wrote: > >> On 07/27/2011 11:38 PM, Scott Wood wrote: >>> Note that there will not be one implementation of nand_copy_image suitable >>> for all hardware, just as currently nand_spl/nand_boot.

Re: [U-Boot] [PATCH v4 02/12] omap4: cleanup pin mux data

2011-07-29 Thread Aneesh V
Dear Wolfgang, On Friday 29 July 2011 12:56 AM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<1311233298-17265-3-git-send-email-ane...@ti.com> you wrote: >> - separate mux settings into essential and non essential parts >> - essential part is board independent as of now(so move it >>to

Re: [U-Boot] [PATCH] da8xx: add support for multiple PLL controllers

2011-07-29 Thread Detlev Zundel
Hi, [...] > - pre_div = (readl(&davinci_pllc_regs->prediv) & > -DAVINCI_PLLC_DIV_MASK) + 1; > - pllm = readl(&davinci_pllc_regs->pllm) + 1; > + pre_div = (REG(pll_base + PLLC_PREDIV) & 0xff) + 1; > + pllm = REG(pll_base + PLLC_PLLM) + 1; Nack - do not change "comm

Re: [U-Boot] [PATCH] da850: add provision to use RMII for EMAC

2011-07-29 Thread Detlev Zundel
Hi, > From: Nagabhushana Netagunte > > Add provision to enable RMII support in configuration file. What is that supposed to mean? You are actually adding an "undef", so nothing changes. What are you trying to achieve? > Signed-off-by: Sudhakar Rajashekhara > Signed-off-by: Nagabhushana Netag

Re: [U-Boot] [PATCH] da850: add cache management support in config file

2011-07-29 Thread Detlev Zundel
Hi, > From: Nagabhushana Netagunte > > add support for cache management in config file. This is > needed as per new cache management framework. da850 doesnt > support I-CACHE, D-CACHE or L2-CACHE usage which is indicated > by following definitions, > > 1. CONFIG_SYS_ICACHE_OFF > 2. CONFIG_SYS_DCA

Re: [U-Boot] [PATCH] da850: add NOR boot mode support

2011-07-29 Thread Detlev Zundel
Hi, > From: Nagabhushana Netagunte > > Add an option to use NOR boot mode in configuration file and > correspanding pin-mux support in board file. > > Signed-off-by: Sudhakar Rajashekhara > Signed-off-by: Nagabhushana Netagunte > --- > board/davinci/da8xxevm/da850evm.c | 50 > ++

Re: [U-Boot] [PATCH v7] unify version_string

2011-07-29 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Andreas_Bie=DFmann?=, In message you wrote: > > I do only have arm and avr32 compilers therefore I can only test those There are many free tool chains for several architectures - OpenEmbedded, Yocto, CodeSourcery, ELDK, ... Just chose oneand install it. > architecture boar

Re: [U-Boot] [PATCH V6 2/5] omap-common: add nand spl support

2011-07-29 Thread Simon Schwarz
Hi Scott, Aneesh, to short the discussion: I already work on the implementation of using the image header. I think a new version will be released late today. Regards & thx for your reviews! Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lis

Re: [U-Boot] [PATCH] da850: fix the channel number for EMAC teardown init

2011-07-29 Thread Netagunte, Nagabhushana
Thanks Denk for the comments. Even though all the patches are separate w.r.t features, they have inter-dependency w.r.t applying. To make it easy for applying, I will send it as Single series with a cover letter as they are all related to da850. I hope That is OK with you. Thanks, Nagabhushana

Re: [U-Boot] [PATCH v3 6/7] Add pxecfg command

2011-07-29 Thread Detlev Zundel
Hi Wolfgang, [...] >> > > +if (path_len > MAX_TFTP_PATH_LEN) { >> > > +printf("Base path too long (%s%s)\n", >> > > +bootfile_path ? bootfile_path : >> > > "", >> > > +file_path); >> > >> > I

Re: [U-Boot] [PATCH V6 2/5] omap-common: add nand spl support

2011-07-29 Thread Aneesh V
Hi Scott, Simon, On Friday 29 July 2011 12:20 AM, Scott Wood wrote: > On Thu, 28 Jul 2011 19:46:25 +0530 > Aneesh V wrote: > >> On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: >>> +#ifdef CONFIG_SPL_NAND_SUPPORT >>> +static void nand_load_image(void) >>> +{ >>> + gpmc_init(); >>> + na

[U-Boot] [PATCH] cfb_console: fix build breakage

2011-07-29 Thread Andreas Bießmann
Commit 09c2e90c110ef99f1203685acd1059114a51b167 "unify version_string" introduced a build breakage in cfb_console.c ---8<--- cfb_console.c:1497: warning: format '%s' expects type 'char *', but argument 3 has type 'const char (*)[]' --->8--- Signed-off-by: Andreas Bießmann --- drivers/video/cfb_

Re: [U-Boot] [PATCH v7] unify version_string

2011-07-29 Thread Andreas Bießmann
Dear Wolfgang, Am 28.07.2011 um 23:09 schrieb Wolfgang Denk: > Dear Andreas, > > In message <1311869959-6085-1-git-send-email-andreas.de...@googlemail.com> > you wrote: >> >> This patch removes the architecture specific implementation of >> version_string where possible. Some architectures use