Re: Minimal x86 memory requirements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Tuesday 15 February 2011 01:33:25 Darren Hart wrote:
> I'm looking to build a bare minimum x86 kernel that will boot and run
> busybox, nothing else (and eventually less than that). Assuming I do
> need USB-HID, IDE, and basic TCP/IP, what should I expect to be the
> least RAM I could get away with just to boot off flash, get a getty,
> login, and take a few directory listings.
> 
> If anyone would like to point me where to RTFM, that would be
> appreciated as well :-)

OpenWrt runs currently on a RDC R-321x System-on-Chip which is i486 based [1] 
and usually designed with 16MB of RAM, the bzImage itself is around 768KB w/ 
the following features built-in:

- TCP/IP networking
- MTD support for CFI compatible NOR flashes
- JFFS2/squashfs filesystem

When I load additionnal modules to be able to do NAT/USB/FAT filesystems for 
instance, plus having must have daemons running (dnsmasq, dropbear, busybox, 
hostapd ...), I still have around 3MB of available RAM (for a 16MB RAM 
device). The filesystem itself is compressed using squashfs+lzma, and fits 
within 3MB (loadable modules are inside, usable image at [2]).

So from my perspective, you should be able to do all of this with a 16MB RAM 
device, plus 4 to 8MB of Flash to be confortable with storing your filesystem.

Hope that helps.

[1]: http://wiki.openwrt.org/oldwiki/openwrtdocs/hardware/airlink101/ar525w
[2]: http://downloads.openwrt.org/backfire/10.03.1-rc4/rdc/openwrt-rdc-
squashfs-ar525w.img
--
Florian

--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Gstreamer Embedded]     [Linux MMC Devel]     [U-Boot V2]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux ARM Kernel]     [Linux OMAP]     [Linux SCSI]

  Powered by Linux