sunxi-tools/thunks
Andre Przywara 4fb307f1e4 fel: thunks: Use armv5te architecture for thunks
Almost all thunks are already ARMv5 safe, so we can just require this
architecture on the gas command line, to enforce compatibility with the
F1Cx00 series. This prevents accidental changes in the future.

The RMR thunk uses the ARMv7 only DSB/ISB instructions, but this runs on
ARMv8 cores only anyway, so we just force ARMv7 for this file, and avoid
code changes.

Signed-off-by: Andre Przywara <osp@andrep.de>
2022-03-06 00:47:47 +00:00
..
clrsetbits.h fel: Implement fel_clrsetbits_le32() helper 2017-01-27 23:03:18 +01:00
clrsetbits.S fel: Implement fel_clrsetbits_le32() helper 2017-01-27 23:03:18 +01:00
fel-to-spl-thunk.h fel: thunks: Fix fel-to-spl-thunk to be ARMv5TE compatible 2022-03-06 00:47:36 +00:00
fel-to-spl-thunk.S fel: thunks: Fix fel-to-spl-thunk to be ARMv5TE compatible 2022-03-06 00:47:36 +00:00
Makefile fel: thunks: Use armv5te architecture for thunks 2022-03-06 00:47:47 +00:00
memcpy.h thunks: Add assembly sources for some more thunks 2017-01-27 23:03:18 +01:00
memcpy.S thunks: Add assembly sources for some more thunks 2017-01-27 23:03:18 +01:00
objdump_to_h.awk thunks: Adjust build system for ARM thunk .h 2017-01-27 23:03:18 +01:00
readl_writel.h thunks: Add assembly sources for some more thunks 2017-01-27 23:03:18 +01:00
readl_writel.S thunks: Add assembly sources for some more thunks 2017-01-27 23:03:18 +01:00
README.md Move thunk code / snippets to a dedicated subdirectory 2017-01-27 23:03:18 +01:00
rmr-thunk.h thunks: Add assembly sources for some more thunks 2017-01-27 23:03:18 +01:00
rmr-thunk.S fel: thunks: Use armv5te architecture for thunks 2022-03-06 00:47:47 +00:00
sid_read_root.h Move thunk code / snippets to a dedicated subdirectory 2017-01-27 23:03:18 +01:00
sid_read_root.S Move thunk code / snippets to a dedicated subdirectory 2017-01-27 23:03:18 +01:00

thunks/README.md

This directory contains assembly sources for ARM thunk code, and a corresponding Makefile. The idea is that the resulting binary routines can be transferred to a suitable target device and then executed 'remotely', usually via sunxi-fel.

Normally you don't need to change or (re)build anything within this folder. Currently our main build process (via the parent directory's Makefile) only includes fel-to-spl-thunk.h directly. Other .h files are provided just for reference. The main purpose of this folder is simply keeping track of .S sources, to help with possible future maintenance of the various code snippets.

Please note that any files lacking explicit license information are intended to be covered by the project's overall license (GPLv2).