Skip to contentSkip to conversation

cuImage generation

DISCUSSION Gerhard Pircher 3 participants 6 messages Sep 19, 2007

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
#1 lore raw
Quoted 5 lines · Gerhard Pircher

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

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Scott" == Scott Wood <[email protected]> writes:

Quoted 5 lines · Gerhard Pircher
Quoted 5 lines

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?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 4 lines · Peter Korsgaard

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

#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Scott" == Scott Wood <[email protected]> writes:

Quoted 4 lines · Peter Korsgaard
Quoted 4 lines

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!

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

-------- Original-Nachricht --------

Quoted 9 lines

Datum: Wed, 19 Sep 2007 17:20:23 +0200
Von: Peter Korsgaard <[email protected]>
An: Scott Wood <[email protected]>
CC: Gerhard Pircher <[email protected]>, [email protected]
Betreff: Re: cuImage generation

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Scott" == Scott Wood <[email protected]> writes:

Scott> On Wed, Sep 19, 2007 at 04:53:14PM +0200, Peter Korsgaard wrote:

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

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

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