1. 11 Feb, 2017 1 commit
  2. 27 Jan, 2017 1 commit
  3. 28 Dec, 2016 4 commits
  4. 13 Dec, 2016 1 commit
    • Bernhard Nortmann's avatar
      fel: Improve on handling invalid options · 1d2182c4
      Bernhard Nortmann authored
      
      
      For unknown option-style arguments (starting with '-'), exit after
      printing an error message.
      
      This avoids situations where sunxi-fel would not report incorrect
      options (with no FEL device attached/detected) and fail with
      "Allwinner USB FEL device not found" instead, which is undesirable.
      
      TODO: Might have to eventually migrate this to some better argument
      parsing, e.g. getopt(3) or something similar.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      1d2182c4
  5. 07 Dec, 2016 2 commits
  6. 01 Dec, 2016 2 commits
  7. 29 Nov, 2016 9 commits
  8. 19 Nov, 2016 2 commits
  9. 13 Nov, 2016 1 commit
  10. 11 Nov, 2016 1 commit
    • Bernhard Nortmann's avatar
      fel: Lower timeout to a more practical value · d3e860b0
      Bernhard Nortmann authored
      
      
      The previous timeout of 60 seconds was mostly based on scenarios
      where large ("write") transfers take place. But it could easily
      become annoying if users are awaiting completion of simpler
      commands like "read" or "hexdump", and for some reason FEL fails
      to respond.
      
      Therefore I've decided to lower the timeout value to 10 seconds,
      adjust the maximum chunk size accordingly and - while at it -
      improve the source comments documenting their relationship.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      d3e860b0
  11. 10 Nov, 2016 1 commit
  12. 26 Oct, 2016 2 commits
  13. 25 Oct, 2016 2 commits
  14. 24 Oct, 2016 2 commits
    • Bernhard Nortmann's avatar
      Have programs display version information in their usage help · 569f1896
      Bernhard Nortmann authored
      
      
      This way we don't have to introduce new options for retrieving
      version info. For those programs that do not output their usage
      by default (e.g. because they would process stdin), you may pass
      a "-?" option to get help - and thus version information.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      569f1896
    • NiteHawk's avatar
      fel: Add the ability to pass uEnv-style data via FEL (#60) · a8eadb9b
      NiteHawk authored
      
      
      * fel: Add the ability to pass uEnv-style data via FEL
      
      The corresponding format is recognized by having the environment
      data (= text) start with a special "#=uEnv" marker. Upon transfer
      of such a file, sunxi-fel will detect this condition, and set a
      field in the SPL header accordingly - which in turn also requests
      U-Boot to auto-import it (i.e. merge with the default environment).
      
      (Note that this requires a U-Boot version that knows about the
      new meaning of this field, namely v2016.09 or later. Older U-Boot
      versions will fail to import the uEnv-style data.)
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      a8eadb9b
  15. 22 Oct, 2016 1 commit
  16. 27 May, 2016 1 commit
  17. 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
  18. 08 May, 2016 4 commits
  19. 06 May, 2016 1 commit
  20. 05 May, 2016 1 commit
    • Bernhard Nortmann's avatar
      fel: add "sid" command to print SID (128-bit key) on supported SoCs · 848a054c
      Bernhard Nortmann authored
      
      
      This patch makes use of the new aw_fel_readl_n() function to output
      the first four 32-bit values (SID key) from an SoC-specific address.
      The corresponding e-fuses may not necessarily start at the SID
      "base" address, e.g. on H3/A83T they are at <base+0x200>.
      
      Note: SoC support is currently incomplete. In particular, reading
      the SID on A31(s) is unsupported. Accessing it there is complicated
      by the fact that Allwinner moved this information from the SoC into
      the PMIC/AXP221.
      Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
      848a054c