From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAv6d-0006fK-PN for qemu-devel@nongnu.org; Sun, 18 Aug 2013 01:00:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAv6W-0007TV-FW for qemu-devel@nongnu.org; Sun, 18 Aug 2013 01:00:47 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:62310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAv6W-0007TI-6H for qemu-devel@nongnu.org; Sun, 18 Aug 2013 01:00:40 -0400 Received: by mail-ob0-f174.google.com with SMTP id wd6so3505842obb.5 for ; Sat, 17 Aug 2013 22:00:38 -0700 (PDT) Date: Sun, 18 Aug 2013 00:00:39 -0500 From: Rob Landley References: <1376557029.19085.YahooMailNeo@web172603.mail.ir2.yahoo.com> <20130815120910.GA32223@stefanha-thinkpad.redhat.com> <1376572924.75296.YahooMailNeo@web172603.mail.ir2.yahoo.com> <1376574399.92764.YahooMailNeo@web172601.mail.ir2.yahoo.com> <1376575279.89844.YahooMailNeo@web172604.mail.ir2.yahoo.com> <1376669117.2737.45@driftwood> <1376669826.26224.YahooMailNeo@web172602.mail.ir2.yahoo.com> In-Reply-To: <1376669826.26224.YahooMailNeo@web172602.mail.ir2.yahoo.com> (from dacian_herbei@yahoo.fr on Fri Aug 16 11:17:06 2013) Message-Id: <1376802039.2737.52@driftwood> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] minimal linux distribution for qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Herbei Dacian Cc: Peter Maydell , QEmu Devel 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 =20 > qemu the addresses accessed for read execute and write by the code =20 > 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 =20 4 megs on a nommu system (the page tables take up too much ram =20 otherwise), but won't be able to do much. Really, things like kobjects in the modern kernel take up too much =20 space. Getting anything to work in 4 megs requires diabling all the =20 printk strings at compile time. (The last time I saw somebody do a 4 =20 meg system was CELF in 2006. 32 bit x86.) Look at the uClinux project. Or try to bolt your app onto uboot and run =20 it on the bare metal. Rob=