All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Heutling <sheutlin@gmx.de>
To: Bob Brose <linuxppcdev@qbjnet.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: 2.6.20 zImage.prep??
Date: Fri, 09 Feb 2007 21:44:06 +0100	[thread overview]
Message-ID: <45CCDD16.1020807@gmx.de> (raw)
In-Reply-To: <20070209180755.26640.qmail@kunk.qbjnet.com>

I can only tell you that it works for 2.6.18 using the debian linux 
image package. But you need to install linux-image-2.6.18-prep instead 
of linux-image-2.6.18-powerpc.


Sebastian


Bob Brose wrote:
> Is PReP currently suported? The last kernel version I could make a
> zImage.prep in was 2.6.14. I see some references to PReP and new
> kernels here but nothing I'd call definitive.
>
> >From digging around the net it looks like one is supposed to use
> mkvmlinuz to do this now however:
>
> 1) The utilities mkprep, mktree and mkbugboot aren't build be default
> in 2.6.20 from what I can see and
>
> 2) Even when I build them and try mkvmlinuz there are errors:
> debian:/usr/src/linux# mkvmlinuz -v -o vmlinuz.prep -a prep -k vmlinux -r 2.4.20
> === Building for sub-architecture prep.
> === Using kernel image file vmlinux.
> === Release version seems to be 2.4.20.
> === Using object files from /usr/src/linux.
> === Building a bootable compressed kernel image in vmlinuz.prep.
> === Doing build in /tmp/tmp.kTUDZ23437.
> === Creating compressed kernel image vmlinux.gz...
> objcopy -O binary vmlinux /tmp/tmp.kTUDZ23437/vmlinux
> gzip /tmp/tmp.kTUDZ23437/vmlinux
> === Putting everything into ELF image file image.o...
> objcopy -R .comment /tmp/tmp.kTUDZ23437/image.o
> objcopy: '/tmp/tmp.kTUDZ23437/image.o': No such file
> objcopy: error: the input file '/tmp/tmp.kTUDZ23437/image.o' is empty
> objcopy /tmp/tmp.kTUDZ23437/image.o /tmp/tmp.kTUDZ23437/image.o --add-section=.image=/tmp/tmp.kTUDZ23437/vmlinux.gz --set-section-flags=.image=contents,alloc,load,readonly,data
> objcopy: '/tmp/tmp.kTUDZ23437/image.o': No such file
> objcopy: error: the input file '/tmp/tmp.kTUDZ23437/image.o' is empty
> === Creating bootable kernel image file vmlinuz.prep...
> Sorry, I do not know how to handle PowerPC sub-architecture prep in version 2.4.20.
>
> This is debian sid. If I try the mkvmlinuz command for chrp it works fine.
>
> Regards,
> Bob
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>   

      reply	other threads:[~2007-02-09 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 18:07 2.6.20 zImage.prep?? Bob Brose
2007-02-09 20:44 ` Sebastian Heutling [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45CCDD16.1020807@gmx.de \
    --to=sheutlin@gmx.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=linuxppcdev@qbjnet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.