Skip to content

Commit

Permalink
[XTENSA] adjust boot linker script start addresses
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Marc Gauthier authored and czankel committed Feb 14, 2008
1 parent 3befce8 commit ed3174d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/xtensa/boot/boot-elf/boot.ld
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
OUTPUT_ARCH(xtensa)
ENTRY(_ResetVector)

SECTIONS
{
Expand Down
2 changes: 1 addition & 1 deletion arch/xtensa/boot/boot-redboot/boot.ld
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ OUTPUT_ARCH(xtensa)

SECTIONS
{
.start 0xD0200000 : { *(.start) }
.start 0xD1000000 : { *(.start) }

.text :
{
Expand Down

0 comments on commit ed3174d

Please sign in to comment.