[U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

Bin Meng bmeng.cn at gmail.com
Tue Apr 10 09:24:03 UTC 2018


Hi Vasyl,

On Tue, Apr 10, 2018 at 5:16 PM, Vasyl Vavrychuk <vvavrychuk at gmail.com> wrote:
> Without armv8_setup_psci register VBAR_EL3 is not set up property which
> makes SMC calls jump to invalid location.
>
> smp_kick_all_cpus is required to make slave cpus leave gic_wait_for_interrupt.
> Without this they will never pursue booting process.
>
> Fix was applied to the two ways of booting VxWorks: bootvx and bootm commands.
>
> This implementation is very similiar to what is done in boot_jump_linux
> in arch/arm/lib/bootm.c file.
>
> Tested on VxWorks 7 release SR0520 2017-12-08.

Could you please indicate the board you used for the testing as well? Thanks!

>
> Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk at globallogic.com>
> ---
>  arch/arm/lib/bootm.c | 5 +++++
>  cmd/elf.c            | 5 +++++
>  2 files changed, 10 insertions(+)
>

Otherwise,
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Regards,
Bin


More information about the U-Boot mailing list