On Mon, Jul 09, 2007 at 07:50:45PM +0800, DAVID Gu wrote: > so,compliing and burning to the flash ,now execute my program can write > 4 bytes to "/dev/mtdblock/4" file. > But give the error infomation is "end_request: I/O error, dev 1f:04 > (mtdblock), sector 2". > after while,i cat /dev/mtdblock/4 > /mnt/4 > Use the hexedit open the "/mnt/4 " file, is same to before,in fact , > the file "/dev/mtdblock/4" not changed. > why can not write to the file? > how can i write the file?
As I suggested last time: did you try unlocking the flash block? Use the flash_unlock tool to do so. Hamish -- Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
