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

RE: How much flash?

Thanks for the info. According to the ptablespec which I haven't
changed, the size of jffs on /dev/flash2 is 0x50000 (327680) bytes. But
according to df, I had only 192 1K blocks. Is df wrong?

I had another question anbout the file system on flash. When I put a new
image on the board, I also put a few binaries on /mnt/flash. After that,
/dev/flash2 was about 71% full according to df. I then tried to
overwrite one of the binaries (~75k) with ftp, but I got a "No space on
device" error. I the tried removing the binary with rm, by no space was
reclaimed. What do I need to do to remove files from /mnt/flash and
reclaim space?



On Thu, 2001-10-11 at 23:25, Jonas Holmberg wrote:
> > How much flash does the etrax lx board have? I thought it was 2MB. But I did a df 
> > after I burned an image on it, and this is what I get. /dev/flash2 seems quite small. 
> > /var seems to have quite a bit. Can I allocate more stuff for /dev/flash2. Are there 
> > other flash chips I should be seeing?
> The Developer Board and Developer Board LX have one 2MB flash chip. You can
> partition the flash any way you want but here are some recommendations:
> <http://mhonarc.axis.se/dev-etrax/msg00962.html>
> The easiest way to change the size of a partition is to edit the file
> ptablespec and then do "make images". The file fimage is what gets written
> to the flash chip when you do a "./flashit" (except hardware ID and checksum)
> so look at the fimage-target in the Makefile for details about the layout.
> /Jonas