|
From: | Rob Landley |
Subject: | Re: [Qemu-devel] minimal linux distribution for qemu |
Date: | Sun, 18 Aug 2013 00:00:39 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |