openrisc: Define the elf binary entry point
Stafford Horne
maintainerPATCH 1/1 openrisc: Define the elf binary entry point
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 <[email protected]>
--- arch/openrisc/cpu/barebox.lds.S | 1 + 1 file changed, 1 insertion(+)
arch/openrisc/cpu/barebox.lds.S +1 -0
@@ -17,6 +17,7 @@ #include <asm-generic/barebox.lds.h> OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k") +ENTRY(__reset) __DYNAMIC = 0; MEMORY
Signature · 1 line
2.26.2
Sascha Hauer
AppliedQuoted 8 lines · Stafford Horne
Entry is used by qemu to find where to start booting, we define this to the
0x100reset vector as is done by default when the CPU resets. This fixes the qemu boot issue.Signed-off-by Stafford Horne <[email protected]>--- arch/openrisc/cpu/barebox.lds.S | 1 + 1 file changed, 1 insertion(+)
Applied, thanks
Sascha
Quoted 17 lines
arch/openrisc/cpu/barebox.lds.S +1
-0@@ -17,6 +17,7 @@ #include <asm-generic/barebox.lds.h> OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k") +ENTRY(__reset) __DYNAMIC = 0; MEMORYSignature · 1 line
2.26.2
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |