linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: Workaround for hanging u-boot 'Load Address: fffffff2'
       [not found] <CABJxTWFKCxS=syoFCyRyCMdJmwMg_yLq3pOMfr9MhCO7g=Rtzg@mail.gmail.com>
@ 2013-01-14  9:02 ` Kiril Maler
  2013-01-14 16:27   ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Kiril Maler @ 2013-01-14  9:02 UTC (permalink / raw)
  To: linux-omap

---------- Forwarded message ----------
From: Kiril Maler <kiril.maler@gmail.com>
Date: 14 January 2013 09:46
Subject: Workaround for hanging u-boot 'Load Address: fffffff2'
To: "davinci-linux-open-source@linux.davincidsp.com"
<davinci-linux-open-source@linux.davincidsp.com>


If your fresh uImage hangs in a similar way:

## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-3.8.0-rc2-tst04+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1161118 Bytes = 1.1 MiB
   Load Address: fffffff2
   Entry Point:  fffffff2
   Verifying Checksum ... OK
   Loading Kernel Image ...


Then a temporary fix could be added in arch/arm/boot/Makefile

git diff  arch/arm/boot/Makefile
diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
index abfce28..4182943 100644
--- a/arch/arm/boot/Makefile
+++ b/arch/arm/boot/Makefile
@@ -13,6 +13,8 @@

 ifneq ($(MACHINE),)
 include $(srctree)/$(MACHINE)/Makefile.boot
+else
+include $(srctree)/arch/arm/mach-omap2/Makefile.boot
 endif

 # Note: the following conditions must always be true:


Change 'mach-omap2' in the patch above to required machine directory

This is needed because 'MACHINE' in arch/arm/Makefile is
set empty when CONFIG_ARCH_MULTIPLATFORM=y, and consequently parameters
-a and -e are empty in arch/arm/boot/.uImage.cmd

Regards,

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Fwd: Workaround for hanging u-boot 'Load Address: fffffff2'
  2013-01-14  9:02 ` Fwd: Workaround for hanging u-boot 'Load Address: fffffff2' Kiril Maler
@ 2013-01-14 16:27   ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2013-01-14 16:27 UTC (permalink / raw)
  To: Kiril Maler; +Cc: linux-omap

Hi,

* Kiril Maler <kiril.maler@gmail.com> [130114 01:05]:
> ---------- Forwarded message ----------
> From: Kiril Maler <kiril.maler@gmail.com>
> Date: 14 January 2013 09:46
> Subject: Workaround for hanging u-boot 'Load Address: fffffff2'
> To: "davinci-linux-open-source@linux.davincidsp.com"
> <davinci-linux-open-source@linux.davincidsp.com>
> 
> 
> If your fresh uImage hangs in a similar way:
> 
> ## Booting kernel from Legacy Image at 81000000 ...
>    Image Name:   Linux-3.8.0-rc2-tst04+
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    1161118 Bytes = 1.1 MiB
>    Load Address: fffffff2
>    Entry Point:  fffffff2
>    Verifying Checksum ... OK
>    Loading Kernel Image ...

This is because we've now enabled the multiplatform support,
and you need to run mkimage manually as noted in the signed
tag omap-for-v3.9/multiplatform-enable-signed-v2.
 
> Then a temporary fix could be added in arch/arm/boot/Makefile
> 
> git diff  arch/arm/boot/Makefile
> diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
> index abfce28..4182943 100644
> --- a/arch/arm/boot/Makefile
> +++ b/arch/arm/boot/Makefile
> @@ -13,6 +13,8 @@
> 
>  ifneq ($(MACHINE),)
>  include $(srctree)/$(MACHINE)/Makefile.boot
> +else
> +include $(srctree)/arch/arm/mach-omap2/Makefile.boot
>  endif
> 
>  # Note: the following conditions must always be true:
> 
> 
> Change 'mach-omap2' in the patch above to required machine directory
> 
> This is needed because 'MACHINE' in arch/arm/Makefile is
> set empty when CONFIG_ARCH_MULTIPLATFORM=y, and consequently parameters
> -a and -e are empty in arch/arm/boot/.uImage.cmd

We can't do that as then other multiplatform ARM architectures will
break. We should just disable make uImage for CONFIG_ARCH_MULTIPLATFORM
instead.

Regards,

Tony


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-14 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CABJxTWFKCxS=syoFCyRyCMdJmwMg_yLq3pOMfr9MhCO7g=Rtzg@mail.gmail.com>
2013-01-14  9:02 ` Fwd: Workaround for hanging u-boot 'Load Address: fffffff2' Kiril Maler
2013-01-14 16:27   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).