linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* cuImage generation
@ 2007-09-19  7:28 Gerhard Pircher
  2007-09-19 14:19 ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: Gerhard Pircher @ 2007-09-19  7:28 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

I tried to compile a 2.6.23-rc6 kernel yesterday, but wasn't able to get a
cuImage.<platform) out of it (only the uImage file was generated). My
platform config defines DEFAULT_UIMAGE and WANT_DEVICE_TREE. Do I need to
generate it manually or is there a makefile where I have to specify it?
Naturally I added my cuboot wrapper code to the arch/powerpc/boot/Makefile.

Thanks!

regards,

Gerhard
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

* Re: cuImage generation
  2007-09-19  7:28 cuImage generation Gerhard Pircher
@ 2007-09-19 14:19 ` Scott Wood
  2007-09-19 14:53   ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Scott Wood @ 2007-09-19 14:19 UTC (permalink / raw)
  To: Gerhard Pircher; +Cc: linuxppc-dev

On Wed, Sep 19, 2007 at 09:28:31AM +0200, Gerhard Pircher wrote:
> I tried to compile a 2.6.23-rc6 kernel yesterday, but wasn't able to get a
> cuImage.<platform) out of it (only the uImage file was generated). My
> platform config defines DEFAULT_UIMAGE and WANT_DEVICE_TREE. Do I need to
> generate it manually or is there a makefile where I have to specify it?
> Naturally I added my cuboot wrapper code to the arch/powerpc/boot/Makefile.

Did you specify a device tree to use in CONFIG_DEVICE_TREE?

-Scott

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

* Re: cuImage generation
  2007-09-19 14:19 ` Scott Wood
@ 2007-09-19 14:53   ` Peter Korsgaard
  2007-09-19 15:01     ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2007-09-19 14:53 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev

>>>>> "Scott" == Scott Wood <scottwood@freescale.com> writes:

 Scott> On Wed, Sep 19, 2007 at 09:28:31AM +0200, Gerhard Pircher wrote:
 >> I tried to compile a 2.6.23-rc6 kernel yesterday, but wasn't able to get a
 >> cuImage.<platform) out of it (only the uImage file was generated). My
 >> platform config defines DEFAULT_UIMAGE and WANT_DEVICE_TREE. Do I need to
 >> generate it manually or is there a makefile where I have to specify it?
 >> Naturally I added my cuboot wrapper code to the arch/powerpc/boot/Makefile.

I have the same problem here..

 Scott> Did you specify a device tree to use in CONFIG_DEVICE_TREE?

Yes.

% grep TREE .config
CONFIG_PROC_DEVICETREE=y
CONFIG_WANT_DEVICE_TREE=y
CONFIG_DEVICE_TREE="mpc8349emitx.dts"

How is it supposed to work now cuImage no longer is in BOOT_TARGETS?
What make target are you supposed to work. It works if I add
cuImage.83xx to BOOT_TARGETS and call make cuImage.83xx, but that can
hardly be the correct way?

-- 
Bye, Peter Korsgaard

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

* Re: cuImage generation
  2007-09-19 14:53   ` Peter Korsgaard
@ 2007-09-19 15:01     ` Scott Wood
  2007-09-19 15:20       ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Scott Wood @ 2007-09-19 15:01 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: linuxppc-dev

On Wed, Sep 19, 2007 at 04:53:14PM +0200, Peter Korsgaard wrote:
> How is it supposed to work now cuImage no longer is in BOOT_TARGETS?
> What make target are you supposed to work. It works if I add
> cuImage.83xx to BOOT_TARGETS and call make cuImage.83xx, but that can
> hardly be the correct way?

Ah, OK -- you need to type make zImage, not make uImage.

-Scott

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

* Re: cuImage generation
  2007-09-19 15:01     ` Scott Wood
@ 2007-09-19 15:20       ` Peter Korsgaard
  2007-09-19 15:25         ` Gerhard Pircher
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2007-09-19 15:20 UTC (permalink / raw)
  To: Scott Wood; +Cc: linuxppc-dev

>>>>> "Scott" == Scott Wood <scottwood@freescale.com> writes:

 Scott> On Wed, Sep 19, 2007 at 04:53:14PM +0200, Peter Korsgaard wrote:
 >> How is it supposed to work now cuImage no longer is in BOOT_TARGETS?
 >> What make target are you supposed to work. It works if I add
 >> cuImage.83xx to BOOT_TARGETS and call make cuImage.83xx, but that can
 >> hardly be the correct way?

 Scott> Ah, OK -- you need to type make zImage, not make uImage.

Ahh, I got fooled by the platform selecting DEFAULT_UIMAGE - Thanks!

-- 
Bye, Peter Korsgaard

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

* Re: cuImage generation
  2007-09-19 15:20       ` Peter Korsgaard
@ 2007-09-19 15:25         ` Gerhard Pircher
  0 siblings, 0 replies; 6+ messages in thread
From: Gerhard Pircher @ 2007-09-19 15:25 UTC (permalink / raw)
  To: Peter Korsgaard, scottwood; +Cc: linuxppc-dev


-------- Original-Nachricht --------
> Datum: Wed, 19 Sep 2007 17:20:23 +0200
> Von: Peter Korsgaard <jacmet@sunsite.dk>
> An: Scott Wood <scottwood@freescale.com>
> CC: Gerhard Pircher <gerhard_pircher@gmx.net>, linuxppc-dev@ozlabs.org
> Betreff: Re: cuImage generation

> >>>>> "Scott" == Scott Wood <scottwood@freescale.com> writes:
> 
>  Scott> On Wed, Sep 19, 2007 at 04:53:14PM +0200, Peter Korsgaard wrote:
>  >> How is it supposed to work now cuImage no longer is in BOOT_TARGETS?
>  >> What make target are you supposed to work. It works if I add
>  >> cuImage.83xx to BOOT_TARGETS and call make cuImage.83xx, but that can
>  >> hardly be the correct way?
> 
>  Scott> Ah, OK -- you need to type make zImage, not make uImage.
> 
> Ahh, I got fooled by the platform selecting DEFAULT_UIMAGE - Thanks!
I also thought I have to use "make uImage", because of DEFAULT_UIMAGE.

Thanks!

Gerhard
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

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

end of thread, other threads:[~2007-09-19 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19  7:28 cuImage generation Gerhard Pircher
2007-09-19 14:19 ` Scott Wood
2007-09-19 14:53   ` Peter Korsgaard
2007-09-19 15:01     ` Scott Wood
2007-09-19 15:20       ` Peter Korsgaard
2007-09-19 15:25         ` Gerhard Pircher

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).