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

2008-05-13 Thread Wolfgang Denk
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://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload#Section_5.9.5.6. ) talk about booting image via network, but there

[U-Boot-Users] U-Boot v1.3.3 release

2008-05-13 Thread Wolfgang Denk
Hi everybody, because we had to do some non-trivial last-minute changes to U-Boot (like backing out a couple of problematic commits) I felt we need a little more time to test the current code again. Beause of that I decided to post-pone the release of v1.3.3 by a week (or less, if we feel

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

2008-05-13 Thread Steven Woody
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 (

Re: [U-Boot-Users] Debug u-boot with SAM-ICE/J-link

2008-05-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:53 Mon 12 May , Norman Cheung wrote: I would like to know what is the quickest way to set up Atmel's SAM-ICE with the AT91SAM9260EK board to run GDB? My preference is to run under a linux host, but I can run under Windows if that is easier to setup. Any ideas, suggestions or

[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.c

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 apce

[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

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 use

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 appropriate board

[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.c

[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)

[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)

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

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

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 configurable (I think,

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

[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 data

[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

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

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 PROTECTED]

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. See below

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] 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 (

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;

[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: Both 5.9.5.1 (