[U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver

Sam Song samsongshu at yahoo.com.cn
Tue Nov 21 14:25:26 CET 2006


Tolunay Orkun <listmember at orkun.us> wrote:
> Andrew Dyer wrote:
> > I think we had a long e-mail exchange about this
> > problem in may of '05 some of which is here:
>
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/17379
> >
> > it looks like a fix never got committed (at least
> > as of the last time I pulled from git which was 
> > admittedly a while ago).
> >   
> Thanks Andew for jogging my memory. I now remember
> that discussion and actually I did submit a patch
> which was committed. It is in the git. I 
> just checked it. It was committed Feb 28, 2006
> 
>
http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commitdiff;h=79b4cda076069d04122f0d863bcb822b5e596c93
> 
> Sam you said this in your original mail:
> > What could be the problem be? I use the CFI driver
> > from GIT repository on Nov. 2.
> Sam please do sync up with the git and please make
> sure you do have latest code next time.

My bad! After a quick upgrade to 1.1.6, CFI driver 
worked fine with/without buffer writes! I would not
play it again.

Apologize for the noise...

U-Boot 1.1.6 (Nov 21 2006 - 21:13:51), Build:
mini-1.1.6

CPU:   8548_E, Version: 1.1, (0x80390011)
Core:  E500, Version: 1.0, (0x80210010)
Clock Configuration:
       CPU: 999 MHz, CCB: 399 MHz,
       DDR: 199 MHz, LBC:  24 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled

[......]
DDR:   512 MB
SDRAM test phase 1:
SDRAM test phase 2:
SDRAM test passed.
FLASH:  8 MB
L2 cache 512KB: enabled
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
MPC8548E_Rev1.1=> fli

Bank # 1: CFI conformant FLASH (16 x 16)  Size: 8 MB
in 128 Sectors
 Erase timeout 16384 ms, write timeout 1 ms, buffer
write timeout 5 ms, buffer size 32
  Sector Start Addresses:
 FF800000      FF810000      FF820000      FF830000   
  
 [...]
 FFFD0000 ERO  FFFE0000  RO  FFFF0000  RO
MPC8548E_Rev1.1=>
MPC8548E_Rev1.1=> cp.b ffa00000 ffc00000 180000
Copy to Flash... done
MPC8548E_Rev1.1=> iml
Image at FFA00000:
   Image Name:   Simple Embedded Linux Framework
   Image Type:   PowerPC Linux RAMDisk Image (gzip
compressed)
   Data Size:    1447416 Bytes =  1.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Image at FFC00000:
   Image Name:   Simple Embedded Linux Framework
   Image Type:   PowerPC Linux RAMDisk Image (gzip
compressed)
   Data Size:    1447416 Bytes =  1.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
MPC8548E_Rev1.1=>

Sorry,

Sam


	

	
		
___________________________________________________________ 
Mp3疯狂搜-新歌热歌高速下
http://music.yahoo.com.cn/?source=mail_mailbox_footer




More information about the U-Boot mailing list