[U-Boot] [PATCH] Fix bootm to work on powerpc again (compressed uImage)

Tom Rini trini at ti.com
Fri Jun 28 15:03:22 CEST 2013


On Fri, Jun 28, 2013 at 10:02:03AM +0200, Stefan Roese wrote:

> Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication]
> breaks booting Linux (compressed uImage with fdt) on powerpc.
> 
> boot_jump_linux() mustn't be called before boot_prep_linux() and
> boot_body_linux() have been called. So remove the superfluous call
> to boot_jump_linux() in arch/powerpc/lib/bootm.c as its called later on
> in this function.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at ti.com>
> ---
> Simon, I'm not 100% sure why this is triggered by your patch.
> 
> As you see, my patch only fixes powerpc. ARM might have the same problem
> as it has the same code duplication in bootm.c.

Progress!  On PowerPC, does bootm work like before?  I still have to
issue a separate 'bootm go', but that now boots, rather than hangs.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130628/6f81433d/attachment.pgp>


More information about the U-Boot mailing list