This is a set of patches, which are intended to eventually support booting
Allwinner A80 over USB with the "fel spl" and "fel uboot" commands.

The memory map in Allwinner A80 differs from all the other known
Allwinner SoC variant. The SPL (or BOOT0) load location is now moved
to 0x10000 from 0x0, which means that we can't have this address
hardcoded in the 'fel' tool, but need to make it configurable.

Additionally, "fel: Report FEL stack pointers" improves diagnostic
messages by reporting the stack locations. Also "fel-to-spl-thunk.S:
Fix safety guard which checks for enabled cache" and "Makefile:
'fel' tool depends on fel-to-spl-thunk.h" provide fixes for a few
minor problems, discovered when working on this code.

The last patch "fel: add fel spl support for A80" has not been
fully tested on real A80 hardware yet (to boot at least the SD card
variant of BOOT0), so it should not be applied until somebody
confirms that it actually works.


Siarhei Siamashka (6):
  fel: Report FEL stack pointers
  fel: get rid of the FEL_EXEC_SCRATCH_AREA constant
  fel-to-spl-thunk.S: Fix safety guard which checks for enabled cache
  Makefile: 'fel' tool depends on fel-to-spl-thunk.h
  fel: Make the SPL load address configurable instead of hardcoded 0x0
  fel: add fel spl support for A80

 Makefile           |   2 +-
 fel-to-spl-thunk.S |  25 ++++-----
 fel-to-spl-thunk.h |  89 +++++++++++++++---------------
 fel.c              | 157 +++++++++++++++++++++++++++++++++++++++--------------
 4 files changed, 173 insertions(+), 100 deletions(-)

-- 
2.4.6

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to