[PATCH] openrisc: Define the elf binary entry point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Entry is used by qemu to find where to start booting, we define
this to the 0x100 reset vector as is done by default when the CPU
resets.  This fixes the qemu boot issue.

Signed-off-by: Stafford Horne <shorne@xxxxxxxxx>
---
 arch/openrisc/cpu/barebox.lds.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/openrisc/cpu/barebox.lds.S b/arch/openrisc/cpu/barebox.lds.S
index adb0c22f8..45c5f2553 100644
--- a/arch/openrisc/cpu/barebox.lds.S
+++ b/arch/openrisc/cpu/barebox.lds.S
@@ -17,6 +17,7 @@
 #include <asm-generic/barebox.lds.h>
 
 OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k")
+ENTRY(__reset)
 __DYNAMIC  =  0;
 
 MEMORY
-- 
2.26.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux