mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09:00
![Hunter, Jon](/assets/img/avatar_default.png)
The omap2420-h4 board is using a RAM based address as the linker location for code. This is causing several problems when attempting to run the latest u-boot code base on this board from flash. Update the default linker location for code to be in NOR flash. Please note that OMAP maps the NOR flash to address 0x08000000 by default and so use this as the default address for the NOR flash. Also remove legacy code that attempts to calculate where in flash the sdata structure, that holds the memory interface configuration data, is located. By changing the default linker location for code to flash this is no longer necessary. Signed-off-by: Jon Hunter <jon-hunter@ti.com>
29 lines
831 B
Makefile
29 lines
831 B
Makefile
#
|
|
# (C) Copyright 2004
|
|
# Texas Instruments, <www.ti.com>
|
|
#
|
|
# TI H4 board with OMAP2420 (ARM1136) cpu
|
|
# see http://www.ti.com/ for more information on Texas Instruments
|
|
#
|
|
# H4 has 1 bank of 32MB or 64MB mDDR-SDRAM on CS0
|
|
# H4 has 1 bank of 32MB or 00MB mDDR-SDRAM on CS1
|
|
# Physical Address:
|
|
# 8000'0000 (bank0)
|
|
# A000/0000 (bank1) ES2 will be configurable
|
|
# Linux-Kernel is expected to be at 8000'8000, entry 8000'8000
|
|
# (mem base + reserved)
|
|
|
|
# For use with external or internal boots.
|
|
#CONFIG_SYS_TEXT_BASE = 0x80e80000
|
|
|
|
# Used with full SRAM boot.
|
|
# This is either with a GP system or a signed boot image.
|
|
# easiest, and safest way to go if you can.
|
|
#CONFIG_SYS_TEXT_BASE = 0x40270000
|
|
|
|
|
|
# Handy to get symbols to debug ROM version.
|
|
#CONFIG_SYS_TEXT_BASE = 0x0
|
|
CONFIG_SYS_TEXT_BASE = 0x08000000
|
|
#CONFIG_SYS_TEXT_BASE = 0x04000000
|