Skip to content
Snippets Groups Projects
  1. Oct 18, 2009
  2. Sep 04, 2009
  3. Aug 11, 2009
  4. Aug 09, 2009
  5. Jul 26, 2009
  6. Jul 24, 2009
    • Wolfgang Denk's avatar
      Revert "zlib: updated to v.1.2.3" · f33b325a
      Wolfgang Denk authored
      
      This reverts commit b201171f.
      
      The commit caused problems for example when unpacking kernel images:
      
      	   Uncompressing Kernel Image ... Error: inflate() returned -2
      	   GUNZIP: uncompress, out-of-mem or overwrite error - must
      	   RESET board to recover
      
      Conflicts:
      
      	include/u-boot/zlib.h
      	lib_generic/zlib.c
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      f33b325a
  7. Jul 23, 2009
  8. Jul 22, 2009
  9. Jul 19, 2009
    • Mike Frysinger's avatar
      compiler.h: unify system ifdef cruft here · 37566090
      Mike Frysinger authored
      
      Shove a lot of the HOSTCC and related #ifdef checking crap into the new
      compiler.h header so that we can keep all other headers nice and clean.
      
      Also introduce custom uswap functions so we don't have to rely on the non
      standard implementations that a host may (or may not in the case of OS X)
      provide.  This allows mkimage to finally build cleanly on an OS X system.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      37566090
  10. Jul 17, 2009
    • Scott Wood's avatar
      Remove legacy NAND and disk on chip code. · be33b046
      Scott Wood authored
      
      Legacy NAND had been scheduled for removal.  Any boards that use this
      were already not building in the previous release due to an #error.
      
      The disk on chip code in common/cmd_doc.c relies on legacy NAND,
      and it has also been removed.  There is newer disk on chip code
      in drivers/mtd/nand; someone with access to hardware and sufficient
      time and motivation can try to get that working, but for now disk
      on chip is not supported.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      be33b046
  11. Apr 30, 2009
    • Ricardo Ribalda Delgado's avatar
      lib_generic: gunzip: New function zunzip · 35f6a943
      Ricardo Ribalda Delgado authored
      
      Separate gunzip in
      
      gunzip: Find the end of the header and call zunzip.
      zunzip: Inflate gunzip block without header.
      
      UBI fs blocks can be compresed in lzo, zlib or no-compression. The
      current implementation of u-boot supported all the compressions but
      there was a bug in the implementation of the zlib blocks.
      
      UBIFS's Zlib blocks do not have header but they were compressed using
      gunzip, a function used to decompress gunzip files/sectors with a
      header.
      
      This patch adds a new function zunzip that uncompress a zlib block with
      no header.
      
      Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@uam.es>
      35f6a943
  12. Apr 04, 2009
  13. Mar 20, 2009
    • 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
    • Mike Frysinger's avatar
      vsprintf: pull updates from Linux kernel · 6c6166f5
      Mike Frysinger authored
      
      This brings in support for the %p modifier which allows us to easily print
      out things like ip addresses, mac addresses, and pointers.
      
      It also converts the rarely used 'q' length modifier to the common 'L'
      modifier when dealing with quad types.
      
      While this new code is a bit larger (~1k .text), most of it should be made
      up by converting the existing ip/mac address code to use format modifiers.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      6c6166f5
  14. Feb 11, 2009
  15. Jan 27, 2009
    • Matthias Fuchs's avatar
      Fix gunzip in case of insufficient output buffer · 107b801c
      Matthias Fuchs authored
      
      U-Boot's gunzip() function does not handle the return code
      of zlib's inflate() function correctly. gunzip() is implemented
      to uncompress all input data in one run. So the correct return
      code for the good case is Z_STREAM_END. In case of insufficient
      output buffer memory inflate returns Z_OK. For gunzip() this
      is an error.
      
      It also makes sense to me to call inflateEnd() also in case
      of an error.
      
      Signed-off-by: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
      107b801c
  16. Dec 15, 2008
    • Kumar Gala's avatar
      Introduce addr_map library · 63240ba8
      Kumar Gala authored
      
      Add a library that helps in translating between virtual and physical
      addresses.  This library can be useful as a simple means to implement
      map_physmem() and virt_to_phys() for platforms that need functionality
      beyond the simple 1:1 mapping.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      63240ba8
  17. Nov 19, 2008
    • Kyungmin Park's avatar
      UBI: Add basic UBI support to U-Boot (Part 6/8) · 7e6ee7ad
      Kyungmin Park authored
      
      This patch adds basic UBI (Unsorted Block Image) support to U-Boot.
      It's based on the Linux UBI version and basically has a "OS"
      translation wrapper that defines most Linux specific calls
      (spin_lock() etc.) into no-ops. Some source code parts have been
      uncommented by "#ifdef UBI_LINUX". This makes it easier to compare
      this version with the Linux version and simplifies future UBI
      ports/bug-fixes from the Linux version.
      
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      7e6ee7ad
  18. Oct 22, 2008
  19. Oct 21, 2008
  20. Oct 18, 2008
  21. Sep 13, 2008
  22. Sep 12, 2008
  23. Aug 29, 2008
  24. Aug 20, 2008
  25. Aug 12, 2008
  26. Jul 14, 2008
  27. Jul 10, 2008
  28. Jul 09, 2008
  29. Jun 30, 2008
  30. Jun 28, 2008
Loading