Re: [U-Boot] Move do_irqinfo() to common/cmd_irq.c breaks MVBLUE board...

2009-12-07 Thread Andre Schwarz
Peter, On second thought, this will disable both the 'interrupts' and 'irqinfo' command for the MVBLUE. Andre, do you mind if the 'interrupts' command is not available the MVBLUE? please go ahead - no problem at all. Regards, André MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler

Re: [U-Boot] [PATCH] MAKEALL: Fix return value

2009-12-07 Thread Mike Frysinger
On Sunday 06 December 2009 03:44:06 Peter Tyser wrote: On Sun, 2009-12-06 at 02:45 -0500, Mike Frysinger wrote: On Sunday 06 December 2009 02:09:34 Peter Tyser wrote: ${MAKE} ${JOBS} all 21 ${LOG_DIR}/$target.MAKELOG \ | tee ${LOG_DIR}/$target.ERR you

[U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Thomas Weber
Signed-off-by: Thomas Weber we...@corscience.de --- drivers/net/dm9000x.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index 73dd335..08bd794 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -74,8 +74,8

[U-Boot] About the variable environment and default_environment when environment is embedded

2009-12-07 Thread Xiaojun Li
Hi all, I'm working with the u-boot-2009-08.tar.bz2 and find some code I am not very clear. My puzzle is about the extern array environment[] which declared in env_flash.c as an array composed by unsigned char. However, it is defined as a env_t struct in the env_embedded.c. So the declaration

Re: [U-Boot] Microblaze stack clobbered in d4e8ada0f6d51e0e3b80790fb9375ac8910f5352 (Consolidate arch-specific mem_malloc_init() implementations)

2009-12-07 Thread Michal Simek
Hi Graeme, Graeme Smecher wrote: Hi Michal, It appears there's a problem with the default memory map in u-boot's microblaze-generic configuration. We have (from include/configs/microblaze-generic.h): /* ddr sdram - main memory */ #defineCONFIG_SYS_SDRAM_BASE

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Mike Frysinger
your subject line really needs a prefix to narrow down where exactly your fix is going. it also should not have a period. net: dm9000x: fix debug output -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Thomas Weber
Mike Frysinger schrieb: your subject line really needs a prefix to narrow down where exactly your fix is going. it also should not have a period. net: dm9000x: fix debug output -mike Hello, should i resend the patch with the corrected subject line? Thomas signature.asc Description:

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Wolfgang Denk
Dear Thomas Weber, In message 1260177679-18337-1-git-send-email-we...@corscience.de you wrote: Signed-off-by: Thomas Weber we...@corscience.de --- drivers/net/dm9000x.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Wolfgang Denk
Dear Thomas Weber, In message 4b1ce6a5.3080...@corscience.de you wrote: should i resend the patch with the corrected subject line? No, because it needs other fixes (and explanations) anyway. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel

Re: [U-Boot] Breakage on arm/next

2009-12-07 Thread apgmoorthy
Hi Scott, Are they going to be the same on all boards? We let the board determine the environment location for other types of storage. OK How about just using CONFIG_ENV_ADDR/CONFIG_ENV_SIZE? On boards that must dynamically support multiple possibilities, define it as an expression

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Thomas Weber
Wolfgang Denk schrieb: Dear Thomas Weber, In message 1260177679-18337-1-git-send-email-we...@corscience.de you wrote: Signed-off-by: Thomas Weber we...@corscience.de --- drivers/net/dm9000x.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] Stop stack clobbering in microblaze-generic.

2009-12-07 Thread Graeme Smecher
From: Graeme Smecher gsmec...@tonka.atlantic.home A typo caused the stack and malloc regions to overlap, which prevented mem_malloc_init() from returning. This commit makes the memory layout match the example described in include/configs/microblaze-generic.h ---

Re: [U-Boot] [PATCH, REGRESSION] mpc83xx: provide option to set LCRR early

2009-12-07 Thread Kim Phillips
On Sat, 5 Dec 2009 21:27:30 +0100 Peter Korsgaard jac...@sunsite.dk wrote: Kim == Kim Phillips kim.phill...@freescale.com writes: Kim On Fri, 20 Nov 2009 12:42:43 +0100 Kim Peter Korsgaard jac...@sunsite.dk wrote: E.G. on a 8347 board a bootup time increase of ~600ms has been

Re: [U-Boot] Breakage on arm/next

2009-12-07 Thread Scott Wood
apgmoorthy wrote: Hi Scott, Are they going to be the same on all boards? We let the board determine the environment location for other types of storage. OK How about just using CONFIG_ENV_ADDR/CONFIG_ENV_SIZE? On boards that must dynamically support multiple possibilities,

Re: [U-Boot] [PATCH] ARM: Add support for edb93xx boards

2009-12-07 Thread Wolfgang Denk
Dear Matthias Kaehlcke, In message 20091206145444.ge22...@darwin you wrote: Add support for the Cirrus EP93xx platform and EDB93xx boards In addition to Tom's comments: @@ -2429,6 +2429,42 @@ TQM834x_config:unconfig vme8349_config: unconfig @$(MKCONFIG)

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Wolfgang Denk
Dear Thomas Weber, In message 4b1cfef3.7080...@corscience.de you wrote: Which problem is this supposed to fix? ... In commit 60f61e6d7655400bb785a2ef637581679941f6d1 the following calls where changed. - DM9000_DMP_PACKET(eth_send, packet, length); + DM9000_DMP_PACKET(__func__

Re: [U-Boot] is CONFIG_DATAFLASH_MMC_SELECT actually being used anywhere?

2009-12-07 Thread Wolfgang Denk
Dear Robert P. J. Day, In message alpine.lfd.2.00.0911180156580.16...@localhost you wrote: never afraid to embarrass myself, is the config option CONFIG_DATAFLASH_MMC_SELECT actually doing anything useful? Not in any mainline code, it seems. i can see the commit that did a rename:

Re: [U-Boot] why is the compilation of cmd_pcmcia.c hardcoded?

2009-12-07 Thread Wolfgang Denk
Dear Robert P. J. Day, In message alpine.lfd.2.00.0911180307560.31...@localhost you wrote: i'm curious as to why common/Makefile hardcodes the compilation of cmd_pcmcia.c thusly: Historic / hysteric reasons? Please feel free to submit cleanup patches! Best regards, Wolfgang Denk --

Re: [U-Boot] difference between V_PROMPT and CONFIG_SYS_PROMPT?

2009-12-07 Thread Wolfgang Denk
Dear Robert P. J. Day, In message alpine.lfd.2.00.0911190255590.29...@localhost you wrote: another beginner-level question, i'm sure, but what's the distinction between V_PROMPT and CONFIG_SYS_PROMPT for customizing the u-boot prompt? The difference is that CONFIG_SYS_PROMPT (which

Re: [U-Boot] [PATCH] fix nfs symlink name corruption

2009-12-07 Thread Ben Warren
Wolfgang Denk wrote: Dear Ed Swarthout, In message 1258620448-20960-1-git-send-email-ed.swarth...@freescale.com you wrote: An off by one error may cause nfs readlink lookup fail if nfs_path_buff has non-zero data from a previous use. Loading: *** ERROR: File lookup fail

Re: [U-Boot] [PATCH] nfs: NfsTimeout() updates

2009-12-07 Thread Wolfgang Denk
Dear Peter Tyser, In message 1257818916-30673-1-git-send-email-pty...@xes-inc.com you wrote: From: Evan Samanas esama...@xes-inc.com - NfsTimeout() does not correctly update the NFS timeout value which results in NfsTimeout() only being called once in certain situations. This can result

Re: [U-Boot] [PATCH] smc911x: fix typo in smc911x_handle_mac_address name

2009-12-07 Thread Wolfgang Denk
Dear Mike Rapoport, In message 1257926592-14782-1-git-send-email-m...@compulab.co.il you wrote: Signed-off-by: Mike Rapoport m...@compulab.co.il --- drivers/net/smc911x.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Ben, this looked so obvious, too. Hope

Re: [U-Boot] [PATCH 4/5] smc911x: update SMC911X related configuration description

2009-12-07 Thread Wolfgang Denk
Dear Mike Rapoport, In message 6b76074bd24b92947049829d60eff2f5441ac221.1257861401.git.m...@compulab.co.il you wrote: Since commit 736fead8fdbf8a8407048bebc373cd551d01ec98 Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API SMC911X configration options are called CONFIG_SMC911X rather

Re: [U-Boot] [PATCH v2] mpc83xx: Add NAND boot support for MPC8315E-RDB boards

2009-12-07 Thread Kim Phillips
On Tue, 24 Nov 2009 20:12:12 +0300 Anton Vorontsov avoront...@ru.mvista.com wrote: Here is the updated patch. MAKEALL |1 + Makefile |6 ++- board/freescale/mpc8315erdb/config.mk |8 +++

Re: [U-Boot] [PATCH] help: Correct syntax of nandecc help output.

2009-12-07 Thread Wolfgang Denk
Dear Robert P. J. Day, In message alpine.lfd.2.00.0911170728050.13...@localhost you wrote: nandecc help output should not reproduce the command name, nor have a trailing newline. Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca Applied, thanks. Tom, Sandeep, I hope this is OK with

Re: [U-Boot] [PATCH 3/3] LAN91C96: Enable NET_MULTI LAN driver

2009-12-07 Thread Ben Warren
Nishanth, Nishanth Menon wrote: This modification is NOT tested on any of the platforms modified as I dont have them. please help by testing+building+fixing Signed-off-by: Nishanth Menon n...@ti.com Cc: Andrea Scian andrea.sc...@dave-tech.it Cc: Ben Warren biggerbadder...@gmail.com Cc:

Re: [U-Boot] [PATCH 4/5] smc911x: update SMC911X related configuration description

2009-12-07 Thread Ben Warren
Wolfgang Denk wrote: Dear Mike Rapoport, In message 6b76074bd24b92947049829d60eff2f5441ac221.1257861401.git.m...@compulab.co.il you wrote: Since commit 736fead8fdbf8a8407048bebc373cd551d01ec98 Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API SMC911X configration options are

Re: [U-Boot] [PATCH] bootm: Fix help message's sub-command ordering

2009-12-07 Thread Wolfgang Denk
Dear Peter Tyser, In message 1258592939-26376-1-git-send-email-pty...@xes-inc.com you wrote: The help message for the 'bootm' command listed the 'cmdline' and 'bdt' sub-commands in the wrong order which resulted in the error below when following the 'help' command's instructions: Trying

Re: [U-Boot] [PATCH] nfs: NfsTimeout() updates

2009-12-07 Thread Swarthout Edward L-SWARTHOU
From: Peter Tyser Sent: Monday, November 09, 2009 8:09 PM Subject: [U-Boot] [PATCH] nfs: NfsTimeout() updates Tested on MPC8527DS. Tested by: Ed Swarthout ed.swarth...@freescale.com ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 2/6] Move lib_ARCH directories to lib/ARCH

2009-12-07 Thread Wolfgang Denk
Dear Peter Tyser, In message 1258943983.9357.20.ca...@ptyser-laptop you wrote: My personal preference would be to take it a step further and organize like: /arch/$ARCH/ /lib/sources currently in lib_$ARCH/ /include/asm/headers currently in incluce/asm-$ARCH/

Re: [U-Boot] [PATCH, REGRESSION] mpc83xx: provide option to set LCRR early

2009-12-07 Thread Kim Phillips
On Mon, 7 Dec 2009 22:10:49 +0100 Peter Korsgaard jac...@sunsite.dk wrote: Kim == Kim Phillips kim.phill...@freescale.com writes: Kim ok let's leave it as _EARLY then. wrt boards in current u-boot, can Kim you add the _EARLY define in their default config files? Sure - But if we're

Re: [U-Boot] [PATCH] nfs: NfsTimeout() updates

2009-12-07 Thread Wolfgang Denk
Dear Peter Tyser, In message 1257818916-30673-1-git-send-email-pty...@xes-inc.com you wrote: From: Evan Samanas esama...@xes-inc.com - NfsTimeout() does not correctly update the NFS timeout value which results in NfsTimeout() only being called once in certain situations. This can result

Re: [U-Boot] [PATCH, REGRESSION] mpc83xx: provide option to set LCRR early

2009-12-07 Thread Peter Korsgaard
Kim == Kim Phillips kim.phill...@freescale.com writes: Hi, Kim ok let's leave it as _EARLY then. wrt boards in current u-boot, can Kim you add the _EARLY define in their default config files? Sure - But if we're adding _EARLY to all the configs, shouldn't we just make _EARLY default (or

Re: [U-Boot] [PATCH] Fix computation in nand_util.c:get_len_incl_bad

2009-12-07 Thread Wolfgang Denk
Dear Daniel Hobi, In message 1259672755-929-1-git-send-email-daniel.h...@schmid-telecom.ch you wrote: Depending on offset, flash size and the number of bad blocks, get_len_incl_bad may return a too small value which may lead to: 1) If there are no bad blocks, nand_{read,write}_skip_bad

Re: [U-Boot] [PATCH] 52xx, manroland: add fdt_fixup_memory() in ft_board_setup()

2009-12-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4b1560d7.5020...@denx.de you wrote: To update the real memory size in the memory node on the uc101 and mucmc52 boards call fdt_fixup_memory() in ft_board_setup(). Signed-off-by: Heiko Schocher h...@denx.de --- board/mucmc52/mucmc52.c |2 ++

Re: [U-Boot] [PATCH v2 2/6] Move lib_ARCH directories to lib/ARCH

2009-12-07 Thread Scott Wood
Wolfgang Denk wrote: Dear Peter Tyser, In message 1258943983.9357.20.ca...@ptyser-laptop you wrote: My personal preference would be to take it a step further and organize like: /arch/$ARCH/ /lib/sources currently in lib_$ARCH/ /include/asm/headers currently in

Re: [U-Boot] [PATCH v2] POST: Remove duplicated post_hotkey_pressed() functions

2009-12-07 Thread Wolfgang Denk
Dear Stefan Roese, In message 1259817870-32585-1-git-send-email...@denx.de you wrote: This patch introduces a weak default function for post_hotkey_pressed(), returning 0, for boards without hotkey support. The long-running tests won't be started on those boards. This default function was

Re: [U-Boot] [PATCH, REGRESSION] mpc83xx: provide option to set LCRR early

2009-12-07 Thread Peter Korsgaard
Kim == Kim Phillips kim.phill...@freescale.com writes: Hi, Sure - But if we're adding _EARLY to all the configs, shouldn't we just make _EARLY default (or simply get rid of the late variant?) Kim probably the latter. Thanks! Great - I'll send an updated patch just doing that then

Re: [U-Boot] [PATCH 3/3] LAN91C96: Enable NET_MULTI LAN driver

2009-12-07 Thread Nishanth Menon
Ben Warren had written, on 12/07/2009 03:09 PM, the following: Nishanth, Nishanth Menon wrote: This modification is NOT tested on any of the platforms modified as I dont have them. please help by testing+building+fixing Signed-off-by: Nishanth Menon n...@ti.com Cc: Andrea Scian

Re: [U-Boot] [PATCH][RFC][for next] 5xxx, fdt: move fdt_fixup_memory() to cpu.c file

2009-12-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4b1790d6.6030...@denx.de you wrote: u-boot updates, before starting Linux, the memory node in the DTS. As this is a standard feature, move this functionality to the cpu.c file for mpc5xxx and mpc512x processors. Signed-off-by: Heiko Schocher h...@denx.de I

Re: [U-Boot] [PATCH][for next] mpc52xx, manroland: add some commands

2009-12-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4b1790fa.10...@denx.de you wrote: add the following commands for the manroland boards: CONFIG_CMDLINE_EDITING CONFIG_COMMAND_HISTORY CONFIG_AUTO_COMPLETE Signed-off-by: Heiko Schocher h...@denx.de --- based against git://git.denx.de/u-boot.git next

Re: [U-Boot] [PATCH V2 3/3] Add support for the LaCie ED Mini V2 board

2009-12-07 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4b1a05a9.4040...@free.fr you wrote: No, this is not correct. get_ram_size() is used always on a single bank of memory only. Do you mean calling get_ram_size() four up to times based on the configured number of banks and configured sizes? I then fail to

Re: [U-Boot] [PATCH] i2c: fix dangling comment in do_i2c_mw()

2009-12-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4b1a3d27.90...@denx.de you wrote: commit bd3784df94bfeca43fbf34094df9cb1bd3ecca3b delete some unused code in do_i2c_mw(), but missed to fix the inherent commment. This patch fix this comment. Signed-off-by: Heiko Schocher h...@denx.de --- common/cmd_i2c.c

Re: [U-Boot] [PATCH] tools/mkimage: Remove duplicate line of code

2009-12-07 Thread Wolfgang Denk
Dear Peter Tyser, In message 1260084804-11229-1-git-send-email-pty...@xes-inc.com you wrote: Recent commits 1a99de2cb4d08eb3bf9fb3f60a9d533150de8c0e and 6a590c5f5fd12cdd27f3153522acfac3854590e7 both fixed the same bug in the same manner. Unfortunately git was smart enough to merge both

Re: [U-Boot] [PATCH v2] MAKEALL: Fix return value

2009-12-07 Thread Wolfgang Denk
Dear Peter Tyser, In message 1260165508-10052-1-git-send-email-pty...@xes-inc.com you wrote: Previously MAKEALL would always return a value of 0, even if 1 or more boards did not compile. This change causes MAKEALL to return 0 if all boards were able to build, otherwise 1. This change also

[U-Boot] [STATUS] v2009.11-rc2 is out - please help testing!

2009-12-07 Thread Wolfgang Denk
Hi all, U-Boot v2009.11-rc2 has just been released. From now we are in strict bug-fix mode, i. e. no new stuff will go into this release any more. If no major show stppers pop up I intend to release v2009.11 in a week from now, i. e. on Dec 14. Please help testing! Note: The next branch has

Re: [U-Boot] [PATCH] Stop stack clobbering in microblaze-generic.

2009-12-07 Thread Wolfgang Denk
Dear Michal, In message 1260202197-1949-1-git-send-email-graeme.smec...@mail.mcgill.ca you wrote: From: Graeme Smecher gsmec...@tonka.atlantic.home A typo caused the stack and malloc regions to overlap, which prevented mem_malloc_init() from returning. This commit makes the memory layout

Re: [U-Boot] [PATCH] ARM: Add support for edb93xx boards

2009-12-07 Thread Matthias Kaehlcke
hi wolfgang, thanks a lot for you review, below some comments and questions El Mon, Dec 07, 2009 at 08:46:29PM +0100 Wolfgang Denk ha dit: In message 20091206145444.ge22...@darwin you wrote: Add support for the Cirrus EP93xx platform and EDB93xx boards In addition to Tom's comments:

Re: [U-Boot] [PATCH] ARM: Add support for edb93xx boards

2009-12-07 Thread Wolfgang Denk
Dear Matthias Kaehlcke, In message 20091207233313.ga31...@darwin you wrote: Please don't do scripting in the Makefile. Move this logic into your board config file instead. i got the inspiration to handle it this way from the U-Boot Makefile (Total5100, TQM5200, et al). could you please

[U-Boot] copy to flash: Flash not Erased

2009-12-07 Thread Howard Wang
Hi, I have some problems with using u-boot writing to flash: ( arm 920 processor ) first I use tftp to download the kernel to memory and was successful: tftp 0x80 mImage OK then I try to erase part of the flash, seems ok: erase 0x1c04 0x1c8F erased 124 sectors

[U-Boot] [PATCH] Remove superfluous uses of V_PROMPT macro.

2009-12-07 Thread Robert P. J. Day
A number of config files define the V_PROMPT macro for the command-line prompt, only to immediately use that macro to define CONFIG_SYS_PROMPT, making V_PROMPT entirely superfluous. Signed-off-by: Robert P. J. Day rpj...@crashcourse.ca --- i think this takes care of all of them.

Re: [U-Boot] [PATCH v2 2/6] Move lib_ARCH directories to lib/ARCH

2009-12-07 Thread Peter Tyser
On Mon, 2009-12-07 at 15:42 -0600, Scott Wood wrote: Wolfgang Denk wrote: Dear Peter Tyser, In message 1258943983.9357.20.ca...@ptyser-laptop you wrote: My personal preference would be to take it a step further and organize like: /arch/$ARCH/ /lib/sources currently in

Re: [U-Boot] [PATCH][RFC][for next] 5xxx, fdt: move fdt_fixup_memory() to cpu.c file

2009-12-07 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: In message 4b1790d6.6030...@denx.de you wrote: u-boot updates, before starting Linux, the memory node in the DTS. As this is a standard feature, move this functionality to the cpu.c file for mpc5xxx and mpc512x processors. Signed-off-by: Heiko Schocher

[U-Boot] How to burn file to sbc8548?

2009-12-07 Thread wolfking
Hi, all: I have a wind river's sbc8548 board and a wind river's ICE SX emulator. I want to run u-boot on the board. My question is: 1. Can I use the ICE SX emulator to burn the bin file? If I can, please tell me some detailed steps. 2. If I can't use ICE SX to burn file, What tool