[#4730] SVN trunk uboot fail to write image into SPI flash on bf51x with common SPI flash driver

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

[#4730] SVN trunk uboot fail to write image into SPI flash on bf51x with common SPI flash driver

Submitted By: Sonic Zhang

Open Date

2008-12-18 04:33:52     Close Date

2009-03-11 05:03:36

Priority:

Medium High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

EZ-Kit Lite     Processor:

BF518

Silicon Revision:

    Resolution:

Out of Date

Is the bug repeatable?:

N/A     

Summary: SVN trunk uboot fail to write image into SPI flash on bf51x with common SPI flash driver

Details:

 

SVN trunk uboot fail to write image into SPI flash on bf51x with common SPI flash driver.

 

bfin> sf write 0x1000000 0 $(filesize)

 

bfin> sf read 0x2000000 0 $(filesize)

 

bfin> cmp.b 0x1000000 0x2000000 $(filesize)

byte at 0x01000002 (0x8d) != byte at 0x02000002 (0x88)

 

Follow-ups

 

--- Mike Frysinger                                           2008-12-18 09:12:24

bf51x uses the SST flash, and there is no driver for it yet.  i dont know how

"sf probe" worked for you ...

 

--- Sonic Zhang                                              2008-12-18 22:34:31

OK. Then, why not set the CONFIG_SPI and CONFIG_ENV_IS_IN_EERPOM as the default

configuration instead of current common SPI flash driver?

 

--- Mike Frysinger                                           2008-12-18 23:42:48

sorry, i was thinking bf526-ezbrd which has SST.  the ST flash seemed to work

fine for me in bf518f-ezbrd.

 

--- Sonic Zhang                                              2008-12-19 03:49:26

Can you run these 3 commmand lines without error? The old EEPROM driver works

well to write the SPI flash on bf51x, but the default common driver give me the

wrong result.

 

--- Sonic Zhang                                              2009-03-11 05:03:36

Can't replicate on SVN trunk 2008.10

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes