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

2011-07-28 Thread Aneesh V
Dear Simon, Andreas, On Tuesday 26 July 2011 02:12 PM, Simon Schwarz wrote: Dear Andreas, On 07/26/2011 08:07 AM, Andreas Bießmann wrote: Dear Simon, Am 25.07.2011 um 20:05 schrieb Simon Schwarz: Add NAND support for the new SPL structure. --- This patch didn't exist before V2! V2

Re: [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file

2011-07-28 Thread Stefano Babic
On 07/28/2011 07:56 AM, Jason Liu wrote: Hi, Stefano, Hi Jason, It's used before, if you checkout tag: v2011.06 #ifndef CONFIG_L2_OFF /* turn off L2 cache */ l2_cache_disable(); /* invalidate L2 cache also */ invalidate_dcache(get_device_type()); #endif

[U-Boot] [PATCH 1/2] SMDKV310: MMC SPL: Remove unwanted dummy functions

2011-07-28 Thread Chander Kashyap
Removed dummy functions in mmc_spl/board/samsung/smdkv310/mmc_boot.c, @mmc_boot.c void do_undefined_instruction(struct pt_regs *pt_regs); void do_software_interrupt(struct pt_regs *pt_regs); void do_prefetch_abort(struct pt_regs *pt_regs); void do_data_abort(struct pt_regs *pt_regs); void

Re: [U-Boot] [PATCH v2 1/3] arm: add CONFIG_MACH_TYPE setting and documentation

2011-07-28 Thread Chander Kashyap
Dear Igor, On 27 July 2011 18:34, Igor Grinberg grinb...@compulab.co.il wrote: On 07/27/11 13:31, Chander Kashyap wrote: dear Igor, On 14 July 2011 21:15, Igor Grinberg grinb...@compulab.co.il wrote: CONFIG_MACH_TYPE is used to set the machine type number in the common arm code instead of

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

2011-07-28 Thread Andreas Bießmann
Dear all, Am 18.07.2011 20:24, schrieb Andreas Bießmann: This patch removes the architecture specific implementation of version_string where possible. Some architectures use a special place and therefore we provide U_BOOT_VERSION_STRING definition and a common weak symbol version_string.

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

2011-07-28 Thread Aneesh V
Hi Scott, On Thursday 28 July 2011 03:31 AM, Scott Wood wrote: On Wed, 27 Jul 2011 20:25:44 +0530 V, Aneeshane...@ti.com wrote: Hi Simon, Scott, On Wed, Jul 27, 2011 at 2:52 PM, Simon Schwarz simonschwarz...@googlemail.com wrote: Dear Scott Wood, On 07/26/2011 08:04 PM, Scott Wood

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

2011-07-28 Thread Bdale Garbee
On Wed, 27 Jul 2011 22:08:23 -0400, Jason u-b...@lakedaemon.net wrote: Since every Dreamplug on the market sets and uses MACH_TYPE_GURUPLUG, I think it's reasonable to use it (hopefully merged into u-boot) until the linux-arm tree gets sorted out and they accept new boards / machids. Then, the

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

2011-07-28 Thread Wolfgang Denk
Dear Mike Frysinger, In message CAJaTeTqTEC2XHdbSeZHLWYhhSkdBXqDx1mFSBzuUaeWEyru=z...@mail.gmail.com you wrote: Arghh... this is causing build warnings for ALL boards: no, it isnt all boards. if you look at the code, you see it's based on the CONFIG_PANIC_HANG define. and all my boards

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

2011-07-28 Thread Simon Schwarz
Dear Scott Wood, On 07/27/2011 11:38 PM, Scott Wood wrote: On Wed, 27 Jul 2011 10:42:22 +0200 Simon Schwarzsimonschwarz...@googlemail.com wrote: Dear Scott Wood, On 07/26/2011 08:06 PM, Scott Wood wrote: On Tue, 26 Jul 2011 14:09:15 +0200 Simon Schwarzsimonschwarz...@googlemail.com

Re: [U-Boot] [PATCH v2 1/3] arm: add CONFIG_MACH_TYPE setting and documentation

2011-07-28 Thread Igor Grinberg
On 07/28/11 09:41, Chander Kashyap wrote: Dear Igor, On 27 July 2011 18:34, Igor Grinberg grinb...@compulab.co.il wrote: On 07/27/11 13:31, Chander Kashyap wrote: dear Igor, On 14 July 2011 21:15, Igor Grinberg grinb...@compulab.co.il wrote: CONFIG_MACH_TYPE is used to set the machine

[U-Boot] [PATCH] fix cramfs resolve in case of two files, which start with same chars

2011-07-28 Thread Peter Feuerer
Hi, when having two (or more) files in cramfs which start with same name, cramfs_resolve didn't check the filename length and thus returned potentially the wrong file. kind regards, --peter; Signed-off-by: Peter Feuerer p...@sysgo.com --- diff -ur u-boot-2011.06_original/fs/cramfs/cramfs.c

Re: [U-Boot] [PATCH v2 1/3] arm: add CONFIG_MACH_TYPE setting and documentation

2011-07-28 Thread Chander Kashyap
On 28 July 2011 13:29, Igor Grinberg grinb...@compulab.co.il wrote: On 07/28/11 09:41, Chander Kashyap wrote: Dear Igor, On 27 July 2011 18:34, Igor Grinberg grinb...@compulab.co.il wrote: On 07/27/11 13:31, Chander Kashyap wrote: dear Igor, On 14 July 2011 21:15, Igor Grinberg

Re: [U-Boot] [PATCH 0/4] MIPS: make config options more generic

2011-07-28 Thread thomas.langer
Hi Daniel, Daniel Schwierzeck wrote on 2011-07-27: This patch series contains cleanups and enhancements to consolidate the INCA-IP related config options and to make them more generic. Additionally, the cache operation mode is now configurable. All changes are needed to prepare the support

[U-Boot] [PATCH V6 0/5] OMAP3 and devkit8000 SPL support

2011-07-28 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

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

2011-07-28 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

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

2011-07-28 Thread Simon Schwarz
Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- 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

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

2011-07-28 Thread Simon Schwarz
Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- 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

[U-Boot] [PATCH V6 4/5] omap3: new SPL structure support

2011-07-28 Thread Simon Schwarz
Support for the new spl structure. Using the interface defined by Aneesh V for OMAP4 Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- 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

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

2011-07-28 Thread Simon Schwarz
Add NAND SPL support to the devkit8000 config Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- 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

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

2011-07-28 Thread Aneesh V
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 Schwarz wrote: OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the

Re: [U-Boot] [PATCH v2 1/3] arm: add CONFIG_MACH_TYPE setting and documentation

2011-07-28 Thread Igor Grinberg
On 07/28/11 11:19, Chander Kashyap wrote: On 28 July 2011 13:29, Igor Grinberg grinb...@compulab.co.il wrote: On 07/28/11 09:41, Chander Kashyap wrote: Dear Igor, On 27 July 2011 18:34, Igor Grinberg grinb...@compulab.co.il wrote: On 07/27/11 13:31, Chander Kashyap wrote: dear Igor, On

[U-Boot] [PATCH] arm: fix bd pointer dereference prior initialization

2011-07-28 Thread Igor Grinberg
gd-bd pointer has been used prior been initialized. Move the relevant code after the initialization. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- arch/arm/lib/board.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/lib/board.c

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

2011-07-28 Thread Shaohui Xie
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'. Signed-off-by: Shaohui Xie shaohui@freescale.com ---

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

2011-07-28 Thread Simon Schwarz
Moves the early UART clock setup setup_clocks_for_console() from preloader_console_init() to s_init() of OMAP4. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- arch/arm/cpu/armv7/omap-common/spl.c |1 - arch/arm/cpu/armv7/omap4/board.c |1 + 2 files changed, 1

[U-Boot] [PATCH V0] omap-common: move early UART clock setup to board.c

2011-07-28 Thread Simon Schwarz
This patch moves the setup_clocks_for_console()-call from preloader_console_init() to s_init(). This is done to use the same implementation for OMAP3 and OMAP4 For discussion see: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/104120 This is based on the following patches: - New SPL

Re: [U-Boot] [PATCH] fix cramfs resolve in case of two files, which start with same chars

2011-07-28 Thread Wolfgang Denk
Dear Peter Feuerer, In message 4e311948.1000...@sysgo.com you wrote: Hi, when having two (or more) files in cramfs which start with same name, cramfs_resolve didn't check the filename length and thus returned potentially the wrong file. kind regards, --peter; Please move greetings

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

2011-07-28 Thread Simon Schwarz
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 Schwarz wrote: OMAP3 relied on the memory config done by X-loader or

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

2011-07-28 Thread Andreas Bießmann
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 support' series before the current '2/5 omap-common: add nand_spl support'

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

2011-07-28 Thread Aneesh V
Hi Simon, On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com --- This patch didn't exist before V2! V2 changes: ADD Some define-barriers for OMAP3 to only use NAND ADD nand_load_image()

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

2011-07-28 Thread Aneesh V
Hi Simon, On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: [snip ..] + +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +{ + debug(resetting cpu...); + reset_cpu(0); + + return 0; +} Can you explain the need of this do_reset()? I couldn't figure

Re: [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file

2011-07-28 Thread Jason Liu
Hi, stefano, 2011/7/28 Stefano Babic sba...@denx.de: On 07/28/2011 07:56 AM, Jason Liu wrote: Hi, Stefano, Hi Jason, It's used before, if you checkout tag: v2011.06 #ifndef CONFIG_L2_OFF        /* turn off L2 cache */        l2_cache_disable();        /* invalidate L2 cache also */  

Re: [U-Boot] [PATCH] mx53: use CONFIG_SYS_L2CACHE_OFF in config file

2011-07-28 Thread Stefano Babic
On 07/28/2011 12:22 PM, Jason Liu wrote: Hi, stefano, Hi Jason, Look at the meaning from the name X_OFF, if we define it, it tells people that we want to disable it explicitly. Yes, but is only dead code for MX5. It has sense only if we add l2_cache_enable() and disable functions. If not

Re: [U-Boot] [PATCH V6 5/5] devkit8000: Add nand-spl support for new SPL

2011-07-28 Thread Aneesh V
On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Add NAND SPL support to the devkit8000 config Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com --- V1 changes: ADD devkit8000_nand to board.cfg ADD nand_spl Makefile, llinker script, spl-devkit8000.c ADD config ecc, SRAM, SPL to

Re: [U-Boot] [PATCH V6 5/5] devkit8000: Add nand-spl support for new SPL

2011-07-28 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 12:51 PM, Aneesh V wrote: On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Add NAND SPL support to the devkit8000 config Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com --- V1 changes: ADD devkit8000_nand to board.cfg ADD nand_spl Makefile, llinker

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

2011-07-28 Thread Aneesh V
On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com [snip ..] + +int nand_curr_device = -1; Is nand_curr_device used anywhere? +static int nand_ecc_pos[] =

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

2011-07-28 Thread Jason
On Thu, Jul 28, 2011 at 09:25:48AM +0200, Bdale Garbee wrote: On Wed, 27 Jul 2011 22:08:23 -0400, Jason u-b...@lakedaemon.net wrote: Since every Dreamplug on the market sets and uses MACH_TYPE_GURUPLUG, I think it's reasonable to use it (hopefully merged into u-boot) until the linux-arm

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

2011-07-28 Thread Simon Schwarz
On 07/28/2011 11:42 AM, Aneesh V wrote: Hi Simon, On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com --- This patch didn't exist before V2! V2 changes: ADD Some define-barriers for

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

2011-07-28 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 11:58 AM, Aneesh V wrote: Hi Simon, On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: [snip ..] + +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +{ + debug(resetting cpu...); + reset_cpu(0); + + return 0; +} Can you explain

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

2011-07-28 Thread Wolfgang Denk
Dear Simon Schwarz, In message 1311844938-17278-1-git-send-email-simonschwarz...@gmail.com you wrote: This patch moves the setup_clocks_for_console()-call from preloader_console_init() to s_init(). This is done to use the same implementation for OMAP3 and OMAP4 For discussion see:

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

2011-07-28 Thread Wolfgang Denk
Dear Simon Schwarz, In message 1311844938-17278-2-git-send-email-simonschwarz...@gmail.com you wrote: Moves the early UART clock setup setup_clocks_for_console() from preloader_console_init() to s_init() of OMAP4. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com ---

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

2011-07-28 Thread Holger Brunck
Hi Aneesh, 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 bisecting the current tree I got: c2dd0d45540397704de9b13287417d21049d34c6 is the

Re: [U-Boot] Building and Debuging U-Boot in Eclipse Helios On Window XP.pdf

2011-07-28 Thread Wolfgang Denk
Dear =?GB2312?B?wbrR17L9?=, In message BANLkTi=y7dmkaw_3ofz2oo9nxzptvmd...@mail.gmail.com you wrote: I've Post an PDF Document to describe how to Build and Debug U-Boot in Eclipse Helios On Window XP. My Target CPU is at91sam9263. Debuger is J-link. here is the download link:

[U-Boot] [PATCH] ubifs: Fix bad free() sequence in ubifs_finddir()

2011-07-28 Thread Wolfgang Denk
Free private_data member element before freeing file structure. This was causing malloc to crash. Also remove unnecessary variable assigments as file structure gets free'd as well. Signed-off-by: Rod Boyce ub...@teamboyce.co.uk Signed-off-by: Wolfgang Denk w...@denx.de Cc: Stefan Roese

Re: [U-Boot] [PATCH 1/3] omap3evm: eth: split function setup_net_chip

2011-07-28 Thread Wolfgang Denk
Dear Sanjeev Premi, In message 1308770649-3802-2-git-send-email-pr...@ti.com you wrote: In current implementation, the function sets up the ethernet chip and resets it. The steps to reset depend upon the board revision. The patch moves the reset actions to new function reset_net_chip().

Re: [U-Boot] [PATCH 2/3] omap3evm: Update ethernet reset sequence for Rev.G board

2011-07-28 Thread Wolfgang Denk
Dear Sanjeev Premi, In message 1308770649-3802-3-git-send-email-pr...@ti.com you wrote: + if (get_omap3_evm_rev() == OMAP3EVM_BOARD_GEN_1) { + gpio_base = (struct gpio *)OMAP34XX_GPIO3_BASE; + pin = GPIO0;/* Output pin: GPIO Bank 3, pin 0 */ + } else { +

Re: [U-Boot] [PATCH] powerpc/eeprom: cleanup mac command

2011-07-28 Thread Wolfgang Denk
Dear York Sun, In message 1309457195-8475-1-git-send-email-york...@freescale.com you wrote: Move mac command to board/freescale/common/sys_eeprom.c. Change the help message to be more helpful. Print argument format. Fix MAX_NUM_PORTS to comply with v1 NXID format. Signed-off-by: York Sun

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

2011-07-28 Thread Wolfgang Denk
Dear Anton Staaf, In message 1309459537-312-2-git-send-email-robot...@chromium.org you wrote: 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. Also replace hard coded function names in

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

2011-07-28 Thread Wolfgang Denk
Dear Anton Staaf, In message 1309459537-312-3-git-send-email-robot...@chromium.org you wrote: Previously reading 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

Re: [U-Boot] [PATCH 1/4] km/common: add printings to boardid commands

2011-07-28 Thread Wolfgang Denk
Dear Holger Brunck, In message 1309854242-11354-2-git-send-email-holger.bru...@keymile.com you wrote: Be verbose if do_setboardid was called and print correct names of variables in do_checkboardidhwk. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Valentin Longchamp

Re: [U-Boot] [PATCH 2/4] km/common: use u-boot.kwb for u-boot update function on arm

2011-07-28 Thread Wolfgang Denk
Dear Holger Brunck, In message 1309854242-11354-3-git-send-email-holger.bru...@keymile.com you wrote: Now we use the standard u-boot make to build the Kirkwood binary. The output file is u-boot.kwb. So use this name for the tftp update function to avoid confusion, because this is the binary

Re: [U-Boot] [PATCH 3/4] km/common: moved eeprom config to pbec specific part

2011-07-28 Thread Wolfgang Denk
Dear Holger Brunck, In message 1309854242-11354-4-git-send-email-holger.bru...@keymile.com you wrote: From: Stefan Bigler stefan.big...@keymile.com Moved eeprom config to specific part, to allow bigger eeprom write pages for km_kirkwood designs. Write page only used for env eeprom in std

Re: [U-Boot] [PATCH 4/4] km/common: i2c deblock: enabled print of i2c deblock status

2011-07-28 Thread Wolfgang Denk
Dear Holger Brunck, In message 1309854242-11354-5-git-send-email-holger.bru...@keymile.com you wrote: From: Stefan Bigler stefan.big...@keymile.com Enable printout of i2c deblocking status if chips were in block state or deblocking failed. Signed-off-by: Stefan Bigler

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

2011-07-28 Thread Bdale Garbee
On Thu, 28 Jul 2011 08:43:53 -0400, Jason u-b...@lakedaemon.net wrote: I agree, which is why I included patch 5. I've rebased my Linux dreamplug patches against v3.0 and am doing some testing, Hopefully I can push those out this weekend. I'll add you folks to the CC when I do that. Great,

Re: [U-Boot] Nand Erase/Write Fails with mtd error -5

2011-07-28 Thread Wolfgang Denk
Dear Bouhara Kamel, In message 1310410277.25591.yahoomai...@web24917.mail.ird.yahoo.com you wrote: Hello, Im getting a trouble with mtd on my imx27 27 board, I can't write or erase it on U-Boot-1.3.4, here is the log : U-Boot run update_all ... Anyone have an idea of the problem here?

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

2011-07-28 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 01:54 PM, Aneesh V wrote: On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com [snip ..] + +int nand_curr_device = -1; Is nand_curr_device used

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

2011-07-28 Thread Aneesh V
Hi Simon, On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com --- This patch didn't exist before V2! V2 changes: ADD Some define-barriers for OMAP3 to only use NAND ADD nand_load_image()

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

2011-07-28 Thread Wolfgang Denk
Dear Mike Frysinger, In message CAJaTeTpdbcSx5oWsQaP=yqfkynzcvgc-w4g18zymka5ggba...@mail.gmail.com you 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

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

2011-07-28 Thread Aneesh V
On Thursday 28 July 2011 06:14 PM, Simon Schwarz wrote: [snip ..] +#endif /* CONFIG_SPL_MMC_SUPPORT */ and here.. You start the same the #ifdef again immediately after the #endif. Why don't you club them together into just one #ifdef block. IMHO #ifdef each function makes it more readable

Re: [U-Boot] [PATCH] ubifs: Fix bad free() sequence in ubifs_finddir()

2011-07-28 Thread Rod Boyce
On 28/07/11 14:27, Wolfgang Denk wrote: As Rod appears to have disappeared I took the frredom to jump in and fix this. - wd All, Sorry about this I missed the e-mail asking me to reformat the patch. Thanks for sorting this out Wolfgang. Regards, Rod Boyce

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

2011-07-28 Thread Wolfgang Denk
Dear Marek, In message 4e1eb127.3040...@denx.de Heiko wrote: Hello Marek, 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 *

Re: [U-Boot] [PATCH v3] Let source cross-reference targets follow symbolic links

2011-07-28 Thread Wolfgang Denk
Dear hkron...@frequentis.com, In message 1310988078-30444-1-git-send-email-hkron...@frequentis.com you wrote: From: Horst Kronstorfer hkron...@frequentis.com Tell 'find' to follow symbolic links, so that files under include/asm and arch/$(ARCH)/include/asm/arch are added to the indexing

Re: [U-Boot] [PATCH 2/4] altera: fix printf typo

2011-07-28 Thread Wolfgang Denk
Dear Michael Jones, In message 1310717371-1677-3-git-send-email-michael.jo...@matrix-vision.de you wrote: Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- drivers/fpga/altera.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best regards,

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

2011-07-28 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 04:24 PM, Aneesh V wrote: On Thursday 28 July 2011 06:14 PM, Simon Schwarz wrote: [snip ..] +#endif /* CONFIG_SPL_MMC_SUPPORT */ and here.. You start the same the #ifdef again immediately after the #endif. Why don't you club them together into just one #ifdef

Re: [U-Boot] [PATCH 3/4] cmd_mac: cleanup help

2011-07-28 Thread Wolfgang Denk
Dear Michael Jones, In message 1310717371-1677-4-git-send-email-michael.jo...@matrix-vision.de you wrote: Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- common/cmd_mac.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang

Re: [U-Boot] [PATCH 4/4] cmd_mac: fix help for 'mac read'

2011-07-28 Thread Wolfgang Denk
Dear Michael Jones, In message 1310717371-1677-5-git-send-email-michael.jo...@matrix-vision.de you wrote: In the only implementation of 'mac read', it doesn't display the contents of the eeprom as the help indicated unless compiled with DEBUG. It only re-reads the contents of the EEPROM into

Re: [U-Boot] [PATCH 1/7] fpga: add #define for Altera Cyclone EP3C5

2011-07-28 Thread Wolfgang Denk
Dear Michael Jones, In message 1310720986-5474-2-git-send-email-michael.jo...@matrix-vision.de you wrote: Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- include/ACEX1K.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang

Re: [U-Boot] [PATCH 2/7] fpga: support FPP Cyclone configuration

2011-07-28 Thread Wolfgang Denk
Dear Michael Jones, In message 1310720986-5474-3-git-send-email-michael.jo...@matrix-vision.de you wrote: Support FPGAs which use Fast Passive Parallel configuration Signed-off-by: Michael Jones michael.jo...@matrix-vision.de --- drivers/fpga/cyclon2.c | 10 ++ 1 files changed,

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

2011-07-28 Thread Simon Schwarz
Dear Wolfgang Denk, On 07/28/2011 03:04 PM, Wolfgang Denk wrote: Dear Simon Schwarz, In message1311844938-17278-2-git-send-email-simonschwarz...@gmail.com you wrote: Moves the early UART clock setup setup_clocks_for_console() from preloader_console_init() to s_init() of OMAP4.

Re: [U-Boot] [PATCH] MAINTAINERS: integrator+versatile boards

2011-07-28 Thread Wolfgang Denk
Dear Linus Walleij, In message 1310732141-9297-1-git-send-email-linus.wall...@linaro.org you wrote: - Take maintainership of the unlisted integratorap board - Orphan the boards maintained by Peter Pearse, as he has retired from ARM Cc: Philippe Robin philippe.ro...@arm.com

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

2011-07-28 Thread Simon Schwarz
Dear Wolfgang Denk, On 07/28/2011 03:02 PM, Wolfgang Denk wrote: Dear Simon Schwarz, In message1311844938-17278-1-git-send-email-simonschwarz...@gmail.com you wrote: This patch moves the setup_clocks_for_console()-call from preloader_console_init() to s_init(). This is done to use the

Re: [U-Boot] [PATCH 2/4] net: Adds Fast Ethernet Controller driver for Armada100

2011-07-28 Thread Wolfgang Denk
Dear Ajay Bhargav, In message 1310982108-26029-2-git-send-email-ajay.bhar...@einfochips.com you wrote: This patch adds support for Fast Ethernet Controller driver for Armada100 series. ... + printf(\noffset: phy_adr, value: 0x%x\n, ARMDFEC_RD(regs-phyadr)); + printf(offset: smi,

Re: [U-Boot] [PATCH v4 10/12] Correct ih_os for u-boot.img

2011-07-28 Thread Wolfgang Denk
Dear Aneesh V, In message 1311004011-9073-11-git-send-email-ane...@ti.com you wrote: Provide appropriate '-O u-boot' while doing mkimage for u-boot.img Signed-off-by: Aneesh V ane...@ti.com --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best

Re: [U-Boot] [PATCH v4 12/12] mkimage: Add OMAP boot image support

2011-07-28 Thread Wolfgang Denk
Dear Sandeep, please pull this directly with the rest of the OMAP SPL patches. In message 1311004011-9073-13-git-send-email-ane...@ti.com you wrote: From: John Rigby john.ri...@linaro.org - Add mkimage support for OMAP boot image - Add support for OMAP boot image(MLO) generation in the new

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

2011-07-28 Thread Wolfgang Denk
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message 1311013444-74984-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 a special place and therefore we provide

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

2011-07-28 Thread Alexei Ozhigov
Hello! I tried running latest U-Boot on OpenRD Ultimate, and USB support appears to be broken: Marvell usb reset (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... EHCI timed out on TD - token=0x80008c80 2 USB Device(s) found scanning bus

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

2011-07-28 Thread Wolfgang Denk
Dear Andreas, In message 20110728152327.2b10a1579...@gemini.denx.de I wrote: In message 1311013444-74984-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 a

Re: [U-Boot] [PATCH] powerpc/eeprom: cleanup mac command

2011-07-28 Thread York Sun
Wolfgang, On Thu, 2011-07-28 at 15:35 +0200, Wolfgang Denk wrote: Dear York Sun, In message 1309457195-8475-1-git-send-email-york...@freescale.com you wrote: Move mac command to board/freescale/common/sys_eeprom.c. Change the help message to be more helpful. Print argument format. Fix

[U-Boot] [PATCH v7] unify version_string

2011-07-28 Thread andreas . devel
From: Andreas Bießmann andreas.de...@googlemail.com This patch removes the architecture specific implementation of version_string where possible. Some architectures use a special place and therefore we provide U_BOOT_VERSION_STRING definition and a common weak symbol version_string.

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

2011-07-28 Thread Aneesh V
On Thursday 28 July 2011 07:34 PM, Simon Schwarz wrote: Hi Aneesh, On 07/28/2011 01:54 PM, Aneesh V wrote: On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com [snip ..] +

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

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com TX and RX channel numbers programmed as '1' during EMAC teardown initialization is wrong. This patch fixes the same by setting channel number to '0' which is used by U-boot. Signed-off-by: Sugumar Natarajan sugu...@ti.com Signed-off-by:

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

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com Add an option to use NOR boot mode in configuration file and correspanding pin-mux support in board file. Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Signed-off-by: Nagabhushana Netagunte nagabhushana.netagu...@ti.com ---

[U-Boot] [PATCH] da850: add support for Spectrum Digital AM18xx EVM

2011-07-28 Thread nagabhushana.netagunte
From: Manjunathappa, Prakash prakash...@ti.com The AM18xx EVM contains winbond SPI flash instead of ST SPI flash in comparison with logic PD da850/omap-l138 EVM. So enable configuration to look for winbond flash. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Signed-off-by: Nagabhushana

[U-Boot] [PATCH] da850: add support to wake up DSP during board init

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com Add support for DSP wake-up by default on DA850/OMAP-L138 during board initialization. To prevent DSP from being woken up, set the environment variable dspwake to 'no'. Signed-off-by: Sekhar Nori nsek...@ti.com Signed-off-by:

[U-Boot] [PATCH] da850: print DDR frequency from u-boot

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com Print DDR frequency when u-boot is coming up. Function is added in hardware.h to find which PLL clock used. Signed-off-by: Rajashekhara, Sudhakar sudhakar@ti.com Signed-off-by: Nagabhushana Netagunte nagabhushana.netagu...@ti.com ---

[U-Boot] [PATCH] da850: add support to read mac address from spi flash

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com add misc_int_r function to read the mac address from SPI flash if env variable ethaddr is not set. Signed-off-by: Prakash PM prakash...@ti.com Signed-off-by: Nagabhushana Netagunte nagabhushana.netagu...@ti.com ---

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

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com 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.

[U-Boot] [PATCH] da850: modify default bootargs and bootcmd

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com Starting from kernel 2.6.24 'rootwait' can be used to wait for the rootdevice to become ready, this is preferred over choosing a random delay. In the case of da8xx/omap-l1xx the delay is dependant on the MMC card present and can take

[U-Boot] [PATCH] da850: modifications for Logic PD Rev.3 AM18xx EVM

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for NOR to work on Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. Signed-off-by: Rajashekhara, Sudhakar sudhakar@ti.com Signed-off-by:

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

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com Add provision to enable RMII support in configuration file. Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Signed-off-by: Nagabhushana Netagunte nagabhushana.netagu...@ti.com --- include/configs/da850evm.h |1 + 1 files

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

2011-07-28 Thread nagabhushana.netagunte
From: Sudhakar Rajashekhara sudhakar@ti.com Add support for multiple PLL controllers and in the process, modify the clk_get() to work for multiple PLL controllers. Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Signed-off-by: Nagabhushana Netagunte nagabhushana.netagu...@ti.com

[U-Boot] [PATCH] da850: modify the U-Boot prompt string

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com Modify U-Boot prompt string from DA850-evm to U-Boot . Signed-off-by: Sudhakar Rajashekhara sudhakar@ti.com Signed-off-by: Nagabhushana Netagunte nagabhushana.netagu...@ti.com --- include/configs/da850evm.h |2 +- 1 files

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

2011-07-28 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte nagabhushana.netagu...@ti.com The AM18xx EVM contains MAC address in I2C EEPROM compared da850/omap-l138 Logic PD EVM which maintains in SPI flash. So this patch tries to read MAC address from I2C EEPROM, in failure case reads from SPI flash assuming board to be

[U-Boot] [PATCH] da850: pass board revision info to kernel

2011-07-28 Thread nagabhushana.netagunte
From: Manjunathappa, Prakash prakash...@ti.com The Spectrum Digital AM18xx EVM contains I2C EEPROM compared da850/omap-l138 Logic PD EVMs. This information is used to differentiate the EVMs and is passed to kernel via second byte of ATAG_REVISION. Signed-off-by: Manjunathappa, Prakash

Re: [U-Boot] [PATCH RFC] drivers/rtc: add Marvell Integrated RTC.

2011-07-28 Thread Clint Adams
On Tue, Jul 26, 2011 at 02:51:26PM -0400, Jason wrote: btw - I have everything else tested and working. RTC, spi flash, cpu speed, etc. This issue is the last holdout before I resubmit v5. Hi Jason, We same to be having some issues with USB support with your v4 set, particularly that it's

[U-Boot] Please pull u-boot-ppc4xx/master

2011-07-28 Thread Stefan Roese
Hi Wolfgang, please pull the following patch: The following changes since commit 3857f8f5a5a029a2ff403f83e7b9987cfdb09569: Correct ih_os for u-boot.img (2011-07-28 17:17:36 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (1):

Re: [U-Boot] [PATCH] net/4xx: Install interrupt handler after driver registration

2011-07-28 Thread Stefan Roese
On Tuesday 12 July 2011 13:26:47 Stefan Roese wrote: Only install der 4xx-EMAC interrupt handlers *after* the core network driver is registered. This problem was noticed on the APM Taishan 440GX board, where the board hung upon bootup after displaying Net:. Applied to u-boot-ppc4xx.

[U-Boot] [PATCH] MX31: removed warnings due to clock.h

2011-07-28 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-mx31/clock.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-mx31/clock.h b/arch/arm/include/asm/arch-mx31/clock.h index fb035c4..b132676 100644 ---

Re: [U-Boot] [PATCH] MPC8xxx: drop redundant boot messages

2011-07-28 Thread York Sun
On Mon, 2011-07-25 at 10:13 +0200, Wolfgang Denk wrote: Current code would print RAM size information like this: DRAM: DDR: 256 MiB (DDR1, 64-bit, CL=2, ECC off) Turn a number of printf()s into debug() to get rid of the redundant DDR: string like this: DRAM: 256 MiB

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

2011-07-28 Thread York Sun
On Mon, 2011-07-25 at 10:14 +0200, Wolfgang Denk wrote: lc_common_dimm_params.c was too verbose and corrupted the boot message display like this: ... DRAM: Detected UDIMM M2U25664DS88C3G-6K DDR: 256 MiB (DDR1, 64-bit, CL=2, ECC off) ... Turn printf() into

Re: [U-Boot] [PATCH RFC] drivers/rtc: add Marvell Integrated RTC.

2011-07-28 Thread Jason
On Thu, Jul 28, 2011 at 05:14:33PM +, Clint Adams wrote: On Tue, Jul 26, 2011 at 02:51:26PM -0400, Jason wrote: btw - I have everything else tested and working. RTC, spi flash, cpu speed, etc. This issue is the last holdout before I resubmit v5. We same to be having some issues with

  1   2   >