]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[XTENSA] adjust boot linker script start addresses
authorMarc Gauthier <marc@gums.hq.tensilica.com>
Tue, 23 Oct 2007 23:40:24 +0000 (16:40 -0700)
committerChris Zankel <chris@zankel.net>
Thu, 14 Feb 2008 01:15:34 +0000 (17:15 -0800)
Move boot-redboot load address from 0xD0200000 to 0xD1000000
to make space for larger kernel images, in particular those with
an embedded initramfs filesystem.
Also properly set the ELF start address in boot-elf images so
that PC need not be set manually when loading them using GDB.

Signed-off-by: Marc Gauthier <marc@tensilica.com>
arch/xtensa/boot/boot-elf/boot.ld
arch/xtensa/boot/boot-redboot/boot.ld

index 4ab06a0a7a6b4e0a61f3c845b6c8e9a14032fa3d..e33855c167bf237412ea418c9be40a607e3bcf49 100644 (file)
@@ -1,4 +1,5 @@
 OUTPUT_ARCH(xtensa)
+ENTRY(_ResetVector)
 
 SECTIONS
 {
index 65b726410e8ad057db035f3ea7d9aa137229b5cf..774db20d11f715cfd6aee5394c7960c8f9a9a064 100644 (file)
@@ -2,7 +2,7 @@ OUTPUT_ARCH(xtensa)
 
 SECTIONS
 {
-       .start 0xD0200000 : { *(.start) }
+       .start 0xD1000000 : { *(.start) }
 
        .text :
        {