[#4087] uboot can't eeprom write big file to spi flash on bf527 ezkit

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#4087] uboot can't eeprom write big file to spi flash on bf527 ezkit

Submitted By: Mingquan Pan

Open Date

2008-05-05 05:14:57     Close Date

2008-05-05 05:59:47

Priority:

Medium     Assignee:

Nobody

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

N/A

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: uboot can't eeprom write big file to spi flash on bf527 ezkit

Details:

 

uboot can't eeprom write big file(bigger than about 0x100000) to spi flash on bf527 ezkit.

 

U-Boot 1.1.6-svn1172 (ADI-2008R2-pre) (Apr  8 2008 - 17:18:38)

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.0)

Board: ADI BF527 EZ-Kit board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   E2:CD:BC:FF:D0:39

I2C:   ready

Hit any key to stop autoboot:  0

bfin> tftp 0x2000000 rootfs.jffs2

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'rootfs.jffs2'.

Load address: 0x2000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         ##########################################################

done

Bytes transferred = 2954480 (2d14f0 hex)                                                                                                                  

bfin> eeprom write 0x2000000 0x120000 0xf0000

 

EEPROM @0x0 write: addr 02000000  off 120000  count 983040 ... Invalid sector! done

bfin> eeprom write 0x2000000 0x120000 0xe0000

 

EEPROM @0x0 write: addr 02000000  off 120000  count 917504 ... ............................done

 

Follow-ups

 

--- Mingquan Pan                                             2008-05-05 05:22:48

It looks the issue is eeprom write can't operate at address lator than

0x200000.

 

bfin> eeprom write 0x2000000 0x1f0000 0x3000

 

EEPROM @0x0 write: addr 02000000  off 1f0000  count 12288 ... ..done

bfin> eeprom write 0x2000000 0x200000 0x3000

 

EEPROM @0x0 write: addr 02000000  off 200000  count 12288 ... Invalid sector!

done

 

Is there some jumper?

 

--- Mingquan Pan                                             2008-05-05 05:59:46

sorry, I didn't realize the spi flash on bf527 is only 2M. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes