1. 25 Mar, 2009 5 commits
  2. 23 Mar, 2009 27 commits
  3. 21 Mar, 2009 3 commits
  4. 20 Mar, 2009 5 commits
    • Michael Lawnick's avatar
      UBIFS: Missing offset relocation for compressor 'none' · faac4fd8
      Michael Lawnick authored
      
      
      On systems where U-Boot is linked to another address than it really lays
      (e.g. backup image), calls via function pointers must be fixed with a
      '+= gd->reloc_off'.
      This was not done for none_compr in ubifs_compressors_init() what leads
      to system crash on ubifsmount command.
      
      Signed-off-by: default avatarMichael Lawnick <ml.lawnick@gmx.de>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      faac4fd8
    • Stefan Roese's avatar
      UBIFS: Add UBIFS commands · ce6d0c8d
      Stefan Roese authored
      
      
      This patchset adds these UBIFS related commands:
      
      - ubifsmount
        Mount an UBIFS volume
      
      - ubifsls
        List a directory of the mounted UBIFS volume
      
      - ubifsload
        Load a file from the mounted UBIFS volume to memory
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      ce6d0c8d
    • Stefan Roese's avatar
      UBIFS: Implement read-only UBIFS support in U-Boot · 9eefe2a2
      Stefan Roese authored
      
      
      The U-Boot UBIFS implementation is largely a direct copy from the current
      Linux version (2.6.29-rc6). As already done in the UBI version we have an
      "abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock()
      ...). This makes it possible to use the original Linux code with very
      little changes. And by this we can better update to later Linux versions.
      
      I removed some of the Linux features that are not used in the U-Boot
      version (e.g. garbage-collection, write support).
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      CC: Artem Bityutskiy <dedekind@infradead.org>
      CC: Adrian Hunter <ext-Adrian.Hunter@nokia.com>
      9eefe2a2
    • Stefan Roese's avatar
      Add LZO decompressor support · b1b4e89a
      Stefan Roese authored
      
      
      This patch adds LZO decompression support to U-Boot. It is needed for
      the upcoming UBIFS support, since UBIFS uses LZO as default compressor/
      decompressor. Since we only support read-only in UBIFS, only the
      decompressor is needed.
      
      All this is copied with minor changes from the current Linux kernel
      version (2.6.28-rc8).
      
      This patch only implements this LZO decompressor support for PPC.
      Other platforms using UBIFS will have to add the required
      "include/asm/unaligned.h" as well. It should be fairly easy to copy this
      from the Linux source tree as I have done it for PPC in this patch.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      b1b4e89a
    • Stefan Roese's avatar
      Separate mtdparts command from jffs2 · 68d7d651
      Stefan Roese authored
      
      
      Currently the mtdparts commands are included in the jffs2 command support.
      This doesn't make sense anymore since other commands (e.g. UBI) use this
      infrastructure as well now. This patch separates the mtdparts commands from
      the jffs2 commands making it possible to only select mtdparts when no JFFS2
      support is needed.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      68d7d651