Re: [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data

2010-01-02 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message 1262185712-11890-3-git-send-email-joakim.tjernl...@transmode.se you wrote: Accessing global data before relocation needs special handling if link address != load address. Use LINK_OFF to calculate the difference. --- common/cmd_nvedit.c |2 ++

Re: [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data

2010-01-02 Thread Wolfgang Denk
Dear Joakim Tjernlund, in message of7eec72d7.43e7c3b7-onc125769e.00078331-c125769e.00091...@transmode.se you wrote: Happy new year :) Thanks, and same to you and everybody else. The bigger question is if the LINN_OFF changes in general are acceptable to u-boot. Any board/arch that

[U-Boot] Sequoia EHCI

2010-01-02 Thread Chris Zhang
I was trying to get EHCI running on sequoia board (ppc440epx). I'm getting the following message when issuing usb start . Cannot enable port 1 after 5 retries, disabling port. Maybe the USB cable is bad? Cannot reset port 1!? 1 USB Device(s) found Scanning bus for

Re: [U-Boot] Sequoia EHCI

2010-01-02 Thread Wolfgang Denk
Dear Chris Zhang, In message 314701ca8bfa$d0a99520$71fcbf...@com you wrote: I was trying to get EHCI running on sequoia board (ppc440epx). Which exact version of U-Boot is this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235

Re: [U-Boot] [PATCH] Make getenv_IPaddr() global

2010-01-02 Thread Wolfgang Denk
Dear Ben, In message f8328f7c0912301331m7ae655c0ke6891526776cf...@mail.gmail.com you wrote: We should not make the passing of the IP configuration to Linux dependent on U-Boot features / settings. For this, make getenv_IPaddr() global. This fixes build error

[U-Boot] Issue in drivers/mmc/mmc.c

2010-01-02 Thread Quentin Armitage
There appears to be a path through mmc_read in drivers/mmc/mmc.c where malloc'd memory is not freed before exiting mmc_read, although this may be a hypothetical situation. It occurs if mmc_set_blocklen() returns a non-zero value. The following patch appears to resolve the issue: ---

[U-Boot] There appears to be the potential for an undetected error in fs/ext2/dev.c ext2fs_devread()

2010-01-02 Thread Quentin Armitage
In fs/ext2/dev.c in function ext2fs_devread(), if after reading the first part, there is less than a whole block left to be read (block_len == 0), then the return value from ext2fs_block_dev_desc-block_read is not tested, and success (1) is always returned to the calling function. This particular

Re: [U-Boot] [PATCH] Make getenv_IPaddr() global

2010-01-02 Thread Ben Warren
Hi Wolfgang and Happy New Year to all, On Sat, Jan 2, 2010 at 3:50 PM, Wolfgang Denk w...@denx.de wrote: Dear Ben, In message f8328f7c0912301331m7ae655c0ke6891526776cf...@mail.gmail.com you wrote: We should not make the passing of the IP configuration to Linux dependent on U-Boot

Re: [U-Boot] [PATCH v2 3/3] powerpc: Add support for ram filesystems in FIT uImages

2010-01-02 Thread Grant Likely
On Fri, Jan 1, 2010 at 7:12 AM, Wolfgang Denk w...@denx.de wrote: Dear Grant, In message fa686aa40912301601s6cd0ec4y85b88976159a3...@mail.gmail.com you wrote: Thinking further, I do actually have another concern, at least with regard to the way the current patch set implements things.  Is

Re: [U-Boot] [PATCH v2 3/3] powerpc: Add support for ram filesystems in FIT uImages

2010-01-02 Thread Grant Likely
Hi Peter, On Wed, Dec 30, 2009 at 6:10 PM, Peter Tyser pty...@xes-inc.com wrote: On Wed, 2009-12-30 at 17:01 -0700, Grant Likely wrote: On Wed, Dec 30, 2009 at 4:39 PM, Peter Tyser pty...@xes-inc.com wrote: Hi Grant, I put U-Boot ML on CC. Thinking further, I do actually have another

[U-Boot] [PATCH v2] Make getenv_IPaddr() global

2010-01-02 Thread Dirk Behme
There are boards out there that do not have network support in U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This makes it desirable to be able to port network configuration (like the IP address) to the Linux kernel. We should not make the passing of the IP configuration to Linux