Quellcode durchsuchen

[XTENSA] adjust boot linker script start addresses

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>
Marc Gauthier vor 18 Jahren
Ursprung
Commit
ed3174d93c
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 0
      arch/xtensa/boot/boot-elf/boot.ld
  2. 1 1
      arch/xtensa/boot/boot-redboot/boot.ld

+ 1 - 0
arch/xtensa/boot/boot-elf/boot.ld

@@ -1,4 +1,5 @@
 OUTPUT_ARCH(xtensa)
+ENTRY(_ResetVector)
 
 SECTIONS
 {

+ 1 - 1
arch/xtensa/boot/boot-redboot/boot.ld

@@ -2,7 +2,7 @@ OUTPUT_ARCH(xtensa)
 
 SECTIONS
 {
-	.start 0xD0200000 : { *(.start) }
+	.start 0xD1000000 : { *(.start) }
 
 	.text :
 	{