[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Can't get access to Flash



Hi,

I'm using Xilinx spartan3E-starter-kit. The on-board Flash is Intel Nor Flash 16Mx8. I have enabled Intel device support, but found the maximum flash size in menuconfig is 8MB. Dose that matter?
By erase the flash image I got the following error message:

# eraseall /dev/flash/image
eraseall /dev/flash/image
Erasing 256 Kibyte @ 0 --  0 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 40000 --  8 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 80000 -- 16 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ c0000 -- 25 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 100000 -- 33 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 140000 -- 41 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 180000 -- 50 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 1c0000 -- 58 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 200000 -- 66 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 240000 -- 75 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 280000 -- 83 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erasing 256 Kibyte @ 2c0000 -- 91 % complete.
eraseall: /dev/flash/image: MTD Erase failure: Input/output error
Erased 3072 Kibyte @ 0 -- 100% complete.      
#

When trying to write the flash image, the error message is: /dev/flash/image: Read-only file system

Any suggestions?
Thanks!

Qichen