Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: David Daney <ddaney@avtrex.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Building current kernel for Qemu
Date: Sun, 20 Apr 2008 00:08:44 +0100	[thread overview]
Message-ID: <20080419230844.GA31431@networkno.de> (raw)
In-Reply-To: <480A70EA.50804@avtrex.com>

David Daney wrote:
> I would like to build a current kernel for mipsel on qemu.  However it
> seems that the qemu target was recently removed.
> 
> I tried building a plain malta kernel vmlinux, but there is no output on
> the console when trying to boot it.  The Debian 2.6.18 qemu kernel seems
> to work well though.
> 
> Do you have to do anything special to the kernel to run on qemu?

Nothing special is needed for the kernel. You need to start with
e.g. "qemu-system-mipsel -M malta" to select Qemu's malta machine
emulation.

> How does one go about building a kernel for qemu from current kernel
> sources?

The special qemu kernel is now deprecated, as the malta kernel is a
full replacement which corresponds better to real existing hardware.

This is btw. also true for Qemu itself, the mips_r4k machine is still
there because
 a) uBoot supports it as the only mips Qemu target
 b) Some out-of-tree machine definitions use it as a baseline
    configuration.


Thiemo

  reply	other threads:[~2008-04-19 23:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 22:23 Building current kernel for Qemu David Daney
2008-04-19 23:08 ` Thiemo Seufer [this message]
2008-04-19 23:16   ` David Daney

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=20080419230844.GA31431@networkno.de \
    --to=ths@networkno.de \
    --cc=ddaney@avtrex.com \
    --cc=linux-mips@linux-mips.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