[U-Boot] Support for Calao USB-A9263 board

2010-06-04 Thread Thomas Petazzoni
Hello Tom, Two days ago, I sent a set of patches that add the support for the Calao USB-A9263 board and I forgot to Cc: you, as the ARM maintainer. Through this e-mail, I wanted to raise your attention on these patches (because I forgot the CC). As far as I understand, there's no official AT91 cu

[U-Boot] [PATCH] add support for EMK TOP7000 CPU module (new files)

2010-06-04 Thread Reinhard Meyer (-VC)
This Patch adds support for the EMK TOP7000 CPU Module Part 1: new files Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de --- board/emk/top7000/Makefile | 41 board/emk/top7000/config.mk |3 + board/emk/top7000/top7000.c | 165

[U-Boot] [PATCH] add support for EMK TOP7000 CPU module (modified files)

2010-06-04 Thread Reinhard Meyer (-VC)
This Patch adds support for the EMK TOP7000 CPU Module Part 2: modified files Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de --- MAINTAINERS |6 - Makefile |3 ++ board/emk/common/vpd.c| 57 +++

[U-Boot] [PATCH] add support for EMK TOP7000 CPU module (change to arch-avr32 file)

2010-06-04 Thread Reinhard Meyer (-VC)
This Patch adds support for the EMK TOP7000 CPU Module Part 3: added code to arch/avr32/lib/board.c Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de --- arch/avr32/lib/board.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/avr32/lib/board.c b/arc

Re: [U-Boot] [PATCH] add support for EMK TOP7000 CPU module (new files)

2010-06-04 Thread Wolfgang Denk
Dear "Reinhard Meyer (-VC)", In message <4c08ec47.5070...@emk-elektronik.de> you wrote: > This Patch adds support for the EMK TOP7000 CPU Module > Part 1: new files > > Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de NAK. Please submit as one patch so we have an atomic, bisectabl

Re: [U-Boot] [PATCH] add support for EMK TOP7000 CPU module (new files)

2010-06-04 Thread Wolfgang Denk
Dear "Reinhard Meyer (-VC)", In message <4c08ec47.5070...@emk-elektronik.de> you wrote: > This Patch adds support for the EMK TOP7000 CPU Module > Part 1: new files > > Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de But please clean up the code berfore resubmitting... > --- /de

Re: [U-Boot] [PATCH] add support for EMK TOP7000 CPU module (modified files)

2010-06-04 Thread Wolfgang Denk
Dear "Reinhard Meyer (-VC)", In message <4c08ed38.8030...@emk-elektronik.de> you wrote: > This Patch adds support for the EMK TOP7000 CPU Module > Part 2: modified files > > Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de > > > --- > MAINTAINERS |6 - > Mak

[U-Boot] Unaligned data transfers?

2010-06-04 Thread Tor Krill
Hi, I have a question regarding (disk) transfers. For example Sata read and write takes an unspecified address which very well could be an unaligned byte address. Many DMA-controllers though require 16 or 32bit alignments for transfers. Is it safe to assume that the address is correct or bail o

[U-Boot] [PATCH-V4] OMAP3EVM: Added NAND support

2010-06-04 Thread hvaibhav
From: Vaibhav Hiremath The EVMS have been shipping with NAND (instead of OneNAND) as default. So, this patch sets NAND as default. To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the config file omap3_evm.h. Signed-off-by: Vaibhav Hiremath --- Changes from V3 :- - Added un

Re: [U-Boot] [PATCH-V4] OMAP3EVM: Added NAND support

2010-06-04 Thread Hiremath, Vaibhav
> -Original Message- > From: Hiremath, Vaibhav > Sent: Friday, June 04, 2010 7:15 PM > To: u-boot@lists.denx.de > Cc: Paulraj, Sandeep; t...@bumblecow.com; w...@denx.de; Hiremath, Vaibhav > Subject: [PATCH-V4] OMAP3EVM: Added NAND support > > From: Vaibhav Hiremath > > The EVMS have bee

[U-Boot] [PATCH-V3 2/2] omap3: Consolidate SDRC related operations

2010-06-04 Thread hvaibhav
From: Vaibhav Hiremath Consolidated SDRC related functions into one file - sdrc.c And also replaced sdrc_init with generic memory init function (mem_init), this generalization of omap memory setup is necessary to support the new emif4 interface introduced in AM3517. Signed-off-by: Vaibhav Hirem

[U-Boot] [PATCH-V3 1/2] omap3: Calculate CS1 size only when SDRC is initialized for CS1

2010-06-04 Thread hvaibhav
From: Vaibhav Hiremath The patch makes sure that size for SDRC CS1 gets calculated only when the CS1 SDRC is initialized. Signed-off-by: Vaibhav Hiremath --- arch/arm/cpu/arm_cortexa8/omap3/board.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/arm_

Re: [U-Boot] [PATCH-V3 2/2] omap3: Consolidate SDRC related operations

2010-06-04 Thread Hiremath, Vaibhav
> -Original Message- > From: Hiremath, Vaibhav > Sent: Friday, June 04, 2010 7:23 PM > To: u-boot@lists.denx.de > Cc: Paulraj, Sandeep; t...@bumblecow.com; w...@denx.de; Hiremath, Vaibhav > Subject: [PATCH-V3 2/2] omap3: Consolidate SDRC related operations > > From: Vaibhav Hiremath > > C

Re: [U-Boot] [PATCH v4] da830: Move common code out of da830evm.c file

2010-06-04 Thread Ben Gardiner
On Thu, Jun 3, 2010 at 8:58 AM, Sudhakar Rajashekhara wrote: > On Thu, Jun 03, 2010 at 16:23:36, Nick Thompson wrote: >> On 03/06/10 05:25, Sudhakar Rajashekhara wrote: >> > TI's DA850/OMAP-L138 platform is similar to DA830/OMAP-L137 >> > in many aspects. So instead of repeating the same code in >

[U-Boot] Linking script image into u-boot

2010-06-04 Thread Mark Fanara
Is it possible to create a script, convert it to an image, and then link that image into u-boot? The goal of which would be to have a script that could be executed without having to download it. I have searched the manual and the mailing list and the source code, but don't see an obvious way to do

Re: [U-Boot] Linking script image into u-boot

2010-06-04 Thread Ben Gardiner
On Fri, Jun 4, 2010 at 10:32 AM, Mark Fanara wrote: > Is it possible to create a script, convert it to an image, and then > link that image into u-boot? The goal of which would be to have a > script that could be executed without having to download it. I have > searched the manual and the mailing

Re: [U-Boot] Linking script image into u-boot

2010-06-04 Thread Mark Fanara
CONFIG_EXTRA_ENV_SETTINGS would work fine for me. Thanks On Fri, Jun 4, 2010 at 9:58 AM, Ben Gardiner wrote: > On Fri, Jun 4, 2010 at 10:32 AM, Mark Fanara wrote: >> Is it possible to create a script, convert it to an image, and then >> link that image into u-boot? The goal of which would be to

Re: [U-Boot] [PATCH v4] da830: Move common code out of da830evm.c file

2010-06-04 Thread Nick Thompson
On 04/06/10 15:26, Ben Gardiner wrote: > On Thu, Jun 3, 2010 at 8:58 AM, Sudhakar Rajashekhara > wrote: >> On Thu, Jun 03, 2010 at 16:23:36, Nick Thompson wrote: >>> On 03/06/10 05:25, Sudhakar Rajashekhara wrote: TI's DA850/OMAP-L138 platform is similar to DA830/OMAP-L137 in many aspect

Re: [U-Boot] Unaligned data transfers?

2010-06-04 Thread Wolfgang Denk
Dear Tor Krill, In message <1275655059.2450.78.ca...@tor-desktop> you wrote: > > Is it safe to assume that the address is correct or bail out with an > error message if source/destinaton address isn't correctly aligned for > the underlaying HW? No, you are supposed to know what you are doing and

Re: [U-Boot] [PATCH] add support for EMK TOP7000 CPU module (new files)

2010-06-04 Thread Reinhard Meyer
Wolfgang Denk schrieb: Dear "Reinhard Meyer (-VC)", In message <4c08ec47.5070...@emk-elektronik.de> you wrote: ... +static const struct sdram_config sdram_config = { +.data_bits= SDRAM_DATA_16BIT, +.row_bits= 13, +.col_bits= 9, +.bank_bits= 2, +.cas

Re: [U-Boot] Linking script image into u-boot

2010-06-04 Thread Wolfgang Denk
Dear Mark Fanara, In message you wrote: > Is it possible to create a script, convert it to an image, and then > link that image into u-boot? The goal of which would be to have a > script that could be executed without having to download it. I have > searched the manual and the mailing list and t

Re: [U-Boot] [PATCH] add support for EMK TOP7000 CPU module (modified files)

2010-06-04 Thread Reinhard Meyer (-VC)
Wolfgang Denk schrieb: > Dear "Reinhard Meyer (-VC)", > > In message <4c08ed38.8030...@emk-elektronik.de> you wrote: > >> This Patch adds support for the EMK TOP7000 CPU Module >> Part 2: modified files >> >> Signed-off-by: Reinhard Meyer reinhard.me...@emk-elektronik.de >> >> >> --- >> MAINTAI

Re: [U-Boot] Watchdog support for ppc4xx

2010-06-04 Thread Mark Maestas
Hi All, I am not having luck with watchdog enabled on the ppc4xx target. The board is doing a reset before Linux gets a chance to load. I have added more WATCHDOG_RESET commands in the image file just to see if that helps and it does not seem to. Even though the reset function gets called it is

[U-Boot] [PATCH] [v2] powerpc: add support for the Freescale P1022DS reference board

2010-06-04 Thread Timur Tabi
Add basic suport for the Freescale P1022DS reference board. Specifics: 1) 36-bit only 2) Booting from NOR flash only 3) Environment stored in NOR flash only 4) No SPI support 5) No DIU support Signed-off-by: Timur Tabi --- v2: addresses most of Wolfgang's concerns. DIU support removed so t

[U-Boot] Building C++ Examples

2010-06-04 Thread Chris Colicino
Hello, I'm trying to port an application from an old system to run after u-boot is initialized. The application uses C++ classes. It was modified to remove the code that utilized the old processor. The application compiles using the cross-compiler by itself, by executing the command: ppc_4xx

Re: [U-Boot] Watchdog support for ppc4xx

2010-06-04 Thread Wolfgang Denk
Dear "Mark Maestas", In message you wrote: > > I am not having luck with watchdog enabled on the ppc4xx target. The > board is doing a reset before Linux gets a chance to load. I have added Please define exactly what you mean by "before Linux gets a chance to load" - is it resetting in U-Boo

Re: [U-Boot] Building C++ Examples

2010-06-04 Thread Wolfgang Denk
Dear "Chris Colicino", In message <0efbd15d5e328044b08e8b274f42a8b001a12...@exch.afcosystems.local> you wrote: > > Does u-boot support C++ example programs and if so, how can I build one? U-Boot does not support C++. In addition to the (simple) Makefile problems that you saw here (not using th

Re: [U-Boot] Watchdog support for ppc4xx

2010-06-04 Thread Mark Maestas
Thanks Wolfgang, The board is resetting within u-boot before Linux starts to load. I added the WATCHDOG_RESET call in common/image.c before and after it is loading the device tree which is where it gets reset. I figured that if I reset the watchdog before that process it will give me more time s

Re: [U-Boot] [PATCH V2 03/10] 83xx/85xx/86xx: LBC register cleanup

2010-06-04 Thread Scott Wood
On Thu, Jun 03, 2010 at 07:37:51PM -0500, Kim Phillips wrote: > On Wed, 2 Jun 2010 13:12:02 -0500 > Becky Bruce wrote: > > > diff --git a/arch/powerpc/include/asm/config.h > > b/arch/powerpc/include/asm/config.h > > index fc3facb..01036f3 100644 > > --- a/arch/powerpc/include/asm/config.h > > ++

[U-Boot] [PATCH] tsec: fix the return value for tsec_eth_init()

2010-06-04 Thread Timur Tabi
The Ethernet initialization functions are supposed to return the number of devices initialized, so fix tsec_eth_init() so that it returns the number of TSECs initialized instead of just zero. This is safe because the return value is currently ignored by all callers, but now they don't have to igno

Re: [U-Boot] [PATCH] tsec: fix the return value for tsec_eth_init()

2010-06-04 Thread Andy Fleming
On Jun 4, 2010, at 3:50 PM, Timur Tabi wrote: > The Ethernet initialization functions are supposed to return the number of > devices initialized, so fix tsec_eth_init() so that it returns the number of > TSECs initialized instead of just zero. This is safe because the return value > is currently

Re: [U-Boot] [PATCH] tsec: fix the return value for tsec_eth_init()

2010-06-04 Thread Timur Tabi
Andy Fleming wrote: > The old way continued even if one of the tsecs failed to initialize. Let's > preserve the original behavior in that sense: > > for (i = 0; i < num; i++) { > ret = tsec_initialize(bis, &tsecs[i]); > if (ret >= 0) > count++; > } This code has multi

Re: [U-Boot] [PATCH] tsec: fix the return value for tsec_eth_init()

2010-06-04 Thread Andy Fleming
On Jun 4, 2010, at 4:01 PM, Timur Tabi wrote: > Andy Fleming wrote: > >> The old way continued even if one of the tsecs failed to initialize. Let's >> preserve the original behavior in that sense: >> >> for (i = 0; i < num; i++) { >> ret = tsec_initialize(bis, &tsecs[i]); >> if (ret

Re: [U-Boot] [PATCH] tsec: fix the return value for tsec_eth_init()

2010-06-04 Thread Timur Tabi
Andy Fleming wrote: > You just noted that tsec_eth_init should return the number of tsecs > initialized successfully. Therefore, the callers can check that number, > and respond accordingly. tsec_initialize() can report the error. If we > want more elaborate error handling, we can devise somethi

Re: [U-Boot] [PATCH] tsec: fix the return value for tsec_eth_init()

2010-06-04 Thread Ben Warren
On 6/4/2010 2:42 PM, Timur Tabi wrote: > Andy Fleming wrote: > >> You just noted that tsec_eth_init should return the number of tsecs >> initialized successfully. Therefore, the callers can check that number, >> and respond accordingly. tsec_initialize() can report the error. If we >> want m

Re: [U-Boot] [PATCH 2/2] arm: cortexa9: adding support for TI OMAP4430 SDP

2010-06-04 Thread John Rigby
Aneesh: On Tue, May 25, 2010 at 12:39 AM, Aneesh V wrote: > Adding support for OMAP4430 SDP board based on the TI OMAP4430 SOC. --- arch/arm/cpu/armv7/omap4/reset.S: Identical to omap3 version. I think they should be shared. Perhaps have a arch/arm/cpu/armv7/omap directory for shared files. a

[U-Boot] BDI2000 Procedure

2010-06-04 Thread Mark Maestas
Hi Does anyone have a procedure to restore u-boot on a AMCC Canyonlands board using the BDI2000? I have the bdisetup utility and the firmware/logic files for ppc4xx. I also found the config files for BDI2000 but there is not a procedure to program it. I have not used our BDI program