[U-Boot] RFC: Alternative boot_jump_linux() function

Tom Rini trini at konsulko.com
Thu May 17 14:22:39 UTC 2018


On Thu, May 17, 2018 at 02:01:55PM +0300, Ramon Fried wrote:

> Hi.
> I'm currently working on snapdragon bootloader support and in the
> particular case where U-boot is running in Aarch32 and the kernel is
> Aarch64 the specific implementation is to jump to Linux through SCM
> call.
> 
> I try to find the best possible way to provide an alternative boot function.
> Adding #ifdef ARCH_SNAPDRAGON will just be too specific in
> arm/lib/bootm.c in my opinion and I'm thinking of introducing kind of
> a callback function in gd. that if exists will jump there instead of
> executing boot_jump_linux().
> 
> What do you think ?

So, to be clear, we're on an aarch64 SoC, but U-Boot has been entered in
32bit mode.  And we need to boot a 64bit Linux Kernel.  What else, if
anything, is also loaded/still in residence/etc?  Can you explain the
overall usecase a bit more and why we're in 32bit mode?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180517/b3f57135/attachment.sig>


More information about the U-Boot mailing list