Re: [U-Boot] [PATCH V2] memcpy/memmove: Do not copy to same address

2011-06-29 Thread Matthias Weißer
Dear Wolfgang Am 14.06.2011 08:18, schrieb Matthias Weißer: > Am 23.05.2011 11:03, schrieb Matthias Weisser: >> In some cases (e.g. bootm with a elf payload which is already at the right >> position) there is a in place copy of data to the same address. Catching this >> saves some ms while booting

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

2011-06-29 Thread Albert ARIBAUD
Wolfgang, The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Prepare v2011.06 (2011-06-27 22:22:42 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm.git master Aneesh V (9): arm: make default implementation of cache_flush() weakly

[U-Boot] [PATCH] Makefile: need to remove generated u-boot-nand_spl.lds

2011-06-29 Thread Kumar Gala
On MPC85xx based NAND_SPL builds we generate a u-boot-nand_spl.lds based on output from preprocessor. We where never removed it. Signed-off-by: Kumar Gala --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index a344536..689fddb 100644 ---

Re: [U-Boot] [RFC PATCH 6/7] omap: common spl support for OMAP3/4

2011-06-29 Thread Aneesh V
Hi Heiko, On Thursday 30 June 2011 11:31 AM, Heiko Schocher wrote: > Hello Aneesh, > > Aneesh V wrote: >> Signed-off-by: Aneesh V >> --- >> arch/arm/cpu/armv7/omap-common/Makefile |9 ++-- >> arch/arm/cpu/armv7/omap-common/spl.c| 56 >> arch/arm/cpu/armv7

Re: [U-Boot] [RFC PATCH 6/7] omap: common spl support for OMAP3/4

2011-06-29 Thread Heiko Schocher
Hello Aneesh, Aneesh V wrote: > Signed-off-by: Aneesh V > --- > arch/arm/cpu/armv7/omap-common/Makefile |9 ++-- > arch/arm/cpu/armv7/omap-common/spl.c| 56 > arch/arm/cpu/armv7/omap-common/spl.lds | 62 > +++ > 3 files chang

Re: [U-Boot] [RFC PATCH 2/7] Use ALL-y style instead of ifeq blocks for better readability and upgradeability

2011-06-29 Thread Aneesh V
On Thursday 30 June 2011 12:24 AM, Mike Frysinger wrote: > On Wednesday, June 29, 2011 09:09:22 Aneesh V wrote: >> Makefile | 18 +- >> 1 files changed, 5 insertions(+), 13 deletions(-) >> >> # Always append ALL so that arch config.mk's can add custom ones > > as this comment

Re: [U-Boot] [RFC PATCH 1/7] Adapt config.mk for usage in spl/Makefile

2011-06-29 Thread Aneesh V
On Thursday 30 June 2011 12:22 AM, Mike Frysinger wrote: > On Wednesday, June 29, 2011 09:09:21 Aneesh V wrote: >> -$(obj)%.s: %.S >> +$(obj)%.s: $(src)%.S I too didn't understand why that was done. But I noticed it just before sending the patches so decided to give it a try later. I tried remov

Re: [U-Boot] more U-boot for Pentium

2011-06-29 Thread Raleigh Boulware
Thanks for your help I will study up on this more and get back with more questions next week! thanks for your help.. BTW I just bought an eprom programer off EBAY it will take quite some time to ship it from china, so i am making baby steps.. :) > Date: Thu, 30 Jun 2011 12:17:46 +1000 > Sub

Re: [U-Boot] more U-boot for Pentium

2011-06-29 Thread Graeme Russ
On Thu, Jun 30, 2011 at 12:08 PM, Raleigh Boulware wrote: > > >> Date: Thu, 30 Jun 2011 11:58:55 +1000 >> Subject: Re: more U-boot for Pentium >> From: graeme.r...@gmail.com >> To: r_boulw...@hotmail.com >> CC: u-boot@lists.denx.de >> >> On Thu, Jun 30, 2011 at 11:54 AM, Raleigh Boulware >> wrote

Re: [U-Boot] more U-boot for Pentium

2011-06-29 Thread Raleigh Boulware
> Date: Thu, 30 Jun 2011 11:58:55 +1000 > Subject: Re: more U-boot for Pentium > From: graeme.r...@gmail.com > To: r_boulw...@hotmail.com > CC: u-boot@lists.denx.de > > On Thu, Jun 30, 2011 at 11:54 AM, Raleigh Boulware > wrote: > > > > > >> Hi Raleigh, > >> > >> On Thu, Jun 30, 2011 at 11:1

Re: [U-Boot] more U-boot for Pentium

2011-06-29 Thread Graeme Russ
On Thu, Jun 30, 2011 at 11:54 AM, Raleigh Boulware wrote: > > >> Hi Raleigh, >> >> On Thu, Jun 30, 2011 at 11:16 AM, Raleigh Boulware >> wrote: >> > I have been going through the code and I have stumbled accross a file >> > called >> > sc520_car.S that has something called Cache as ram. I am gues

Re: [U-Boot] more U-boot for Pentium

2011-06-29 Thread Raleigh Boulware
> Hi Raleigh, > > On Thu, Jun 30, 2011 at 11:16 AM, Raleigh Boulware > wrote: > > I have been going through the code and I have stumbled accross a file called > > sc520_car.S that has something called Cache as ram. I am guessing that this > > is something special for the sc520 correct? Why w

Re: [U-Boot] more U-boot for Pentium

2011-06-29 Thread Graeme Russ
Hi Raleigh, On Thu, Jun 30, 2011 at 11:16 AM, Raleigh Boulware wrote: > I have been going through the code and I have stumbled accross a file called > sc520_car.S that has something called Cache as ram. I am guessing that this > is something special for the sc520 correct? Why was there a need to

[U-Boot] more U-boot for Pentium

2011-06-29 Thread Raleigh Boulware
I have been going through the code and I have stumbled accross a file called sc520_car.S that has something called Cache as ram. I am guessing that this is something special for the sc520 correct? Why was there a need to do this? Why was the Cache used like ram in the boot process? Also I am I

Re: [U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 17:21:46 Wolfgang Denk wrote: > Please stick to the rules. These apply to everbody, including you. > Even more so to you, as you have the experience and knowledge so that > you actually should be aware of how these things get done. you'll need to revise the wiki then a

Re: [U-Boot] [PATCH/RFC v4] unify version_string

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 18:32:49 Andreas Bießmann wrote: > --- a/arch/arm/lib/board.c > +++ b/arch/arm/lib/board.c > > -const char version_string[] = > - U_BOOT_VERSION" (" U_BOOT_DATE " - " U_BOOT_TIME ")"CONFIG_IDENT_STRING; > +const char * const version_string = U_BOOT_VERSION_STRING; t

[U-Boot] HOPE FOR JAPAN NOW: DONATE TO THE EARTHQUAKE & TSUNAMI VICTIMS

2011-06-29 Thread Unicef Relief Programm
HOPE FOR JAPAN NOW: DONATE TO THE EARTHQUAKE & TSUNAMI VICTIMS The United Nations International Children Emergency Fund (UNICEF, USA) hereby appeal to all Cooperate Bodies, Non Governmental Organizations (NGO), Celebrities, Government Official, Individuals including you as well, on behalf of t

[U-Boot] Is somebody workin on getting the AT91SAM9G45EKES working on the latest build?

2011-06-29 Thread William C. Landolina
I need the AT91SAM9G45 port - if I need to bring it up to date to keep it among the living I will volunteer, but if one of the usual AT91 maintainers is already working on it I suspect they can do it more easily than I. I can start work on the 9G45 update in early July if necessary. Thanks,

[U-Boot] [PATCH/RFC v4] unify version_string

2011-06-29 Thread Andreas Bießmann
This patch adds a new U_BOOT_VERSION_STRING definition to be placed in symbol version_string in the arch specific implementations. This is a preperation for easier modification of the version_string variable over all architectures. Signed-off-by: Andreas Bießmann CC: Mike Frysinger CC: Peter Pan

Re: [U-Boot] [PATCH] ehci-hcd: Allow cleanups to happen on an EHCI timeout.

2011-06-29 Thread Simon Glass
Hi Joel, On Sat, Jun 25, 2011 at 12:28 PM, Joel A Fernandes wrote: > With this, the EHCI seems to "recover" from a timeout. This is particularly > observable if you were to ping the wrong IP Address and then ping the correct > one or if there was a temporary failure during tftp sessions. > > All

[U-Boot] [PATCH] panic: add noreturn attribute

2011-06-29 Thread Mike Frysinger
Since panic() never returns, we should add an appropriate attribute to let gcc improve optimization around it. Signed-off-by: Mike Frysinger --- include/common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/common.h b/include/common.h index 1e21b7a..b59079b 1

Re: [U-Boot] [PATCH v3] Add assert() for debug assertions

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 17:01:23 Wolfgang Denk wrote: > Mike Frysinger wrote: > > do we really care about that when people are using #define DEBUG ? i'd > > say this is an unnecessary indirection ... > > Yes, we do care about the memory footprint - no matter whether with or > without DEBUG.

Re: [U-Boot] Pull request u-boot-blackfin.git

2011-06-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1309315854-10359-1-git-send-email-vap...@gentoo.org> you wrote: > The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: > > Prepare v2011.06 (2011-06-27 22:22:42 +0200) > > are available in the git repository at: > git://www.denx.de/git

Re: [U-Boot] [PATCH 00/18] Blackfin updates for v2011.09

2011-06-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1309289787-7846-1-git-send-email-vap...@gentoo.org> you wrote: > Many of these have been posted already, but some have not. We've pulled > some updates from the Linux port, added support for multiple serial devs > at the same time, and random tweaks/improvements a

Re: [U-Boot] Pull request u-boot-blackfin.git (post branch)

2011-06-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1309289196-5718-1-git-send-email-vap...@gentoo.org> you wrote: > All of thse patches have been posted previously, and no one has > given feedback, so here they are in a handy branch for you to pull. > > The following changes since commit b1af6f532e0d348b153d5c1483

Re: [U-Boot] Pull request u-boot-blackfin.git (sf branch)

2011-06-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1309282783-27244-1-git-send-email-vap...@gentoo.org> you wrote: > The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: > > Prepare v2011.06 (2011-06-27 22:22:42 +0200) > > are available in the git repository at: > git://www.denx.de/git

Re: [U-Boot] [PATCH 0/9] spi flash updates for v2011.09

2011-06-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1309282694-27103-1-git-send-email-vap...@gentoo.org> you wrote: > These have all been posted already. A few part updates, bug fixes, > code unification, and that kind of fun stuff. Then why exactly are you reposting these here? And IF these are reposts, why dopn

Re: [U-Boot] Please pull u-boot-cfi-flash

2011-06-29 Thread Wolfgang Denk
Dear Stefan Roese, In message <201106291019.59554...@denx.de> you wrote: > Hi Wolfgang, > > please pull the following patch: > > The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: > > Prepare v2011.06 (2011-06-27 22:22:42 +0200) > > are available in the git reposito

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

2011-06-29 Thread Wolfgang Denk
Dear Albert, In message <4e0ac19d.9070...@aribaud.net> you wrote: > > Please disregard this pull request. As it came too late for 2011-06, OK. > I'll re-issue it after I have merged in my current 'next' branch and the > patches Igor has mentioned, as soon as the merge window is announced. Th

Re: [U-Boot] [PATCH v3] Add assert() for debug assertions

2011-06-29 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201106291643.32477.vap...@gentoo.org> you wrote: > > do we really care about that when people are using #define DEBUG ? i'd say > this is an unnecessary indirection ... Yes, we do care about the memory footprint - no matter whether with or without DEBUG. Best re

Re: [U-Boot] [PATCH v3] Add assert() for debug assertions

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 15:49:34 Simon Glass wrote: > - Use separate __assert_fail() function to reduce memory footprint do we really care about that when people are using #define DEBUG ? i'd say this is an unnecessary indirection ... -mike signature.asc Description: This is a digitally si

[U-Boot] Please update libfdt for U-Boot

2011-06-29 Thread Tabi Timur-B04825
Jerry, Now that the merge window is open, could you please update libfdt? The version in U-Boot hasn't been updated in over a year, and there are new features that I need to have. Specifically, this commit: http://git.jdl.com/gitweb/?p=dtc.git;a=commit;h=d75b33af676d0beac8398651a7f09037555a550b

[U-Boot] [PATCH v3] Add assert() for debug assertions

2011-06-29 Thread Simon Glass
assert() is like BUG_ON() but compiles to nothing unless DEBUG is defined. This is useful when a condition is an error but a board reset is unlikely to fix it, so it is better to soldier on in hope. Assertion failures should be caught during development/test. It turns out that assert() is defined

Re: [U-Boot] Please update libfdt for U-Boot

2011-06-29 Thread Jerry Van Baren
Hi Tabi, On 06/29/2011 03:40 PM, Tabi Timur-B04825 wrote: > Jerry, > > Now that the merge window is open, could you please update libfdt? > The version in U-Boot hasn't been updated in over a year, and there > are new features that I need to have. Specifically, this commit: > http://git.jdl.com/g

Re: [U-Boot] GNU specific sed argument in rules.mk

2011-06-29 Thread Wolfgang Denk
Dear Jeroen Hofstee, In message <4e0b8f82.4000...@myspectrum.nl> you wrote: > > rules.mk uses the GNU specific sed \w leading to not directly obvious > Make / _depend errors in the build process, like circular dependencies You should probably mention when such errors result - I have never seen

Re: [U-Boot] [PATCH 2/2] ext2: Simplify partial sector access logic

2011-06-29 Thread Anton Staaf
On Wed, Jun 29, 2011 at 6:04 AM, Detlev Zundel wrote: > Hi Anton, > > > Previously reading or writing zero full sectors (reading the end of > > one sector and the beginning of the next for example) was special > > cased and involved stack allocating a second sector buffer. This > > change uses t

Re: [U-Boot] [RFC PATCH 2/7] Use ALL-y style instead of ifeq blocks for better readability and upgradeability

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 09:09:22 Aneesh V wrote: > Makefile | 18 +- > 1 files changed, 5 insertions(+), 13 deletions(-) > > # Always append ALL so that arch config.mk's can add custom ones as this comment indicates, you forgot to up date arch config.mk's that append ALL.

Re: [U-Boot] [RFC PATCH 1/7] Adapt config.mk for usage in spl/Makefile

2011-06-29 Thread Mike Frysinger
On Wednesday, June 29, 2011 09:09:21 Aneesh V wrote: > -$(obj)%.s: %.S > +$(obj)%.s: $(src)%.S why ? i dont see any explanation for this. -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@list

[U-Boot] GNU specific sed argument in rules.mk

2011-06-29 Thread Jeroen Hofstee
Hi Wolfgang / All, rules.mk uses the GNU specific sed \w leading to not directly obvious Make / _depend errors in the build process, like circular dependencies warnings / crc32.c not found (some example and (incorrect) fixes), e.g.: http://lists.denx.de/pipermail/u-boot/2009-May/051931.html http

Re: [U-Boot] [STATUS] v2011.06 release, Merge Window is OPEN

2011-06-29 Thread Albert ARIBAUD
Hi all, Le 28/06/2011 12:55, Wolfgang Denk a écrit : > Hello all, > > U-Boot v2011.06 has been released and is available from the git > repository and the FTP server. > > KNOWN ISSUES: > > - The cleanup after the reorganization of the ARM code has not been >completed yet. At the moment, approa

Re: [U-Boot] Removal of generated asm-offsets.s/h

2011-06-29 Thread Matthias Weisser
Hi Stefano Am 29.06.2011 17:48, schrieb Stefano Babic: > Hi Matthias, > >>> In message<4e0b3331.9030...@arcor.de> you wrote: If a soc automatically generates asm-offsets.s/h in its makefile it isn't removed by a make clean or make distclean. See mx35 as an example. Even addin

Re: [U-Boot] [PATCH] arm: Update jadecpu board

2011-06-29 Thread Albert ARIBAUD
Hi Matthias, Le 29/06/2011 14:08, Matthias Weisser a écrit : > Enable dcache and arch memset/memcpy for speed reasons > Remove of config.mk and some environment overwrites > Some generic cleanup > > Signed-off-by: Matthias Weisser > --- > board/syteco/jadecpu/config.mk |1 - > board/syteco/

Re: [U-Boot] [PATCH 1/2] ext2: Fix checkpatch violations

2011-06-29 Thread Anton Staaf
Ack, you're right, I didn't mean to include the printf changes. Sorry about that, I will be more careful with the next patches. Would it be best to leave this patch as it is or split it up for the next version (if there is one)? Thanks, Anton On Wed, Jun 29, 2011 at 5:13 AM, Detlev Zundel

Re: [U-Boot] [PATCH] arm: Update jadecpu board

2011-06-29 Thread Matthias Weisser
Am 29.06.2011 19:56, schrieb Albert ARIBAUD: > Le 29/06/2011 14:08, Matthias Weisser a écrit : >> Enable dcache and arch memset/memcpy for speed reasons >> Remove of config.mk and some environment overwrites >> Some generic cleanup >> >> Signed-off-by: Matthias Weisser > > Hi Matthias, > > I assu

Re: [U-Boot] [PATCH] 85XX: Fix pin muxing for second USB controller

2011-06-29 Thread Kumar Gala
On Jun 27, 2011, at 1:39 AM, Felix Radensky wrote: > On P1022/P1013 second USB controller is muxed with second > Ethernet controller. The current code to enable second USB > fails to properly clear pinmux bits used by ethernet. As a > result, Linux freezes when this controller is used. This > pat

Re: [U-Boot] [PATCH] arm: Update jadecpu board

2011-06-29 Thread Albert ARIBAUD
Le 29/06/2011 14:08, Matthias Weisser a écrit : > Enable dcache and arch memset/memcpy for speed reasons > Remove of config.mk and some environment overwrites > Some generic cleanup > > Signed-off-by: Matthias Weisser Hi Matthias, I assume this has been tested? Amicalement, -- Albert. _

[U-Boot] [PATCH v3 3/3] arm: ca9x4_ct_vxp: enable CONFIG_BOOTP_PXE

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs --- Changes for v2: - Add armv7 architecture to VCI string include/configs/ca9x4_ct_vxp.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/ca9x4_ct_vxp.h b/include/configs/ca9x4_ct_vxp.h index 7f83249..fdf9a2a 100644 --- a/in

[U-Boot] [PATCH v3 1/3] lib: add uuid_str_to_bin for use with bootp and PXE uuid

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs --- Changes for v2: - Move uuid_str_to_bin's prototype from uuid. to common.h - Place uuid.o make rule in sorted order and conditionalize Changes for v3: - Check for NULL pointers in uuid conversion function include/common.h |3 +++ lib/Makefile |1 + lib/

[U-Boot] [PATCH v3 2/3] net: bootp: add PXE/RFC 4578 DHCP options support

2011-06-29 Thread Jason Hobbs
These options are required to be present in RFC 4578 compliant DHCP requests. They give more information to DHCP servers to allow serving different DHCP responses to different systems based on client architecture, client capabilities, UUID, or vendor. Signed-off-by: Jason Hobbs --- Changes for v2

[U-Boot] [PATCH v3 0/3] Support for PXE options in DHCP requests

2011-06-29 Thread Jason Hobbs
This patch series adds support for RFC 4578 compliant DHCP request options, which enhance the ability of DHCP servers to respond differently to different clients. As an example, the last patch in this series enables support for the PXE DHCP options for the ca9x4_ct_vxp config. changes in v2: - d

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

2011-06-29 Thread Jason Hobbs
Add pxecfg command, which is intended to mimic PXELINUX functionality. 'pxecfg get' uses tftp to retrieve a file based on UUID, MAC address or IP address. 'pxecfg boot' interprets the contents of PXELINUX config like file to boot using a specific initrd, kernel and kernel command line. This patch

[U-Boot] [PATCH v3 7/7] arm: ca9x4_ct_vxp: enable pxecfg support

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs --- changes in v2: - use CONFIG_MENU to enable building the menu for pxecfg use include/configs/ca9x4_ct_vxp.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/ca9x4_ct_vxp.h b/include/configs/ca9x4_ct_vxp.h index 7f83249..f3

[U-Boot] [PATCH v3 5/7] common: add run_command2 for running simple or hush commands

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs --- changes in v2: - whitespace correction common/hush.c|2 +- common/main.c| 46 +++--- include/common.h |1 + include/hush.h |2 +- 4 files changed, 22 insertions(+), 29 deletions(-) diff --git a/common

[U-Boot] [PATCH v3 3/7] common, menu: use abortboot for menu timeout

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs --- changes in v2: - expose abortboot externally instead of using a wrapper - expose abortboot externally when CONFIG_MENU is set changes in v3: - simplify the conditional export of abortboot - add timeout support for the menu in this patch - add doc for timeout feature

[U-Boot] [PATCH v3 4/7] cosmetic, main: correct indentation/spacing issues

2011-06-29 Thread Jason Hobbs
Signed-off-by: Jason Hobbs --- changes in v2: - new in v2 common/main.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/main.c b/common/main.c index 1a371b1..489c9e9 100644 --- a/common/main.c +++ b/common/main.c @@ -397,15 +397,15 @@ void main_loop (vo

[U-Boot] [PATCH v3 2/7] cosmetic, main: clean up declarations of abortboot

2011-06-29 Thread Jason Hobbs
Remove an unneeded prototype declaration from the top of main.c, and use plain inline instead of __inline__ to please checkpatch. Signed-off-by: Jason Hobbs --- changes in v3: - new in v3 common/main.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/common/main.

[U-Boot] [PATCH v3 1/7] Add generic, reusable menu code

2011-06-29 Thread Jason Hobbs
This will be used first by the pxecfg code, but is intended to be generic and reusable for other jobs in U-boot. Signed-off-by: Jason Hobbs --- changes in v2: - new in v2 changes in v3: - move timeout support to later patch - fix NULL case bug in menu_item_key_match - consistently use 'item_

[U-Boot] [PATCH v3 0/7] Add support for pxecfg commands

2011-06-29 Thread Jason Hobbs
The pxecfg commands provide a near subset of the functionality provided by the PXELINUX boot loader. This allows U-boot based systems to be controlled remotely using the same PXE based techniques that many non U-boot based servers use. To avoid identity confusion with PXELINUX, and because not all

Re: [U-Boot] Removal of generated asm-offsets.s/h

2011-06-29 Thread Stefano Babic
On 06/29/2011 05:00 PM, Matthias Weißer wrote: > Am 29.06.2011 16:20, schrieb Wolfgang Denk: >> Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=, >> Hi Matthias, >> In message<4e0b3331.9030...@arcor.de> you wrote: >>> >>> If a soc automatically generates asm-offsets.s/h in its makefile it >>> isn't remo

Re: [U-Boot] Removal of generated asm-offsets.s/h

2011-06-29 Thread Matthias Weißer
Am 29.06.2011 16:20, schrieb Wolfgang Denk: > Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=, > > In message<4e0b3331.9030...@arcor.de> you wrote: >> >> If a soc automatically generates asm-offsets.s/h in its makefile it >> isn't removed by a make clean or make distclean. See mx35 as an example. >> Even

Re: [U-Boot] Removal of generated asm-offsets.s/h

2011-06-29 Thread Wolfgang Denk
Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=, In message <4e0b3331.9030...@arcor.de> you wrote: > > If a soc automatically generates asm-offsets.s/h in its makefile it > isn't removed by a make clean or make distclean. See mx35 as an example. > Even adding a clean: target to the SoCs makefile doesn't

Re: [U-Boot] request for some debugging hints

2011-06-29 Thread Christopher Harvey
On 06/29/11 08:55, Christopher Harvey wrote: > kernel version: 2.6.38 > u-boot version: 2011.06 > > I've got an ARM (armv7) kernel that I can boot under QEMU without > problems, but refuses to boot with a bootm command under u-boot. > > All I see is "Uncompressing Linux... done, booting the kerne

[U-Boot] Removal of generated asm-offsets.s/h

2011-06-29 Thread Matthias Weißer
Hi If a soc automatically generates asm-offsets.s/h in its makefile it isn't removed by a make clean or make distclean. See mx35 as an example. Even adding a clean: target to the SoCs makefile doesn't help. What would be the right way to remove these files with make clean? Regards Matthias We

Re: [U-Boot] request for some debugging hints

2011-06-29 Thread Chander Kashyap
Dear Christopher Harvey, One thought.. Just check you are using correct serial port as console. On 29 June 2011 18:25, Christopher Harvey wrote: > kernel version: 2.6.38 > u-boot version: 2011.06 > > I've got an ARM (armv7) kernel that I can boot under QEMU without > problems, but refuses to boo

Re: [U-Boot] request for some debugging hints

2011-06-29 Thread Wolfgang Denk
Dear Christopher Harvey, In message <4e0b20d0.4070...@matrox.com> you wrote: > > I was under the impression that the second a working kernel got passed > the "Uncompressing Linux... done, booting the kernel." point there was > very little that could go wrong since it means the kernel was completel

[U-Boot] [RFC PATCH 7/7] omap4: adapt Makefile for spl building

2011-06-29 Thread Aneesh V
Signed-off-by: Aneesh V --- arch/arm/cpu/armv7/omap4/Makefile | 12 ++-- include/configs/omap4_sdp4430.h |8 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/armv7/omap4/Makefile b/arch/arm/cpu/armv7/omap4/Makefile index 987dc9d..f28eb37 10064

[U-Boot] [RFC PATCH 6/7] omap: common spl support for OMAP3/4

2011-06-29 Thread Aneesh V
Signed-off-by: Aneesh V --- arch/arm/cpu/armv7/omap-common/Makefile |9 ++-- arch/arm/cpu/armv7/omap-common/spl.c| 56 arch/arm/cpu/armv7/omap-common/spl.lds | 62 +++ 3 files changed, 123 insertions(+), 4 deletions(-) create

[U-Boot] [RFC PATCH 5/7] armv7: adapt Makefile for spl building

2011-06-29 Thread Aneesh V
Signed-off-by: Aneesh V --- arch/arm/cpu/armv7/Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile index 8c0e915..549ade6 100644 --- a/arch/arm/cpu/armv7/Makefile +++ b/arch/arm/cpu/armv7/Makefile @@ -

[U-Boot] [RFC PATCH 3/7] Add new folder and build system for SPL

2011-06-29 Thread Aneesh V
From: Daniel Schwierzeck [ane...@ti.com: 1. Changed definition of OBJTREE for SPL 2. Added support for linker script from various places 4. $(OBJTREE)/spl/obj for objects 5. Minor cleanup ] Signed-off-by: Aneesh V Signed-off-by: Daniel Schwierzeck --- spl/Makefile | 105 ++

[U-Boot] [RFC PATCH 0/7] spl framework prototype

2011-06-29 Thread Aneesh V
This is an extention of Daniel Schwierzeck's work [1] on a new SPL framework and is intented only as a prototype to facilitate further discussion. Please refer [2] for an overview of this approach: I have extended his work to make it a little more generic, did some minor modifications and adapted

[U-Boot] [RFC PATCH 2/7] Use ALL-y style instead of ifeq blocks for better readability and upgradeability

2011-06-29 Thread Aneesh V
From: Daniel Schwierzeck Signed-off-by: Daniel Schwierzeck --- Makefile | 18 +- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index dcf5d93..813b03b 100644 --- a/Makefile +++ b/Makefile @@ -311,22 +311,14 @@ BOARD_SIZE_CHECK = endif #

[U-Boot] [RFC PATCH 4/7] Hook spl directory into main Makefile

2011-06-29 Thread Aneesh V
From: Daniel Schwierzeck Signed-off-by: Daniel Schwierzeck --- Makefile |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 813b03b..ea35b17 100644 --- a/Makefile +++ b/Makefile @@ -317,6 +317,7 @@ ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-n

[U-Boot] [RFC PATCH 1/7] Adapt config.mk for usage in spl/Makefile

2011-06-29 Thread Aneesh V
From: Daniel Schwierzeck [ane...@ti.com: 1. Changed the definition of OBJTREE and the way 'obj' is defined. 2. Defined a flag to identify regular U-Boot build 3. Taking care of autoconf.mk etc for SPL due to changed OBJTREE ] Signed-off-by: Aneesh V Signed-off-by: Daniel Schwierzeck --- config

Re: [U-Boot] [PATCH 2/2] ext2: Simplify partial sector access logic

2011-06-29 Thread Detlev Zundel
Hi Anton, > Previously reading or writing zero full sectors (reading the end of > one sector and the beginning of the next for example) was special > cased and involved stack allocating a second sector buffer. This > change uses the same code path for this case as well as when there > are a non-z

[U-Boot] request for some debugging hints

2011-06-29 Thread Christopher Harvey
kernel version: 2.6.38 u-boot version: 2011.06 I've got an ARM (armv7) kernel that I can boot under QEMU without problems, but refuses to boot with a bootm command under u-boot. All I see is "Uncompressing Linux... done, booting the kernel.", then nothing else. I'm also hitting a bug very simila

Re: [U-Boot] [PATCH 1/2] ext2: Fix checkpatch violations

2011-06-29 Thread Detlev Zundel
Hi Anton, > Fix all checkpatch violations in the low level Ext2 block > device reading code. This is done in preparation for cleaning > up the partial sector access code. > > Signed-off-by: Anton Staaf > Cc: Andy Fleming > --- > fs/ext2/dev.c | 82 > ++---

[U-Boot] [PATCH] arm: Update jadecpu board

2011-06-29 Thread Matthias Weisser
Enable dcache and arch memset/memcpy for speed reasons Remove of config.mk and some environment overwrites Some generic cleanup Signed-off-by: Matthias Weisser --- board/syteco/jadecpu/config.mk |1 - board/syteco/jadecpu/jadecpu.c |5 + include/configs/jadecpu.h | 24

[U-Boot] [PATCH] video: Use memset instead of loop

2011-06-29 Thread Matthias Weisser
There is a optimized version of memset in u-boot available so use it instead of the hand written loop version. Signed-off-by: Matthias Weisser --- drivers/video/mb86r0xgdc.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/video/mb86r0xgdc.c b/drivers/video/mb86

Re: [U-Boot] [Patch] For bug in UBIFS function ubifs_finddir

2011-06-29 Thread Detlev Zundel
Hi Stefan, [...] > This patch does not apply: > > Applying: For bug in UBIFS function ubifs_finddir > Using index info to reconstruct a base tree... > error: patch failed: fs/ubifs/ubifs.c:360 > error: fs/ubifs/ubifs.c: patch does not apply > Did you hand edit your patch? > > How did you create t

Re: [U-Boot] [Patch] For bug in UBIFS function ubifs_finddir

2011-06-29 Thread Detlev Zundel
Hi Rod, > Free private_data member element before freeing file structure. This > was causing malloc to crash. Also remove unnecessary variable > assigments after file structure was free'd. > > Signed-off-by: Rod Boyce > --- fs/ubifs/ubifs.c > ---

[U-Boot] [PATCH] smc911x MII made available

2011-06-29 Thread helmut . raiger
From: Helmut Raiger The driver already had the MII functions, but they have not been registered using miiphy_register(). Signed-off-by: Helmut Raiger --- drivers/net/smc911x.c | 36 ++-- 1 files changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/n

[U-Boot] [PATCH][ATMEL] Fix compiler error for cpu at91sam9, if lowlevel init is enabled

2011-06-29 Thread e...@bus-elektronik.de
* Fix compiler error for cpu at91sam9, if lowlevel init is enabled * use correct ATMEL_ name scheme to define ATMEL_BASE_SDRAMC Signed-off-by: Jens Scharsig --- arch/arm/include/asm/arch-at91/at91sam9_sdramc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/incl

Re: [U-Boot] [4/5]devkit8000 nand_spl: Add SPL NAND support to omap_gpmc driver

2011-06-29 Thread Andreas Bießmann
Dear Simon Schwarz, Am 28.06.2011 16:14, schrieb simonschwarz...@googlemail.com: > Add support for NAND_SPL to omap gpmc driver. This means adding > nand_read_buf16 to read from GPMC 32bit buffer (16 here means 16bit bus!) and > adding omap_dev_ready as indicator if the GPMC is ready. You als

Re: [U-Boot] Not able access External peripherals in PPC440EP

2011-06-29 Thread Stefan Roese
Hi Suresh, On Friday 24 June 2011 12:54:41 suresh kumar wrote: > Thanks for your suggestion. Now i have migrated to uboot v2011.06-rc2 > and the booting sequece is working fine. But the problem still i am > facing is not able access the external periherals like NVRAM and ADC, > DAC etc. What mini

Re: [U-Boot] [2/5]devkit8000 nand_spl: omap3 support nand_spl boot

2011-06-29 Thread Andreas Bießmann
Dear Simon Schwarz, Am 28.06.2011 16:14, schrieb simonschwarz...@googlemail.com: > Deactivates caching in SPL. Add call to preloader_console_init for early > console output. well, deactivating caches make the process much slower. I recommend don't disabeling it! BTW, this patch also add preloa

Re: [U-Boot] [Patch] Update filesize environment variable on ubifs_load

2011-06-29 Thread Stefan Roese
Hi Rod, On Saturday 18 June 2011 12:30:18 Rod Boyce wrote: > Add functionality to update filesize environment variable when > ubifs_load is called to read a file from filesystem > > Signed-off-by: Rod Boyce > --- fs/ubifs/ubifs.c > -- > dif

Re: [U-Boot] [Patch] For bug in UBIFS function ubifs_finddir

2011-06-29 Thread Stefan Roese
Hi Rod, On Saturday 18 June 2011 11:51:11 Rod Boyce wrote: > Free private_data member element before freeing file structure. This > was causing malloc to crash. Also remove unnecessary variable > assigments after file structure was free'd. > > Signed-off-by: Rod Boyce > ---

Re: [U-Boot] [1/5]devkit8000 nand_spl: armv7 support nand_spl boot

2011-06-29 Thread Andreas Bießmann
Dear Simon Schwarz, (this is a review of RFC for omap3 nand spl Simon does for his bachelor thesis, there is one question in regarding the current 'SPL framework redesign' discussion -> entry point for spl code). Am 28.06.2011 16:14, schrieb simonschwarz...@googlemail.com: > -- > > diff --git

[U-Boot] Please pull u-boot-cfi-flash

2011-06-29 Thread Stefan Roese
Hi Wolfgang, please pull the following patch: The following changes since commit b1af6f532e0d348b153d5c148369229d24af361a: Prepare v2011.06 (2011-06-27 22:22:42 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-cfi-flash.git master Mike Frysinger (1): cfi_fl

Re: [U-Boot] [PATCH] cfi_flash: reverse geometry for newer STM parts

2011-06-29 Thread Stefan Roese
On Tuesday 10 May 2011 00:33:36 Mike Frysinger wrote: > For newer STM parts where CFI >= 1.1, there is a byte in the extended > structure that declares the flash layout type (just like the AMD parts), > so key off of that to find out when we need to reverse the geometry. > > This can be seen with

[U-Boot] [PATCH V2 1/2] MMC: add sdhci generic framework

2011-06-29 Thread Lei Wen
Nowdays, there are plenty of mmc driver in uboot adopt the sd standard host design, aka as sdhci. It is better to centralize the common logic together to better maintenance. Signed-off-by: Lei Wen --- V1: add sdhci generic framework V2: No Change drivers/mmc/Makefile |1 + drivers/mmc/sdhc

[U-Boot] [PATCH V2 2/2] MMC: add marvell sdhci driver

2011-06-29 Thread Lei Wen
This could support both armada100 and pantheon serial in the mainline, while this driver also be tested to support upcoming mg, mmp2 and mmp3 hardware. Signed-off-by: Lei Wen --- V1: add marvell sdhci driver implementation V2: rename the previous file name from sdhci-mv to mv_sdhci drivers/mmc

[U-Boot] [PATCH V2 0/2] add sdhci generic framework

2011-06-29 Thread Lei Wen
V1: add sdhci generic framework and with marvell sdhci implementation V2: rename the previous file name from sdhci-mv to mv_sdhci Lei Wen (2): MMC: add sdhci generic framework MMC: add marvell sdhci driver drivers/mmc/Makefile |2 + drivers/mmc/mv_sdhci.c | 21 +++ drivers/mmc/sdhci

Re: [U-Boot] [PATCH 1/2] MMC: add sdhci generic framework

2011-06-29 Thread Lei Wen
Hi Prafulla, On Wed, Jun 29, 2011 at 2:56 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Lei Wen [mailto:adrian.w...@gmail.com] >> Sent: Wednesday, June 29, 2011 9:17 AM >> To: Lei Wen >> Cc: Andy Fleming; Rob Herring; u-boot@lists.denx.de; Prafulla Wadaskar; >> Yu Tang;

Re: [U-Boot] SPL framework re-design

2011-06-29 Thread Aneesh V
On Tuesday 28 June 2011 09:48 PM, Scott Wood wrote: > On Tue, 28 Jun 2011 12:24:11 +0530 > Aneesh V wrote: > >> 1. If there are SPL customized generic files like the >> nand_spl/nand_boot.c where do we keep them? I suggest that we keep them >> in spl/nand, spl/onenand etc. And for the object file

Re: [U-Boot] [PATCH 1/2] MMC: add sdhci generic framework

2011-06-29 Thread Prafulla Wadaskar
> -Original Message- > From: Lei Wen [mailto:adrian.w...@gmail.com] > Sent: Wednesday, June 29, 2011 9:17 AM > To: Lei Wen > Cc: Andy Fleming; Rob Herring; u-boot@lists.denx.de; Prafulla Wadaskar; > Yu Tang; Prabhanjan Sarnaik; Ashish Karkare > Subject: Re: [U-Boot] [PATCH 1/2] MMC: add s