All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Herbei Dacian <dacian_herbei@yahoo.fr>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	QEmu Devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] minimal linux distribution for qemu
Date: Sun, 18 Aug 2013 00:00:39 -0500	[thread overview]
Message-ID: <1376802039.2737.52@driftwood> (raw)
In-Reply-To: <1376669826.26224.YahooMailNeo@web172602.mail.ir2.yahoo.com> (from dacian_herbei@yahoo.fr on Fri Aug 16 11:17:06 2013)

On 08/16/2013 11:17:06 AM, Herbei Dacian wrote:
> my system should run in far less memory. something like 2-4MB.
> but first I need to have a system running so that I can monitor with  
> qemu the addresses accessed for read execute and write by the code  
> run by the emulator.
> if I reach that is a real big deal.
> dacian

Linux 2.6 and later won't run in 2 megs at all. You can trim it down to  
4 megs on a nommu system (the page tables take up too much ram  
otherwise), but won't be able to do much.

Really, things like kobjects in the modern kernel take up too much  
space. Getting anything to work in 4 megs requires diabling all the  
printk strings at compile time. (The last time I saw somebody do a 4  
meg system was CELF in 2006. 32 bit x86.)

Look at the uClinux project. Or try to bolt your app onto uboot and run  
it on the bare metal.

Rob

  parent reply	other threads:[~2013-08-18  5:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15  8:57 [Qemu-devel] minimal linux distribution for qemu Herbei Dacian
2013-08-15 11:53 ` Andreas Färber
2013-08-16 15:59   ` Rob Landley
2013-08-16 16:06     ` Herbei Dacian
2013-08-15 12:09 ` Stefan Hajnoczi
2013-08-15 13:22   ` Herbei Dacian
2013-08-15 13:31     ` Peter Maydell
2013-08-15 13:46       ` Herbei Dacian
2013-08-15 13:48         ` Peter Maydell
2013-08-15 14:01           ` Herbei Dacian
2013-08-15 14:05             ` Peter Maydell
2013-08-15 14:18               ` Herbei Dacian
2013-08-15 14:22                 ` Peter Maydell
2013-08-16 16:21                 ` Rob Landley
2013-08-16 16:05             ` Rob Landley
2013-08-16 16:17               ` Herbei Dacian
2013-08-16 17:46                 ` Andreas Färber
2013-08-18  5:00                 ` Rob Landley [this message]
2013-08-18 13:57                   ` Herbei Dacian
2013-08-20  8:38                     ` Rob Landley

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=1376802039.2737.52@driftwood \
    --to=rob@landley.net \
    --cc=dacian_herbei@yahoo.fr \
    --cc=peter.maydell@linaro.org \
    --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 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.