소스 검색

[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 18 년 전
부모
커밋
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)
+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 :
 	{