1. 04 May, 2016 3 commits
  2. 03 May, 2016 5 commits
  3. 20 Apr, 2016 11 commits
  4. 21 Mar, 2016 2 commits
  5. 20 Mar, 2016 2 commits
  6. 17 Dec, 2015 3 commits
  7. 16 Dec, 2015 6 commits
  8. 08 Dec, 2015 1 commit
    • Hans de Goede's avatar
      script_extractor: Remove unnecessary size argument · 55eec70c
      Hans de Goede authored
      
      
      The script_extractor tool before this commit used to take a size argument
      on the cmdline, but the passed in size was only used in some places not
      in others. Leading to a segfault if the passed in argument was not
      exactly the same as SCRIPT_SIZE.
      
      This commit drops the argument, so that script_extractor will just
      work.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      55eec70c
  9. 07 Dec, 2015 5 commits
  10. 24 Nov, 2015 2 commits
    • Siarhei Siamashka's avatar
      fel: Enable MMU on Allwinner-H3 to improve FEL transfer speed · c32eeb88
      Siarhei Siamashka authored
      
      
      When the CPU clock speed is set to 480 MHz by the U-Boot SPL,
      the performance of 'sunxi-fel write' transfers to DRAM improves
      from ~95 KB/s to ~510 KB/s.
      
      When the CPU clock speed is set to 1008 MHz by the U-Boot SPL,
      the performance of 'sunxi-fel write' transfers to DRAM improves
      from ~180 KB/s to ~510 KB/s.
      
      This means that the CPU is not a bottleneck for FEL transfers
      anymore. Further performance improvements are possible by
      increasing the AHB1 clock speed in the U-Boot SPL (up to
      something like ~900 KB/s).
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      Acked-by: default avatarPeter Korsgaard <peter@korsgaard.com>
      c32eeb88
    • Siarhei Siamashka's avatar
      fel: Support for enabling MMU after running SPL on new SoC variants · a275b246
      Siarhei Siamashka authored
      The BROM in newer SoC variants doesn't enable MMU by default anymore.
      So in order to benefit from e4b3da2b
      
      
      ("fel: Faster USB transfers via 'fel write' to DRAM"), we need to
      be able to enable it from the 'sunxi-fel' tool.
      
      This patch can be interpreted as simply reverting the changes done
      by Allwinner and bringing back the MMU support in roughly the same
      way as it was before. That's why the values in the hardware
      registers and the translation table entries replicate the A20 setup.
      
      Additionally, the code is now more defensive and introduces new
      "canary" checks for certain known magic values in the coprocessor
      registers in order to safeguard against any unpleasant surprises.
      
      MMU tuning for A80 and A64 will probably need a more sophisticated
      setup with a second level page table. Because both the SRAM and
      the BROM reside in the same 1MB section there and we need finer
      granularity. In other words, enabling the MMU on A80 and A64 is
      not supported yet.
      Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
      Acked-by: default avatarPeter Korsgaard <peter@korsgaard.com>
      a275b246