Re: [PATCH] openrisc: Define the elf binary entry point

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

 



On Thu, Mar 04, 2021 at 05:19:04AM +0900, Stafford Horne wrote:
> 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(+)

Applied, thanks

Sascha

> 
> 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
> 
> 

-- 
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 |

_______________________________________________
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