How much MM & flash space needed?

Ask questions about Arch Linux ARM. Please search before making a new topic.

How much MM & flash space needed?

Postby jbpark03 » Wed Jul 16, 2014 6:59 am

Hi,

I'm considering to install Archlinux ARM on an average ARMv6 CPU.
Additionally, I want to use Java with JDK 8 for ARM.
Considering my case, can anyone give me a rough idea on how much main memory and aux' memory(either flash or SSD) would it require?
Somewhere I learned that JRE and Swing require about 60MB for MM and flash, for your reference.
Thank you,

JB
jbpark03
 
Posts: 2
Joined: Wed Jul 16, 2014 6:41 am

Re: How much MM & flash space needed?

Postby Awebb » Thu Jul 17, 2014 10:39 pm

Most base images default to 2GiB. After installing some small tools, X, a small tiling WM, a couple of browsers (for testing), python3 and xbmc, Arch itself is now around 1.5GiB.

But you can find this out yourself. Download and extract an image. This will be the size of the installed Arch.
Awebb
 
Posts: 6
Joined: Tue Jul 15, 2014 10:59 pm

Re: How much MM & flash space needed?

Postby jbpark03 » Fri Jul 18, 2014 12:17 am

Thank you Awebb,

Recently, I read a book "Linux for Embedded and Real-time..." by Doug Abbot. In the book, he wrote, "it is not difficult to produce a fully functional Linux system occupying no more than 2 MB of flash memory."
So, by the book, the Linux system itself is negligible in choosing the size of flash. Therefore, 2GB of flash would be a possible configuration, right?

JB

PS. But, what about the RAM size?
jbpark03
 
Posts: 2
Joined: Wed Jul 16, 2014 6:41 am

Re: How much MM & flash space needed?

Postby WarheadsSE » Fri Jul 18, 2014 12:47 am

Well if you don't install KDE, you don't exactly need much.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How much MM & flash space needed?

Postby moonman » Sat Jul 19, 2014 10:33 pm

You can fit things into 2mb if you strip down the kernel to a bare minimum, use uclibc instead of glibc, use Os compiler optimizations and then put everything into squashfs readonly filesystem with some crippled tools (busybox). That being said, we dont use any of the above because uclibc is not fully compatible with glibc and some thiings just won't compile or will not work correctly, Os optimizations are good for size but not for performance and squashfs is a readonly. You will likely see those used in an embedded firmwares when a particular firmware will only work with some particular hardware and nothing else. ArchLinuxARM is a full blown operating system so expect roughly the same amount of space used as on x86.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests