Re: [U-Boot] [PATCH] TQM8260: environment in flash instead EEPROM, baudrate 115k

2008-10-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message [EMAIL PROTECTED] you wrote: Is this somewhere reproducible? Kind of. It happens pretty r4eliably on weak power supplies (too high impadance, too slow voltage rise times) where the TQM8260 whould go through a series of quick startup - reset sequences when

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message [EMAIL PROTECTED] you wrote: ... In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, from fdt.c:51: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include endian.h instead! ... Does

Re: [U-Boot] [PATCH v2] bootm: Move to using a function pointer table for the boot os function

2008-10-20 Thread Wolfgang Denk
Dear Kumar Gala, In message [EMAIL PROTECTED] you wrote: This removes a bit of code and makes it easier for the upcoming sub bootm command support to call into the proper OS specific handler. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- ... @@ -119,6 +119,22 @@ int do_bootelf

[U-Boot] [PATCH][iMX31] Change to use do_div macro

2008-10-20 Thread Tomohiro Masubuchi
I tryed to build u-boot by Sourcery G++ Lite 2008q3-41 for ARM GNU/Linux. But, it was failed with some link error of divide function. Thus, I changed to use the do_div macro to calculate the dividing. In my environment, the next branch with this patch worked correctly. Signed-off-by: Tomohiro

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-20 Thread stefano babic
Wolfgang Denk wrote: Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? flash_is_busy() implements the toggling check. Of course, it should work, but I remember I had in the past a similar problem and I switched to the DQ7 bit algorithm (for erasing, it means I

Re: [U-Boot] [PATCH] Handle environment variables like commands

2008-10-20 Thread stefano babic
Wolfgang Denk wrote: The idea of the extension is that something like = bootm ${kernel} ${fdt} ${ramdisk} will still work. Unfortunately, it doesn't, as we have no way to pass the arguments to the (substituted) command to the commands run in the executed script. yes, that is

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message [EMAIL PROTECTED] you wrote: ...and if I were not rushing so much, I would have found that myself instead of looking stupid. :-( Google hasn't been very helpful for answering the question of how to handle endian issues in userland (non-kernel) code.

[U-Boot] Atmel AT91RM9200: U-Boot refuses to copy to a particular sector of flash memory

2008-10-20 Thread Ki Chi Leung
Hello list, I am trying to load a Linux 2.6.22 kernel uimage on the flash memory of a custom Atmel AT91RM9200 board. From U-Boot the flash memory map is as follows: U-Boot flinfo DataFlash:AT45DB161 Nb pages: 4096 Page Size:528 Size= 2162688 bytes Logical address: 0xC000 Area 0:

[U-Boot] Load a kernel image

2008-10-20 Thread Ivan Llopard
Hi list, I'm working with an embeded system. I'm sure you know about the microprocessor NIOS2. I have chose u-boot and it runs perfectly in my platform. But it can't read my memory SD card how i have it configured. I would like to know how to load the kernel image (uclinux) in memory correctly by

Re: [U-Boot] Atmel AT91RM9200: U-Boot refuses to copy to a particular sector of flash memory

2008-10-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:16 Mon 20 Oct , Ki Chi Leung wrote: Hello list, hi Could you specify the U-Boot version. the command sequence that you use please Best Regards, J. I am trying to load a Linux 2.6.22 kernel uimage on the flash memory of a custom Atmel AT91RM9200 board. From U-Boot the flash memory

Re: [U-Boot] [PATCH 2/2][for v2008.10] 85xx: Using proper I2C source clock divider for MPC8544

2008-10-20 Thread Jerry Van Baren
Timur Tabi wrote: Kumar Gala wrote: How about adding a comment that the RM is wrong? Any time the code disagrees with the RM, it *has* to be documented. Its documented in the commit. Sorry, but that's just not good enough for me. I *hate* it when people say that it is. When I'm

Re: [U-Boot] [PATCH][iMX31] Change to use do_div macro

2008-10-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:06 Mon 20 Oct , Tomohiro Masubuchi wrote: I tryed to build u-boot by Sourcery G++ Lite 2008q3-41 for ARM GNU/Linux. But, it was failed with some link error of divide function. Thus, I changed to use the do_div macro to calculate the dividing. In my environment, the next branch with

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message [EMAIL PROTECTED] you wrote: Google hasn't been very helpful for answering the question of how to handle endian issues in userland (non-kernel) code. Hmmm. Grrr. Maybe I'm not asking it the right question. This patch seems to work for me: diff --git

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Wolfgang Denk
Dear Gary Jennejohn, Is there another part of the patch, part 1/2, too? In message [EMAIL PROTECTED] you wrote: When both CONFIG_SYS_CONSOLE_IS_IN_ENV and CONFIG_NETCONSOLE are defined the user can have stdout set to nc (netconsole). This causes problems because u-boot will try to write

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
On Mon, 20 Oct 2008 15:24:53 +0200 Wolfgang Denk [EMAIL PROTECTED] wrote: Dear Wolfgang Denk, Is there another part of the patch, part 1/2, too? Yes, but I did this part first because it's small and easily generated. Since it also affects net I wanted to get it to the custodian. The other

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-20 Thread Timur Tabi
Mike Frysinger wrote: dont wait ... it'll be a bit before i post it, so it'll be easier if i just rebase against that If I post the patch that assumes that that i2c_reg_read() passes 1 instead of 0, it'll break blackfin. -- Timur Tabi Linux kernel developer at Freescale

Re: [U-Boot] Atmel AT91RM9200: U-Boot refuses to copy to a particular sector of flash memory

2008-10-20 Thread 7words . sg
Hello, The U-Boot version I am using is 1.1.2. I forgot to mention my sector sizes: they are as given in the AT49BV163D data sheet. Sectors up to address 0x are 8KB in size, while all others after 0x0001 are 64KB. And the commands I use are: * tftpboot 2000 uimage * cp.b

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Jerry Van Baren
Wolfgang Denk wrote: Dear Jerry Van Baren, In message [EMAIL PROTECTED] you wrote: ... In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, from fdt.c:51: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include endian.h

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
On Mon, 20 Oct 2008 15:57:32 +0200 Gary Jennejohn [EMAIL PROTECTED] wrote: On Mon, 20 Oct 2008 15:24:53 +0200 Wolfgang Denk [EMAIL PROTECTED] wrote: I have to admit that I don't like the idea of splitting the GD_FLG_DEVINIT into several, unrelated parts of the code. I don't like it

[U-Boot] [PATCH 1/2] bootm: Add subcommands

2008-10-20 Thread Kumar Gala
Add the ability to break the steps of the bootm command into several subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go. This allows us to do things like manipulate device trees before they are passed to a booting kernel or setup memory for a secondary core in multicore situations.

[U-Boot] [PATCH 2/2] bootm: support subcommands in linux ppc bootm

2008-10-20 Thread Kumar Gala
Add support for 'bdt', 'cmdline', 'prep' to the linux PPC bootm. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- lib_ppc/bootm.c | 271 +++ 1 files changed, 175 insertions(+), 96 deletions(-) diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c

[U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Ilko Iliev
This patch adds support for the PM9263 board of Ronetix GmbH (www.ronetix.at) Signed-off-by: Ilko Iliev [EMAIL PROTECTED] --- MAKEALL |1 + Makefile |3 + board/ronetix/pm9263/Makefile| 60 +

Re: [U-Boot] [PATCH 2/2][for v2008.10] 85xx: Using proper I2C source clock divider for MPC8544

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message [EMAIL PROTECTED] you wrote: Would it really have been so hard to add this line? /* The MPC8544 RM says it's bit 26, but it's really bit 28 */ I have to agree with Timur, we *need* a comment in the source code for future reference. The git log is

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Wolfgang Denk
Dear Gary Jennejohn, In message [EMAIL PROTECTED] you wrote: Yes, but I did this part first because it's small and easily generated. Since it also affects net I wanted to get it to the custodian. The other part adds the console multiplexing and isn't directly related to this. If the other

Re: [U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Robert Schwebel
On Mon, Oct 20, 2008 at 06:24:43PM +0200, Ilko Iliev wrote: This patch adds support for the PM9263 board of Ronetix GmbH (www.ronetix.at) Please note that u-boot-v2 has also a port for the PM9263: http://git.denx.de/?p=u-boot/u-boot-v2.git;a=summary Marc, you may also have some comments about

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Wolfgang Denk
Dear Gary Jennejohn, In message [EMAIL PROTECTED] you wrote: I looked at this some more. eth_initialize() is called in every architecture-specific library which means changing 8 files to move it up to before the initialization of netconsole. netconsole is intialized in devices_init()

Re: [U-Boot] [PATCH 2/2][for v2008.10] 85xx: Using proper I2C source clock divider for MPC8544

2008-10-20 Thread Kumar Gala
On Oct 20, 2008, at 2:22 PM, Wolfgang Denk wrote: Dear Jerry Van Baren, In message [EMAIL PROTECTED] you wrote: Would it really have been so hard to add this line? /* The MPC8544 RM says it's bit 26, but it's really bit 28 */ I have to agree with Timur, we *need* a comment in the source

Re: [U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:24 Mon 20 Oct , Ilko Iliev wrote: This patch adds support for the PM9263 board of Ronetix GmbH (www.ronetix.at) Signed-off-by: Ilko Iliev [EMAIL PROTECTED] --- MAKEALL |1 + Makefile |3 +

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Ben Warren
Wolfgang Denk wrote: Dear Gary Jennejohn, In message [EMAIL PROTECTED] you wrote: I looked at this some more. eth_initialize() is called in every architecture-specific library which means changing 8 files to move it up to before the initialization of netconsole. netconsole is

Re: [U-Boot] [PATCH][RFC] Update U-Boot's build timestamp on every compile

2008-10-20 Thread Kim Phillips
On Fri, 17 Oct 2008 17:51:21 -0500 Peter Tyser [EMAIL PROTECTED] wrote: Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by: Peter Tyser [EMAIL PROTECTED] --- I noticed that the build time of U-Boot was not updated on every compile which

[U-Boot] [PATCH] ARM/Versatile port: Removed unused functions

2008-10-20 Thread Roman Mashak
Removal of never used functions. Signed-off-by: Roman Mashak [EMAIL PROTECTED] --- board/versatile/versatile.c | 22 -- 1 files changed, 0 insertions(+), 22 deletions(-) diff --git a/board/versatile/versatile.c b/board/versatile/versatile.c index 3b9b020..0f35caa 100644

[U-Boot] [PATCHv2][iMX31] Change to use do_div macro

2008-10-20 Thread Tomohiro Masubuchi
Hi, I've fixed which Jean-Christophe pointed out. Regards, Tomohiro Signed-off-by: Tomohiro Masubuchi [EMAIL PROTECTED] Change to use the do_div macro. cpu/arm1136/mx31/interrupts.c | 58 +++- 1 files changed, 45 insertions(+), 13 deletions(-) diff