[U-Boot-Users] Possibilities of board specific POST code polluting post/test.c

2008-07-15 Thread selvamuthukumar v
I was working on adding POST to a custom board. Whenever I define a board specific post function, I've to extern that function in post/test.c to make it compile. Say, I added the following line in my board configuration file, and I've to add the line `extern int simple_post_test(int);' to make it

[U-Boot-Users] ppc4xx: [PATCH] ML507 Board Support

2008-07-15 Thread Ricardo Ribalda Delgado
Added Flash Support Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> --- CREDITS |5 ++ MAINTAINERS |4 + MAKEALL |1 + Makefile |3 + board/xilinx/ml507/Makefile | 58 +

[U-Boot-Users] ppc4xx: [PATCH] CPU PPC440x5 on Virtex5 FX (new version)

2008-07-15 Thread Ricardo Ribalda Delgado
Previous patch did not compile on some boards Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> --- -This patchs gives support for the embbedded ppc440 on the Virtex5 FPGAs -interrupts.c divided in uic.c and interrupts.c -xilinx_irq.c for xilinx interrupt controller cpu/ppc4xx/Makefi

[U-Boot-Users] [PATCH] I2C EEPROM simulator

2008-07-15 Thread Ricardo Ribalda Delgado
Minor Changes to previous patch Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> --- This driver provides access to a simulated i2c eeprom. This simulated eeprom could be very useful in boards with ddr2 memories and no i2c interfaces. Using this driver the user can simulate a spd eeprom

[U-Boot-Users] [PATCH] I2C Monitor chip ADT7460 support

2008-07-15 Thread Ricardo Ribalda Delgado
Minor changes to previous patch Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> --- -Remove whitespaces drivers/hwmon/Makefile |1 + drivers/hwmon/adt7460.c | 83 +++ include/dtt.h |3 +- 3 files changed, 86 insertions(+

[U-Boot-Users] [PATCH] Remove warnings compiling serial_xuartlite.c

2008-07-15 Thread Ricardo Ribalda Delgado
Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> --- serial_xuartlite.c: In function ‘serial_putc’: serial_xuartlite.c:59: warning: passing argument 1 of ‘in_be32’ makes pointer from integer without a cast serial_xuartlite.c:60: warning: passing argument 1 of ‘out_be32’ makes pointer fr

Re: [U-Boot-Users] [PATCH] : Remove unused code from uboot-1.3.3/lib_arm/bootm.c

2008-07-15 Thread Hebbar
Hi, Sorry i had generated the patch from with uboot/lib_arm directory and hence i think it failed. now i have created the diff for the root directory where the uboot-1.3.3 folder resides. sorry for the trouble. Thanks in advance. Regards Gururaja Signed off by: Gururaja Hebbar <[EMAIL PROTECTE

[U-Boot-Users] North korea nuclear fallout

2008-07-15 Thread kranz
Coral reefs found extinct http://shokomadrid.com/about.html - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand pri

Re: [U-Boot-Users] Question about Bad CRC

2008-07-15 Thread Rugunda, Solo
Wolfgang, 1. I think I might be making an error with the syntax. Can you verify that this is the exact correct syntax to fix the Bad CRC (quotations, colons etc) (or am I making an error somewhere in the syntax) #define CONFIG_PREEBOOT "setenv preboot 'setenv preboot;saveenv';" 2. And also can

Re: [U-Boot-Users] [PATCH] cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > That command needs to be in little endian format on BE machines > with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0 > gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into On stack? > @@ -306,16 +306,21 @@ static void flash_

[U-Boot-Users] [PATCH] cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA

2008-07-15 Thread Sebastian Siewior
This got broken by commits 93c56f212c [cfi_flash: support of long cmd in U-boot.] That command needs to be in little endian format on BE machines with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0 gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into the cmdbuf in case po

Re: [U-Boot-Users] ppc4xx [Resubmit] [PATCH] CPU PPC440x5 on Virtex5 FX (new version)

2008-07-15 Thread Ricardo Ribalda Delgado
Please do not use this yet. I have found problems running MAKEALL. I try to fix then and resubmit On Mon, Jul 14, 2008 at 9:47 PM, Ricardo Ribalda Delgado <[EMAIL PROTECTED]> wrote: > > Signed-off-by: Ricardo Ribalda Delgado <[EMAIL PROTECTED]> > --- > -This patchs gives support for the embbedd

Re: [U-Boot-Users] [PATCH] Round the serial port clock divisor value returned by calc_divisor()

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Round the serial port clock divisor value returned by > calc_divisor() > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > > --- > > drivers/serial/serial.c | 12 +++- > 1 files changed, 3 insertions(+), 9 deletions(-) Applied, thanks.

Re: [U-Boot-Users] [PATCH] Round the serial port clock divisor value returned by calc_divisor()

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Hugo Villeneuve wrote: > > Round the serial port clock divisor value returned by > > calc_divisor() > > > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> > > Acked-by: Gerald Van Baren <[EMAIL PROTECTED]> > > (Hopefully this stops Wolfgang's pain!

Re: [U-Boot-Users] [PATCH] : Remove unused code from uboot-1.3.3/lib_arm/bootm.c

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > This patch removes an unused part of the code. Sorry, this patch cannot be applied. > --- bootm_orig.c 2008-07-15 16:51:03.296875000 -0700 > +++ bootm.c 2008-07-15 16:51:38.25000 -0700 ... error: bootm.c: does not exist in index fatal: s

Re: [U-Boot-Users] PATCH for U-Boot 1.3.3 DHCP fails withnetgearWGR614v6

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Wolfgang, > > On Fri, Jul 11, 2008 at 4:05 PM, Robin Getz <[EMAIL PROTECTED]> wrote: > > On Fri 11 Jul 2008 18:41, Ben Warren pondered: > >> I'm a bit of an idealist, so I say let's do it right (remove the call to > >> BootpCopyNetParams()). Unless some

Re: [U-Boot-Users] [PATCH v2] cfi_flash: make the command u32 only

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > This got change by commit 93c56f212c > [cfi_flash: support of long cmd in U-boot.] > > Long is the wrong type because it will behave differently on > 64bit machnines in a way that is probably not expected. > u32 should be enough. > > Cc: Alexey Korolev

Re: [U-Boot-Users] [PATCH] tools/gitignore: update to all generated files

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> > --- > tools/.gitignore |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfg

Re: [U-Boot-Users] Please pull u-boot-mpc5xxx.git

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > The following changes since commit 348753d416cd2c9e7ec6520a544c8f33cf02a560: > Kumar Gala (1): > Fix some more printf() format problems. > > are available in the git repository at: > > git://git.denx.de/u-boot-mpc5xxx.git master > > Andre S

Re: [U-Boot-Users] Pull Request for u-boot-mpc86xx.git

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Wolfgang, > > Sorry I missed this outstanding patch from Timur earlier. > If you could, please pull this one 86xx patch. > > Thanks, > jdl > > > The following changes since commit 348753d416cd2c9e7ec6520a544c8f33cf02a560: > Kumar Gala (1): >

Re: [U-Boot-Users] Pull request: u-boot-sh

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > The following changes since commit 348753d416cd2c9e7ec6520a544c8f33cf02a560: > Kumar Gala (1): > Fix some more printf() format problems. > > are available in the git repository at: > > git://git.denx.de/u-boot-sh.git master > > Nobuhiro Iwa

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

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > are available in the git repository at: > > git://www.denx.de/git/u-boot-mpc85xx.git master > > Andrew Klossner (1): > Change the temp map to ROM to align addresses to page size. > > Andy Fleming (4): > Remove LBC_CACHE_BASE from 8544 DS

Re: [U-Boot-Users] ARM pull request

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > Hi, > please pull > The following changes since commit 348753d416cd2c9e7ec6520a544c8f33cf02a560: > Kumar Gala (1): > Fix some more printf() format problems. > > are available in the git repository at: > > git://git.denx.de/u-boot-arm.git mas

[U-Boot-Users] Pull Request for u-boot-mpc86xx.git

2008-07-15 Thread Jon Loeliger
Wolfgang, Sorry I missed this outstanding patch from Timur earlier. If you could, please pull this one 86xx patch. Thanks, jdl The following changes since commit 348753d416cd2c9e7ec6520a544c8f33cf02a560: Kumar Gala (1): Fix some more printf() format problems. are available in the git

[U-Boot-Users] Please pull u-boot-mpc5xxx.git

2008-07-15 Thread Grant Likely
The following changes since commit 348753d416cd2c9e7ec6520a544c8f33cf02a560: Kumar Gala (1): Fix some more printf() format problems. are available in the git repository at: git://git.denx.de/u-boot-mpc5xxx.git master Andre Schwarz (1): mpc5xxx: Add MVBC_P board support CREDIT

Re: [U-Boot-Users] Regarding non-contiguous support for MMC inu-boot1.3.1

2008-07-15 Thread Ken.Fuchs
Naveen Kumar GADDIPATI wrote: > I'm working for non-contiguous clusters support for MMC in > u-boot 1.3.1 source code for flashing the linux images. > We have a u-boot,which is working for contiguous clusters in MMC. What do mean by clusters in MMC? MMC deals with raw blocks. > Anybody could c

Re: [U-Boot-Users] Request for pointers: EP8548A v1.1

2008-07-15 Thread Gerhard Jaeger
On Tuesday 15 July 2008 16:44:18 Jerry Van Baren wrote: > Hi Andy, Embedded Planet, > > I have some Embedded Planet/Freescale EP8548A v1.1 boards that I need to > pull both u-boot and linux forward into the fdt era. The LTIB-based > delivery is ancient (1.1.4 hacked), I would like to get u-boot

[U-Boot-Users] Dark Knight opening premier sneak previews

2008-07-15 Thread reulink
Yankee Stadium demolished http://www.webprus.com/main.html - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand priz

Re: [U-Boot-Users] -rc1 Prerelease ???

2008-07-15 Thread Grant Likely
On Mon, Jul 14, 2008 at 11:12:38PM +0200, Wolfgang Denk wrote: > Hi everybody, > > from my point of view I think we're ready for a -rc1 prerelease, but I > am aware that some patches are still pending in the queues of some > custodians (at least this is what I think), so anybody with pending > pul

Re: [U-Boot-Users] [PATCH] Round the serial port clock divisor value returned by calc_divisor()

2008-07-15 Thread Jerry Van Baren
Hugo Villeneuve wrote: > Round the serial port clock divisor value returned by > calc_divisor() > > Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> Acked-by: Gerald Van Baren <[EMAIL PROTECTED]> (Hopefully this stops Wolfgang's pain!) > > --- > > drivers/serial/serial.c | 12 +++

[U-Boot-Users] [PATCH] Round the serial port clock divisor value returned by calc_divisor()

2008-07-15 Thread Hugo Villeneuve
Round the serial port clock divisor value returned by calc_divisor() Signed-off-by: Hugo Villeneuve <[EMAIL PROTECTED]> --- drivers/serial/serial.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c index 4ccaee2

Re: [U-Boot-Users] [PATCH v2] Round the serial port clock divisor valuereturned by calc_divisor()

2008-07-15 Thread Hugo Villeneuve
[EMAIL PROTECTED] wrote: > This formula is better at avoiding integer overflow. > > Signed-off-by: Gerald Van Baren <[EMAIL PROTECTED]> > --- > > This is my latest entry in the baud rate rounding dual. Since it > doesn't multiply the master BRG clock but instead adds the baud rate > scaled by 1/

[U-Boot-Users] Request for pointers: EP8548A v1.1

2008-07-15 Thread Jerry Van Baren
Hi Andy, Embedded Planet, I have some Embedded Planet/Freescale EP8548A v1.1 boards that I need to pull both u-boot and linux forward into the fdt era. The LTIB-based delivery is ancient (1.1.4 hacked), I would like to get u-boot to the tip of git and linux somewhere close to the tip. I'm ass

[U-Boot-Users] New york yankees team killed in bus crash

2008-07-15 Thread hardegree
John McCain exposed when reporters found that he never had a latino roommate at the US Naval Academy http://groupusqule.com/main.html- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the cool

Re: [U-Boot-Users] [PATCH 3/7] sbc8560: define eth0 and eth1 instead of eth1 and eth2

2008-07-15 Thread Paul Gortmaker
Andy Fleming wrote: > On Fri, Jul 11, 2008 at 5:03 PM, Paul Gortmaker > <[EMAIL PROTECTED]> wrote: > >> Wolfgang Denk wrote: >> >>> + * MAC addresses directly on it. + */ +#if 0 +#define CONFIG_ETHADDR 00:01:af:07:9b:8a +#define CONFIG_ETH1ADDR

Re: [U-Boot-Users] [PATCH 3/7] sbc8560: define eth0 and eth1 instead of eth1 and eth2

2008-07-15 Thread Ben Warren
On Mon, Jul 14, 2008 at 11:25 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]> you wrote: >> >> As a compromise between removal and keeping the useful information for >> developers who are doing early bringup on similar boards, I have >> applied this patch, and replaced

Re: [U-Boot-Users] [PATCH] cfi_flash: fix flash on Big Endian machines.

2008-07-15 Thread Stefan Roese
On Tuesday 15 July 2008, Sebastian Siewior wrote: > * Stefan Roese | 2008-07-15 11:48:11 [+0200]: > >OK, I'll await a separate patch for this. > > Could be in your inbox allready :) Yes. :) > >> >And to you main patch: > >> > > >> >NAK. After applying this, CFI support on kilauea (PPC405EX with 1

[U-Boot-Users] [PATCH v2] cfi_flash: make the command u32 only

2008-07-15 Thread Sebastian Siewior
This got change by commit 93c56f212c [cfi_flash: support of long cmd in U-boot.] Long is the wrong type because it will behave differently on 64bit machnines in a way that is probably not expected. u32 should be enough. Cc: Alexey Korolev <[EMAIL PROTECTED]> Cc: Vasiliy Leonenko <[EMAIL PROTECTE

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-15 Thread Wolfgang Grandegger
Sebastian Siewior wrote: > * Andy Fleming | 2008-07-14 19:27:08 [-0500]: > >> On Mon, Jul 14, 2008 at 5:54 AM, Sebastian Siewior >> <[EMAIL PROTECTED]> wrote: >>> The default value for the MxMR register is not always the right one. >>> This patch adds the value of MxMR register as an additional >>

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-15 Thread Sebastian Siewior
Wolfgang Grandegger wrote: >> +#define MXMR_OP_NORMAL(0x) >> +#define MXMR_OP_WRITE(0x1000) >> +#define MXMR_OP_READ(0x2000) >> +#define MXMR_OP_RUN(0x3000) > > Please use the the corresponding definitions from > "include/asm-ppc/fsl_lbc.h". Ach okey. I do this

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-15 Thread Wolfgang Grandegger
Sebastian Siewior wrote: > The default value for the MxMR register is not always the right one. > This patch adds the value of MxMR register as an additional > parameter (plus a few defines instead of hex coded values). > > Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> > --- > cpu/mpc85xx/

Re: [U-Boot-Users] [PATCH] cfi_flash: make the command u32 only

2008-07-15 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > This got change by commit 93c56f212c > [cfi_flash: support of long cmd in U-boot.] > > Long is the wrong type because it will behave differently on > 64bit machnines in a way that is probably not expected. > u32 should be enough. Well, if you write "u3

[U-Boot-Users] [PATCH] Move mpc5121 iopoin feature from board specific to common files.

2008-07-15 Thread Kenneth Johansson
And in the process eliminate some duplicate register defines. Signed-off-by: Kenneth Johansson <[EMAIL PROTECTED]> --- board/ads5121/Makefile |2 +- board/ads5121/ads5121.c | 58 ++- board/ads5121/iopin.c | 115 - board/ads5121/iopin.h | 222

Re: [U-Boot-Users] [PATCH] cfi_flash: fix flash on Big Endian machines.

2008-07-15 Thread Sebastian Siewior
* Stefan Roese | 2008-07-15 11:48:11 [+0200]: >OK, I'll await a separate patch for this. Could be in your inbox allready :) >> >And to you main patch: >> > >> >NAK. After applying this, CFI support on kilauea (PPC405EX with 1* >> > Spansion S29GL512N, 16bit wide) breaks: >> >> Is this big endian

[U-Boot-Users] [PATCH] cfi_flash: make the command u32 only

2008-07-15 Thread Sebastian Siewior
This got change by commit 93c56f212c [cfi_flash: support of long cmd in U-boot.] Long is the wrong type because it will behave differently on 64bit machnines in a way that is probably not expected. u32 should be enough. Cc: Alexey Korolev <[EMAIL PROTECTED]> Cc: Vasiliy Leonenko <[EMAIL PROTECTE

Re: [U-Boot-Users] [PATCH] cfi_flash: fix flash on Big Endian machines.

2008-07-15 Thread Stefan Roese
On Tuesday 15 July 2008, Sebastian Siewior wrote: > >> That command seems to be access in a little endian way so > >> wrappers are required. > > > >Please explain why this is the case? Little endian wrappers on big endian > >machines for FLASH access? This sounds wrong to me. > > Look at this snipp

Re: [U-Boot-Users] [PATCH] cfi_flash: fix flash on Big Endian machines.

2008-07-15 Thread Sebastian Siewior
* Stefan Roese | 2008-07-15 10:46:33 [+0200]: >Hi Sebastian, Hi Stefan, >On Monday 14 July 2008, Sebastian Siewior wrote: >> This got broken by commits 93c56f212c >> [cfi_flash: support of long cmd in U-boot.] >> >> That command seems to be access in a little endian way so >> wrappers are requir

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-15 Thread Sebastian Siewior
* Andy Fleming | 2008-07-14 19:27:08 [-0500]: >On Mon, Jul 14, 2008 at 5:54 AM, Sebastian Siewior ><[EMAIL PROTECTED]> wrote: >> The default value for the MxMR register is not always the right one. >> This patch adds the value of MxMR register as an additional >> parameter (plus a few defines inst

Re: [U-Boot-Users] [PATCH] mpc85xx: fix upmconfig

2008-07-15 Thread Sebastian Siewior
* Andy Fleming | 2008-07-14 19:32:56 [-0500]: >> --- a/cpu/mpc85xx/cpu.c >> +++ b/cpu/mpc85xx/cpu.c >> @@ -71,8 +71,7 @@ struct cpu_type *identify_cpu(u32 ver) >> >> static void set_lcb_clock(uint clkdiv) >> { >> - volatile immap_t *immap = (immap_t *)CFG_IMMR; >> - volatile ccsr_lbc

Re: [U-Boot-Users] [PATCH] cfi_flash: fix flash on Big Endian machines.

2008-07-15 Thread Stefan Roese
Hi Sebastian, On Monday 14 July 2008, Sebastian Siewior wrote: > This got broken by commits 93c56f212c > [cfi_flash: support of long cmd in U-boot.] > > That command seems to be access in a little endian way so > wrappers are required. Please explain why this is the case? Little endian wrappers

[U-Boot-Users] [PATCH] : Remove unused code from uboot-1.3.3/lib_arm/bootm.c

2008-07-15 Thread Gururaja Hebbar K R
Hi, This patch removes an unused part of the code. This code is only used in lib_avr32/bootm.c and in lib_arm/bootm.c it is under #if 0 Comments are welcome. Regards Gururaja Signed off by: Gururaja Hebbar <[EMAIL PROTECTED]> --- bootm_orig.c2008-07-15 16:51:03.296875000 -0700 +++