浏览代码

[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 17 年之前
父节点
当前提交
ed3174d93c
共有 2 个文件被更改,包括 2 次插入1 次删除
  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)
 OUTPUT_ARCH(xtensa)
+ENTRY(_ResetVector)
 
 
 SECTIONS
 SECTIONS
 {
 {

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

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