Skip to content
Commits on Jan 23, 2016
  1. Merge pull request #1 from jhofstee/fix-fd

    Fix fd
    committed Jan 23, 2016
  2. @jhofstee

    check the correct file descriptor

    Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
    jhofstee committed Jan 23, 2016
  3. @jhofstee

    update version information (seems to be forgotten)

    Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
    jhofstee committed Jan 23, 2016
Commits on Dec 3, 2015
  1. writeloader: avoid -lm

    Avoid linking against math library to make tool smaller in limited
    environments such as initramfs where pulling math library costs
    too much space.
    
    Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
    Ladislav Michl committed with Dec 3, 2015
Commits on Oct 5, 2015
  1. writeloader: make it work with recent kernel

    The tools does not work with newer kernel, see:
    
    http://lists.infradead.org/pipermail/linux-mtd/2013-December/050739.html
    
    This patch fixes the issue and also changes the main loop to be a little
    bit more efficient and readable.
    
    Original:
       text    data     bss     dec     hex filename
       4554     368      20    4942    134e writeloader
    Modified:
       text    data     bss     dec     hex filename
       4430     368      20    4818    12d2 writeloader
    
    It also calls closedir on /sys/bus/platform/devices/ that was not
    done and removes sizeof(unsigned char) since is 1 by definition.
    
    Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
    Ladislav Michl committed with Oct 5, 2015
Commits on Oct 18, 2012
  1. @eballetbo

    README: Add build instructions.

    Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
    Acked-by: Agusti Fontquerni i Gorchs <afontquerni@iseebcn.com>
    eballetbo committed Oct 18, 2012
  2. @eballetbo

    writeloader: Use LINUX_VERSION_CODE for MTD_MODE_* defines.

    As the mtd API is changing to use MTD_MODE_* to MTD_FILE_MODE_* we
    need to expliticly fix the code to allow builds for kernel >= 3.1.
    
    This patch solves [BUG #35]
        http://bug.isee.biz/view.php?id=35
    
    Reported-by: Robert Wörle>rwoerle@mibtec.de>
    Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
    Acked-by: Javier Martinez Canillas <martinez.javier@gmail.com>
    eballetbo committed Oct 18, 2012
Commits on Oct 17, 2012
  1. @eballetbo

    Makefile: Use environment variables to use the cross-compiler.

    In order to use the cross libraries and cross-compiler tools it's
    easier to adapt the makefile to use some environment variables.
    
    Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
    eballetbo committed Oct 17, 2012
Commits on Jun 7, 2012
  1. writeloader: Add Author ( #1 )

    Agusti Fontquerni i Gorchs committed Jun 7, 2012
Commits on Dec 15, 2011
Something went wrong with that request. Please try again.