Re: [U-Boot] Run hello world with Uboot !

2008-10-08 Thread Remy Bohmer
Hello, > Could I have a help? Anyone had same issue please tell me your idea? Thank > you alot. Make sure that the LOAD_ADDR in examples/Makefile matches the address in RAM where you want to load the executable. These examples fail on many more boards fail in a similar manner. I think the current

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-08 Thread Bartlomiej Sieka
Hello Stefan, Do you have any comments on the below patch? Regards, Bartlomiej Sieka Bartlomiej Sieka wrote: > The upcoming automatic update feature needs the ability to adjust an > address within Flash to the end of its respective sector. Factor out > this functionality to a new function flash_

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-08 Thread Stefan Roese
Hi Bartlomiej, On Wednesday 08 October 2008, Bartlomiej Sieka wrote: > Do you have any comments on the below patch? Looks good to me. So: Acked-by: Stefan Roese <[EMAIL PROTECTED]> Not sure if I am responsible for picking this up or if this should go in through Wolfgang. It's not really cfi-fl

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-08 Thread Bartlomiej Sieka
Stefan Roese wrote: > Hi Bartlomiej, > > On Wednesday 08 October 2008, Bartlomiej Sieka wrote: >> Do you have any comments on the below patch? > > Looks good to me. So: Thanks for prompt response. > > Acked-by: Stefan Roese <[EMAIL PROTECTED]> > > Not sure if I am responsible for picking this

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-08 Thread Wolfgang Denk
Dear Bartek, in message <[EMAIL PROTECTED]> you wrote: > > > Not sure if I am responsible for picking this up or if this should go in > > through Wolfgang. It's not really cfi-flash related. But if nobody objects > > then I'll put it into the next branch of my cfi-flash repository. > > It depen

Re: [U-Boot] [PATCH 1/1 v2] ppc4xx: Reset and relock memory DLL after SDRAM_CLKTR change

2008-10-08 Thread Stefan Roese
Adam, On Wednesday 08 October 2008, Stefan Roese wrote: > On Monday 06 October 2008, Adam Graham wrote: > > After changing SDRAM_CLKTR phase value rerun the memory preload > > initialization sequence (INITPLR) to reset and relock the memory > > DLL. Changing the SDRAM_CLKTR memory clock phase coar

[U-Boot] [patch 0/2] Some more USB-OHCI bugfixes

2008-10-08 Thread Remy Bohmer
The USB OHCI init procedure sets the maximum message length the wrong way. A max of 64 bits should not be done by writing '64' in maxpacketsize, but '3'. While fixing this problem it turned out that there is more wrong here in this code it turned out that the wrong bits were checked to determine if

Re: [U-Boot] [PATCH 4/4] ppc4xx: Fix USB 2.0 phy reset sequence

2008-10-08 Thread Stefan Roese
Hi Matthias, On Tuesday 07 October 2008, [EMAIL PROTECTED] wrote: > From: Matthias Fuchs <[EMAIL PROTECTED]> > > This patch fixes USB 2.0 communication issues on some DU440 boards. Is this a potential problem for other 440EPx boards as well? Or is it really only DU440 specific? Best regards, St

Re: [U-Boot] [patch 0/2] Some more USB-OHCI bugfixes

2008-10-08 Thread Markus Klotzbücher
Hi Remy, On Wed, Oct 08, 2008 at 10:54:13AM +0200, Remy Bohmer wrote: > The USB OHCI init procedure sets the maximum message length the wrong way. > A max of 64 bits should not be done by writing '64' in maxpacketsize, but '3'. > While fixing this problem it turned out that there is more wrong her

Re: [U-Boot] [PATCH 4/4] ppc4xx: Fix USB 2.0 phy reset sequence

2008-10-08 Thread Matthias Fuchs
Hi Stefan, this might touch other boards as well. A patch for our PMC440 will come up later today. I have a support case with AMCC about this and ask them If I shall provide a patch for sequoia as well. I expect that someone will contact you about this issue. Matthias On Wednesday 08 October

Re: [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration

2008-10-08 Thread Matthias Fuchs
Hi Stefan, I am aware of the CFG_4xx_GPIO_TABLE feature. I think there is also a TODO comment for this in my code. But right now I want to keep it as it is because of a lack of time. Matthias On Wednesday 08 October 2008 11:50, Stefan Roese wrote: > Hi Matthias, > > On Tuesday 07 October 2008,

Re: [U-Boot] Antwort: Re: Antwort: Re: Antwort: Re: PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-08 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], Please STOP prepending the non-standard "Antwort: " to the subject, as this essentially makes the Subjkect line useless. Please make sure to use a RCF-conformant MUA to compose your messages. In message <[EMAIL PROTECTED]> you wrote: > > To work around the limitation of

Re: [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration

2008-10-08 Thread Stefan Roese
Hi Matthias, On Tuesday 07 October 2008, [EMAIL PROTECTED] wrote: > From: Matthias Fuchs <[EMAIL PROTECTED]> > > Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> > --- > board/esd/du440/du440.c | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/board/esd/du440

[U-Boot] [PATCH v2] hwmon: Add LM63 support

2008-10-08 Thread Dirk Eibach
This patch adds support for the National LM63 temperature sensor with integrated fan control. It's used on the GDSys Neo board (405EP) which will be submitted later. Signed-off-by: Dirk Eibach <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- Sorry for the noise, Outlook messed

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-08 Thread Stefan Roese
On Wednesday 08 October 2008, Wolfgang Denk wrote: > > > Not sure if I am responsible for picking this up or if this should go > > > in through Wolfgang. It's not really cfi-flash related. But if nobody > > > objects then I'll put it into the next branch of my cfi-flash > > > repository. > > > > It

Re: [U-Boot] [PATCH v2 4/6] Restore alphabetic ordering in common/Makefile

2008-10-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:26 Wed 01 Oct , Bartlomiej Sieka wrote: > Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]> > --- > common/Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/common/Makefile b/common/Makefile > index 8bddf8e..bb6655d 100644 Please base your patch o

Re: [U-Boot] [PATCH 1/1 v2] ppc4xx: Reset and relock memory DLL after SDRAM_CLKTR change

2008-10-08 Thread Victor Gallardo
Hi Stefan, We will take a look. Yes, we ran the test as you mentioned (bootcmd=reset) on both versions of the Kilauea board and let it run for 24 hours without any problems. Hopefully we can reproduce the problem you are seeing. Thanks, Victor Gallardo

Re: [U-Boot] [PATCH 1/1 v2] ppc4xx: Reset and relock memory DLL after SDRAM_CLKTR change

2008-10-08 Thread Stefan Roese
On Monday 06 October 2008, Adam Graham wrote: > After changing SDRAM_CLKTR phase value rerun the memory preload > initialization sequence (INITPLR) to reset and relock the memory > DLL. Changing the SDRAM_CLKTR memory clock phase coarse timing > adjustment effects the phase relationship of the inte

Re: [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration

2008-10-08 Thread Stefan Roese
On Wednesday 08 October 2008, Matthias Fuchs wrote: > I am aware of the CFG_4xx_GPIO_TABLE feature. I think there is also > a TODO comment for this in my code. But right now I want to keep it as it > is because of a lack of time. OK, makes sense to me. I'll push your patches to the master branch f

[U-Boot] [patch 1/2] fix USB initialisation procedure

2008-10-08 Thread Remy Bohmer
The max packet size is encoded as 0,1,2,3 for 8,16,32,64 bytes. At some places directly 8,16,32,64 was used instead of the encoded value. Made a enum for the options to make this more clear and to help preventing similar errors in the future. After fixing this bug it became clear that another bug

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-08 Thread Jerry Van Baren
Kumar Gala wrote: > > On Sep 29, 2008, at 8:49 AM, Jerry Van Baren wrote: > >> Kumar Gala wrote: >>> On Sep 23, 2008, at 10:07 AM, Kumar Gala wrote: * Use new find_cmd_tbl() to process sub-commands If this looks good I'll go ahead and clean it up for the other arches and OSe

Re: [U-Boot] PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-08 Thread h . sattler
Wolfgang Denk <[EMAIL PROTECTED]> schrieb am 08.10.2008 12:56:28: > Dear [EMAIL PROTECTED], > > In message [EMAIL PROTECTED]> you wrote: > > Ups, fixed the subject line manually. Sorry. > > Note: your mailer also fails to add threading information (i. e. > "In-reply-to: " and "References: " hea

[U-Boot] [PATCH] FSL: Fix get_cpu_board_revision() return value.

2008-10-08 Thread Rafal Czubak
get_cpu_board_revision() returned board revision based on information stored in global static struct eeprom. It should instead use one from local struct board_eeprom, to which the data is actually read from EEPROM. The bug led to system hang after printing L1 cache information on U-Boot startup. Th

[U-Boot] Antwort: Re: Antwort: Re: Antwort: Re: PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-08 Thread h . sattler
michael <[EMAIL PROTECTED]> schrieb am 07.10.2008 14:16:15: > > Here are my patches. Maybe you want to test them. I didn't use or update > > the ixdp465 but you can use the sidewinder_config as starting point. > > Order is: > > ixp425_rework.patch > > ixp465.patchcd trun > > > I see only the ix

Re: [U-Boot] Run hello world with Uboot !

2008-10-08 Thread Mathieu Dube
On Tue, Oct 7, 2008 at 5:05 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > Dear "Mathieu Dube", > > please keep the ML on Cc: ! > sorry about that. > > > > if I nm(with the correct toolchain) the executable > > > > it gives me 0c10 T hello_world > > > > so I go 0x8c10 > > > > still crash

Re: [U-Boot] [PATCH 2/4] Make the fsl_elbc_nand driver work for both 83xxand 85xx

2008-10-08 Thread Jin Zhengxiong-R64188
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, October 08, 2008 12:33 AM > To: Jin Zhengxiong-R64188 > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH 2/4] Make the fsl_elbc_nand driver work > for both 83xxand 85xx > > On Fri, Sep 19, 2008 at 05:32:50PM +0800, Jason Jin

Re: [U-Boot] PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-08 Thread Wolfgang Denk
Dear [EMAIL PROTECTED], In message <[EMAIL PROTECTED]> you wrote: > Ups, fixed the subject line manually. Sorry. Note: your mailer also fails to add threading information (i. e. "In-reply-to: " and "References: " headers. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD:

Re: [U-Boot] [PATCH v2 4/6] Restore alphabetic ordering in common/Makefile

2008-10-08 Thread Bartlomiej Sieka
[dropped [EMAIL PROTECTED] and [EMAIL PROTECTED] from CC] Hi Jean-Christophe, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 15:26 Wed 01 Oct , Bartlomiej Sieka wrote: >> Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]> >> --- >> common/Makefile |2 +- >> 1 files changed, 1 insertions(+

[U-Boot] [patch 2/2] The PIPE_INTERRUPT flag is used wrong

2008-10-08 Thread Remy Bohmer
At a lot of places in the code the PIPE_INTERRUPT flags and friends are used wrong. The wrong bits are compared to this flag resulting in wrong conditions. Also there are macros that should be used for PIPE_* flags. This patch tries to fix them all, however, I was not able to test the changes, beca

Re: [U-Boot] [PATCH 4/4] ppc4xx: Fix USB 2.0 phy reset sequence

2008-10-08 Thread Stefan Roese
On Wednesday 08 October 2008, Matthias Fuchs wrote: > this might touch other boards as well. A patch for our PMC440 will come up > later today. > > I have a support case with AMCC about this and ask them If I shall provide > a patch for sequoia as well. I expect that someone will contact you about

[U-Boot] [PATCH] ppc4xx: Add GDSys neo 405EP board support

2008-10-08 Thread Dirk Eibach
Signed-off-by: Dirk Eibach <[EMAIL PROTECTED]> --- MAINTAINERS|4 + MAKEALL|1 + Makefile |3 + board/gdsys/neo/Makefile | 51 ++ board/gdsys/neo/config.mk | 24 + board/gdsys/neo/neo.c | 101 +++

[U-Boot] [PATCH] hwmon: Add LM63 support

2008-10-08 Thread Eibach, Dirk
This patch adds support for the National LM63 temperature sensor with integrated fan control. It's used on the GDSys Neo board (405EP) which will be submitted later. Signed-off-by: Dirk Eibach <[EMAIL PROTECTED]> Acked-by: Stefan Roese <[EMAIL PROTECTED]> --- drivers/hwmon/Makefile |1 + driv

Re: [U-Boot] Run hello world with Uboot !

2008-10-08 Thread Mathieu Dube
On Wed, Oct 8, 2008 at 3:32 AM, Remy Bohmer <[EMAIL PROTECTED]> wrote: > Hello, > > > Could I have a help? Anyone had same issue please tell me your idea? > Thank > > you alot. > > Make sure that the LOAD_ADDR in examples/Makefile matches the address > in RAM where you want to load the executable.

Re: [U-Boot] PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-08 Thread h . sattler
Ups, fixed the subject line manually. Sorry. michael <[EMAIL PROTECTED]> schrieb am 07.10.2008 14:16:15: > > Here are my patches. Maybe you want to test them. I didn't use or update > > the ixdp465 but you can use the sidewinder_config as starting point. > > Order is: > > ixp425_rework.patch > >

Re: [U-Boot] [patch 0/2] Some more USB-OHCI bugfixes

2008-10-08 Thread Stelian Pop
Le mercredi 08 octobre 2008 à 10:54 +0200, Remy Bohmer a écrit : > I made it 2 seperate patches. The 1st of this series is fully tested and > correct > on at least the AT91SAM9261 cores. I hope it fixes the known problems on > AT91SAM9263 (and other) cores also, maybe Stelian can verify this. > I

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-08 Thread Kumar Gala
On Oct 8, 2008, at 8:17 AM, Jerry Van Baren wrote: > Kumar Gala wrote: >> On Sep 29, 2008, at 8:49 AM, Jerry Van Baren wrote: >>> Kumar Gala wrote: On Sep 23, 2008, at 10:07 AM, Kumar Gala wrote: > * Use new find_cmd_tbl() to process sub-commands > > If this looks good I'll go ah

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands (sequence of commands to replicate bootm)

2008-10-08 Thread Kumar Gala
> I applied your changeset and verified that the traditional bootm > syntax worked. I then tried to figure out a working sequence of > bootm [a-z]+ commands and failed. > > * I didn't see any command for disabling interrupts > * When

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-08 Thread Jerry Van Baren
Kumar Gala wrote: > > On Oct 8, 2008, at 8:17 AM, Jerry Van Baren wrote: > >> Kumar Gala wrote: >>> On Sep 29, 2008, at 8:49 AM, Jerry Van Baren wrote: Kumar Gala wrote: > On Sep 23, 2008, at 10:07 AM, Kumar Gala wrote: >> * Use new find_cmd_tbl() to process sub-commands >> >

Re: [U-Boot] [PATCH 1/1 v2] ppc4xx: Reset and relock memory DLL after SDRAM_CLKTR change

2008-10-08 Thread Victor Gallardo
OK. Thanks Stefan. > > We will take a look. > > Thanks. > > > Yes, we ran the test as you mentioned (bootcmd=reset) on both versions of > > the Kilauea board and let it run for 24 hours without any problems. > > Hopefully we can reproduce the problem you are seeing. > > I suggest that you use

Re: [U-Boot] Run hello world with Uboot !

2008-10-08 Thread Wolfgang Denk
Dear Mathieu, In message <[EMAIL PROTECTED]> you wrote: > > I did : > > tftp 0x8000 /tftpboot/hello_world.bin > > since the entry point is 0x0c10 > > shouldnt I go from 0x8000 + 0x0c10? which is 0x8c10 ? No, of course not. The entry point is an absolute address, not an

Re: [U-Boot] [PATCH v2 4/6] Restore alphabetic ordering in common/Makefile

2008-10-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:58 Wed 08 Oct , Bartlomiej Sieka wrote: > [dropped [EMAIL PROTECTED] and [EMAIL PROTECTED] from CC] > > Hi Jean-Christophe, > > Jean-Christophe PLAGNIOL-VILLARD wrote: >> On 15:26 Wed 01 Oct , Bartlomiej Sieka wrote: >>> Signed-off-by: Bartlomiej Sieka <[EMAIL PROTECTED]> >>> --- >>>

Re: [U-Boot] [PATCH 2/4] Make the fsl_elbc_nand driver work for both 83xxand 85xx

2008-10-08 Thread Anton Vorontsov
On Wed, Oct 08, 2008 at 05:45:01PM +0800, Jin Zhengxiong-R64188 wrote: [...] > Thanks. > I was trying to avoid too much changes to the code, which maybe result > in other functions > can not work. Actually, As the different immap definition, to completly > avoid the duplicating, we need to merge th

[U-Boot] make clean problem

2008-10-08 Thread Eugene O'Brien
Hello, I just stumbled on a problem with the make clean command in U-Boot. When executing make clean I noticed that some programmes that should have been deleted were not deleted. These were the programmes to be deleted with instructions such as: @rm -f $(obj)tools/env/{fw_printenv,fw_setenv} Th

Re: [U-Boot] make clean problem

2008-10-08 Thread Wolfgang Denk
Dear "Eugene O'Brien", In message <[EMAIL PROTECTED]> you wrote: > > @rm -f $(obj)tools/env/{fw_printenv,fw_setenv} > > The reason is (after scratching my head for a few hours) that on my > platform BASH is not the default shell. I am using Ubuntu and /bin/sh is > linked to dash (see https://wik

[U-Boot] Help building AT91 u-boot with Buildroot tools

2008-10-08 Thread Otto Caldwell
Hello, I'm new to this list, so please let me know if this is not the correct list to post this... I am porting Linux to an Atmel at91rm9200-EK board. I've built the cross-compile tool chain using Buildroot, choosing the armeb (arm embedded) option during the build. I downloaded the AT91 custo

[U-Boot] [PATCH 2/6] ppc4xx: Clean up PMC440 header

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> -Codingstyle cleanup -Remove unused GPIO define Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/pmc440.h | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/board/esd/pmc440/pmc440.h b/board/esd

[U-Boot] [PATCH 5/6] ppc4xx: Fix PMC440 BSP commands

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes the PMC440 BSP commands painit and selfreset Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/cmd_pmc440.c | 70 +--- 1 files changed, 37 insertions(+), 33 deletions(-) diff --g

[U-Boot] [PATCH 1/6] ppc4xx: Handle other board variant in PMC440 FPGA code

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/fpga.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/board/esd/pmc440/fpga.c b/board/esd/pmc440/fpga.c index a35f42b..a2eda32 100644 --- a/board/esd/pmc44

[U-Boot] [PATCH 4/6] ppc4xx: Update PMC440 board configuration

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PMC440.h | 62 +- 1 files changed, 39 insertions(+), 23 deletions(-) diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index

[U-Boot] [PATCH 6/6] ppc4xx: Update PMC440 board support

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch brings PMC440 board support up to date: - fix GPIO configuration - add misc_init_f() - use better values for usbact variable - fix USB 2.0 phy reset sequence - shrink BAR2 to save PCI address space - add FDT support Signed-off-by: Matthias Fuch

[U-Boot] [PATCH 3/6] ppc4xx: Fix esd loadpci command

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes esd's loadpci command when not all memory on adapter boards is accessable via PCI. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/common/cmd_loadpci.c | 18 ++ 1 files changed, 10 insertions(+), 8 deleti

[U-Boot] [PATCH] mpc83xx: add ELBC NAND support for the MPC837XEMDS boards

2008-10-08 Thread Anton Vorontsov
Though NAND chip is replaceable on the MPC837XE-MDS boards, the current settings don't work with the default chip on the board. Nevertheless Freescale's U-Boot sets the option register correctly, so I just dumped the register from the working u-boot. My guess is that the old settings were applicabl

[U-Boot] [PATCH 1/3 v4] ppc4xx: Add AMCC Arches board support (dual 460GT)

2008-10-08 Thread Adam Graham
The Arches Evaluation board is based on the AMCC 460GT SoC chip. This board is a dual processor board with each processor providing independent resources for Rapid IO, Gigabit Ethernet, and serial communications. Each 460GT has it's own 512MB DDR2 memory, 32MB NOR FLASH, UART, EEPROM and temperatur

[U-Boot] [PATCH 2/3 v5] ppc4xx: Add static support for 44x IBM SDRAM Controller

2008-10-08 Thread Adam Graham
This patch add the capability to configure a PPC440 based IBM SDRAM Controller with static, compiled-in, values. PPC440 memory subsystem includes a Memory Queue core. Signed-off-by: Adam Graham <[EMAIL PROTECTED]> Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - No changes. v3:

[U-Boot] [PATCH 1/3 v5] ppc4xx: Add AMCC Arches board support (dual 460GT)

2008-10-08 Thread Adam Graham
The Arches Evaluation board is based on the AMCC 460GT SoC chip. This board is a dual processor board with each processor providing independent resources for Rapid IO, Gigabit Ethernet, and serial communications. Each 460GT has it's own 512MB DDR2 memory, 32MB NOR FLASH, UART, EEPROM and temperatur

[U-Boot] [PATCH 2/3 v5] ppc4xx: Add static support for 44x IBM SDRAM Controller

2008-10-08 Thread Adam Graham
This patch add the capability to configure a PPC440 based IBM SDRAM Controller with static, compiled-in, values. PPC440 memory subsystem includes a Memory Queue core. Signed-off-by: Adam Graham <[EMAIL PROTECTED]> Signed-off-by: Victor Gallardo <[EMAIL PROTECTED]> --- v2: - No changes. v3:

[U-Boot] [PATCH 3/3 v5] ppc4xx: Add routine to retrieve CPU number

2008-10-08 Thread Adam Graham
Provide a weak defined routine to retrieve the CPU number for reference boards that have multiple CPU's. Default behavior is the existing single CPU print output. Reference boards with multiple CPU's need to provide a board specific routine. See board/amcc/arches/arches.c for an example. Signed-

[U-Boot] ARM Pull Request

2008-10-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi Wolfgang Please pulli The following changes since commit 8fd4166c467a46773f80208bda1ec3b4757747bc: Stefan Roese (1): ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixup are available in the git repository at: git://git.denx.de/u-boot-arm.git master Guennadi Liakhov

Re: [U-Boot] [PATCH v2 1/6] flash: factor out adjusting of Flash address to the end of sector

2008-10-08 Thread Ben Warren
Wolfgang Denk wrote: > Dear Bartek, > > in message <[EMAIL PROTECTED]> you wrote: > >>> Not sure if I am responsible for picking this up or if this should go in >>> through Wolfgang. It's not really cfi-flash related. But if nobody objects >>> then I'll put it into the next branch of my cfi-fl

Re: [U-Boot] [PATCH] ARM DaVinci: Remove redundant setting ofGD_FLG_RELOC for sffsdr board.

2008-10-08 Thread Hugo Villeneuve
[EMAIL PROTECTED] wrote: > ARM DaVinci: Remove redundant setting of GD_FLG_RELOC for sffsdr > board. > > This is no longer necessary now that the GD_FLG_RELOC flag is set for > all ARM boards. > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > --- > > This is a cleanup following Jean-Christ

Re: [U-Boot] make clean problem

2008-10-08 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear "Eugene O'Brien", > > In message <[EMAIL PROTECTED]> you wrote: >> @rm -f $(obj)tools/env/{fw_printenv,fw_setenv} >> >> The reason is (after scratching my head for a few hours) that on my >> platform BASH is not the default shell. I am using Ubuntu and /bin/sh is >> lin

Re: [U-Boot] [PATCH 2/3] iMX31: Add support to copy NAND Flash code to RAM

2008-10-08 Thread Alan Carvalho de Assis
Hi Scott, On Tue, Oct 7, 2008 at 3:03 PM, Scott Wood <[EMAIL PROTECTED]> wrote: > Alan Carvalho de Assis wrote: >> >> From 473120de8390abd78014cac9fe0925cb49f57fbe Mon Sep 17 00:00:00 2001 >> From: Alan Carvalho de Assis <[EMAIL PROTECTED]> >> Date: Sun, 5 Oct 2008 19:59:47 -0300 >> Subject: [PATC

Re: [U-Boot] make clean problem

2008-10-08 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <[EMAIL PROTECTED]> you wrote: > > >> @rm -f $(obj)tools/env/{fw_printenv,fw_setenv} ... > Having said that, and with the disclaimer that I'm not sure it is an > improvement, I believe the following line is a "make-ism" equivalent to > the bash-ism (untested): >

[U-Boot] Please pull u-boot-mpc85xx.git

2008-10-08 Thread Andy Fleming
are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master Haiying Wang (3): Minor fixes for I2C address on MPC8572DS Add ID EEPROM support for MPC8572DS Remove redundant #define for MPC8536DS Jason Jin (1): Fix the incorrect DDR clk freq re

[U-Boot] [PATCH] Add IC Ident. Module (IIM) support for ADS5121

2008-10-08 Thread Martha Marx
IIM (IC Identification Module) is the fusebox for the mpc5121. Use #define CONFIG_IIM to turn on the clock for this module, use #define CONFIG_CMD_FUSE to add fusebox commands. Fusebox commands include the ability to read the status, read the register cache, override the register cache, program t

[U-Boot] [PATCH] MPC8572DS: Fix compile warnings

2008-10-08 Thread Kumar Gala
Commit 445a7b38308eb05b41de74165b20855db58c7ee5 introduced the following compile warnings: cmd_i2c.c:112: warning: missing braces around initializer cmd_i2c.c:112: warning: (near initialization for 'i2c_no_probes[0]') Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- include/configs/MPC8572DS.h

Re: [U-Boot] [PATCH 2/2] Do not init SATA when disabled.

2008-10-08 Thread Andy Fleming
On Sat, Sep 27, 2008 at 1:40 AM, Jason Jin <[EMAIL PROTECTED]> wrote: > SGMII and SATA share the serdes on MPC8536 CPU, When SATA disabled > and the driver access the SATA registers, the cpu will hangup. > This patch try to fix this by reading the serdes status before the SATA > initialize. > > Sig

Re: [U-Boot] [PATCH 2/2] Do not init SATA when disabled.

2008-10-08 Thread Kumar Gala
On Oct 8, 2008, at 3:57 PM, Andy Fleming wrote: > On Sat, Sep 27, 2008 at 1:40 AM, Jason Jin <[EMAIL PROTECTED]> > wrote: >> SGMII and SATA share the serdes on MPC8536 CPU, When SATA disabled >> and the driver access the SATA registers, the cpu will hangup. >> This patch try to fix this by read

Re: [U-Boot] make clean problem

2008-10-08 Thread Graeme Russ
What about if bash hasn't been installed for whatever reason? On Thu, Oct 9, 2008 at 8:14 AM, Graeme Russ <[EMAIL PROTECTED]> wrote: > What about if bash hasn't been installed for whatever reason? > > On Thu, Oct 9, 2008 at 6:13 AM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: >> Dear Jerry Van Baren,

Re: [U-Boot] [PATCH] Add IC Ident. Module (IIM) support for ADS5121

2008-10-08 Thread John Rigby
Hi Martha, First, please replace the volatile pointer accesses with io accessors like in_bexx and out_bexx. Second, chip stuff should go in cpu/mpc512x. John On Tue, Oct 7, 2008 at 10:46 PM, Martha Marx <[EMAIL PROTECTED]> wrote: > IIM (IC Identification Module) is the fusebox for the mpc5121.

Re: [U-Boot] make clean problem

2008-10-08 Thread Wolfgang Denk
Dear "Graeme Russ", In message <[EMAIL PROTECTED]> you wrote: > What about if bash hasn't been installed for whatever reason? Then you have the same like when any other of the required tools (make, gcc, ...) is not installed: you have to install it. Seriously: I doubt that you will find any norm

Re: [U-Boot] [PATCH 1/6] Make DDR interleaving mode work correctly

2008-10-08 Thread Kim Phillips
On Wed, 8 Oct 2008 00:39:38 -0500 Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Oct 7, 2008, at 4:38 PM, Andy Fleming wrote: > > > If Kim and Jon approve, I'll pull these 6 patches into my 85xx-next > > branch. > > The code doesn't impact 83xx and thus not sure why you need Kim's ack. ack on

Re: [U-Boot] [PATCH] Remove unwanted ';' at end of define.

2008-10-08 Thread Kim Phillips
On Tue, 7 Oct 2008 19:03:05 +0530 Selvamuthukumar <[EMAIL PROTECTED]> wrote: > -#define CFG_SDRAM_CFG2 0x00401000; > +#define CFG_SDRAM_CFG2 0x00401000 eh, that's pretty bad - but wait, there's more!: [EMAIL PROTECTED] u-boot (master)]$ git grep "^#define CFG_.*;$" i

Re: [U-Boot] Problem with flash on a MPC5200B board

2008-10-08 Thread Sylvain Lamontagne
Humm ... Nobody can help me ? If you need more informations I can get them, I would really like to understand the debug output I'm seeing. Thank you Sylvain 2008/10/7 Sylvain Lamontagne <[EMAIL PROTECTED]> > Hi Everyone > > I'm pretty new to U-Boot and Embedded system globally, but in the last

Re: [U-Boot] [RFC][PATCH v4] bootm: Add sub commands

2008-10-08 Thread Jerry Van Baren
Kumar Gala wrote: > * Use new find_cmd_tbl() to process sub-commands > > If this looks good I'll go ahead and clean it up for the other arches and > OSes. Hi Kumar, Thanks to your sequence hint, interrupt command hint, and one additional piece, I have this working now. The missing piece is re

[U-Boot] Pull request: u-boot-fdt

2008-10-08 Thread Jerry Van Baren
Dear Wolfgang, Please pull u-boot-fdt. These are bugfixes from dtc/libfdt project and Sefan's "force" override for the fdt /chosen node. Thanks, gvb The following changes since commit 8fd4166c467a46773f80208bda1ec3b4757747bc: Stefan Roese (1): ppc4xx: Canyonlands: Remove unnecessary

[U-Boot] Special memory test Question

2008-10-08 Thread Martin Jarman
I have an Atmel atngw100 development board and a standalone application that crashes within 10 to 30 seconds of starting. I have just discovered that the special memory test described in 5.9.2.10 of DULG also crashes the board after a similar amount of time. With a fresh copy of the Atmel's re

Re: [U-Boot] [PATCH] mpc83xx: add ELBC NAND support for the MPC837XEMDSboards

2008-10-08 Thread Liu Dave-R63238
It is due to hardware design and logic defect, that is the I/O[0:7] of NAND chip is connected to LAD[7:0], so when the NAND chip connected to nLCS3, you have to set up the OR3[BCTLD] = '1' for normal operation, otherwise it will have bus contention due to the pin 48/25 of U60 is enabled. Setup th

Re: [U-Boot] [PATCH][Re-Submit2] Custom AFEB9260 board support

2008-10-08 Thread Sergey Lapin
Hi, all! On Mon, Sep 29, 2008 at 11:52:40PM +0400, Sergey Lapin wrote: > This patch provides support for AFEB9260 board, a product of > OpenSource hardware and software. Some commertial projects > are made with this design. A board is basically AT91SAM9260-EK > with some modifications and differen

[U-Boot] [PATCH] fsl_pci_init do not scan bus when configured as an end-point

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- drivers/pci/fsl_pci_init.c | 17 +++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/pci/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c index bb2813f..38a16e5 100644 --- a/drivers/pci/fsl_pci_init.c +++ b/driv

[U-Boot] [PATCH] pixis do not print long help if not configured

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- board/freescale/common/pixis.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/freescale/common/pixis.c b/board/freescale/common/pixis.c index b5a0e84..8192bb3 100644 --- a/board/freescale/common/pixis.c +++ b/bo

[U-Boot] [PATCH] 85xx if NUM_CPUS>1, print cpu number

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- cpu/mpc85xx/cpu.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c index 67e81c0..bc7d092 100644 --- a/cpu/mpc85xx/cpu.c +++ b/cpu/mpc85xx/cpu.c @@ -98,7 +98,12 @@ int checkcpu (vo

[U-Boot] [PATCH] Add cpu/8xxx to TAGS_SUBDIRS

2008-10-08 Thread Ed Swarthout
Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 7c13ce8..25ba4e5 100644 --- a/Makefile +++ b/Makefile @@ -243,9 +243,11 @@ endif ifeq ($(CPU),mpc85xx) LIBS += drivers/qe/qe.a LIBS +

[U-Boot] [PATCH] Wait till UPM completes the write to array.

2008-10-08 Thread Selvamuthukumar
Reference manual states that MxMR[MAD] increment is the indication of write to UPM array is complete. Honour that. Also, make the dummy write explicit. Signed-off-by: Selvamuthukumar <[EMAIL PROTECTED]> --- cpu/mpc83xx/cpu.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] [PATCH] mpc83xx: fix PCI scan hang on the standaloneMPC837xE-MDS boards

2008-10-08 Thread Liu Dave-R63238
Hello Anton, 1) I strongly suggest you use the hardware reset configuration word from flash, not from FPGA. You can set the PCI host and internal arbiter enabled in the HRCW in flash to avoid these issue. 2) Also, I strongly suggest you use the production 837xEMDS pilot rev2.05 board. Because the

[U-Boot] [PATCH] sh: Fix cannot execute a stand-alone application

2008-10-08 Thread Nobuhiro Iwamatsu
Address calculated in EXPORT_FUNC in SuperH was wrong, I revised it. Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> --- examples/stubs.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/stubs.c b/examples/stubs.c index ec53532..a8cb954 100644 --- a/exam

[U-Boot] [PATCH] Wait till UPM completes the write to array.

2008-10-08 Thread Selvamuthukumar
Reference manual states that MxMR[MAD] increment is the indication of write to UPM array is complete. Honour that. Also, make the dummy write explicit. Signed-off-by: Selvamuthukumar <[EMAIL PROTECTED]> --- Ignore the previous patch. Sequence of doing things were wroing in that. cpu/mpc83xx/cpu.c

Re: [U-Boot] Run hello world with Uboot !

2008-10-08 Thread Nobuhiro Iwamatsu
Hi, all. 2008/10/8 thaoth <[EMAIL PROTECTED]>: > > 6. I didn't have JTAG interface so I couldn't debug it. > > Could I have a help? Anyone had same issue please tell me your idea? Thank > you alot. > > This same the porting of UBoot on TEngine/SH7727 has the issue. But we don't > know what trouble

[U-Boot] [PATCH V3] mpc8572 additional end-point mode

2008-10-08 Thread Ed Swarthout
mpc8572 supports all pcie controllers as end-points with cfg_host_agent=0. Include host_agent == 0 decode for end-point determination. This is not needed for the ds reference board since pcie3 will be a host in order to connect to the uli chip. Include it here as a reference for other mpc8572 boa

[U-Boot] [PATCH] [Not for inclusion] Add support to verify UPM array

2008-10-08 Thread Selvamuthukumar
--- This function is not called anywhere within main tree. This is just for reference. Not to be included in main tree. cpu/mpc83xx/cpu.c | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c index 586

Re: [U-Boot] [U-Boot-Users] Freescale MPC8349EMDS BCSR corruption

2008-10-08 Thread Liu Dave-R63238
Thanks David Hawkins, > -Original Message- > From: David Hawkins [mailto:[EMAIL PROTECTED] > Sent: 2008?10?8? 11:51 AM > To: u-boot@lists.denx.de > Cc: Liu Dave-R63238; Phillips Kim-R1AAHA > Subject: Re: [U-Boot-Users] Freescale MPC8349EMDS BCSR corruption > > > Hi Dave and Kim, > > F

Re: [U-Boot] working with loadb & bootm on u-boot-v2 for imx27ads Board

2008-10-08 Thread Lejin K Joy
-Original Message- From: Nishanth Menon [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 4:33 PM To: Lejin K Joy Cc: 'Robert Schwebel'; 'Sascha Hauer'; [EMAIL PROTECTED]; u-boot@lists.denx.de Subject: Re: [U-Boot]working with loadb & bootm on u-boot-v2 for imx27ads Board Leji

[U-Boot] [PATCH] fsl_law clear enable before changing.

2008-10-08 Thread Ed Swarthout
Debug sessions may have left enabled laws. Changing lawbar with an unkown enabled tgtid could cause problems. Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- drivers/misc/fsl_law.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc/fsl_law.c b/drivers/misc/f

[U-Boot] [PATCH] 85xx do not reset PIC if already configured

2008-10-08 Thread Ed Swarthout
This allows a second core to restart without causing a PIC reset. Internal interupt changes: Enable L2 error interrupt IIVPR0 and give it vector 0x100. Use correct interrupt (8) for mpc8572 pcie3. Add pcie3 interrupt (11) for mpc8536ds. Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- cpu/mpc

[U-Boot] [PATCH] cfi_flash write fix for AMD legacy

2008-10-08 Thread Ed Swarthout
The flash_unlock_seq requires a sector for AMD_LEGACY. Fix a retcode check typeo. Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- This patch is needed to make flash work on an internal testcard. drivers/mtd/cfi_flash.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 1/2] Make mpc8572ds, mpc8544ds, mpc8536ds relocatable

2008-10-08 Thread Ed Swarthout
Fixes boot crash from bad string pointers in get_table_entry_name when flash is erased or differs from current u-boot image. Remove .fixup from .text section since __fixup_entries is only calculated from .reloc section. Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- tested with freescale-po

[U-Boot] [PATCH 2/2] Leave x86emu op code tables in default section

2008-10-08 Thread Ed Swarthout
Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by: Ed Swarthout <[EMAIL PROTECTED]> --- The only boards which define CONFIG_BIOSEMU are: MPC8536DS, MPC8572DS, MPC8544DS, HPC8641H