[Sound-open-firmware] [PATCH] arch: xtensa: Add bootloader support

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Jan 23 20:16:10 CET 2018


This one does not apply for me?

Using index info to reconstruct a base tree...
error: patch failed: src/arch/xtensa/crt1-boards.S:120
error: src/arch/xtensa/crt1-boards.S: patch does not apply

On 01/23/2018 10:40 AM, Liam Girdwood wrote:
> From: Rander Wang <rander.wang at linux.intel.com>
>
> Add a support for a secondary boot loader than cant be used to bootstrap
> multiple firmware modules.
>
> Signed-off-by: Rander Wang <rander.wang at linux.intel.com>
> ---
>   src/arch/xtensa/boot_entry.S   |  98 ++++++++++++++++++++
>   src/arch/xtensa/boot_loader.c  | 206 +++++++++++++++++++++++++++++++++++++++++
>   src/arch/xtensa/crt1-boards.S  |  16 ++++
>   src/arch/xtensa/main-entry.S   |  57 ++++++++++++
>   src/arch/xtensa/reset-vector.S |  16 +++-
>   5 files changed, 391 insertions(+), 2 deletions(-)
>   create mode 100644 src/arch/xtensa/boot_entry.S
>   create mode 100644 src/arch/xtensa/boot_loader.c
>   create mode 100644 src/arch/xtensa/main-entry.S
[...]
> diff --git a/src/arch/xtensa/crt1-boards.S b/src/arch/xtensa/crt1-boards.S
> index 5d9b842..ff24bfd 100644
> --- a/src/arch/xtensa/crt1-boards.S
> +++ b/src/arch/xtensa/crt1-boards.S
> @@ -120,6 +120,22 @@ _start:
>   #include "reset-unneeded.S"
>   #endif
>   
Maybe because the code is different initially, something looks missing...

#if XTOS_RESET_UNNEEDED && !XCHAL_HAVE_HALT
#include "reset-unneeded.S"
#endif




More information about the Sound-open-firmware mailing list