[U-Boot-Users] 16BIT SPANSION Flash writing problem with CFI Driver
Sam Song
samsongshu at yahoo.com.cn
Fri Nov 17 13:00:41 CET 2006
Hi all,
I have a customized 8548 board which has a SPASION
S29GL064M11TFIR2, 8Mbyte, in 16-bit mode. When I
use CFI driver, Flash is detected well and erase
operation is OK but programming failed as follows.
MPC8548E_Rev1.1=> save
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash...
After a reset, I could get:
U-Boot 1.1.4 (Nov 17 2006 - 19:36:55), Build:
mini-1.1.2
CPU: 8548_E, Version: 1.1, (0x80390011)
Core: e500v2, 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.
Now running in RAM - U-Boot at: 1ffe0000
FLASH: 8 MB
L2 cache 512KB: enabled
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 0 ms, buffer
write timeout 4096 ms, buffer size 32
Sector Start Addresses:
FF800000 FF810000 FF820000 FF830000
[snip]
FFFD0000 RO FFFE0000 RO FFFF0000 RO
MPC8548E_Rev1.1=>
It seems that ENV saving operation is OK but not
work for a big file like 600K programming. It
just hanged there forever.
What could be the problem be? I use the CFI driver
from GIT repository on Nov. 2.
Thanks in advance,
Sam
___________________________________________________________
雅虎免费邮箱-3.5G容量,20M附件
http://cn.mail.yahoo.com/
More information about the U-Boot
mailing list