Skip to content
Snippets Groups Projects
  1. Mar 05, 2015
    • John Crispin's avatar
      mtd: fix md5sum error checking · b48b7a76
      John Crispin authored
      
      In mtd_verify(), the return value of md5sum() has been
      interpreted as error if nonzero, while the function
      returns number of processed bytes, which caused
      mtd_verify() to always fail.
      
      This patch fixes error checking to interpret only
      negative values as errors.
      
      Signed-off-by: default avatarZefir Kurtisi <zefir.kurtisi@neratec.com>
      
      SVN-Revision: 44605
      b48b7a76
  2. Feb 27, 2015
  3. Dec 03, 2014
  4. Dec 02, 2014
  5. Nov 26, 2014
    • John Crispin's avatar
      mtd: fix 2 compiler warnings · 9a70c8ef
      John Crispin authored
      
      mtd.c:544:7: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ssize_t’ [-Wformat]
      mtd.c:602:1: warning: label ‘done’ defined but not used [-Wunused-label]
      
      Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
      
      SVN-Revision: 43383
      9a70c8ef
  6. Nov 03, 2014
    • John Crispin's avatar
      license info - revert r43155 · 74a3a77b
      John Crispin authored
      
      turns out that r43155 adds duplicate info.
      
      Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
      
      SVN-Revision: 43167
      74a3a77b
    • John Crispin's avatar
      Add more license tags with SPDX identifiers · c10d9748
      John Crispin authored
      
      Note, that licensing stuff is a nightmare: many packages does not clearly
      state their licenses, and often multiple source files are simply copied
      together - each with different licensing information in the file headers.
      
      I tried hard to ensure, that the license information extracted into the OpenWRT's
      makefiles fit the "spirit" of the packages, e.g. such small packages which
      come without a dedicated source archive "inherites" the OpenWRT's own license
      in my opinion.
      
      However, I can not garantee that I always picked the correct information
      and/or did not miss license information.
      
      Signed-off-by: default avatarMichael Heimpold <mhei@heimpold.de>
      
      SVN-Revision: 43155
      c10d9748
  7. Nov 02, 2014
  8. Sep 21, 2014
  9. Sep 02, 2014
  10. May 21, 2014
  11. Mar 30, 2014
  12. Mar 26, 2014
    • Felix Fietkau's avatar
      mtd: add support for bad blocks in NAND flash · 608f4fe3
      Felix Fietkau authored
      
      NAND flash is very likely to contain bad blocks.
      
      Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system.
      
      This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully.
      
      Patch by: Matthew Redfearn <matt.redfearn@nxp.com>
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      
      SVN-Revision: 40021
      608f4fe3
  13. Nov 19, 2013
  14. Nov 14, 2013
    • Felix Fietkau's avatar
      ar71xx: Unifi AP Pro sysupgrade patch · ff17114b
      Felix Fietkau authored
      
      The current implementation of mtd will not append the backup
      file created by sysupgrade to the correct partition, as mtd will append
      the data to first jffs2 partition it finds. As the kernel is also
      stored on a jffs2 partition (which resides before the overlay
      partition), the data will be appended to this partition.
      
      To fix this problem, a new option
      
      -s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"
      
      is added to mtd.
      
      Signed-off-by: default avatarPeter Wagner <tripolar@gmx.at>
      
      SVN-Revision: 38807
      ff17114b
  15. Sep 19, 2013
  16. Jul 14, 2013
  17. Jun 21, 2013
Loading