1. 27 Oct, 2016 1 commit
    • Bernhard Nortmann's avatar
      Makefile: Adjust default targets for "make" and "make install" · 5244e88f
      Bernhard Nortmann authored
      
      
      Fixing the (currently erroneous) compilation of sunxi-pio will
      cause "make target-tools" to require a suitable cross-compiler
      installed. Otherwise "make target-tools" fails to build.
      As that is part of our default target ("make all"), we might
      possibly introduce a build breakage on quite a few systems.
      
      Avoid this situation by redefining "make tools" as the default,
      and change "make install" to "make install-tools", i.e. limit
      the standard targets to those builds that only rely on the host
      toolchain. From now, if you actually want to include the cross-
      compiling steps, use "make all" or "make install-all" instead.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      5244e88f
  2. 26 Oct, 2016 3 commits
  3. 25 Oct, 2016 4 commits
  4. 24 Oct, 2016 3 commits
  5. 22 Oct, 2016 3 commits
  6. 21 Oct, 2016 1 commit
    • Bernhard Nortmann's avatar
      Add support for auto-updated version information · 57928140
      Bernhard Nortmann authored
      
      
      The Makefile will now use a script (autoversion.sh) to update
      version.h, which in turn defines a VERSION string and gets
      included from common.h.
      
      The idea is that version.h normally receives a git-describe
      based identifier that represents the current checkout. In
      cases where git might not be available, e.g. for builds from
      a tarball, the script will instead fall back to a predefined
      version (that should reflect the most recent release tag).
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      57928140
  7. 05 Oct, 2016 1 commit
  8. 01 Oct, 2016 1 commit
  9. 06 Jun, 2016 5 commits
  10. 03 Jun, 2016 2 commits
  11. 31 May, 2016 2 commits
  12. 30 May, 2016 2 commits
  13. 28 May, 2016 2 commits
  14. 27 May, 2016 1 commit
  15. 26 May, 2016 3 commits
  16. 24 May, 2016 1 commit
    • Bernhard Nortmann's avatar
      fexc: Fix thinko in script decompiler · 6271d370
      Bernhard Nortmann authored
      
      
      Both the error output in function decompile_section() and the
      definition of GPIO_BANK_MAX in script.h suffered from an "off
      by one" logic. The bank numbering in the .bin is based on 1,
      so it should be added to ('A' - 1) for human-readable output,
      and the maximum number corresponding to 'N' is 14.
      
      This became apparent when trying to translate a fex2bin-compiled
      a80_optimus_board.bin back to its original .fex equivalent.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      6271d370
  17. 16 May, 2016 1 commit
  18. 13 May, 2016 2 commits
  19. 11 May, 2016 1 commit
    • Siarhei Siamashka's avatar
      fel: Add fel spl command support for Allwinner A64 · 52768471
      Siarhei Siamashka authored
      
      
      The SCTLR bits are somewhat different because the V bit is set
      to 0 on A64 (Low exception vectors, base address 0x00000000) and
      the UNK bit (Reads of this bit return an UNKNOWN value) is also not
      the same as on the other SoCs. So the SCTLR check can be relaxed.
      
      Changes in v2:
       - Because the SRAM A and SRAM C reside back-to-back in the address
         space, it is possible to use 40 KiB of SRAM by the SPL for its
         code+data+stack. So the FEL backup storage is moved from 0x18000
         to 0x1A000 to support this.
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      52768471
  20. 09 May, 2016 1 commit
    • Siarhei Siamashka's avatar
      fel-sdboot.sunxi: Add support for A64 and A80 · b4d32f07
      Siarhei Siamashka authored
      This small bootable stub, which just passes control to the
      FEL code in the BROM, needs to be adjusted to also support
      Allwinner A64 and Allwinner A80 because the BROM is located
      at a different address there.
      
      The SD card boot has a very low priority on Allwinner A64, but
      it at least has a higher priority than the SPI NOR Flash:
      
          https://linux-sunxi.org/BROM#A64
      
      
      
      So this patch may help to simplify the FEL mode activation on
      devices, which are booting their firmware from the SPI NOR Flash.
      
      Changes in v2:
       - Use SCTLR.V to detect the exception vectors location as
         suggested by Jens Kuske.
       - Add a padding of 32 NOP instructions in the beginning as
         a workaround for some strange failures.
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      b4d32f07