Discussion:
[ORLinux] OS Kernel sizes for OR1200.
vamsi krishna
2012-04-18 10:27:10 UTC
Permalink
Hi All,

We are going to port linux kernel on to the OR1200. Our requirement is to
run multiple threads on OR1200. First we want to port linux as the open
source tools are available. And the OS size is concern in the design(RAM
size is KBs) . Please provide the details of LINUX and RTOS kernel sizes in
the ROM(compressed image size in bootROM) and after booting, it's occupied
sizes in the RAM . Hence we can choose the suitable kernel for our
implementation and proceed to next step.


Thanks,
A.vamsi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openrisc.net/pipermail/linux/attachments/20120418/2fe5feca/attachment.html>
Jonas Bonn
2012-04-18 12:26:49 UTC
Permalink
Hi,

If you only have a few kB's of RAM, I think you're going to have hard
time finding an OS... Linux is definitely out of the question.

Here's what the Linux system I'm running now looks like, memory-wise.
This is not super-stripped, but nonetheless:

Memory: 26824k/32768k available (2050k kernel code, 5944k reserved, 306k
data, 3264k init, 0k highmem).

So I need something on the order 6MB just to get Linux up and running.
After it's started, the kernel itself still uses roughly 3MB of memory.
I'm sure you can minimize the kernel configuration to bring this down
significantly in size, but I'd be very surprised if you could get it
down below 1MB runtime memory and 1.5MB in order to boot...

As for "porting" Linux to the OR1200: there are already several users
of Linux on the OR1200 and the upstream Linux kernel supports this
architecture. Adding board support is fairly straightforward... this
mailing list is the right place to ask for details about that.

Hope that helps. Good luck with your project!

/Jonas
Post by vamsi krishna
Hi All,
We are going to port linux kernel on to the OR1200. Our requirement
is to run multiple threads on OR1200. First we want to port linux as
the open source tools are available. And the OS size is concern in the
design(RAM size is KBs) . Please provide the details of LINUX and RTOS
kernel sizes in the ROM(compressed image size in bootROM) and after
booting, it's occupied sizes in the RAM . Hence we can choose the
suitable kernel for our implementation and proceed to next step.
Thanks,
A.vamsi
_______________________________________________
Linux mailing list
Linux at lists.openrisc.net
http://lists.openrisc.net/listinfo/linux
Loading...