Re: [U-Boot-Users] [AT91] Re: [PATCH] DataFlash AT45DB021 support

2008-05-29 Thread Sergey Lapin
On Mon, May 26, 2008 at 02:03:42PM -0400, Matt Gessner wrote: Hi, all! I added code to handle the 011 chip, but I really didn't think anyone would be interested in it. If someone wants it, I can post it. Wolfgang, are these simple patches of any interest to the general community, when

[U-Boot-Users] [PATCH v2] 85xx: Only use PORPLLSR[DDR_Ratio] on platforms that define it

2008-05-29 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- Fix warning that the first version introduced. - k cpu/mpc85xx/cpu.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c index 9873383..58d23f4 100644 --- a/cpu/mpc85xx/cpu.c +++

Re: [U-Boot-Users] [PATCH] TQM: move TQM boards to board/tqc

2008-05-29 Thread Wolfgang Grandegger
[EMAIL PROTECTED] wrote: From: Wolfgang Grandegger [EMAIL PROTECTED] Move all TQM board directories to the vendor specific directory tqc for modules from TQ-Components GmbH (http://www.tqc.de). Note: this patch is too big for posting here and therefore I removed the hunks moving the

[U-Boot-Users] [PATCH] 85xx: extended cpu identification

2008-05-29 Thread Kumar Gala
The current cpu identification code is used just to return the name of the processor at boot. There are some other locations that the name is useful (device tree setup). Also, we add a feature field to convey useful attributes of the processor. (for 85xx we have a single feature to tell if the

[U-Boot-Users] [PATCH] Add sata sil3114 support (V2)

2008-05-29 Thread Tor Krill
Add support for Silicon Images sil3114 sata chip using libata Changes since last version * use debug() print instead of local version * Coding standard and whitespace fixes Signed-off-by: Tor Krill [EMAIL PROTECTED] --- drivers/block/Makefile |1 + drivers/block/sata_sil3114.c | 839

[U-Boot-Users] [PATCH] Fix incorrect switch for IF_TYPE in part.c

2008-05-29 Thread Tor Krill
Use correct field in block_dev_desc_t when writing interface type in dev_print. Error introduced in 574b319512b13e10800f0045e39b993f4ca25e42. Changes: * Added fix from Martin Krause Signed-off-by: Tor Krill [EMAIL PROTECTED] --- disk/part.c |4 ++-- 1 files changed, 2 insertions(+), 2

Re: [U-Boot-Users] Latest U-Boot MD5 compile error??

2008-05-29 Thread Russell McGuire
All, Okay, I have tracked this farther into the compilation problem. I have no reason to believe that 'my system' is any different that any standard stock FC5 box, other than its been original since FC5 was released, pending updates. Looking through the code, though I haven't nailed it, it would

Re: [U-Boot-Users] Very slow JFFS2 scan time and directory listing

2008-05-29 Thread Mark Craske
In Message-ID: [EMAIL PROTECTED] you wrote: It's taking an extremely long time to do a directory listing using the 'ls' command with JFFS2. Its taking nearly a minute to scan the file system and then about 1 second to print each line. What is could be the cause of this, and is there

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-29 Thread Anton Vorontsov
On Wed, May 28, 2008 at 08:38:37PM +0200, Wolfgang Grandegger wrote: Scott Wood wrote: On Wed, May 28, 2008 at 08:12:28PM +0200, Wolfgang Grandegger wrote: This patch adds support for NAND FLASH on the TQM8548. It is disabled by default and can be enabled for the TQM8548 modules. Note that

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-29 Thread Wolfgang Grandegger
Anton Vorontsov wrote: On Wed, May 28, 2008 at 08:38:37PM +0200, Wolfgang Grandegger wrote: Scott Wood wrote: On Wed, May 28, 2008 at 08:12:28PM +0200, Wolfgang Grandegger wrote: This patch adds support for NAND FLASH on the TQM8548. It is disabled by default and can be enabled for the

[U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II)

2008-05-29 Thread wong
hi, all I'm a newbie to both u-boot and qemu. Maybe it's a silly question, but I can not find the solution through the Internet for almost 2 weeks, sorry :( Here is my question: I wanna run u-boot as a standalone app (or image?) in qemu, and I do't wanna any create linux image. Is that

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-29 Thread Anton Vorontsov
On Thu, May 29, 2008 at 01:58:14PM +0200, Wolfgang Grandegger wrote: Anton Vorontsov wrote: On Wed, May 28, 2008 at 08:38:37PM +0200, Wolfgang Grandegger wrote: Scott Wood wrote: On Wed, May 28, 2008 at 08:12:28PM +0200, Wolfgang Grandegger wrote: This patch adds support for NAND FLASH on

Re: [U-Boot-Users] Very slow JFFS2 scan time and directory listing

2008-05-29 Thread Stuart Wood
On Thu, May 29, 2008 at 6:39 AM, Mark Craske [EMAIL PROTECTED] wrote: In Message-ID: [EMAIL PROTECTED] you wrote: It's taking an extremely long time to do a directory listing using the 'ls' command with JFFS2. Its taking nearly a minute to scan the file system and then about 1 second

Re: [U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-05-29 Thread Anton Vorontsov
On Wed, May 28, 2008 at 12:23:01PM -0500, Scott Wood wrote: Anton Vorontsov wrote: This patch moves Freescale Localbus defines out of mpc83xx.h, so we could use it on MPC85xx and MPC86xx processors. Can we similarly merge lbus83xx_t with ccsr_lbc? Yes, why not. But this will need much more

[U-Boot-Users] [PATCH] Remove shell variable UNDEF_SYM.

2008-05-29 Thread Kenneth Johansson
UNDEF_SYM is a shell variable in the main Makefile used to force the linker to add all u-boot commands to the final image. It has no use here. Signed-off-by: Kenneth Johansson [EMAIL PROTECTED] --- nand_spl/board/amcc/acadia/Makefile |2 +- nand_spl/board/amcc/bamboo/Makefile |

Re: [U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-05-29 Thread Anton Vorontsov
On Wed, May 28, 2008 at 12:21:26PM -0500, Kim Phillips wrote: On Wed, 28 May 2008 18:20:15 +0400 Anton Vorontsov [EMAIL PROTECTED] wrote: This patch moves Freescale Localbus defines out of mpc83xx.h, so we could use it on MPC85xx and MPC86xx processors. Signed-off-by: Anton Vorontsov

[U-Boot-Users] [PATCH] 85xx: Add setting of cache props in the device tree.

2008-05-29 Thread Kumar Gala
Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- cpu/mpc85xx/fdt.c | 128 + 1 files changed, 128 insertions(+), 0 deletions(-) diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c index bb87740..92952e6 100644 --- a/cpu/mpc85xx/fdt.c +++

[U-Boot-Users] help with warnings and gcc-4.3.0

2008-05-29 Thread Kumar Gala
I'm building with a native ppc compiler (fedora 9 install) and I get: dlmalloc.c:2444: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:2483: warning: dereferencing type-punned pointer will break strict-aliasing rules dlmalloc.c:2483: warning:

Re: [U-Boot-Users] help with warnings and gcc-4.3.0

2008-05-29 Thread Scott Wood
On Thu, May 29, 2008 at 11:31:28AM -0500, Kumar Gala wrote: #define bin_at(i) ((mbinptr)((char*)(av_[2*(i) + 2]) - 2*SIZE_SZ)) #define next_bin(b)((mbinptr)((char*)(b) + 2 * sizeof(mbinptr))) #define prev_bin(b)((mbinptr)((char*)(b) - 2 * sizeof(mbinptr))) .. #define top

Re: [U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate at 115200

2008-05-29 Thread Liew Tsi Chung
I see your point. I use your formula if you have not other comments. Regards, TsiChung -Original Message- From: Jerry Van Baren [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 10:57 PM To: Liew Tsi Chung Cc: Jerry Van Baren; U-Boot-Users; Wolfgang Denx; Rigby John Subject: Re:

Re: [U-Boot-Users] [PATCH]env_nand.c Added bad block management for environment variables

2008-05-29 Thread Stuart Wood
Scott, Here is a new version of my patch to env_nand.c. Thanks for the good comments. Fixed a problem with the new code that allowed it to read a environment area even if it contained a bad block after the good environment data. diff --git a/common/env_nand.c b/common/env_nand.c index

Re: [U-Boot-Users] [PATCH]env_nand.c Added bad block management for environment variables

2008-05-29 Thread Scott Wood
Scott Wood wrote: +size_t end; +int ret_val = 0; +end = offset + CFG_ENV_SIZE; + +for (; offset end; offset += nand_info[0].erasesize) { +if (nand_block_isbad(nand_info[0],offset)) +ret_val = 1; +} + +return ret_val; size_t end

[U-Boot-Users] [GIT PULL] avr32 update

2008-05-29 Thread Haavard Skinnemoen
Hi Wolfgang, Please pull the 'master' branch of git://git.denx.de/u-boot-avr32.git master to receive the below updates. The SPI stuff and a few other patches I've posted are not included here since they aren't really avr32-related. I'm hoping you'll still apply them before the merge window

[U-Boot-Users] [PATCH] Allow per file CFLAGS and AFLAGS

2008-05-29 Thread Kumar Gala
Mimic the linux kernel build system's ability to have per source file CFLAGS or AFLAGS. In the makefile you can now do: CFLAGS_file.o += MY_FLAGS_OPTIONS Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- config.mk | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[U-Boot-Users] [PATCH] Changes ADS5121 splash screen from hard-coded bmp to flash bmp

2008-05-29 Thread Martha Marx
Signed-off-by: Martha Marx [EMAIL PROTECTED] --- board/ads5121/Makefile |1 - board/ads5121/ads5121_diu.c | 66 +++ board/freescale/common/fsl_diu_fb.c |6 +++- include/configs/ads5121.h |2 + 4 files changed, 66

[U-Boot-Users] Command history no longer working

2008-05-29 Thread Hugo Villeneuve
Hi, I have observed that after this commit, the command history is no longer working: --- commit 597f6c26a18b389903a64692bacbf9a1ca69355b Author: James Yang [EMAIL PROTECTED] Date: Mon May 5 10:22:53 2008 -0500 Fix readline_into_buffer() with CONFIG_CMDLINE_EDITING before relocating

[U-Boot-Users] [PATCH] Consolidates ADS5121 IO Pin configuration

2008-05-29 Thread Martha Marx
Signed-off-by: Martha Marx [EMAIL PROTECTED] --- board/ads5121/Makefile|2 +- board/ads5121/ads5121.c | 36 +--- board/ads5121/iopin.c | 96 board/ads5121/iopin.h | 220 + cpu/mpc512x/fec.c | 15

Re: [U-Boot-Users] [Junk released by Allow List] Command history no longer working

2008-05-29 Thread Hugo Villeneuve
[EMAIL PROTECTED] wrote: Hi, I have observed that after this commit, the command history is no longer working: --- commit 597f6c26a18b389903a64692bacbf9a1ca69355b Author: James Yang [EMAIL PROTECTED] Date: Mon May 5 10:22:53 2008 -0500 Fix readline_into_buffer() with

Re: [U-Boot-Users] [Junk released by Allow List] Command history no longer working

2008-05-29 Thread Kenneth Johansson
On Thu, 2008-05-29 at 15:41 -0400, Hugo Villeneuve wrote: [EMAIL PROTECTED] wrote: Hi, I have observed that after this commit, the command history is no longer working: --- commit 597f6c26a18b389903a64692bacbf9a1ca69355b Author: James Yang [EMAIL PROTECTED] Date: Mon May 5

Re: [U-Boot-Users] [PATCH] Consolidates ADS5121 IO Pin configuration

2008-05-29 Thread Kenneth Johansson
On Thu, 2008-05-29 at 15:37 -0400, Martha Marx wrote: Signed-off-by: Martha Marx [EMAIL PROTECTED] --- board/ads5121/Makefile|2 +- board/ads5121/ads5121.c | 36 +--- board/ads5121/iopin.c | 96 board/ads5121/iopin.h | 220

[U-Boot-Users] [PATCH] Remove duplicate code introduced by commit 597f6c26a18b389903a64692bacbf9a1ca69355b

2008-05-29 Thread Hugo Villeneuve
Remove duplicate code introduced by commit 597f6c26a18b389903a64692bacbf9a1ca69355b Signed-off-by: Hugo Villeneuve [EMAIL PROTECTED] --- common/main.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/common/main.c b/common/main.c index a17b60b..046da6f 100644 ---

[U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate formula

2008-05-29 Thread Tsi-Chung.Liew
From: TsiChung Liew [EMAIL PROTECTED] The formula counter = (u32) (gd-bus_clk / gd-baudrate) / 32 can generate the wrong divisor due to integer division truncation. Round the calculated divisor value by adding 1/2 the baudrate before dividing by the baudrate. Signed-off-by: TsiChung Liew [EMAIL

Re: [U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate formula

2008-05-29 Thread Kenneth Johansson
On Thu, 2008-05-29 at 15:26 -0500, Tsi-Chung.Liew wrote: From: TsiChung Liew [EMAIL PROTECTED] The formula counter = (u32) (gd-bus_clk / gd-baudrate) / 32 can generate the wrong divisor due to integer division truncation. Round the calculated divisor value by adding 1/2 the baudrate before

Re: [U-Boot-Users] boot pc with uboot

2008-05-29 Thread Markus Brunner
On Wednesday 28 May 2008, Jerry Van Baren wrote: Soodeh Bakhshandeh wrote: Dear sir I have a problem. I want to boot my pc with uboot. Which work I shold do?what is my roadmap? First you should be sure if that's exactly what you want. If you just want to play with u-boot on x86, porting

Re: [U-Boot-Users] Latest U-Boot MD5 compile error??

2008-05-29 Thread Russell McGuire
All, Possible fix, since I am a newbie at messing with somebody elses code can the owner of the MD5 code verify this problem / fix?? I found that if I did the following with changing some include files, this will now compile on my older FC5 system. Oddly I tried the newer ELDK42, etc.. not sure

[U-Boot-Users] Update kernel image in NAND from linux user space

2008-05-29 Thread Norman Cheung
I wonder what is the best way to handle kernel updates from linux user space. The NAND area where the kernel is placed has been defined as a MTD partition. So perhaps using mtd util's nandwrite will be it. Are the algorithm in nandwrite the same in both linux and u-boot wrt bad block skipping?

[U-Boot-Users] [PATCH] ColdFire: Fix UART baudrate formula

2008-05-29 Thread Tsi-Chung.Liew
From: TsiChung Liew [EMAIL PROTECTED] The formula counter = (u32) (gd-bus_clk / gd-baudrate) / 32 can generate the wrong divisor due to integer division truncation. Round the calculated divisor value by adding 1/2 the baudrate before dividing by the baudrate. Signed-off-by: TsiChung Liew [EMAIL

Re: [U-Boot-Users] u-boot and Linux kernel forward compatibility is unsure?

2008-05-29 Thread Leon Woestenberg
Hello Wolfgang, On Thu, May 29, 2008 at 12:41 AM, Wolfgang Denk [EMAIL PROTECTED] wrote: in message [EMAIL PROTECTED] you wrote: For how long can I expect current u-boot (say 1.3.4) to be forward compatible with newer Linux kernels? I think chances are pretty good. Please keep in mind that

[U-Boot-Users] Bis zu 2500 Euro Nebenverdienst

2008-05-29 Thread Albertina batz
Ein marktgewinnendes Handelsbetrieb sucht neue Mitarbeiter !! Sie haben 6 Stunden in der Woche frei , besitzen einige PCkenntnisse und sind immer erreichebar?? - Sie haben dann die Moeglichkeit bei uns einzusteigen und sehr gutes Geld zu verdienen!! Begeistert? - schreiben Sie uns an [EMAIL