[U-Boot] smc911x runtime detection (was: TI: OMAP3: Overo Tobi ethernet support)

2009-09-25 Thread Dirk Behme
Olof Johansson wrote: > Add setup for ethernet on Tobi, allowing kernel/ramdisk to be loaded > over tftp. > > Based on the omap3 evm code. I added a new highlevel define for Tobi > to avoid having it dependent on CMD_NET (which would seem backward in > this case). First: This is only a request fo

Re: [U-Boot] [PATCH 1/1] TI OMAP3 Use arm init sequence to initialize i2c

2009-09-25 Thread Dirk Behme
Tom Rix wrote: > This changes fixes an early i2c error. > > It appears that I2C is working because once a read or write > error is detected, the omap24xx_i2c driver calls i2c_init > inside its error handling check. > > While it is ok to attempt error handling this way, the boards > must not depen

Re: [U-Boot] [PATCH v2] OMAP3 MMC: Fix warning dereferencing type-punned pointer

2009-09-25 Thread Dirk Behme
Tom wrote: > Dirk Behme wrote: >> Fix warning >> >> dereferencing type-punned pointer will break strict-aliasing rules >> >> Signed-off-by: Dirk Behme >> CC: Steve Sakoman >> > > This may be improved by consolidating the unions into the omap3 mmc.h file > and using a pointer to union in the mmc_

Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

2009-09-25 Thread Dirk Behme
Steve, Tom wrote: > Dirk Behme wrote: >> From: Steve Sakoman >> >> Update default environment to support new kernel DSS2 subsystem and >> simplify rootfs type and location changes. >> >> Signed-off-by: Steve Sakoman >> Signed-off-by: Dirk Behme >> >> --- >> include/configs/omap3_beagle.h | 2

Re: [U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-25 Thread Ben Warren
Kim Phillips wrote: > On Sat, 19 Sep 2009 03:29:17 +0400 > Anton Vorontsov wrote: > > >> On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote: >> >>> sorry, can't accept - this breaks r1.1 based boards: >>> >> If it'll work, I'll repost a fixed version of this patch. >>

Re: [U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-25 Thread Anton Vorontsov
On Fri, Sep 25, 2009 at 06:32:15PM -0500, Kim Phillips wrote: > On Sat, 19 Sep 2009 03:29:17 +0400 > Anton Vorontsov wrote: > > > On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote: > > > sorry, can't accept - this breaks r1.1 based boards: > > > > If it'll work, I'll repost a fixed ve

[U-Boot] Please pull u-boot-mpc83xx.git

2009-09-25 Thread Kim Phillips
Hi WD, Please pull some minor enhancements for 83xx: The following changes since commit 984f10baac8ef6032df52f135943d6b0bc96f724: Wolfgang Denk (1): mpc5121ads: fix breakage introduced when reordering elpida_mddrc_config[] are available in the git repository at: git://git.denx.de/u

Re: [U-Boot] [PATCH] sbc8349: tidy up Makefile to use new configuration script.

2009-09-25 Thread Kim Phillips
On Mon, 21 Sep 2009 17:44:51 -0400 Paul Gortmaker wrote: > Commit 804d83a5 allows us to move all the configuration > variation tweaks out of the top level Makefile and down > into the board config header. This takes advantage of > that for the sbc8349 board. > > Signed-off-by: Paul Gortmaker >

Re: [U-Boot] [PATCH 4/5] mpc83xx: mpc8360emds: Use RGMII mode, add workarounds for rev. 2.1 CPUs

2009-09-25 Thread Kim Phillips
On Sat, 19 Sep 2009 03:29:17 +0400 Anton Vorontsov wrote: > On Fri, Sep 18, 2009 at 05:40:45PM -0500, Kim Phillips wrote: > > sorry, can't accept - this breaks r1.1 based boards: > > If it'll work, I'll repost a fixed version of this patch. that worked, thanks. I fixed up the original commit;

[U-Boot] [PATCH] mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields (was: Re: [PATCH v3] mpc83xx: update LCRR register handling)

2009-09-25 Thread Kim Phillips
On Tue, 15 Sep 2009 23:51:31 -0500 Kumar Gala wrote: > On Aug 27, 2009, at 3:53 PM, Kim Phillips wrote: > > Heiko - let's go with the SCCR approach of setting bits in the LCRR, > > and have board config files only specify values for fields they're > > modifying from the reset value for their proc

[U-Boot] [PATCH] galaxy5200: change cs1 configuration

2009-09-25 Thread Eric Millbrandt
Correct the chip select configuration for the nand flash chip select. Signed-off-by: Eric Millbrandt --- include/configs/galaxy5200.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/galaxy5200.h b/include/configs/galaxy5200.h index 3b67ea9..931acfb 10064

Re: [U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

2009-09-25 Thread Tom
Dirk Behme wrote: > From: Steve Sakoman > > Update default environment to support new kernel DSS2 subsystem and > simplify rootfs type and location changes. > > Signed-off-by: Steve Sakoman > Signed-off-by: Dirk Behme > > --- > include/configs/omap3_beagle.h | 27 +++---

Re: [U-Boot] [PATCH v2] OMAP3 MMC: Fix warning dereferencing type-punned pointer

2009-09-25 Thread Tom
Dirk Behme wrote: > Fix warning > > dereferencing type-punned pointer will break strict-aliasing rules > > Signed-off-by: Dirk Behme > CC: Steve Sakoman > This may be improved by consolidating the unions into the omap3 mmc.h file and using a pointer to union in the mmc_send_cmd. may == your

[U-Boot] [PATCH] OMAP3: Update Overo and Beagle environment

2009-09-25 Thread Dirk Behme
From: Steve Sakoman Update default environment to support new kernel DSS2 subsystem and simplify rootfs type and location changes. Signed-off-by: Steve Sakoman Signed-off-by: Dirk Behme --- include/configs/omap3_beagle.h | 27 +++ include/configs/omap3_overo.h |

[U-Boot] [PATCH v2] OMAP3 MMC: Fix warning dereferencing type-punned pointer

2009-09-25 Thread Dirk Behme
Fix warning dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Dirk Behme CC: Steve Sakoman --- Changes in v2: Union elements mmc_resp_r3 and mmc_resp_r6 are no pointers. v1 of this patch breaks MMC handling. Please revert v1 in u-boot-ti http://git.denx.de/?p

[U-Boot] [PATCH] Stay with memory ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread Martha M Stan
Used #Defined IDX values so as not to confuse those not familiar with the naming and ordering of the MDDRC config registers. Signed-off-by: Martha M Stan --- board/freescale/mpc5121ads/mpc5121ads.c |2 +- cpu/mpc512x/fixed_sdram.c | 26 +++--- include/asm

Re: [U-Boot] [PATCH] Fixed ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread m marx
Then please go back to the original patch where they are in memory order ... it confuses me (or anyone reading the manual) to see it this way since that is not the order of the registers. Very Best Regards, Martha -Original Message- From: Wolfgang Denk w...@denx.de Sent 9/25/2009 10:17

[U-Boot] [PATCH] sbc8548: reclaim wasted sector in boot flash

2009-09-25 Thread Paul Gortmaker
By nature of being based off the MPC8548CDS board, this board inherited an ENV_SIZE setting of 256k. But since it has a smaller flash device (8MB soldered on), it has a native sector size of 128k, and hence the ENV_SIZE was causing 2 sectors to be used for the environment. By removing the unused

[U-Boot] [RFC] Detecting coldstart on kirkwood CPUs

2009-09-25 Thread Simon Kagstrom
Hi (mostly Prafulla)! I'm looking at detecting cold starts on the OpenRD board (and also maintain the bootcounter via this). I've come up with a slight hack which works in practice for me, but which feels a bit unsafe. What I do is basically to reset the SYSRST duration counter just before doing

Re: [U-Boot] [PATCH] Fixed ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread Wolfgang Denk
Dear Martha M Stan, In message <1253885565511-git-send-email-mm...@silicontkx.com> you wrote: > No errors this time Please consider these NAKed, too. Mapping an array on top of a strucxt is just calling for trouble. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfga

Re: [U-Boot] Broken board: mpc5121ads

2009-09-25 Thread m marx
Hi Wolfgang, I really don't like the ordering of those registers the way you fixed it last night. My comment before the array was "in order of the 4 mddrc registers" I recommented to "in memory order" If you change it to your way then you should recomment at least. I redid it to save this or

Re: [U-Boot] [PATCH] Fixed ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread Wolfgang Denk
Dear Martha M Stan, In message <12538848343158-git-send-email-mm...@silicontkx.com> you wrote: > Signed-off-by: Martha M Stan > --- > cpu/mpc512x/fixed_sdram.c | 23 +++ > 1 files changed, 15 insertions(+), 8 deletions(-) > > diff --git a/cpu/mpc512x/fixed_sdram.c b/cpu/mp

[U-Boot] [PATCH] Fixed ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread Martha M Stan
No errors this time Signed-off-by: Martha M Stan --- cpu/mpc512x/fixed_sdram.c | 29 - 1 files changed, 20 insertions(+), 9 deletions(-) diff --git a/cpu/mpc512x/fixed_sdram.c b/cpu/mpc512x/fixed_sdram.c index 673d61e..1f6295f 100644 --- a/cpu/mpc512x/fixed_sdram.c

[U-Boot] [PATCH] Fixed ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread Martha M Stan
3rd time's a charm -- Wolfgang had also changed the Elpida patch one so I fixed the reg ordering in it too. Signed-off-by: Martha M Stan --- board/freescale/mpc5121ads/mpc5121ads.c |2 +- cpu/mpc512x/fixed_sdram.c | 29 - 2 files changed, 21 inser

[U-Boot] [PATCH] Fixed ordering of MDDRC config registers to unbreak mpc5121ads patch

2009-09-25 Thread Martha M Stan
Signed-off-by: Martha M Stan --- cpu/mpc512x/fixed_sdram.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/cpu/mpc512x/fixed_sdram.c b/cpu/mpc512x/fixed_sdram.c index 673d61e..7617e31 100644 --- a/cpu/mpc512x/fixed_sdram.c +++ b/cpu/mpc512x/fixed_sd

Re: [U-Boot] Broken board: mpc5121ads

2009-09-25 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <4abc9bcc.9060...@gmail.com> you wrote: > > A couple of lines got scrambled (exchanged!?) on the mpc5121. I did not > have the time to do a "git bisect" or "blame" to figure out where it > happened. > > The error is: > > $ cat LOG/mpc5121ads.ERR > mpc5121ads.

[U-Boot] [PATCH] mpc5121ads: fix breakage introduced when reordering elpida_mddrc_config[]

2009-09-25 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- board/freescale/mpc5121ads/mpc5121ads.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/freescale/mpc5121ads/mpc5121ads.c b/board/freescale/mpc5121ads/mpc5121ads.c index 3323d66..13bd73c 100644 --- a/board/freescale/mpc5121ads/mpc5

[U-Boot] [PATCH] ubifs: Correct dereferencing of files-after-symlinks

2009-09-25 Thread Simon Kagstrom
Files in directories which are symlinked to were not dereferenced correctly in last commit. E.g., with a symlink /boot/lnk -> /boot/real_dir loading /boot/lnk/uImage will fail. This patch fixes that by simply seeing to it that the target base directory has a slash after it. Signed-off-by

[U-Boot] Broken board: mpc5121ads

2009-09-25 Thread Jerry Van Baren
Hi Martha, list, A couple of lines got scrambled (exchanged!?) on the mpc5121. I did not have the time to do a "git bisect" or "blame" to figure out where it happened. The error is: $ cat LOG/mpc5121ads.ERR mpc5121ads.c: In function 'initdram': mpc5121ads.c:176: error: expected '}' before num

[U-Boot] Pull request: u-boot-fdt

2009-09-25 Thread Jerry Van Baren
Dear Wolfgang, Please pull u-boot-fdt. This only has Ken's fdt command parser fixes (thanks, Ken, it works a lot better now). FWIIW, I checked the dtc project and did not see any libfdt updates or improvements. The following changes since commit 3887c3fbdbbe6bbb4df60ed415c8e1ab9fe56b5e: He

Re: [U-Boot] u-boot support for Intel Atom based boards.

2009-09-25 Thread Sharad P. Katti
Dear Wolfgang, On Fri, Sep 25, 2009 at 3:29 PM, Wolfgang Denk wrote: > Dear "Sharad P. Katti", > > In message > you wrote: > > > > I found the u-boot support for x86 boards based on AMD chipsets, > > had someone tried porting u-boot to an Intel Atom based boards before? > > Such a port would be

Re: [U-Boot] u-boot support for Intel Atom based boards.

2009-09-25 Thread Wolfgang Denk
Dear "Sharad P. Katti", In message you wrote: > > I found the u-boot support for x86 boards based on AMD chipsets, > had someone tried porting u-boot to an Intel Atom based boards before? Such a port would be a major effort, and I seriously doubt that it would make sense economically. You are

[U-Boot] u-boot support for Intel Atom based boards.

2009-09-25 Thread Sharad P. Katti
Hi All, I found the u-boot support for x86 boards based on AMD chipsets, had someone tried porting u-boot to an Intel Atom based boards before? Thanks & Regards, ~Sharad. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

Re: [U-Boot] mpc5121 - EHCI problems with some (but not all) USB hubs

2009-09-25 Thread Michael Trimarchi
Damien Dusha wrote: > Hi Michael, > > On Fri, Sep 25, 2009 at 9:19 AM, Damien Dusha wrote: > >> On Fri, Sep 25, 2009 at 2:04 AM, Michael Trimarchi >> wrote: >> >>> Damien Dusha wrote: >>> Dear All, I am attempting to integrate the USB on the Freescale mpc5121 pr