Using the network interface

85 views
Skip to first unread message

MG

unread,
Jan 22, 2011, 11:11:53 AM1/22/11
to erlang-embedded
Hi,

i i am just making my first steps with embedded erlang and the Gumstix
incl.
Tobi baseboard with Ethernet interface.
Erlang embedded is running fronm the SD card (really great) and i have
a connection over the USB/serial port. I would like to use the
Ethernet por. Its running with the standard Gumstix Angstrom Linux but
not with the Embedded Erlang. If config is showing only the loopback
interface. Any trick to start the network support?

Kind Regards

Markus

Fredrik Andersson

unread,
Jan 24, 2011, 2:46:19 AM1/24/11
to erlang-...@googlegroups.com
Hi Markus,

Great to hear that you have an interest in running Erlang on the Gumstix board. :)

Sadly we do not have access to an Tobi expansion board at the moment so can't help you with the details but my guess is that it is probably a module that you are missing for it to be able to use the network interface.

There is a package called all-kernel-modules (or something similar to that) that you can try to install with opkg. If you have trouble installing it maybe the Ångström online builder found at http://narcissus.angstrom-distribution.org/ could be of use.

If all else fails you can always try to see what the gumstix-users mailing list has to say about it. For information on how to sign up see http://old.nabble.com/Gumstix-f22543.html

Please let us know how it works out :)

greim

unread,
Jan 24, 2011, 3:37:10 AM1/24/11
to erlang-...@googlegroups.com
Fredrik,

thanks a lot for your reply.


> Great to hear that you have an interest in running Erlang on the Gumstix
> board. :)
>
> Sadly we do not have access to an Tobi expansion board at the moment so
> can't help you with the details but my guess is that it is probably a
> module that you are missing for it to be able to use the network interface.
>
> There is a package called all-kernel-modules (or something similar to
> that) that you can try to install with opkg. If you have trouble

> installing it maybe the 锟絥gstr锟絤 online builder found at

thanks a lot for the hint, i will try it. opkg without the network seems
to be difficult, or am i wrong here?


>
> If all else fails you can always try to see what the gumstix-users
> mailing list has to say about it. For information on how to sign up see
> http://old.nabble.com/Gumstix-f22543.html
>

i checked a lot but didn't find the right thing yet.

Have you ether thought about a opkg package for Erlang?

Maybe my company would sponsor it.
Can you estimate how much work / Euros it would be?

> Please let us know how it worksout :)

I keep you informed.
Kind Regards

Mit freundlichen Gr锟斤拷en

Markus Greim

Schleibinger Ger锟絫e
Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany

Tel. +49 8086 94010
Fax. +49 8086 94014
Mobil +49 172 8 999 196
http://www.schleibinger.com


Amtsgericht Traunstein HRB 9646
Gesch锟絝tsf锟絟rer:
Dipl.-Ing. (FH) Oliver Teubert
Dipl.-Ing. (Univ.) Markus Greim
UST-ID. DE 174 175 046


>
> On Sat, Jan 22, 2011 at 5:11 PM, MG <gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>> wrote:
>
> Hi,
>
> i i am just making my first steps with embedded erlang and the Gumstix
> incl.
> Tobi baseboard with Ethernet interface.
> Erlang embedded is running fronm the SD card (really great) and i have
> a connection over the USB/serial port. I would like to use the
> Ethernet por. Its running with the standard Gumstix Angstrom Linux but
> not with the Embedded Erlang. If config is showing only the loopback
> interface. Any trick to start the network support?
>
> Kind Regards
>
> Markus
>
>


--

Fredrik Andersson

unread,
Jan 24, 2011, 3:58:11 AM1/24/11
to erlang-...@googlegroups.com
On Mon, Jan 24, 2011 at 9:37 AM, greim <gr...@schleibinger.com> wrote:
Fredrik,

thanks a lot for your reply.
Great to hear that you have an interest in running Erlang on the Gumstix
board. :)

Sadly we do not have access to an Tobi expansion board at the moment so
can't help you with the details but my guess is that it is probably a
module that you are missing for it to be able to use the network interface.

There is a package called all-kernel-modules (or something similar to
that) that you can try to install with opkg. If you have trouble
installing it maybe the Ångström online builder found at
thanks a lot for the hint, i will try it. opkg without the network seems to be difficult, or am i wrong here?


It should not be that hard, just download the package and you should be able to give it as an argument to opkg install <package_name>
 



If all else fails you can always try to see what the gumstix-users
mailing list has to say about it. For information on how to sign up see
http://old.nabble.com/Gumstix-f22543.html


i checked a lot but didn't find the right thing yet.

Have you ether thought about a opkg package for Erlang?

Maybe my company would sponsor it.
Can you estimate how much work / Euros it would be?


Well there should be an Erlang package for opkg already but I believe it is an older version. We might setup swarm http://swarm.erlang-solutions.com/ to automatically build a new opkg package of Erlang but it is probably a while in the future before we are able to set that up.

In the meantime its perfectly fine to just use the version of erlang that we built for Embedded-Erlang. It is currently R13B04 but I could build R14B01 for you if you need the latest version. You can get it by downloading the Embedded-Erlang package and just extract the rootfs tarball from the archive and grab the installation under /opt/local/erlang
 

Please let us know how it worksout :)

I keep you informed.
Kind Regards

Mit freundlichen Grüßen

Markus Greim

Schleibinger Geräte

Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany

Tel. +49 8086 94010
Fax. +49 8086 94014
Mobil +49 172 8 999 196
http://www.schleibinger.com


Amtsgericht Traunstein HRB 9646
Geschäftsführer:

greim

unread,
Jan 24, 2011, 12:53:30 PM1/24/11
to erlang-...@googlegroups.com
Fredrik,

thanks for the help again.

I moved all stuff from /opt
lib and /usr/lib
from your distribution to the official distro from Gumstik and also to a
new build from Narcissus
In both cases i have got the following message if i start erl

/opt/local/erlang/erts-5.7.5/bin/beam: can't handle reloc type 0x13

i guess some problems with libraries.
Any idea?

Kind Regards

Markus Greim

Schleibinger Ger�te


Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany


Amtsgericht Traunstein HRB 9646
Gesch�ftsf�hrer:


Dipl.-Ing. (FH) Oliver Teubert
Dipl.-Ing. (Univ.) Markus Greim
UST-ID. DE 174 175 046


Am 24.01.2011 09:58, schrieb Fredrik Andersson:
>
>
> On Mon, Jan 24, 2011 at 9:37 AM, greim <gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>> wrote:
>
> Fredrik,
>
> thanks a lot for your reply.
>
>
>
> Great to hear that you have an interest in running Erlang on the
> Gumstix
> board. :)
>
> Sadly we do not have access to an Tobi expansion board at the
> moment so
> can't help you with the details but my guess is that it is
> probably a
> module that you are missing for it to be able to use the network
> interface.
>
> There is a package called all-kernel-modules (or something
> similar to
> that) that you can try to install with opkg. If you have trouble

> installing it maybe the �ngstr�m online builder found at

> Mit freundlichen Gr��en
>
> Markus Greim
>
> Schleibinger Ger�te


> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>
>
> On Sat, Jan 22, 2011 at 5:11 PM, MG <gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>

> <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>>


> wrote:
>
> Hi,
>
> i i am just making my first steps with embedded erlang and
> the Gumstix
> incl.
> Tobi baseboard with Ethernet interface.
> Erlang embedded is running fronm the SD card (really great)
> and i have
> a connection over the USB/serial port. I would like to use the
> Ethernet por. Its running with the standard Gumstix Angstrom
> Linux but
> not with the Embedded Erlang. If config is showing only the
> loopback
> interface. Any trick to start the network support?
>
> Kind Regards
>
> Markus
>
>
>
>
> --
>
>
>
>


--


Fredrik Andersson

unread,
Jan 24, 2011, 2:47:46 PM1/24/11
to erlang-...@googlegroups.com
On Mon, Jan 24, 2011 at 6:53 PM, greim <gr...@schleibinger.com> wrote:
Fredrik,

thanks for the help again.

I moved all stuff from /opt
lib and /usr/lib
from your distribution to the official distro from Gumstik and also to a new build from Narcissus
In both cases i have got the following message if i start erl

/opt/local/erlang/erts-5.7.5/bin/beam: can't handle reloc type 0x13

i guess some problems with libraries.
Any idea?

We have compiled Erlang to support general arm processors I have no idea if the libs are compiled in a general sense. Try wit ha  clean build and only copy the Erlang folder to it and it should work.
 

Kind Regards


Markus Greim

Schleibinger Geräte

Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany

Tel. +49 8086 94010
Fax. +49 8086 94014
Mobil +49 172 8 999 196
http://www.schleibinger.com


Amtsgericht Traunstein HRB 9646
Geschäftsführer:

Dipl.-Ing. (FH) Oliver Teubert
Dipl.-Ing. (Univ.) Markus Greim
UST-ID. DE 174 175 046


Am 24.01.2011 09:58, schrieb Fredrik Andersson:


On Mon, Jan 24, 2011 at 9:37 AM, greim <gr...@schleibinger.com
<mailto:gr...@schleibinger.com>> wrote:

   Fredrik,

   thanks a lot for your reply.



       Great to hear that you have an interest in running Erlang on the
       Gumstix
       board. :)

       Sadly we do not have access to an Tobi expansion board at the
       moment so
       can't help you with the details but my guess is that it is
       probably a
       module that you are missing for it to be able to use the network
       interface.

       There is a package called all-kernel-modules (or something
       similar to
       that) that you can try to install with opkg. If you have trouble
       installing it maybe the Ångström online builder found at
   Mit freundlichen Grüßen

   Markus Greim

   Schleibinger Geräte
   Teubert u. Greim GmbH
   Gewerbestrasse 4
   84428 Buchbach
   Germany

   Tel. +49 8086 94010
   Fax. +49 8086 94014
   Mobil +49 172 8 999 196
   http://www.schleibinger.com


   Amtsgericht Traunstein HRB 9646
   Geschäftsführer:

   Dipl.-Ing. (FH) Oliver Teubert
   Dipl.-Ing. (Univ.) Markus Greim
   UST-ID. DE 174 175 046



       On Sat, Jan 22, 2011 at 5:11 PM, MG <gr...@schleibinger.com
       <mailto:gr...@schleibinger.com>
       <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>>

       wrote:

           Hi,

           i i am just making my first steps with embedded erlang and
       the Gumstix
           incl.
           Tobi baseboard with Ethernet interface.
           Erlang embedded is running fronm the SD card (really great)
       and i have
           a connection over the USB/serial port. I would like to use the
           Ethernet por. Its running with the standard Gumstix Angstrom
       Linux but
           not with the Embedded Erlang. If config is showing only the
       loopback
           interface. Any trick to start the network support?

           Kind Regards

           Markus




   --






--



Gustav Simonsson

unread,
Jan 25, 2011, 3:55:32 AM1/25/11
to erlang-...@googlegroups.com

I believe the Erlang binaries are compiled for uClibc?
If the official gumstix distro uses glibc or EGLIBC or such, the binaries will not run.

Best Regards,
Gustav Simonsson.

greim

unread,
Jan 25, 2011, 5:53:15 AM1/25/11
to erlang-...@googlegroups.com
Hi Gustav,


>
> I believe the Erlang binaries are compiled for uClibc?
> If the official gumstix distro uses glibc or EGLIBC or such, the binaries will not run.

i also believe, that this may be the problem.
Any chance ton cross-compile with the other libraries?
I have seen a bitbake file for Erlang.
But up to now, i have not played around with this bitbake mechanism.
Any hints? Seems quite complicate...

Markus

Fredrik Andersson

unread,
Jan 25, 2011, 7:18:10 AM1/25/11
to erlang-...@googlegroups.com
On Tue, Jan 25, 2011 at 11:53 AM, greim <gr...@schleibinger.com> wrote:
Hi Gustav,




I believe the Erlang binaries are compiled for uClibc?
If the official gumstix distro uses glibc or EGLIBC or such, the binaries will not run.

i also believe, that this may be the problem.
Any chance ton cross-compile with the other libraries?
I have seen a bitbake file for Erlang.
But up to now, i have not played around with this bitbake mechanism.
Any hints? Seems quite complicate...

Markus


Do you want us to compile a version Erlang for glibc? I need to setup my toolchain for glibc before I can help you with that and it takes a while (lots of compiling) but I can have a version ready for you tomorow if that is ok.

greim

unread,
Feb 3, 2011, 10:10:06 AM2/3/11
to erlang-...@googlegroups.com


Hi Gustav,

i found no time the last day working further on..
Was at the Erlang Factory Munich light on Monday..quite interesting.
I can now cross compile Freepascal programs for the Overo (was also a
hard task)

You offered me to compile a version against glibc
May i come back to this ?

Kind Regards


Markus

> <mailto:gr...@schleibinger.com>> wrote:
>
>
> Fredrik,
>


> thanks for the help again.
>
> I moved all stuff from /opt
> lib and /usr/lib
> from your distribution to the official distro from Gumstik and
> also to a new build from Narcissus
> In both cases i have got the following message if i start erl
>
> /opt/local/erlang/erts-5.7.5/bin/beam: can't handle reloc type 0x13
>
> i guess some problems with libraries.
> Any idea?
>
>
> We have compiled Erlang to support general arm processors I have
> no idea if the libs are compiled in a general sense. Try wit ha
> clean build and only copy the Erlang folder to it and it should
> work.
>
>
>
> Kind Regards
>
>
> Markus Greim
>

> Schleibinger Ger�te


> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>
> Am 24.01.2011 09:58, schrieb Fredrik Andersson:
>
>
>
>
>
> On Mon, Jan 24, 2011 at 9:37 AM, greim< gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>
>
>
>

> <mailto: gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>>> wrote:
>
> Fredrik,
>
> thanks a lot for your reply.
>
>
>
> Great to hear that you have an interest in running Erlang on the
> Gumstix
> board. :)
>
> Sadly we do not have access to an Tobi expansion board at the
> moment so
> can't help you with the details but my guess is that it is
> probably a
> module that you are missing for it to be able to use the network
> interface.
>
> There is a package called all-kernel-modules (or something
> similar to
> that) that you can try to install with opkg. If you have trouble

> installing it maybe the �ngstr�m online builder found at

> Mit freundlichen Gr��en
>
> Markus Greim
>
> Schleibinger Ger�te

> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:

> Mit freundlichen Gr��en
>
> Markus Greim
>
> Schleibinger Ger�te

> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>


--

Mit freundlichen Gr��en

Markus Greim

Schleibinger Ger�te


Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany


Amtsgericht Traunstein HRB 9646
Gesch�ftsf�hrer:

Fredrik Andersson

unread,
Feb 24, 2011, 4:12:08 AM2/24/11
to erlang-...@googlegroups.com, greim
On Thu, Feb 3, 2011 at 4:10 PM, greim <gr...@schleibinger.com> wrote:



Hi Gustav,

i found no time the last day working further on..
Was at the Erlang Factory Munich light on Monday..quite interesting.
I can now cross compile Freepascal programs for the Overo (was also a hard task)

You offered me to compile a version against glibc
May i come back to this ?

I am very sorry to have forgotten about this. Do you still need a glibc version to be compiled? In that case I will get right on it.
 
       Schleibinger Geräte

       Teubert u. Greim GmbH
       Gewerbestrasse 4
       84428 Buchbach
       Germany

       Tel. +49 8086 94010
       Fax. +49 8086 94014
       Mobil +49 172 8 999 196
       http://www.schleibinger.com


       Amtsgericht Traunstein HRB 9646
       Geschäftsführer:

       Dipl.-Ing. (FH) Oliver Teubert
       Dipl.-Ing. (Univ.) Markus Greim
       UST-ID. DE 174 175 046


       Am 24.01.2011 09:58, schrieb Fredrik Andersson:





       On Mon, Jan 24, 2011 at 9:37 AM, greim< gr...@schleibinger.com
       <mailto:gr...@schleibinger.com>



       <mailto: gr...@schleibinger.com
       <mailto:gr...@schleibinger.com>>>  wrote:

       Fredrik,

       thanks a lot for your reply.



       Great to hear that you have an interest in running Erlang on the
       Gumstix
       board. :)

       Sadly we do not have access to an Tobi expansion board at the
       moment so
       can't help you with the details but my guess is that it is
       probably a
       module that you are missing for it to be able to use the network
       interface.

       There is a package called all-kernel-modules (or something
       similar to
       that) that you can try to install with opkg. If you have trouble
       installing it maybe the Ångström online builder found at
       Mit freundlichen Grüßen

       Markus Greim

       Schleibinger Geräte
       Teubert u. Greim GmbH
       Gewerbestrasse 4
       84428 Buchbach
       Germany

       Tel. +49 8086 94010
       Fax. +49 8086 94014
       Mobil +49 172 8 999 196
       http://www.schleibinger.com


       Amtsgericht Traunstein HRB 9646
       Geschäftsführer:
   Mit freundlichen Grüßen

   Markus Greim

   Schleibinger Geräte
   Teubert u. Greim GmbH
   Gewerbestrasse 4
   84428 Buchbach
   Germany

   Tel. +49 8086 94010
   Fax. +49 8086 94014
   Mobil +49 172 8 999 196
   http://www.schleibinger.com


   Amtsgericht Traunstein HRB 9646
   Geschäftsführer:

   Dipl.-Ing. (FH) Oliver Teubert
   Dipl.-Ing. (Univ.) Markus Greim
   UST-ID. DE 174 175 046




--



Mit freundlichen Grüßen

Markus Greim

Schleibinger Geräte
Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany

Tel. +49 8086 94010
Fax. +49 8086 94014
Mobil +49 172 8 999 196
http://www.schleibinger.com


Amtsgericht Traunstein HRB 9646
Geschäftsführer:

greim

unread,
Feb 24, 2011, 5:31:45 AM2/24/11
to Fredrik Andersson, erlang-...@googlegroups.com
Hi Fredrik,

>
> i found no time the last day working further on..
> Was at the Erlang Factory Munich light on Monday..quite interesting.
> I can now cross compile Freepascal programs for the Overo (was also
> a hard task)
>
> You offered me to compile a version against glibc
> May i come back to this ?
>
>
> I am very sorry to have forgotten about this. Do you still need a glibc
> version to be compiled? In that case I will get right on it.
>

I copied everything from your distro to the official Angstr�m/Gumstix
distribution
but if i like to start erlang the following message appears:

/opt/local/erlang/erts-5.7.5/bin/beam: can't handle reloc type 0x13

Also if i start any other erlang related binary.

As far as i know its a glibc based system

I have just seen that there is an erlang R13B01 in official repository
of Angstr�m.

http://www.angstrom-distribution.org/repo/?pkgname=erlang

See below:
----------------------------------------------------
Package details for erlang R13B01-r2.5

A dynamic programming language and runtime environment, with built-in
support for concurrency, distribution and fault tolerance
Maintainer:
Angstrom Developers <angstrom-distro-devel at linuxtogo.org>
Section:
devel/erlang
Depends:
libc6 (>= 2.9), ncurses (>= 5.4), libgcc1 (>= 4.3.3)
Size:
6.85 Megabytes
Available versions and architectures:
erlang R13B01-r2.5 for armv5te (�ngstr�m 2010.x glibc armv5te base feed)
erlang R13B01-r2.5 for armv7a (�ngstr�m 2010.x glibc armv7a base feed)

--------------------------------------------------------------------------------

I will try to test it.

The OMAP35xx of the Gumstix is an ARMv7

Nevertheless any help for getting erlang running would be very nice.

Kind Regards

Markus Greim

>
> Kind Regards
>
>
> Markus
>
>
>
>
> Am 25.01.2011 13:18, schrieb Fredrik Andersson:
>
>
>
>
>
>
> On Tue, Jan 25, 2011 at 11:53 AM, greim <gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>

> <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>>
> wrote:
>
>
> Fredrik,
>

> thanks for the help again.
>
> I moved all stuff from /opt
> lib and /usr/lib
> from your distribution to the official distro from
> Gumstik and
> also to a new build from Narcissus
> In both cases i have got the following message if i
> start erl
>
> /opt/local/erlang/erts-5.7.5/bin/beam: can't handle
> reloc type 0x13
>
> i guess some problems with libraries.
> Any idea?
>
>
> We have compiled Erlang to support general arm
> processors I have
> no idea if the libs are compiled in a general sense. Try
> wit ha
> clean build and only copy the Erlang folder to it and it
> should
> work.
>
>
>
> Kind Regards
>
>
> Markus Greim
>

> Schleibinger Ger�te


> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>
> Am 24.01.2011 09:58, schrieb Fredrik Andersson:
>
>
>
>
>
> On Mon, Jan 24, 2011 at 9:37 AM, greim<
> gr...@schleibinger.com <mailto:gr...@schleibinger.com>
> <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>
>
>
>

> <mailto: gr...@schleibinger.com <mailto:gr...@schleibinger.com>
> <mailto:gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>>>> wrote:
>
> Fredrik,
>
> thanks a lot for your reply.
>
>
>
> Great to hear that you have an interest in running
> Erlang on the
> Gumstix
> board. :)
>
> Sadly we do not have access to an Tobi expansion board
> at the
> moment so
> can't help you with the details but my guess is that it is
> probably a
> module that you are missing for it to be able to use the
> network
> interface.
>
> There is a package called all-kernel-modules (or something
> similar to
> that) that you can try to install with opkg. If you have
> trouble

> installing it maybe the �ngstr�m online builder found at

> Mit freundlichen Gr��en
>
> Markus Greim
>
> Schleibinger Ger�te

> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>
>
> On Sat, Jan 22, 2011 at 5:11 PM, MG<
> gr...@schleibinger.com <mailto:gr...@schleibinger.com>
> <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>
> <mailto: gr...@schleibinger.com <mailto:gr...@schleibinger.com>
> <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>>
> <mailto: gr...@schleibinger.com <mailto:gr...@schleibinger.com>
> <mailto:gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>><mailto: gr...@schleibinger.com
> <mailto:gr...@schleibinger.com>

> <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>>>>


>
> wrote:
>
> Hi,
>
> i i am just making my first steps with embedded erlang and
> the Gumstix
> incl.
> Tobi baseboard with Ethernet interface.
> Erlang embedded is running fronm the SD card (really great)
> and i have
> a connection over the USB/serial port. I would like to
> use the
> Ethernet por. Its running with the standard Gumstix Angstrom
> Linux but
> not with the Embedded Erlang. If config is showing only the
> loopback
> interface. Any trick to start the network support?
>
> Kind Regards
>
> Markus
>
>
>
>
>
>
> --
>
>
>

> Mit freundlichen Gr��en
>
> Markus Greim
>
> Schleibinger Ger�te

> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>
>
>
> --
>
>
>

> Mit freundlichen Gr��en
>
> Markus Greim
>
> Schleibinger Ger�te

> Teubert u. Greim GmbH
> Gewerbestrasse 4
> 84428 Buchbach
> Germany
>
> Tel. +49 8086 94010
> Fax. +49 8086 94014
> Mobil +49 172 8 999 196
> http://www.schleibinger.com
>
>
> Amtsgericht Traunstein HRB 9646

> Gesch�ftsf�hrer:


> Dipl.-Ing. (FH) Oliver Teubert
> Dipl.-Ing. (Univ.) Markus Greim
> UST-ID. DE 174 175 046
>
>


--

Mit freundlichen Gr��en

Markus Greim

Schleibinger Ger�te


Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany


Amtsgericht Traunstein HRB 9646
Gesch�ftsf�hrer:

Fredrik Andersson

unread,
Feb 24, 2011, 5:37:03 AM2/24/11
to erlang-...@googlegroups.com, greim
On Thu, Feb 24, 2011 at 11:31 AM, greim <gr...@schleibinger.com> wrote:
Hi Fredrik,



   i found no time the last day working further on..
   Was at the Erlang Factory Munich light on Monday..quite interesting.
   I can now cross compile Freepascal programs for the Overo (was also
   a hard task)

   You offered me to compile a version against glibc
   May i come back to this ?


I am very sorry to have forgotten about this. Do you still need a glibc
version to be compiled? In that case I will get right on it.

I copied everything from your distro to the official Angström/Gumstix distribution

but if i like to start erlang the following message appears:


It should be a uclibc system from all that I know. I am working on setting up and compiling a toolchain for glibc so that I can build you a glibc version of erlang.
 

/opt/local/erlang/erts-5.7.5/bin/beam: can't handle reloc type 0x13

Also if i start any other erlang related binary.

As far as i know its a glibc based system

I have just seen that there is an erlang R13B01 in official repository of Angström.


http://www.angstrom-distribution.org/repo/?pkgname=erlang

See below:
----------------------------------------------------
Package details for erlang R13B01-r2.5

A dynamic programming language and runtime environment, with built-in support for concurrency, distribution and fault tolerance
Maintainer:
Angstrom Developers <angstrom-distro-devel at linuxtogo.org>
Section:
devel/erlang
Depends:
libc6 (>= 2.9), ncurses (>= 5.4), libgcc1 (>= 4.3.3)
Size:
6.85 Megabytes
Available versions and architectures:
erlang R13B01-r2.5 for armv5te (Ångström 2010.x glibc armv5te base feed)
erlang R13B01-r2.5 for armv7a (Ångström 2010.x glibc armv7a base feed)
               Schleibinger Geräte

               Teubert u. Greim GmbH
               Gewerbestrasse 4
               84428 Buchbach
               Germany

               Tel. +49 8086 94010
               Fax. +49 8086 94014
               Mobil +49 172 8 999 196
       http://www.schleibinger.com


               Amtsgericht Traunstein HRB 9646
               Geschäftsführer:
               installing it maybe the Ångström online builder found at
               Mit freundlichen Grüßen

               Markus Greim

               Schleibinger Geräte
               Teubert u. Greim GmbH
               Gewerbestrasse 4
               84428 Buchbach
               Germany

               Tel. +49 8086 94010
               Fax. +49 8086 94014
               Mobil +49 172 8 999 196
       http://www.schleibinger.com


               Amtsgericht Traunstein HRB 9646
               Geschäftsführer:
       <mailto:gr...@schleibinger.com <mailto:gr...@schleibinger.com>>>>>
           Mit freundlichen Grüßen

           Markus Greim

           Schleibinger Geräte
           Teubert u. Greim GmbH
           Gewerbestrasse 4
           84428 Buchbach
           Germany

           Tel. +49 8086 94010
           Fax. +49 8086 94014
           Mobil +49 172 8 999 196
       http://www.schleibinger.com


           Amtsgericht Traunstein HRB 9646
           Geschäftsführer:

           Dipl.-Ing. (FH) Oliver Teubert
           Dipl.-Ing. (Univ.) Markus Greim
           UST-ID. DE 174 175 046




   --



   Mit freundlichen Grüßen

   Markus Greim

   Schleibinger Geräte
   Teubert u. Greim GmbH
   Gewerbestrasse 4
   84428 Buchbach
   Germany

   Tel. +49 8086 94010
   Fax. +49 8086 94014
   Mobil +49 172 8 999 196
   http://www.schleibinger.com


   Amtsgericht Traunstein HRB 9646
   Geschäftsführer:

   Dipl.-Ing. (FH) Oliver Teubert
   Dipl.-Ing. (Univ.) Markus Greim
   UST-ID. DE 174 175 046




--



Mit freundlichen Grüßen

Markus Greim

Schleibinger Geräte
Teubert u. Greim GmbH
Gewerbestrasse 4
84428 Buchbach
Germany

Tel. +49 8086 94010
Fax. +49 8086 94014
Mobil +49 172 8 999 196
http://www.schleibinger.com


Amtsgericht Traunstein HRB 9646
Geschäftsführer:

Fredrik Andersson

unread,
Feb 24, 2011, 10:35:36 AM2/24/11
to erlang-...@googlegroups.com, greim
I have finished a compilation of R14B01 for arm glibc now and am sending it to you via streamfile.com if anyone else on the list is interested the link for downloading it is http://www.streamfile.com/myid/9Ul6FGqZTmSc

The link wont stay active forever so please tell me if I should upload it anywhere more permanent. My plan is to start releasing these packages on a regular basis and that is why I did not bother doing it permanent for now (Yes I know, bad mailinglist etiquette).

I havent tried it so please tell me if you encounter any problems. This package includes all the standard OTP libraries.

greim

unread,
Feb 24, 2011, 12:54:26 PM2/24/11
to Fredrik Andersson, erlang-...@googlegroups.com
Hi Fredrik,

Am 24.02.2011 16:35, schrieb Fredrik Andersson:
> I have finished a compilation of R14B01 for arm glibc now and am sending

> it to you via streamfile.com <http://streamfile.com> if anyone else on


> the list is interested the link for downloading it is
> http://www.streamfile.com/myid/9Ul6FGqZTmSc
>
> The link wont stay active forever so please tell me if I should upload
> it anywhere more permanent. My plan is to start releasing these packages
> on a regular basis and that is why I did not bother doing it permanent
> for now (Yes I know, bad mailinglist etiquette).
>
> I havent tried it so please tell me if you encounter any problems. This
> package includes all the standard OTP libraries.
>

I did some very dirty thing and copied all the binaries and libraries
to the existing installation that didn't work

in /opt/local/erlang
..and bingo the erlshell is working!!!

Thanks.

I am sure that this was not the right way doing it.
I have seen that all the arm-eabi stuff is still cross-compiled.
So

./configure --host= --build=

make release RELEASE_ROOT=./testme

should be enough to make a right configured image of the installation
directory for the ARM?

But what are the right options for host and build.
Should i install on R14B01 on my Linux PC before?

Sorry for my very stupid questions. But i am a Erlang newby who must
check if Erlang would run on an embedded system, _before_ it make sense
to learn Erlang more in details.

Kind Regards

Markus


Fredrik Andersson

unread,
Feb 25, 2011, 2:45:25 AM2/25/11
to erlang-...@googlegroups.com, greim
On Thu, Feb 24, 2011 at 6:54 PM, greim <gr...@schleibinger.com> wrote:
Hi Fredrik,

Am 24.02.2011 16:35, schrieb Fredrik Andersson:
I have finished a compilation of R14B01 for arm glibc now and am sending
it to you via streamfile.com <http://streamfile.com> if anyone else on

the list is interested the link for downloading it is
http://www.streamfile.com/myid/9Ul6FGqZTmSc

The link wont stay active forever so please tell me if I should upload
it anywhere more permanent. My plan is to start releasing these packages
on a regular basis and that is why I did not bother doing it permanent
for now (Yes I know, bad mailinglist etiquette).

I havent tried it so please tell me if you encounter any problems. This
package includes all the standard OTP libraries.

I did some very dirty thing and copied all the binaries and libraries
to the existing installation that didn't work

in /opt/local/erlang
..and bingo the erlshell is working!!!

Thanks.

I am sure that this was not the right way doing it.
I have seen that all the arm-eabi stuff is still cross-compiled.
So

You can just replace your erlang directory with the contents of the tarball I sent you and it will work no worries =)
 

./configure --host=  --build=

make release RELEASE_ROOT=./testme

should be enough to make a right configured image of the installation directory for the ARM?

But what are the right options for host and build.
Should i install on R14B01 on my Linux PC before?


if you want to cross compile the Erlang release yourself I would recommend checking the  documentation made by the Erlang/OTP team [1]

and you might find the erlang-embedded repository [2] to be interesting aswell, we basically just follow the Erlang/OTP teams directions on how to cross-compile Erlang with a arm toolchain made from the OpenEmbedded framework [3].

A bit of warning though, the documentation for [2] is not complete in any sense, but do not hesitate to ask anything and we will try to answer your question =)
Sorry for my very stupid questions. But i am a Erlang newby who must check if Erlang would run on an embedded system, _before_ it make sense to learn Erlang more in details.


No worries, if you do not ask you will never learn.

“There is no stupid question! Except, possibly, a question not asked.” --Christer Romson
 
Kind Regards

Markus





Reply all
Reply to author
Forward
0 new messages