mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 22:52:18 +00:00
858290178f
The following changes allow U-Boot to fully relocate from flash to RAM: - Remove linker scripts' .fixup sections from the .text section - Add -mrelocatable to PLATFORM_RELFLAGS for all boards - Define CONFIG_RELOC_FIXUP_WORKS for all boards Previously, U-Boot would partially relocate, but statically initialized pointers needed to be manually relocated. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> |
||
---|---|---|
.. | ||
config.mk | ||
ee_access.c | ||
ee_access.h | ||
ee_dev.h | ||
flash.c | ||
gth.c | ||
Makefile | ||
pcmcia.c | ||
README | ||
u-boot.lds |
Written by Thomas.Lange@corelatus.com 010805 To make a system for gth that actually works ;-) the variable TBASE needs to be set to 0,1 or 2 depending on location where image is supposed to be started from. E.g. make TBASE=1 0: Start from RAM, base 0 1: Start from flash_base + 0x10070 2: Start from flash_base + 0x30070 When using 1 or 2, the image is supposed to be launched from miniboot that boots the first U-Boot image found in flash. For miniboot code, description, see www.opensource.se