[U-Boot] [PATCH] config: Use booti instead of bootz on 64-bit ARM

Tom Rini trini at konsulko.com
Fri Mar 20 18:07:40 CET 2015


On Fri, Mar 20, 2015 at 10:17:00AM -0600, Stephen Warren wrote:
> On 03/20/2015 05:56 AM, Thierry Reding wrote:
> >From: Thierry Reding <treding at nvidia.com>
> >
> >The bootz command doesn't work with Linux kernel images on 64-bit ARM.
> >The replacement command with the same interface and functionality is
> >booti.
> 
> Uggh. Why can't bootz work everywhere, or why can't bootz be an
> alias to booti on ARM64? Are the command-line parameters different?
> It'd be really nice to be able to create one boot.scr.uimg file that
> just works everywhere, and having different command names will
> scupper that.

So, a long while back I asked about maybe adding a
"bootSOMETHING-THAT-GUESSES-YOUR-FORMAT" command to help here.  The
issue is that "bootz" means "boot an ARM Linux Kernel with the kernel's
decompressor that's at the front".  It's not even (sadly, arg) what
"boot an x86 Linux Kernel with the kernel's decompressor that's at the
front" is, that's zboot.  In the kernel (today), there's no desire to
add the decompressor "arm" has to "aarch64" and instead leave
decompression to the loader (And compression to the user).  So we have
to handle the Image format that aarch64 uses.

Frankly I've always looked at the distro work here as the
"boot-do-what-I-mean" stuff where we hide that the common multi-platform
image types aren't popular and just let people boot the "normal" kernel
for their architecture.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150320/948004f6/attachment.sig>


More information about the U-Boot mailing list