[U-Boot] debugging u-boot relocating to ram

2008-08-28 Thread Vishwanath Patil
Hello, I have a board with MPC852T, SDRAM and FLASH. I have been successful to get the console up and debug the FLASH and SDRAM connections. Now the SDRAM passes all the memory tests in SLOW mode also. The current problem I am facing is that relocate_code is being called from the lib_ppc/board.c

[U-Boot] [PATCH] at91rm9200dk mach-type

2008-08-28 Thread Claudio Scordino
Hi all, I didn't receive any feedback about this, maybe because the PATCH name was missing from the subject... In my opinion, it's quite strange that a file in board/atmel/at91rm9200dk sets gd-bd-bi_arch_number to MACH_TYPE_AT91RM9200 instead of MACH_TYPE_AT91RM9200DK. And, in fact, on

Re: [U-Boot] [PATCH v2 0/6] i.MX31: Add NAND support and new PDK board.

2008-08-28 Thread Magnus Lilja
Hi 2008/8/28 Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]: On 11:30 Mon 18 Aug , Magnus Lilja wrote: Hi again This series of patches adds support for the NAND flash controller in the i.MX31 device and also introduces the Freescale i.MX31 PDK board. Changes since v1: Do you

[U-Boot] [PATCH] S3C64XX: remove broken HWFLOW support from the serial driver

2008-08-28 Thread Guennadi Liakhovetski
As noted by Harald Welte, HWFLOW support in the S3C64XX serial driver is broken and currently unused. Remove it. Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] --- As well as the previous patch, please, apply after the s3c64xx / smdk6400 support is merged in. diff --git

[U-Boot] [PATCH] i.MX31: document timer precision option

2008-08-28 Thread Guennadi Liakhovetski
Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] --- diff -u /dev/null doc/README.imx31 --- /dev/null 2008-08-28 10:21:05.503011301 +0200 +++ doc/README.imx312008-08-28 12:15:21.0 +0200 @@ -0,0 +1,13 @@ +i.MX31 specific Configuration Options:

[U-Boot] integratorcp board - multiple definition of `__udivsi3' undefined reference to `raise' Error

2008-08-28 Thread Gururaja Hebbar K R
Hi, I am using CodeSourcery Arm Toolchain to compile U-boot-1.3.3 for integrator cp board. 1. I set the proper environment variables (BUILD_DIR, PATH, CROSS_COMPILE) export PATH=/home/user/project/arm-2007q1/bin:$PATH export CROSS_COMPILE=arm-none-linux-gnueabi- export

Re: [U-Boot] Need Info regarding global label memsetup file memsetup.s

2008-08-28 Thread Peter Pearse
-Original Message- From: Gururaja Hebbar K R [mailto:[EMAIL PROTECTED] Sent: 28 August 2008 06:41 To: u-boot@lists.denx.de Cc: [EMAIL PROTECTED]; Jean-Christophe PLAGNIOL-VILLARD; Peter Pearse Subject: Need Info regarding global label memsetup file memsetup.s Hi, I was

Re: [U-Boot] integratorcp board - multiple definition of `__udivsi3' undefined reference to `raise' Error

2008-08-28 Thread Peter Pearse
-Original Message- From: Gururaja Hebbar K R [mailto:[EMAIL PROTECTED] Sent: 28 August 2008 11:47 To: u-boot@lists.denx.de Cc: [EMAIL PROTECTED]; Jean-Christophe PLAGNIOL-VILLARD; Peter Pearse Subject: integratorcp board - multiple definition of `__udivsi3' undefined reference

[U-Boot] [PATCH] ARM - Integrator[AP/CP] - Remove unused file memsetup.S

2008-08-28 Thread Gururaja Hebbar K R
Hi, - memsetup.s is changed/merged to lowlevel_init.S memsetup.S has a global label memsetup that just returns back to caller - memsetup global label is changed/merged to lowlevel_init This label is not called from anywhere. Signed-off-by: Gururaja Hebbar [EMAIL PROTECTED] ---

[U-Boot] [PATCH v3] [POWERPC] TQM8272: Fix compiling error for the TQM8272 board.

2008-08-28 Thread Heiko Schocher
Hello, [POWERPC] TQM8272: Fix compiling error for the TQM8272 board. tqm8272.c: In function 'upmnand_hwcontrol': tqm8272.c:1086: warning: implicit declaration of function 'writeb' tqm8272.c: In function 'board_nand_init': tqm8272.c:1193: error: 'struct nand_chip' has no member named 'write_byte'

[U-Boot] [PATCH] ARM - Integrator[AP/CP] - - Correct Improper ulong division

2008-08-28 Thread Gururaja Hebbar K R
Hi, - Correct Improper ulong division. This patch take care of multiple definition of `__udivsi3' undefined reference to `raise' Error when compiling [ap/cp]926ejs_config with CodeSourcery arm toolchain Signed-off-by: Gururaja Hebbar [EMAIL PROTECTED] ---

Re: [U-Boot] [PATCH] 86xx: remove redudant code with lib_ppc/interrupts.c

2008-08-28 Thread Kumar Gala
On Aug 19, 2008, at 3:05 PM, Kumar Gala wrote: For some reason we duplicated the majority of code in lib_ppc/ interrupts.c not show how that happened, but there is no good reason for it. Use the interrupt_init_cpu() and timer_interrupt_cpu() since its why they exist. Signed-off-by:

Re: [U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread Haavard Skinnemoen
Tsi-Chung Liew [EMAIL PROTECTED] wrote: From: TsiChung Liew [EMAIL PROTECTED] Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan [EMAIL PROTECTED] Signed-off-by: TsiChung Liew [EMAIL PROTECTED] Looks good to me, except...

Re: [U-Boot] [RFC] ARM: Toolchain configuration for Cortex A8 based OMAP3?

2008-08-28 Thread Dirk Behme
Jean-Christophe PLAGNIOL-VILLARD wrote: On 08:39 Sat 23 Aug , Dirk Behme wrote: While preparing U-Boot patches for ARM Cortex A8 based OMAP3 [1], we found that we use CodeSourcery ARM toolchain [2], and the way we locally modified main Makefile to use this toolchain is most probably

Re: [U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread Liew Tsi Chung-R5AAHP
Haavard, Looks good to me, except... +static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = { +{ + .idcode1 = STM_ID_M25P16, + .page_size = 256, + .pages_per_sector = 256, + .nr_sectors = 32, + .name = M25P16, + }, +{ + .idcode1 =

[U-Boot] Makefile cleanup and u-boot size reduction

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, 1) The Following patchset continue the work of moving conditional compile to Makefile and do a few clean up on file place 2) It will merge currents list implementation for devices co to linux list.h in order to reduce the size of u-boot by 1KB at min Best

[U-Boot] Makeflie cleanup and u-boot size reduction

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, 1)The following patchset will continue the move of conditional compile to Makefile and do some file location move 2) It will merge the current list implementation for common/device co to linux list.h in order to reduce u-boot size. During test It did

[U-Boot] [PATCH 02/12] soft_i2c: move to drivers/i2c

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile|1 - drivers/i2c/Makefile |1 + {common = drivers/i2c}/soft_i2c.c |0 3 files changed, 1 insertions(+), 1 deletions(-) rename {common = drivers/i2c}/soft_i2c.c

[U-Boot] [PATCH 05/12] crc16: move to lib_generic

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile |1 - lib_generic/Makefile|1 + {common = lib_generic}/crc16.c |0 3 files changed, 1 insertions(+), 1 deletions(-) rename {common = lib_generic}/crc16.c (100%) diff

[U-Boot] [PATCH 06/12] autoscript: Move conditional compilation to Makefile

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile |3 +- common/{cmd_autoscript.c = autoscript.c} | 44 common/cmd_autoscript.c | 158 - 3 files changed, 2 insertions(+),

[U-Boot] [PATCH 08/12] common/Makefile: order by functionality

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile | 71 +- 1 files changed, 38 insertions(+), 33 deletions(-) diff --git a/common/Makefile b/common/Makefile index 7db70f5..99781fe 100644 ---

[U-Boot] [PATCH 11/12] devices: merge to list_head

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile |1 - common/cmd_console.c |9 +- common/cmd_terminal.c | 10 +- common/console.c | 62 ++--- common/devices.c | 79 +++--- common/lists.c| 734

Re: [U-Boot] Makefile cleanup and u-boot size reduction

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:26 Thu 28 Aug , Jean-Christophe PLAGNIOL-VILLARD wrote: Hi, 1)The following patchset will continue the move of conditional compile to Makefile and do some file location move 2) It will merge the current list implementation for common/device co to linux

Re: [U-Boot] [PATCH 06/12] autoscript: Move conditional compilation to Makefile

2008-08-28 Thread Peter Tyser
Hi Jean-Chritophe, On Thu, 2008-08-28 at 12:27 +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile |3 +- common/{cmd_autoscript.c = autoscript.c} | 44

[U-Boot] [U-boot-Users][GIT PULL] Please pull mpc5xxx tree

2008-08-28 Thread John Rigby
Wolfgang, The following changes since commit 33aa4eac66b71c797bbc13b3afe432a2132947d4: Wolfgang Denk (1): Merge branch 'master' of /home/wd/git/u-boot/custodians are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master TsiChung Liew (7):

Re: [U-Boot] [patch] i.MX use u-boot baud rate and don't assume UART master clock

2008-08-28 Thread Andrew Dyer
Andrew Dyer wrote: 1) Change the i.MX serial driver to use the baud rate set in the u-boot environment 2) don't assume a 16MHz value for PERCLK1 in baud rate calculations 3) don't write a 1 to the RDR bit in the USR2 reg. (bit is not write one to clear like other status bits in the reg.)

Re: [U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread Scott Wood
On Thu, Aug 28, 2008 at 06:44:56AM -0700, Liew Tsi Chung-R5AAHP wrote: + { + .idcode1 = STM_ID_M25P80, + .page_size = 256, + .pages_per_sector = 256, + .nr_sectors = 16, + .name = M25P80, + }, + { + .idcode1 = STM_ID_M25P128, + .page_size = 256, +

Re: [U-Boot] [PATCH 04/12] miiphybb: move to drivers/net

2008-08-28 Thread Ben Warren
Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- common/Makefile|1 - drivers/net/Makefile |1 + {common = drivers/net}/miiphybb.c |0 3 files changed, 1 insertions(+), 1 deletions(-)

[U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread Tsi-Chung Liew
From: TsiChung Liew [EMAIL PROTECTED] Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan [EMAIL PROTECTED] Signed-off-by: TsiChung Liew [EMAIL PROTECTED] --- drivers/mtd/spi/Makefile |1 +

Re: [U-Boot] [U-Boot-Users] [PATCH 4/4] ARM DaVinci: Standardize names ofdirectories/files

2008-08-28 Thread Hugo Villeneuve
Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:10 Fri 11 Jul , Hugo Villeneuve wrote: ARM DaVinci: Standardize names of directories/files. Signed-off-by: Hugo Villeneuve [EMAIL PROTECTED] --- Makefile |2 +- board/davinci/{dv-evm =

Re: [U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread John Rigby
Any problem with this going in via the coldfire tree? Or does someone else want to pick it up? Tsi-Chung Liew wrote: From: TsiChung Liew [EMAIL PROTECTED] Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by: Jason McMullan [EMAIL PROTECTED]

[U-Boot] [PATCH rev2] ADS5121: Fix NOR and CPLD ALE timing for rev 2 silicon

2008-08-28 Thread John Rigby
MPC5121 rev 2 silicon has a new register for controlling how long CS is asserted after deassertion of ALE in multiplexed mode. The default is to assert CS together with ALE. The alternative is to assert CS (ALEN+1)*LPC_CLK clocks after deassertion of ALE. The default is wrong for the NOR flash

Re: [U-Boot] [PATCH] mtd: SPI Flash: Support the STMicro Flash

2008-08-28 Thread Liew Tsi Chung-R5AAHP
Scott, I do have -i8 included. So, which one I should edit by hand? The }, or . =. Regards, TsiChung -Original Message- From: Wood Scott-B07421 Sent: Thursday, August 28, 2008 12:01 PM To: Liew Tsi Chung-R5AAHP Cc: Haavard Skinnemoen; U-Boot; Rigby John-R61273; Jason

[U-Boot] [PATCH] ADS5121: Fix NOR and CPLD ALE timing for rev 2 silicon

2008-08-28 Thread John Rigby
MPC5121 rev 2 silicon has a new register for controlling how long CS is asserted after deassertion of ALE in multiplexed mode. The default is to assert CS together with ALE. The alternative is to assert CS (ALEN+1)*LPC_CLK clocks after deassertion of ALE. The default is wrong for the NOR flash

[U-Boot] [PATCH 1/1] ppc4xx: fix UIC hang if critical or non-critical interrupt is set at the same time as a normal interrupt is set on UIC0

2008-08-28 Thread vgallardo
From: Victor Gallardo [EMAIL PROTECTED] Signed-off-by: Victor Gallardo [EMAIL PROTECTED] --- cpu/ppc4xx/uic.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/ppc4xx/uic.c b/cpu/ppc4xx/uic.c index 7944c6c..a95d1cb 100644 --- a/cpu/ppc4xx/uic.c +++

[U-Boot] [PATCH] mpc83xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache

2008-08-28 Thread Nick Spence
This is needed in unlock_ram_in_cache() because it is called from C and will corrupt the small data area anchor that is kept in R2. lock_ram_in_cache() is modified similarly as good coding practice, but is not called from C. Signed-off-by: Nick Spence [EMAIL PROTECTED] --- cpu/mpc83xx/start.S |

[U-Boot] [PATCH] mpc86xx: use r4 instead of r2 in lock_ram_in_cache and unlock_ram_in_cache

2008-08-28 Thread Nick Spence
This is needed in unlock_ram_in_cache() because it is called from C and will corrupt the small data area anchor that is kept in R2. lock_ram_in_cache() is modified similarly as good coding practice, but is not called from C. Signed-off-by: Nick Spence [EMAIL PROTECTED] --- cpu/mpc86xx/start.S |

[U-Boot] [PATCH 1/1] CONFIG_MENUKEY: RFC: Is this how CONFIG_MENUKEY supposed to work?

2008-08-28 Thread richardretanubun
I noticed that CONFIG_MENUKEY aborts autoboot unconditionally and executes the menucmd env.variable if it found a match later on. This seems odd. It is possible that I misunderstood the intent of the logic. The only other user of it now is AmigaOneG3SE. I made a patch to make the logic only

Re: [U-Boot] [PATCH 1/1] ppc4xx: fix UIC hang if critical or non-critical interrupt is set at the same time as a normal interrupt is set on UIC0

2008-08-28 Thread Feng Kan
Hi Wolfgang: I send the patch out for Victor. In the original email the From field did indicate his name. Am I missing something? Thanks Feng Kan Dear [EMAIL PROTECTED], Can you please provide a real name with your mail address when submitting patches?

Re: [U-Boot] U-Boot bootup process

2008-08-28 Thread Wolfgang Denk
Dear Ahmed, In message [EMAIL PROTECTED] you wrote: Would anyone help me with U-Boot bootup process? On power up, where U-Boot starts executing from and what's the flow of it? What functions it calls? I need to understand the whole picture, like what gets initialized when! It makes little

Re: [U-Boot] [PATCH 1/1] ppc4xx: fix UIC hang if critical or non-critical interrupt is set at the same time as a normal interrupt is set on UIC0

2008-08-28 Thread Wolfgang Denk
Dear Feng Kan, In message [EMAIL PROTECTED] you wrote: I send the patch out for Victor. In the original email the From field did indicate his name. Am I missing something? I don't know what you did, but there were actually two semi-identical postings: -- Subject: [U-Boot] [PATCH

[U-Boot] [PATCH 04/12 V2] miiphybb: move to drivers/net/phy

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] --- Makefile |1 + common/Makefile|1 - drivers/net/phy/Makefile | 46 {common = drivers/net/phy}/miiphybb.c |0 4

Re: [U-Boot] [PATCH 06/12] autoscript: Move conditional compilation to Makefile

2008-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
Forget that last comment - it looks like you made the fix later in the patch series ([PATCH 08/12] common/Makefile: order by functionality). It might be good to move the addition of COBJS-y += $(COBJS-yy) to [PATCH 06/12] so that compiles don't break between those 2 commits when bisecting