Author Topic: how to 'reformat' a Z file system ??  (Read 1866 times)

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
how to 'reformat' a Z file system ??
« on: November 15, 2004, 01:32:31 pm »
All,

My 5500 is partially bricked. As part or a re-firb the plan is to re-flash to a Sharp ROM and then re-flash to OZ. The Sharp flash fails part way with a file system error message. Most of the files seem to be in place. The system ends in root in a terminal.

How can the file system be reformated? Has anyone seen this error message?

Thanks,
Dan

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
how to 'reformat' a Z file system ??
« Reply #1 on: November 15, 2004, 03:24:23 pm »
Flashing your Z with a ROM is like formatting the flash as the exact content of the ROM image
is written into the flash. The ROM image is always the same size of your flash, even if the content of
the ROM image doesn't add up to the flash size (~16Mb for a Z5500). The ROM image is padded to the correct size at compilation.

Note: I have no idea how Sharps OSPACK works. The above statement is true for OZ and a Z5500.

It might be worth a try to zero-out your ROM before flashing (ie dd if=/dev/zero of=$FLASH), but it sounds like your flash chip is toast  

Good luck!
Webmaster of hentges.net & Embedded Linux Developer.

dansawyer

  • Sr. Member
  • ****
  • Posts: 293
    • View Profile
    • http://
how to 'reformat' a Z file system ??
« Reply #2 on: November 15, 2004, 04:45:19 pm »
Thanks,

Is $FLASH a known variable? Or is it representative and should a real device added??

Dan