[#5894] BF527 uImage Flashing issue(Copy to Flash... Flash not Erased)
Submitted By: nagaraj raj
Open Date
2010-02-09 07:16:41 Close Date
2010-02-09 11:26:06
Priority:
High Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
2009R1-RC6 Release:
Category:
N/A Board:
EZKIT Lite
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Not reproducible
Uboot version or rev.:
2009R1.1 Toolchain version or rev.:
gcc-4.1
App binary format:
N/A
Summary: BF527 uImage Flashing issue(Copy to Flash... Flash not Erased)
Details:
Hi,
I'm trying to save both u-boot and uImage in BF527 Ezkit flash so the device will not need to netboot. uboot i downloaded latest version (u-boot-bf527-ezkit-para-2009R1.1-rc1.ldr)
Here's what I have done for flashing uImage:-
1. Boot device and stop u-boot's autoboot.
2. TFTP uImage to 0x1000000 ->tftp 0x1000000 uImage
3. Move uImage to flash starting at 0x20040000
3.a unprotect sectors starting at 0x20040000->protect off 0x20040000 0x203DFFFF
3.b erase sectors starting at 0x20040000-> erase 0x20040000 0x203DFFFF
3.c copy 0x100000 to 0x20040000 ->cp.b $(loadaddr) 0x20040000 $(filesize)
I got the "Copy to Flash... Flash not Erased" error message.
The Console message is as below
U-Boot 2008.10 (ADI-2009R1.1-rc1) (Dec 4 2009 - 03:19:55)
CPU: ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)
Board: ADI BF527 EZ-Kit board
Support: http://blackfin.uclinux.org/
Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz
RAM: 64 MB
Flash: 4 MB
In: serial
Out: serial
Err: serial
Net: Blackfin EMAC
MAC: 00:E0:22:FE:BD:F2
Hit any key to stop autoboot: 0
bfin> tftp 0x1000000 uImage
Using Blackfin EMAC device
TFTP from server 192.168.192.43; our IP address is 192.168.192.131
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
###T T T ##############################################################
#################################################################
#################################################################
###################################################
done
Bytes transferred = 2588058 (277d9a hex)
bfin> protect off 0x20040000 0x203DFFFF
.......................................................... done
Un-Protected 58 sectors
bfin> erase 0x20040000 0x203DFFFF
.......................................................... done
Erased 58 sectors
bfin> cp.b $(loadaddr) 0x20040000 $(filesize)
Copy to Flash... Flash not Erased
bfin>
According to belowlink also they had issue in BF537 board,
Pls help me to fix the issue.
Regards
Nagaraj
Follow-ups
--- Mike Frysinger 2010-02-09 11:25:30
if you have problems, please post your questions to the forums, not the tracker
that forum posting you referenced is a specific board issue and has no relation
to the bf527-ezkit at all
verify your switch settings by using the wiki in the mean time
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found