[U-Boot-Users] [PATCH] add memory-pattern-test for lwmon5 fpga-post.

2008-05-13 Thread sascha.laue
From: Sascha Laue <[EMAIL PROTECTED]> --- post/board/lwmon5/fpga.c | 53 +- 1 files changed, 52 insertions(+), 1 deletions(-) diff --git a/post/board/lwmon5/fpga.c b/post/board/lwmon5/fpga.c index b48390b..bfb9df7 100644 --- a/post/board/lwmon5/fpga.

Re: [U-Boot-Users] [PATCH] add memory-pattern-test for lwmon5 fpga-post.

2008-05-13 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: ... > + while( pattern[i] != 0) > + { Incorrect brace style. Also incorrect white space. U-Boot requires: while (pattern[i] != 0) { > + if( read_value != pattern[i]){ Please add a space before the '(' and '{', and remove the

[U-Boot-Users] how to take off CONFIG_S3C2410 setting

2008-05-13 Thread loody
Dear all: I try to build make smdk2410_config without CONFIG_S3C2410 define. I see the include path is BUILD_DIR/include, BUILD_DIR/include2 and uboot/include. I have set CONFIG_S3C2410=0 in include/configs/smdk2410.h and also check it as 0 in autoconf.mk, too. But the final image I build still run

Re: [U-Boot-Users] how to take off CONFIG_S3C2410 setting

2008-05-13 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I try to build make smdk2410_config without CONFIG_S3C2410 define. Maybe you could explain what you are actually trying to do? Removing the CONFIG_S3C2410 define from the SMDK2410 board configuration seems pretty stupid to me because this board does u

Re: [U-Boot-Users] [RFC/PATCH] SPI API improvements

2008-05-13 Thread Guennadi Liakhovetski
Hi Haavard, On Fri, 9 May 2008, Haavard Skinnemoen wrote: > diff --git a/common/cmd_spi.c b/common/cmd_spi.c > index 7604422..b0e7db1 100644 > --- a/common/cmd_spi.c > +++ b/common/cmd_spi.c > @@ -38,19 +38,13 @@ > #endif > > /* > - * External table of chip select functions (see the appropria

[U-Boot-Users] [PATCH] add memory-pattern-test for lwmon5 fpga-post.

2008-05-13 Thread sascha.laue
From: Sascha Laue <[EMAIL PROTECTED]> --- post/board/lwmon5/fpga.c | 50 ++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/post/board/lwmon5/fpga.c b/post/board/lwmon5/fpga.c index b48390b..b56ba89 100644 --- a/post/board/lwmon5/fpga.

[U-Boot-Users] MIPS:Start.S

2008-05-13 Thread wangjiankun820624
I want to know the function of the section following below in cpu\mips\start.S. Thank you! #endif RVECENT(romReserved,3) RVECENT(romReserved,4) RVECENT(romReserved,5) RVECENT(romReserved,6) RVECENT(romReserved,7) RVECENT(romReserved,8)

[U-Boot-Users] [PATCH] NAND read/write.jffs2 fix

2008-05-13 Thread Morten Ebbell Hestens
patch for branch mtd-2.6.22.1 on git://git.denx.de/u-boot-nand-flash.git nand read(.jffs2|.e|.i) skips bad blocks during read. write(.jffs2|.e|.i) skips bad blocks during write nand read will read 0xff for bad block. Update documentation. Signed-off-by: Morten Ebbell Hestnes <[EMAIL PROTECTED]> -

[U-Boot-Users] MIPS:start.S

2008-05-13 Thread wangjiankun820624
I want to know the function of the section following below in cpu\mips\start.S. Thank you! RVECENT(romReserved,3) RVECENT(romReserved,4) RVECENT(romReserved,5) RVECENT(romReserved,6) RVECENT(romReserved,7) RVECENT(romReserved,8) RVECENT(r

[U-Boot-Users] MIPS: question about start.S

2008-05-13 Thread wangjiankun820624
I want to know the function of the section following below in cpu\mips\start.S. Thank you! RVECENT(romReserved,3) RVECENT(romReserved,4) RVECENT(romReserved,5) RVECENT(romReserved,6) RVECENT(romReserved,7) RVECENT(romReserved,8) RVECENT(r

Re: [U-Boot-Users] how to take off CONFIG_S3C2410 setting

2008-05-13 Thread loody
Hi: I got a arm platform, arm940t, which is pretty much like arm920t, except without mmu. So I decide to port some arm920t uboot to my platform and smdk2410 sounds a good choice. The reason why I take off this config is I just want to build a bare uboot without any driver except UART, the console

Re: [U-Boot-Users] MIPS:Start.S

2008-05-13 Thread Chetan Nanda
2008/5/13 wangjiankun820624 <[EMAIL PROTECTED]>: > > > > I want to know the function of the section following below in > cpu\mips\start.S. Thank you! > #endif > RVECENT(romReserved,3) > RVECENT(romReserved,4) > RVECENT(romReserved,5) > RVECENT(romReserved,6) >

Re: [U-Boot-Users] [RFC/PATCH] SPI API improvements

2008-05-13 Thread Haavard Skinnemoen
On Tue, 13 May 2008 13:20:22 +0200 (CEST) Guennadi Liakhovetski <[EMAIL PROTECTED]> wrote: > > static int device; > > static int bitlen; > > static uchar dout[MAX_SPI_BYTES]; > > static uchar din[MAX_SPI_BYTES]; > > +static struct spi_slave *slave; > > Don't think this is needed... Right

[U-Boot-Users] [PATCH v2] [new uImage] Avoid initrd and logbuffer area overlaps

2008-05-13 Thread Marian Balakowicz
Add logbuffer to reserved LMB areas to prevent initrd allocation from overlaping with it. Make sure to use correct logbuffer base address. Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]> --- v2 fixes build errors for PPC targets without LOGBUFFER support. common/cmd_log.c |8 +++-

[U-Boot-Users] usb write command available in u-boot??

2008-05-13 Thread mahendra varman
Hi all In u-boot under common/cmd_usb.c there are commands for usb info , usb tree, usb reset, I can find usb read command also There is no command for usb write Is there is possibility to do a usb write command (eg .. writing some data into the flash memory stick) in u-boot le

Re: [U-Boot-Users] [RFC/PATCH] SPI API improvements

2008-05-13 Thread Guennadi Liakhovetski
On Tue, 13 May 2008, Haavard Skinnemoen wrote: > On Tue, 13 May 2008 13:20:22 +0200 (CEST) > Guennadi Liakhovetski <[EMAIL PROTECTED]> wrote: > > > > + /* FIXME: Make these parameters configurable */ > > > + slave = spi_setup_slave(0, device, 100, SPI_MODE_0); > > > > Until it is configurabl

Re: [U-Boot-Users] [PATCH 04/26] Add proper copyright notices in Atmel boards Makefiles

2008-05-13 Thread Stelian Pop
Le samedi 10 mai 2008 à 00:25 +0200, Wolfgang Denk a écrit : > In message <[EMAIL PROTECTED]> you wrote: > > The Makefiles for the AT91CAP9/AT91SAM9 boards have an incomplete > > copyright notice. This patch adds the missing pieces. > > > > Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> > > --- >

[U-Boot-Users] [PATCH] Add proper copyright notices in Atmel boards Makefiles

2008-05-13 Thread Stelian Pop
The Makefiles for the AT91CAP9/AT91SAM9 boards have an incomplete copyright notice. This patch adds the missing pieces. Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> --- board/atmel/at91cap9adk/Makefile |4 board/atmel/at91sam9260ek/Makefile |4 2 files changed, 8 insertions(

[U-Boot-Users] Proposal for u-boot-nand-flash custodian change

2008-05-13 Thread Stefan Roese
Hi, unfortunately I found little time to take care of the NAND custodianship lately. This is partly because I am busy with other U-Boot custodian work too (ppc4xx, cfi-flash). I was looking for some time now for a "candidate" to take over this NAND custodianship, so that patches will hopefully

Re: [U-Boot-Users] Proposal for u-boot-nand-flash custodian change

2008-05-13 Thread Grant Likely
On Tue, May 13, 2008 at 9:21 AM, Stefan Roese <[EMAIL PROTECTED]> wrote: > Hi, > > unfortunately I found little time to take care of the NAND custodianship > lately. This is partly because I am busy with other U-Boot custodian work too > (ppc4xx, cfi-flash). I was looking for some time now for a

Re: [U-Boot-Users] usb write command available in u-boot??

2008-05-13 Thread Markus Klotzbücher
"mahendra varman" <[EMAIL PROTECTED]> writes: > In u-boot under common/cmd_usb.c there are commands for > usb info , usb tree, usb reset, > I can find usb read command also > There is no command for usb write That's right. > Is there is possibility to do a usb write command (eg .. writing some

[U-Boot-Users] Flash CFI detection code.

2008-05-13 Thread Kári Davíðsson
Hi, We have an flash (CFI) connected through an 8 bit bus. What happens is that the call to cmdset_amd_init() is called with portwidth set to 2 resulting in flash_info_t::manufacturer_id equal to 0 and also flash_info_t::device_id is set to 0. This is because the commandpatterns are wrong for 8 b

Re: [U-Boot-Users] [PATCH 20/26] Add ATMEL LCD driver

2008-05-13 Thread Stelian Pop
Le lundi 12 mai 2008 à 11:30 -0500, Scott Wood a écrit : > On Fri, May 09, 2008 at 11:57:18PM +0200, Stelian Pop wrote: > > +#if defined(CONFIG_ATMEL_LCD) > > +#include > > +#include > > +extern nand_info_t nand_info[]; > > +#endif > > nand_info is declared in nand.h. No need to redeclare it.

[U-Boot-Users] [PATCH] Cleanup nand_info[] declaration.

2008-05-13 Thread Stelian Pop
The nand_info array is declared as extern in several .c files. Those days, nand.h contains a reference to the array, so there is no need to declare it elsewhere. Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> --- common/cmd_nand.c |2 -- common/env_nand.c |3 --- common/lcd.c

Re: [U-Boot-Users] [PATCH v2 ARM/AT91 0/26] AT91SAM/CAP patches for U-Boot 1.3.4

2008-05-13 Thread Stelian Pop
Le samedi 10 mai 2008 à 12:21 +0200, Jean-Christophe PLAGNIOL-VILLARD a écrit : > On 14:11 Fri 09 May , Jean-Christophe PLAGNIOL-VILLARD wrote: > > Patch series apply in branch testing-V2 of u-boot-at91 tree > branch testing-V2 update with last patch > > diff > > Fix Update origin and copyri

Re: [U-Boot-Users] bugs in flush_cache

2008-05-13 Thread Eyal Bari
in your version of the function the iterated cache ops second argument was start_addr which stay constant. the second bug is that it doesn't iterate over the entire range: for example: if size is 42 and the cache line size is 32 - it takes two cache lines to cache this buffer your version will ite

Re: [U-Boot-Users] [RFC/PATCH] SPI API improvements

2008-05-13 Thread Haavard Skinnemoen
On Tue, 13 May 2008 17:06:35 +0200 (CEST) Guennadi Liakhovetski <[EMAIL PROTECTED]> wrote: > Appropriate or not from the esthetic PoV, I don't see another chance to > make it useful - either make it run-time configurable either via command > parameters, or environment varables, ot at least compi

Re: [U-Boot-Users] bugs in flush_cache

2008-05-13 Thread Shinya Kuribayashi
Eyal Bari wrote: > in your version of the function the iterated cache ops second argument > was start_addr which stay constant. Probably already fixed in the latest git. See below commit: http://git.denx.de/?p=u-boot.git;a=commitdiff;h=188e94c370621708d13547d58dbc6ed3c5602aa8 > the second bug i

Re: [U-Boot-Users] Proposal for u-boot-nand-flash custodian change

2008-05-13 Thread Kim Phillips
On Tue, 13 May 2008 09:25:22 -0600 "Grant Likely" <[EMAIL PROTECTED]> wrote: > > Therefore I officially propose Scott Wood as new u-boot-nand-flash > > custodian. > > I would really like to get some feedback on this. Any comments or other > > suggestions? > > Acked-by: Grant Likely <[EMAIL PR

Re: [U-Boot-Users] bugs in flush_cache

2008-05-13 Thread Eyal Bari
yes - you are correct thank you On Tue, May 13, 2008 at 7:18 PM, Shinya Kuribayashi <[EMAIL PROTECTED]> wrote: > Eyal Bari wrote: > > > in your version of the function the iterated cache ops second argument > > was start_addr which stay constant. > > > > Probably already fixed in the latest git.

Re: [U-Boot-Users] usb write command available in u-boot??

2008-05-13 Thread Ken.Fuchs
> In u-boot under common/cmd_usb.c there are commands for > usb info , usb tree, usb reset, > > I can find usb read command also > > There is no command for usb write Since a bootloader loads things from boot devices as opposed writing things to boot devices, it makes sense that

Re: [U-Boot-Users] Reg in SPI problem

2008-05-13 Thread Liew Tsi Chung
Karthikeyan, DSPI read: - Check status (sr & 0xF000), continue if >= 4 - Write 0x800n0003 to pop register (0xfc05c038) where n is chipsel (1 << chipsel), 3 is perform read (AT25080A does not have fast read feature) - dummy read - write 0x800n00xx to popr, address byte 2 - dummy read - write

Re: [U-Boot-Users] [PATCH] Cleanup nand_info[] declaration.

2008-05-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:31 Tue 13 May , Stelian Pop wrote: > The nand_info array is declared as extern in several .c files. > Those days, nand.h contains a reference to the array, so there is > no need to declare it elsewhere. > > Signed-off-by: Stelian Pop <[EMAIL PROTECTED]> Applied in branch testing-V2 Best

[U-Boot-Users] [PATCH] Make sure common.h is the first include.

2008-05-13 Thread Kumar Gala
If common.h isn't first we can get CONFIG_ options defined in the board config file ignored. This can cause an issue if any of those config options impact the size of types of data structures (eg CONFIG_PHYS_64BIT). Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Should be looked at for v1.3.3

Re: [U-Boot-Users] [PATCH] NAND read/write.jffs2 fix

2008-05-13 Thread Scott Wood
Morten Ebbell Hestens wrote: > extern nand_info_t nand_info[]; /* info for NAND chips */ > +extern struct nand_chip nand_chip[]; /* extra info for NAND chips */ Where is this defined or used? > > static int nand_dump(nand_info_t *nand, ulong off, int only_oob) > { > @@ -73,9 +74,9 @@

Re: [U-Boot-Users] How to use tftp to book kernel image and mount remote root fs

2008-05-13 Thread Jerry Van Baren
Steven Woody wrote: > On Tue, May 13, 2008 at 2:07 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: >> Dear Steven, >> >> in message <[EMAIL PROTECTED]> you wrote: >>> Q1: >>> >>> Both 5.9.5.1 ( > http://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload#Section_5.9.5.1. >>> ) and 5.9.5.6 ( >>> http://ww

Re: [U-Boot-Users] How to use tftp to book kernel image and mount remote root fs

2008-05-13 Thread Steven Woody
On Wed, May 14, 2008 at 10:05 AM, Jerry Van Baren <[EMAIL PROTECTED]> wrote: > Steven Woody wrote: >> >> On Tue, May 13, 2008 at 2:07 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: >>> >>> Dear Steven, >>> >>> in message <[EMAIL PROTECTED]> >>> you wrote: Q1: Both 5.9.5.1 ( >> >>

[U-Boot-Users] build u-boot error: No rule to make target `.depend', needed by `_depend'.

2008-05-13 Thread Steven Woody
Hi, I 'cd' in eldk-4.1-arm installation directory arm/src/u-boot-1.2.0 and run: make distclean make sbc2410x_config make all In the last step, the `make' reported "No rule to make target `.depend', needed by `_depend'. Stop". What's wrong with it? Thanks. -- woody then sun rose

[U-Boot-Users] MIPS: about vector install

2008-05-13 Thread wangjiankun820624
The following maro define is from cup\mips\start.S.There are two arguments f and n in the code, but the second argument is not used. Why? I want to know in what condition the second argument n is usefull. Thank you! #define RVECENT(f,n) \ b f; nop-

[U-Boot-Users] U-Boot on MSP8110 Processor

2008-05-13 Thread muthuselvan.sivam
Hi, Is there any support available on u-boot for this processor (MSP8110). This processor incorporates a MIPS34K core. Rgds, Muthu Selvan.S - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)

Re: [U-Boot-Users] How to use tftp to book kernel image and mount remote root fs

2008-05-13 Thread Jerry Van Baren
Steven Woody wrote: > On Wed, May 14, 2008 at 10:05 AM, Jerry Van Baren <[EMAIL PROTECTED]> wrote: >> Steven Woody wrote: >>> On Tue, May 13, 2008 at 2:07 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: Dear Steven, in message <[EMAIL PROTECTED]> you wrote: > Q1: > > Bo

Re: [U-Boot-Users] MIPS: question about start.S

2008-05-13 Thread Andrew Dyer
2008/5/13 <[EMAIL PROTECTED]>: > I am sorry for my three times of posting the same question! It is the first > time for me to post question here, so I don't know some rules! > Sorry! > > It is the define of RVECENT whiche has two arguments f and n, but only f is > used in the code, n is not used.

Re: [U-Boot-Users] i.MX31: question about CFG_HZ and CKIL

2008-05-13 Thread Jens Gehrlein
Hi Wolfgang, Guennadi, Wolfgang Denk schrieb: > In message <[EMAIL PROTECTED]> you wrote: >> If CKIL is the above mentioned 32 kHz clock, the resulting deviation in >> the timers is "only" about 2.4% as long as CFG_HZ in mx31ads.h is 32000 >> Hz. Although it works with the current definition, I'