Skip to contentSkip to conversation

Erase at 0x00230000 failed immediately: -EROFS. Is the sector locked?

U-Boot-Users sun 1 participant 1 message Oct 24, 2007

lore
Share & tools
lore

sun

author
#0 lore raw

Hi.all!

Under uboot I erased the flash and programed the rootfs img(jffs2) to the flash. After linux boot, then linux print the following information:

Erase at 0x00230000 failed immediately: -EROFS. Is the sector locked?

When I modified the file in the jffs2, linux display "No space left on the dev". And run df, linux display the following information:

  # df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock0            4096      4096         0 100% /

but I only used 1.7MB and the size of mtdblock0 is 4MB.

thanks!

---------------------------------
??????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071024/527654d5/attachment.htm