Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Pierre Savary
Hi Antonio, Where could we define "IF_TYPE_SDHC"? Thanks in advance, Best Regards Pierre - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http:

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Pierre Savary
Hi Antonio, It doesn't work on my board (at91sam9260 + SD 4Go sandisk). I send you some traces. Could you help me please? U-Boot by KLK > mmcinit mmc: clock 15 too low; setting CLKDIV to 255 mmc: Probing for SDHC ... mmc: SD 2.0 or later card found No MMC card found Thanks in advance, Best Re

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

2008-06-12 Thread Wolfgang Grandegger
Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: >> are available in the git repository at: >> >> git://www.denx.de/git/u-boot-mpc85xx.git master >> >> A re-send, since I accidentally undid a bunch of changes before I sent the >> last pull request. This one has been build-tes

Re: [U-Boot-Users] Value of CFG_PCI_MEMBASE

2008-06-12 Thread Stefan Roese
On Wednesday 11 June 2008, Sachin Rane wrote: > In the 'include/configs/ocotea.h" file: > 8<- > > > #define CFG_PCI_MEMBASE 0x8000 /* mapped pci memory*/ This is the virtual add

Re: [U-Boot-Users] [PATCH] Add PPC405 External Bus Controller (EBC) Register Field Mnemonics

2008-06-12 Thread Stefan Roese
On Thursday 12 June 2008, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > > These are actually now used in cpu/ppc4xx/start.S and are probably > > already included in the latest 4xx pull from Stefan. So, this patch might > > be a no-op at this point. > > A slightly different vers

[U-Boot-Users] [PATCH] Fix 4xx build issue

2008-06-12 Thread Anatolij Gustschin
Building for 4xx doesn't work since commit 4dbdb768: In file included from 4xx_pcie.c:28: include/asm/processor.h:971: error: expected ')' before 'ver' make[1]: *** [4xx_pcie.o] Error 1 This patch fixes the problem. Signed-off-by: Anatolij Gustschin <[EMAIL PROTECTED]> --- cpu/mpc85xx/cpu.c

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ulf Samuelsson
> Hi Antonio, > It doesn't work on my board (at91sam9260 + SD 4Go sandisk). I send you some > traces. Could you help me please? > > U-Boot by KLK > mmcinit > mmc: clock 15 too low; setting CLKDIV to 255 > mmc: Probing for SDHC ... > mmc: SD 2.0 or later card found > No MMC card found > > Than

Re: [U-Boot-Users] [PATCH] Fix 4xx build issue

2008-06-12 Thread Stefan Roese
On Thursday 12 June 2008, Anatolij Gustschin wrote: > Building for 4xx doesn't work since commit 4dbdb768: > > In file included from 4xx_pcie.c:28: > include/asm/processor.h:971: error: expected ')' before 'ver' > make[1]: *** [4xx_pcie.o] Error 1 > > This patch fixes the problem. > > Signed-off-by

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread COSTA, Antonio
Hi Ulf, good to hear from you again. I'm trying apply patches to U-Boot but they beat my hands a bit, they are very severe :). Now I'm fixing // comments, line lentgh, ... SDHC patch is not complete because PATCH 2/3 bounced due to size problem (40.5 KB) so the patch is invalid. Anyway, in my pa

Re: [U-Boot-Users] [PATCH] Fix 4xx build issue

2008-06-12 Thread Kumar Gala
On Jun 12, 2008, at 6:51 AM, Stefan Roese wrote: > On Thursday 12 June 2008, Anatolij Gustschin wrote: >> Building for 4xx doesn't work since commit 4dbdb768: >> >> In file included from 4xx_pcie.c:28: >> include/asm/processor.h:971: error: expected ')' before 'ver' >> make[1]: *** [4xx_pcie.o] E

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ulf Samuelsson
Hi Ulf, good to hear from you again. I'm trying apply patches to U-Boot but they beat my hands a bit, they are very severe :). Now I'm fixing // comments, line lentgh, ... SDHC patch is not complete because PATCH 2/3 bounced due to size problem (40.5 KB) so the patch is invalid. Anyway, in my pa

[U-Boot-Users] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2008-06-12 Thread Stefan Roese
The following changes since commit a94f22f08f280905926219e568568964cb9eeb9d: Andy Fleming (1): Fix build issue with string.h and linux/string.h are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (1): ppc4xx: Canyonlands: Disable

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Jerry Van Baren
Ulf Samuelsson wrote: > Hi Ulf, good to hear from you again. > I'm trying apply patches to U-Boot but they beat my hands a bit, > they are very severe :). Now I'm fixing // comments, line lentgh, ... > > SDHC patch is not complete because PATCH 2/3 bounced due to size problem > (40.5 KB) > so the

[U-Boot-Users] [PATCH 1/6] AT572D940HF-EB Support v2 (board folder)

2008-06-12 Thread Antonio R. Costa
Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/board/atmel/at572d940hfeb/Makefile b/board/atmel/at572d940hfeb/Makefile new file mode 100644 index 000..c91bea6 --- /dev/null +++ b/board/atmel/at572d940hfeb/Makefile @@ -0,0 +1,55 @@ +# +# (C) Copyright 2003-2008 +# Wolfgang D

[U-Boot-Users] [PATCH 2/2] AT572D940HF-EB Support v2 (SDHC support part 2)

2008-06-12 Thread Antonio R. Costa
Introduced IF_TYPE_SDHC to distinguish between SD and SDHC. Maybe this is not the best method since struct block_dev_descr.priv could point to a structure describing card properties but it was the quickest one and I had no time to spend. Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --

[U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Antonio R. Costa
This patch add support for SD/SDHC cards to AT572D940HF-EB and more generally is a proposal for all Atmel chips. Dued to that I placed atmel_mci.c under the board directory. Plaese give me some feedbacks. The implementation of the CSD interpretation has been re-worked completely. Bit fields are no

[U-Boot-Users] [PATCH 3/6] AT572D940HF-EB Support v2 (include files part 1)

2008-06-12 Thread Antonio R. Costa
Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/include/asm-arm/arch-at572d940hf/at91_aic.h b/include/asm-arm/arch-at572d940hf/at91_aic.h new file mode 100644 index 000..ba0da8c --- /dev/null +++ b/include/asm-arm/arch-at572d940hf/at91_aic.h @@ -0,0 +1,44 @@ +/* + * include/

[U-Boot-Users] [PATCH 5/6] AT572D940HF-EB Support v2 (ethernet files)

2008-06-12 Thread Antonio R. Costa
Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/drivers/net/macb.c b/drivers/net/macb.c index e5733f6..eb446d1 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -417,15 +417,15 @@ static int macb_init(struct eth_device *netdev, bd_t *bd) /* choose RMII or MII

[U-Boot-Users] [PATCH 4/6] AT572D940HF-EB Support v2 (include files part 2)

2008-06-12 Thread Antonio R. Costa
Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/include/asm-arm/arch-at572d940hf/at572d940hf.h b/include/asm-arm/arch-at572d940hf/at572d940hf.h new file mode 100644 index 000..53f049b --- /dev/null +++ b/include/asm-arm/arch-at572d940hf/at572d940hf.h @@ -0,0 +1,147 @@ +/* +

[U-Boot-Users] [PATCH 1/1] mmc_verbosity variable

2008-06-12 Thread Antonio R. Costa
Proposal for environment variable mmc_verbosity to control verbosity levels in mmc code Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 25c9702..8b8f4a2 100644 --- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -1,4 +1,7 @@ /* + * (C) Copy

[U-Boot-Users] [PATCH 2/6] AT572D940HF-EB Support v2 (cpu folder)

2008-06-12 Thread Antonio R. Costa
Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/cpu/arm926ejs/at572d940hf/Makefile b/cpu/arm926ejs/at572d940hf/Makefile new file mode 100644 index 000..203abc2 --- /dev/null +++ b/cpu/arm926ejs/at572d940hf/Makefile @@ -0,0 +1,49 @@ +# +# (C) Copyright 2000-2008 +# Wolfgang D

[U-Boot-Users] [PATCH 6/6] AT572D940HF-EB Support v2 (configuration files)

2008-06-12 Thread Antonio R. Costa
Signed-off-by: Antonio R. Costa <[EMAIL PROTECTED]> diff --git a/Makefile b/Makefile index 7e68b23..1cb5ac7 100644 --- a/Makefile +++ b/Makefile @@ -2370,6 +2370,17 @@ at91sam9260ek_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9260ek atmel at91sam9 ##

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ulf Samuelsson
> > Dear Ulf, > > Please either replace your Outlook Express (I would recommend > Thunderbird) or configure it to quote acceptably (e.g. the "> " in the > left hand column - I know Outlook can be configured this way, I don't > know about OE). Your addition to Antonio's email is very difficult

[U-Boot-Users] HARD_I2C support problems

2008-06-12 Thread Tales Toledo
Hi, i am trying to communicate with lm75 dtt but i2c seems not work properly in hard mode. The u-boot serial prompt get stucked in transmission state. I am using MPC885 and u-boot 1.3.0. Ucode patch is disable. Did anybody have a similar problem? Thx, TT Session debug log...

Re: [U-Boot-Users] [PATCH 1/4] Change initdram() return type to phys_size_t

2008-06-12 Thread Becky Bruce
Bah - I thought I had updated my tree right before I sent that out. Not sure what happened here. Sorry about that, and thanks, Kumar! -Becky On Jun 11, 2008, at 11:47 PM, Kumar Gala wrote: > > Since Becky's been under the weather today and I'm feeling generous > how about this version: > >

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ben Warren
COSTA, Antonio wrote: > > Hi Ulf, good to hear from you again. > I'm trying apply patches to U-Boot but they beat my hands a bit, > they are very severe :). Now I'm fixing // comments, line lentgh, ... > Geez, if you think my comments were severe, you're in for a rude awakening (no pun intended).

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread COSTA, Antonio
Hi Ben, ;) yes, I know you stay on the good part of the Strenght :))) You're right we must keep things working & tidy & beautiful. Kill Bill ;) Regards, Antonio -Original Message- From: Ben Warren [mailto:[EMAIL PROTECTED] Sent: Thu 6/12/2008 6:01 PM To: COSTA, Antonio Cc: Samuelsson

[U-Boot-Users] Pull request: nand-flash

2008-06-12 Thread Scott Wood
This fix is required for MPC8360ERDK to build. The following changes since commit a94f22f08f280905926219e568568964cb9eeb9d: Andy Fleming (1): Fix build issue with string.h and linux/string.h are available in the git repository at: git://www.denx.de/git/u-boot-nand-flash.git master W

Re: [U-Boot-Users] [PATCH 1/4] Change initdram() return type to phys_size_t

2008-06-12 Thread Andy Fleming
On Thu, Jun 12, 2008 at 11:00 AM, Becky Bruce <[EMAIL PROTECTED]> wrote: > Bah - I thought I had updated my tree right before I sent that out. > Not sure what happened here. Sorry about that, and thanks, Kumar! Your patch was applied after he pulled all the custodian trees. So the patch probably

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Haavard Skinnemoen
On Thu, 12 Jun 2008 16:14:56 +0200 "Antonio R. Costa" <[EMAIL PROTECTED]> wrote: > This patch add support for SD/SDHC cards to AT572D940HF-EB > and more generally is a proposal for all Atmel chips. > Dued to that I placed atmel_mci.c under the board directory. It's a bit hard to see what your pro

[U-Boot-Users] Patch to setenv() to return status

2008-06-12 Thread Steven A. Falco
Currently, the setenv function does not return an error code. I'd like to propose the following patch, because I want to be able to test for errors in a new BSP I'm writing. Comments invited. Signed-off-by: Steve Falco <[EMAIL PROTECTED]> diff --git a/include/common.h b/include/common.h index

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Ulf Samuelsson
Haavard Skinnemoen wrote: > On Thu, 12 Jun 2008 16:14:56 +0200 > "Antonio R. Costa" <[EMAIL PROTECTED]> wrote: > >> This patch add support for SD/SDHC cards to AT572D940HF-EB >> and more generally is a proposal for all Atmel chips. >> Dued to that I placed atmel_mci.c under the board directory. >

[U-Boot-Users] Patch to clean up syntax highlighting

2008-06-12 Thread Steven A. Falco
My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c file, because it apparently does not parse C ifdef/else/endif. The following patch does not change the behavior of the code at all, but does allow the editor to properly syntax-highlight the file. Comments invited. S

[U-Boot-Users] [PATCH 3/3] mmc: Move atmel_mci driver into drivers/mmc

2008-06-12 Thread Haavard Skinnemoen
This makes it easier to use the driver on other platforms. Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]> --- cpu/at32ap/Makefile |1 - drivers/mmc/Makefile|2 ++ {cpu/at32ap => drivers/mmc}/atmel_mci.c |0 {cpu/at32ap => drivers/mmc}/at

[U-Boot-Users] [PATCH 1/3] Create drivers/mmc subdirectory

2008-06-12 Thread Haavard Skinnemoen
In order to consolidate more of the various MMC drivers around the tree, we must first have a common place to put them. Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]> --- Makefile |2 ++ drivers/mmc/Makefile | 44 2 files chang

[U-Boot-Users] [PATCH 2/3] avr32: Use CONFIG_ATMEL_MCI to select the atmel_mci driver

2008-06-12 Thread Haavard Skinnemoen
After we move the atmel_mci driver into drivers/mmc, we can't select it with CONFIG_MMC anymore. Introduce a new symbol specifically for this driver so that there's no ambiguity. Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]> --- cpu/at32ap/Makefile |2 +- include/configs/atngw

[U-Boot-Users] [PATCH 0/3] Move atmel_mci driver into drivers/mmc

2008-06-12 Thread Haavard Skinnemoen
> So how about we start by introducing a new drivers/mmc directory and > move the existing AVR32 driver there? In fact, this is so incredibly easy to do with git that I decided to just do it. The three patches posted as a follow-up to this e-mail is the result. I've verified that it compiles and t

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Haavard Skinnemoen
On Thu, 12 Jun 2008 19:19:47 +0200 "Ulf Samuelsson" <[EMAIL PROTECTED]> wrote: > Haavard Skinnemoen wrote: > > It's a bit hard to see what your proposal is all about when you create > > a new file instead of modifying the exising one... > > > > If you want to see changes right now, > then just

[U-Boot-Users] Silent console enhancement patch

2008-06-12 Thread Steven A. Falco
The silent console as currently implemented is not silent if a board has been newly manufactured. I.e., some messages are printed prior to being able to set the "silent" environment variable the first time. The following patch adds a new configuration option, CONFIG_VERY_SILENT_CONSOLE, which mo

Re: [U-Boot-Users] U-Boot and Linux on Walnut based board

2008-06-12 Thread Brian S. Park
Wolfgang, Thank you for your response. Boot parameter I'm using is the following. bootargs=root=/dev/ram rw ramdisk_size=8192 console=ttyS0,115200 console=tty0 ip=192.168.1.157:192.168.1.86:192.168.1.2:255.255.255.0:DevUSB::off It is the same bootarg that I used when using U-Boot 1.0.0. I left

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

2008-06-12 Thread Scott Wood
On Tue, Jun 10, 2008 at 02:01:29PM +0200, Morten Ebbell Hestens wrote: > 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.

[U-Boot-Users] (no subject)

2008-06-12 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口 报关,商检,境内外运输..等等;还可以代办:出口欧盟许可证,欧盟产地证; 并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件 或来电联系。谢谢合作!   电话:0755-81153047。  

Re: [U-Boot-Users] [PATCH 1/4] Change initdram() return type to phys_size_t

2008-06-12 Thread Jon Loeliger
On Thu, 2008-06-12 at 11:36 -0500, Andy Fleming wrote: > On Thu, Jun 12, 2008 at 11:00 AM, Becky Bruce <[EMAIL PROTECTED]> wrote: > > Bah - I thought I had updated my tree right before I sent that out. > > Not sure what happened here. Sorry about that, and thanks, Kumar! > > Your patch was applie

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Ulf Samuelsson
Haavard Skinnemoen wrote: > On Thu, 12 Jun 2008 19:19:47 +0200 > "Ulf Samuelsson" <[EMAIL PROTECTED]> wrote: > >> Haavard Skinnemoen wrote: >>> It's a bit hard to see what your proposal is all about when you >>> create a new file instead of modifying the exising one... >>> >> >> If you want to s

Re: [U-Boot-Users] Patch to clean up syntax highlighting

2008-06-12 Thread Jerry Van Baren
Steven A. Falco wrote: > My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c > file, because it apparently does not parse C ifdef/else/endif. The following > patch does not change the behavior of the code at all, but does allow the > editor to properly syntax-highlight t

Re: [U-Boot-Users] Can't get strong symbol to override weak one

2008-06-12 Thread Ben Warren
Hello, On Tue, Jun 10, 2008 at 10:55 PM, Ben Warren <[EMAIL PROTECTED]> wrote: > Hi, > > Not specifically U-boot related, but hopefully a smart person here can help. > > I have a weak symbol defined as: > int cpu_eth_init(bd_t *bis) __attribute((weak, alias("__def_eth_init"))); (1) > > I've crea

[U-Boot-Users] Value of CFG_PCI_MEMBASE

2008-06-12 Thread Sachin Rane, Alphion Communications
Hi,   In the 'include/configs/ocotea.h" file: 8<-   #define CFG_PCI_MEMBASE 0x8000  /* mapped pci memory    */   8<---

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > If you want to see changes right now, > then just replace the existing file with the Diopsis file and do a diff. No, this is not the way we work. We submit patches that can be reviewed, not chunks of code that the reviewer has to anayze with additiona

Re: [U-Boot-Users] Silent console enhancement patch

2008-06-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > The silent console as currently implemented is not silent if a board has been > newly manufactured. I.e., some messages are printed prior to being able to > set > the "silent" environment variable the first time. > > The following patch adds a new c

Re: [U-Boot-Users] [PATCH 1/4] Change initdram() return type to phys_size_t

2008-06-12 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > While I do not know how Wolfgang is applying patches, > I might inject that adding a "-3" flag to a "git am" I normally use git-am -3 -i -u --whitespace=strip > command might help as it will figure out some of these > more complicated merges