From: Thiemo Seufer <ths@networkno.de>
To: PianoPan <pianopan@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to Linux kernel for MIPSEL qemu
Date: Thu, 17 May 2007 19:44:47 +0100 [thread overview]
Message-ID: <20070517184447.GA17076@networkno.de> (raw)
In-Reply-To: <10541fa50705170918g16fc75d5m76bfa609a41703a7@mail.gmail.com>
PianoPan wrote:
> Hello every one,
>
> I try to build a mipsel kernel by myself for qemu-system-mipsel. But
> the qemu can not boot it properly. Is there anyone can give me some
> suggestion about it.
>
> My method is following,
>
> * Get the kernel of 2.6.18.3 from kernel.org
In general the source tree from www.linux-mips.org is morfe likely
to work.
> * Get the config.gz from the mipsel kernel that be provided by Qemu web.
> * uncompress config.gz and rename it as .config, copy it to Linux
> kernel directory .
> * in the kernel directory, use following command to build the kernel
> make ARCH=mips
> CROSS_COMPILE=/opt/noki/mipsel-unknown-linux/sdktool/bin/mipsel-unknown-linux-
> oldconfig
>
> make ARCH=mips
> CROSS_COMPILE=/opt/noki/mipsel-unknown-linux/sdktool/bin/mipsel-unknown-linux-
> all
Looks ok.
> after build , I use qemu 0.9 to boot it, and do not successes.
>
> #qemu-system-mipsel -kernel vmlinux -initrd initrd.gz -append
> "console=ttyS0"
> qemu: Warning, could not load MIPS bios
> '/opt/noki/mipsel-unknown-linux//sdktool//share/qemu/mipsel_bios.bin'
> qemu: could not load kernel 'vmlinux'
This means Qemu's built-in ELF loader failed to load the vmlinux
binary. I've seen that when attempting to load a kernel with the
wrong endianness.
Maybe you want to try the Debian installer image, e.g. from
http://ftp.uk.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/
Thiemo
next prev parent reply other threads:[~2007-05-17 19:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 16:18 [Qemu-devel] How to Linux kernel for MIPSEL qemu PianoPan
2007-05-17 18:44 ` Thiemo Seufer [this message]
2007-05-18 2:42 ` PianoPan
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=20070517184447.GA17076@networkno.de \
--to=ths@networkno.de \
--cc=pianopan@gmail.com \
--cc=qemu-devel@nongnu.org \
/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 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).