diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-05-18 17:29:39 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-05-18 17:29:39 +0000 |
commit | 46b4413fbbf9edef23cb5ec2bfdd5b983d6eb78a (patch) | |
tree | e0f486a2d4af3313d395e50cd06e580d6be0a123 /target/linux/brcm63xx | |
parent | 6a79ee257d0f28fd5a1db80f78c959d5b8a3a702 (diff) | |
download | upstream-46b4413fbbf9edef23cb5ec2bfdd5b983d6eb78a.tar.gz upstream-46b4413fbbf9edef23cb5ec2bfdd5b983d6eb78a.tar.bz2 upstream-46b4413fbbf9edef23cb5ec2bfdd5b983d6eb78a.zip |
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>
SVN-Revision: 11169
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r-- | target/linux/brcm63xx/image/Makefile | 4 | ||||
-rw-r--r-- | target/linux/brcm63xx/image/lzma-loader/src/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 16c57cae4f..227dbd7a54 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/image.mk -LOADADDR = 0x8108c8f4 # RAM start + 16M -KERNEL_ENTRY = 0x80100000 # Default kernel entry in arch/mips/Makefile +LOADADDR = 0x80010000 # RAM start + 16M +KERNEL_ENTRY = $(LOADADDR) # Newer kernels add a jmp to the kernel_entry at the start of the binary RAMSIZE = 0x01000000 # 64MB LOADER_MAKEOPTS= \ diff --git a/target/linux/brcm63xx/image/lzma-loader/src/Makefile b/target/linux/brcm63xx/image/lzma-loader/src/Makefile index 85a864674b..83e2c52386 100644 --- a/target/linux/brcm63xx/image/lzma-loader/src/Makefile +++ b/target/linux/brcm63xx/image/lzma-loader/src/Makefile @@ -17,7 +17,7 @@ # Cleaned up, modified for lzma support, removed from kernel # -TEXT_START := 0x80001000 +TEXT_START := 0x80010000 BZ_TEXT_START := 0x80300000 OBJCOPY := $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S |