Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  Erlang on embedded linux

michal
Posted: Wed Jul 04, 2007 10:45 am Reply with quote
User Joined: 20 Jul 2006 Posts: 44 Location: London
Hi,
I have seen recently presentation about the Recycler Robot programmed in Erlang http://nuxi.diit.unict.it/eurobot/ As far as I can understand the Erlang VM was running on a small embedded machine with a lot of USB ports. Is anyone running Erlang in such a way? What hardware? What embedded operation systems?

Thanks for any details,
Michal

--
Michal Slaski
http://www.erlang-consulting.com
View user's profile Send private message
KatolaZ
Posted: Wed Jul 04, 2007 11:32 am Reply with quote
Joined: 04 Jul 2007 Posts: 5
michal wrote:
Hi,
I have seen recently presentation about the Recycler Robot programmed in Erlang http://nuxi.diit.unict.it/eurobot/ As far as I can understand the Erlang VM was running on a small embedded machine with a lot of USB ports. Is anyone running Erlang in such a way? What hardware? What embedded operation systems?

Thanks for any details,
Michal


Hi Michal,
I can give you some info about the hardware used fot the robot you're talking about. It is a simple embedded PC, a VIA C3 @800Mhz, 128 MB of RAM, a 2GB flash, 2 USB ports, many serial ports (both RS232 and RS 485), ethernet, VGA, PS/2 and much more. You understand this is not a really "small" embedded system (128 MB of RAM are really a lot of space!), and I think it is still possible to put Erlang onto smaller devices (such as this one :
http://www.acmesystems.it/?id=4 which is REALLY small!)

The operating system used is Debian GNU/Linux (stable), with a 2.6.18 kernel. The Erlang application uses a driver to manage communication via the serial port (both for RS232 and RS485 communications) and a port to a small server written in C which is in charge of performing video capturing and analysis.

HND

Enzo
View user's profile Send private message
michal
Posted: Tue Jul 17, 2007 5:57 pm Reply with quote
User Joined: 20 Jul 2006 Posts: 44 Location: London
Hi Enzo,
Thanks for your reply. In your case there was no need to cross compile,am I right? I was wandering if anyone tried to run Erlang on a smaller system like the one you pointed?

Michal

_________________
http://www.erlang-consulting.com
View user's profile Send private message
KatolaZ
Posted: Wed Jul 18, 2007 7:04 pm Reply with quote
Joined: 04 Jul 2007 Posts: 5
michal wrote:
Hi Enzo,
Thanks for your reply. In your case there was no need to cross compile,am I right? I was wandering if anyone tried to run Erlang on a smaller system like the one you pointed?

Michal


Well, Michal, AFAIK Erlang has been compiled also for ARM processors, so it is possible to pick a (not so) small embedded board based on ARM9 or ARM10 processors, and start playing with it. Consider that the emulator still requires a relatively large amount of memory, or at least a large amount in the field of embedded systems! In a couple of words, your board should have enough RAM (at least 32 MB, I think).
Cross-compiling to another architecture should not be a problem: gcc hides all the details, and a lot of mini-howto are available which explain how to build a toolchain needed for cross compilation.



HND

Enzo
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum