[#7719] flash operation on bf518f ezbrd would print timeout if turn icache off
Move Item | Delete Item | Clone Item | Merge Item
Submitted By: Mingquan Pan
Open Date
2013-03-27 16:42:23
Priority:
Assignee:
Category:
Fixed In Release:
Found In Release:
Status:
Board:
Processor:
Silicon Revision:
Resolution:
Is the bug repeatable?:
Summary:
Details: (Edit)
flash operation on bf518f ezbrd would print timeout if turn icache off.
U-Boot 2013.01 (ADI-2013R1-pre)-00338-gf20bfed-dirty (Mar 21 2013 - 00:54:02), Build: jenkins-label=UBOOT_BF518F-EZKIT-6
CPU: ADSP bf518-0.0 (Detected Rev: 0.0) (parallel flash boot)
Board: ADI BF518F EZ-Board board
Support: http://blackfin.uclinux.org/
Clock: VCO: 625 MHz, Core: 156.250 MHz, System: 78.125 MHz
RAM: 64 MiB
Flash: 4 MiB
MMC: Blackfin SDH: 0
In: serial
Out: serial
Err: serial
KGDB: [on serial] ready
Net: bfin_mac
Hit any key to stop autoboot: 0
bfin>
bfin> print
addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
autoload=no
baudrate=57600
bootargs=root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600
bootcmd=bootm
bootdelay=9
date_tested=Thu Mar 21 04:13:22 GMT-8 2013
ethact=bfin_mac
ethaddr=ea:d4:cd:81:93:96
fileaddr=1000000
filesize=1F8C0F
flashboot=bootm 0x20100000
gatewayip=10.100.4.174
hostname=bf518f-ezbrd
ipaddr=10.100.4.50
loadaddr=0x1000000
loads_echo=1
nc=set ncip ${serverip};set stdin nc;set stdout nc;set stderr nc
netmask=255.255.255.0
nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3
nfsboot=tftp $(loadaddr) $(nfsfile);run nfsargs;run addip;bootm
nfsfile=vmImage
ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600
ramboot=tftp $(loadaddr) $(ramfile);run ramargs;run addip;bootm
ramfile=uImage
rootpath=/romfs
serveraddr=00:0e:0c:65:34:b9
serverip=10.100.4.174
stderr=serial
stdin=serial
stdout=serial
tftp_boot=tftp 0x1000000 linux.dxe;boote 0x1000000
ubootfile=u-boot.ldr
update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 +$(filesize);erase 0x20000000 +$(filesize);cp.b $(loadaddr) 0x20000000 $(filesize)
Environment size: 1333/8188 bytes
bfin> protect off 0x20100000 0x203fffff
................................................ done
Un-Protected 48 sectors
bfin> erase 0x20100000 0x203fffff
................................................ done
Erased 48 sectors
bfin> icache off
bfin> erase 0x20100000 0x203fffff
................................Flash erase timeout at address 20300000 data 36024081
Flash erase timeout at address 20310000 data 36024081
Flash erase timeout at address 20320000 data 36024081
Flash erase timeout at address 20330000 data 36024081
Flash erase timeout at address 20340000 data 36024081
Flash erase timeout at address 20350000 data 36024081
bfin> protect off 0x20100000 0x203fffff
................................Flash unprotect timeout at address 20300000 data 36024081
.Flash unprotect timeout at address 20310000 data 36024081
.Flash unprotect timeout at address 20320000 data 36024081
.Flash unprotect timeout at address 20330000 data 36024081
.Flash unprotect timeout at address 20340000 data 36024081
.Flash unprotect timeout at address 20350000 data 36024081
.Flash unprotect timeout at address 20360000 data 36024081
.Flash unprotect timeout at address 20370000 data 36024081
.Flash unprotect timeout at address 20380000 data 36024081
.Flash unprotect timeout at address 20390000 data 36024081
.Flash unprotect timeout at address 203a0000 data 36024081
.Flash unprotect timeout at address 203b0000 data 36024081
.Flash unprotect timeout at address 203c0000 data 36024081
.Flash unprotect timeout at address 203d0000 data 36024081
.Flash unprotect timeout at address 203e0000 data 36024081
.Flash unprotect timeout at address 203f0000 data 36024081
. done
Un-Protected 48 sectors
bfin>
This issue happens from about Feb 18 on trunk head.
This bug is specific to address 20310000-203f0000