bcm963xx: fix load address / kernel entry
Current kernels have the same kernel entry as load address, so just set them like this. Also, the BCM963xx uses 0x80010000 as its load address, so use this too. Signed-off-by: Axel Gembe <ago@bastart.eu.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11169 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
07131c043c
commit
72192c48c5
|
@ -7,8 +7,8 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/image.mk
|
include $(INCLUDE_DIR)/image.mk
|
||||||
|
|
||||||
LOADADDR = 0x8108c8f4 # RAM start + 16M
|
LOADADDR = 0x80010000 # RAM start + 16M
|
||||||
KERNEL_ENTRY = 0x80100000 # Default kernel entry in arch/mips/Makefile
|
KERNEL_ENTRY = $(LOADADDR) # Newer kernels add a jmp to the kernel_entry at the start of the binary
|
||||||
RAMSIZE = 0x01000000 # 64MB
|
RAMSIZE = 0x01000000 # 64MB
|
||||||
|
|
||||||
LOADER_MAKEOPTS= \
|
LOADER_MAKEOPTS= \
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# Cleaned up, modified for lzma support, removed from kernel
|
# Cleaned up, modified for lzma support, removed from kernel
|
||||||
#
|
#
|
||||||
|
|
||||||
TEXT_START := 0x80001000
|
TEXT_START := 0x80010000
|
||||||
BZ_TEXT_START := 0x80300000
|
BZ_TEXT_START := 0x80300000
|
||||||
|
|
||||||
OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S
|
OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S
|
||||||
|
|
Loading…
Reference in New Issue