Commit ed3174d93c342b8b2eeba6bbd124707d55304a7b

Authored by Marc Gauthier
Committed by Chris Zankel
1 parent 3befce8f0f

[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>

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

arch/xtensa/boot/boot-elf/boot.ld
1 1 OUTPUT_ARCH(xtensa)
  2 +ENTRY(_ResetVector)
2 3  
3 4 SECTIONS
4 5 {
arch/xtensa/boot/boot-redboot/boot.ld
... ... @@ -2,7 +2,7 @@
2 2  
3 3 SECTIONS
4 4 {
5   - .start 0xD0200000 : { *(.start) }
  5 + .start 0xD1000000 : { *(.start) }
6 6  
7 7 .text :
8 8 {