[#4730] SVN trunk uboot fail to write image into SPI flash on bf51x with common SPI flash driver
Submitted By: Sonic Zhang
2008-12-18 04:33:52 Close Date
Medium High Assignee:
N/A Fixed In Release:
Found In Release:
EZ-Kit Lite Processor:
Out of Date
Is the bug repeatable?:
Summary: SVN trunk uboot fail to write image into SPI flash on bf51x with common SPI flash driver
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)
--- 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
--- Sonic Zhang 2009-03-11 05:03:36
Can't replicate on SVN trunk 2008.10
File Name File Type File Size Posted By
No Files Were Found