[U-Boot] [PATCH 0/2] sunxi: FEL boot mode improvements

Siarhei Siamashka
2014-07-18T17:09:43Z

Hello,

One of the current FEL problems is a very limited available SRAM space,
so that trying to add new code to u-boot or even changing the GCC version
introduces a risk of exceeding it. Another problem is that booting a Linux
system on Allwinner A10/A13 devices in FEL mode ends up with L2 cache
disabled, and this is not very nice for the performance. These two patches
make FEL boot mode more usable.

Siarhei Siamashka (2):
sunxi: Use Thumb2 and move stack to gain more SRAM space in FEL mode
sunxi: Set the AUXCR L2EN bit for sun4i/sun5i in FEL boot mode

arch/arm/cpu/armv7/sunxi/Makefile | 1 +
arch/arm/cpu/armv7/sunxi/board.c | 12 +++++++++
arch/arm/cpu/armv7/sunxi/start_fel.S | 42 +++++++++++++++++++++++++++++
arch/arm/cpu/armv7/sunxi/u-boot-spl-fel.lds | 4 +--
include/configs/sunxi-common.h | 2 --
5 files changed, 57 insertions(+), 4 deletions(-)
create mode 100644 arch/arm/cpu/armv7/sunxi/start_fel.S

--
1.8.3.2