Supported platforms
Posted: 16 March 2007 09:17 AM   [ Ignore ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

CEAN statistics http://cean.process-one.net/stats/ show us usage on all supported platforms.

Do you need more supported platforms ?

Profile
 
 
Posted: 14 April 2007 12:20 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-14

Hi,

I’m the maintainer of optware cross-compilation erlang port. The optware covers a bunch of small devices see http://ipkg.nslu2-linux.org/feeds/optware/ for the platforms, and see http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/ erlang*.ipk for the existing packages.

(The cross compilation make file is in svn repo at http://trac.nslu2-linux.org/optware/browser/trunk/make/erlang.mk)

What I would really like is be able to integrate with CEAN. Either contribute the cross built erlang to CEAN supported platforms, or start with building a cean.ipk for each optware platform and be able to use CEAN.

I guess I need to read CEAN code. But in the meantime, can anyone provide some advice, and see what’s the best way forward?

Thanks,

-Brian Zhou

Profile
 
 
Posted: 16 April 2007 04:06 PM   [ Ignore ]   [ # 2 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

Hello

I would really like to have such archives into CEAN.
I use ipk on my Zaurus, but did not succeded to cross-compile erlang (so I build erts with the Zaurus itself)
Are you using OpenEmbedded ? if yes, that would be really nice to have several bitbake packages for cross building CEAN things, and the push archives on CEAN site.

I guess the best thing to do is, create cean_base.ipk that would include the content of cean_base, and the let people use CEAN for the rest. That makes packaging simple and limited to 1 ipk per platform.

any thought ?

Profile
 
 
Posted: 16 April 2007 04:09 PM   [ Ignore ]   [ # 3 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

by the way, the actual cean_installer.bin is working on embedded platforms
you can try cean_installer.bin from linux-arm for example, I used it to install erlang on a StrongARM system.

Profile
 
 
Posted: 16 April 2007 05:41 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-14

No I’m not using openembedded, optware is a different cross compilation system based on makefile and patches. I’ve submitted an erlang.bb to oe monotone repo. But unfortunately nobody from oe seems to be interested in it, so it’s not in any distro and it’s not as up-to-date as optware.

Now coming back to the original problem. Thanks for the suggestion, I’ll try move the optware erlang packages toward CEAN.

1. Create a cean-base.ipk
2. Change erlang build to OTP_SMALL_BUILD=true ? Most erlang packages are pure beams. But how do we deal with those packages that need shared libs?
3. Try to fold the binaries back to CEAN.

Please note there’re big-endian and little-endian ARM binaries. I believe the current CEAN ARM binaries are little endian. I also don’t think binaries built from different toolchains (gcc, glibc or uclibc) are compatible.

Profile
 
 
Posted: 16 April 2007 06:05 PM   [ Ignore ]   [ # 5 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

ok i didn’t know optware.
I am interested by erlang.bb and I can make it go into OE repo by the way. can you send me your .bb ?

if you look at the <u>archive maker</u> script, you see what cean needs for each platform.
if optware can produce a tgz archive compatible with that (at least for the OTP distribution), i’ll do the rest.
the build process remains standard, I do not use OTP_SMALL_BUILD

note: actual ARM archives comes from debian build.

Profile
 
 
Posted: 16 April 2007 06:19 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-14

A nslu2 friend of mine already checked in my submitted erlang_R11B.1.bb and associated patch files under openembedded/packages/erlang/ months ago. See

http://www.openembedded.org/repo/org.openembedded.dev/packages/erlang/erlang_R11B.1.bb

openembedded/packages/erlang$ find
. ./erlang-R11B.1
./erlang-R11B.1/Makefile.in.patch
./erlang-R11B.1/erts-configure.in.patch
./erlang-R11B.1/erts-emulator-Makefile.in.patch
./erlang-R11B.1/erts-etc-unix-Install.src.patch
./erlang-R11B.1/lib-crypto-c_src-Makefile.in.patch
./erlang-R11B.1/lib-erl_interface-src-Makefile.in.patch
./erlang-R11B.1/lib-ssl-c_src-Makefile.in.patch
./erlang-native_R11B.1.bb
./erlang.inc
./erlang_R11B.1.bb

You should be able to get it with mtn checkout.

The official Debian ARM is little-endian. While there’re a couple of big-endian ARM linux distros out there (e.g. slugosbe, unslung).

Profile
 
 
Posted: 16 April 2007 07:00 PM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  4
Joined  2007-04-14

I’ve read make_build.sh and looks like contributing a linux-armeb.tar should be straightforward. Thanks.

Profile
 
 
Posted: 16 April 2007 07:49 PM   [ Ignore ]   [ # 8 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

ah yes ! i have erlang.bb in my repos for month without having noticed it ! smile
i’m waiting for your tgz anyway.

Profile
 
 
Posted: 29 October 2007 05:09 PM   [ Ignore ]   [ # 9 ]
Newbie
Rank
Total Posts:  1
Joined  2007-10-29

Bonjour

Existe-t-il une distribution d’Erlang pour Aix 5.x (powerpc) ?
Pensez-vous réaliser une telle distribution ?

Merci

Profile
 
 
Posted: 29 October 2007 05:46 PM   [ Ignore ]   [ # 10 ]
Moderator
Avatar
RankRankRankRank
Total Posts:  107
Joined  2006-11-13

There is no actual support of AIX5 ppc cause I don’t have access to that platform.
But I made it once (was included into REPOS for some time). So it’s just a question of contributing the binary archives.

You can try to follow the contrib process to generate AIX binaries (you wil need to force ulimit -n to a higher value than the default AIX one, and you will face some problems. better is to install gnu autotools, make and gcc instead of using AIX defaults)

Profile