Hi, Manoj.

On Oct 18 2008, Manoj Srivastava wrote:
> On Sun, Aug 31 2008, Rogério Brito wrote:
> > I currently have an embedded powerpc box that needs its boot images
> > to be created via the "make uImage" target for the Linux kernel.
> >
> > Currently, when I create a package with kernel-package on powerpc, I
> > get an image that is bootable on powermacs (I have one iBook G3),
> > but it does seem to me (please, correct me if I am wrong) that
> > kernel-package doesn't include other types of images in the package
> > (which lie under arch/.../boot).
> >
> > Is there anything that I can do to make kernel-package generate the
> > uImage (for booting with uBoot) that I need?
> 
>         I have no experience in non-mainstream hardware, so I never had
>  to create such kernel images.

Ok, I'm just learning about embedded hardware and having them work with
Debian is a great thing to do.

>  What one essentially needs, then, is support for sub arches, in other
>  words, this is not a cross-compile,

Right, the cross-compilation is just an extra that I'm using right now
(the powerpc box is just unnaceptably slow for compiling its own
kernel).

I'm currently using the following attached script to make a "fake"
kernel-package.

>  but a valid subarch under the same architecture, right? --subarch might
>  be the way to go, but may need some fixes.

I really don't know which subarch we should be calling here.

>         This also seems to be a special case: there is a specific target
>  that can be invoked. Does running make all also invoke uImage?

I will have to test this. I will follow up in a sec.

>         If not, we need to tell kernel-package to not run bzImage, but
>  this instead. Does uImage still produce a vmlinuz?

I also don't know this bug I can answer this in a moment.


Regards, Rogério Brito.

-- 
Rogério Brito : [EMAIL PROTECTED],ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

Attachment: kernel-kuro.sh
Description: Bourne shell script

Reply via email to