Saturday, November 26, 2011

UFFS v1.3.4 is released

UFFS v1.3.4 is released.

  - New UO_NOECC option for skipping ECC.
  - POSIX compliance uffs_seek().
  - Improved unclean page detection.
  - Optional page data CRC.
  - Bug fixes.
  - Other improvements.

Note: If you are upgrading from older version of UFFS, you need to format UFFS partitions due to spare layout changes.

The new 'seal' byte is for faster (and safer) detection of an unclean page, it's the last byte of spare data. For those who provide 'ReadPageWithLayout()' in the flash driver, the ReadPageWithLayout() function should return UFFS_FLASH_NOT_SEALED if the 'seal' byte is not 0xFF.

It is possible to tell UFFS skip ECC (for faster reading of file) when open a file, set UO_NOECC bit in  'oflags'.

To enable data CRC feature, define CONFIG_ENABLE_PAGE_DATA_CRC in uffs_config.h.

Source code package can be downloaded from sourceforge.net:  uffs-v1.3.4.tar.bz2

3 comments:

  1. What will it take to convert this to a Yottabyte FileSystem?

    ReplyDelete
  2. We are migrating our implementation of UFFS to new hardware. This means that the flash interface below UFFS will become
    NOR-like because the bad block handling will be done elsewhere.

    Have you got any instructions on how to use UFFS on top of NOR flash? The UFFS homepage (https://sites.google.com/site/gouffs/)
    states that UFFS supports NOR flash. UFFS appears to be based on the uffs_TagStoreSt structures being persisted in the NAND flash
    spare area. NOR flash does not have a spare area in general. So in order to use UFFS on top of NOR flash, is it necessary to use
    some of the normal page area as a speare area?

    TIA.

    ReplyDelete