ARM9 and CEAN
Posted: 26 May 2008 01:43 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2008-05-26

Hello!
I use CEAN quite often on my x86 laptop. It works very well.
But I’ve tried to put it on an ARM9 linux arch but it doesn’t works:
(I’m logged as root on my device, /mnt/host is a NFS directory linked to my laptop where I can find the cean binary)

# pwd
/tmp
# /mnt/host/cean_installer.bin
installing CEAN…
./start.sh: line 85: /tmp/cean/erlang/erts-5.5.4/linux-arm/bin/erlexec: not found
# cd /tmp/cean/erlang/erts-5.5.4/linux-arm/bin/
# ls -la
drwxr-xr-x 2 1004 1004 300 Jan 1 00:09 .
drwxr-xr-x 4 1004 1004 80 Jan 1 00:09 ..
-rwxr-xr-x 1 1004 1004 1104284 Jun 7 2007 beam
-rwxr-xr-x 1 1004 1004 3544 Jun 7 2007 child_setup
-rwxr-xr-x 1 1004 1004 4848 Jun 7 2007 dialyzer
-rwxr-xr-x 1 1004 1004 20896 Jun 7 2007 epmd
-rwxr-xr-x 1 1004 1004 8592 Jun 7 2007 erlc
-rwxr-xr-x 1 1004 1004 13920 Jun 7 2007 erlexec
-rwxr-xr-x 1 1004 1004 4732 Jun 7 2007 escript
-rwxr-xr-x 1 1004 1004 6068 Jun 7 2007 heart
-rwxr-xr-x 1 1004 1004 18632 Jun 7 2007 inet_gethost
-rwxr-xr-x 1 1004 1004 14508 Jun 7 2007 run_erl
-rwxr-xr-x 1 1004 1004 595 Jun 6 2007 start_erl
-rwxr-xr-x 1 1004 1004 5948 Jun 7 2007 to_erl
-rwxr-xr-x 1 1004 1004 4740 Jun 7 2007 typer

Any help?

Chris.

Profile
 
 
Posted: 01 June 2008 10:30 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  3
Joined  2008-06-01

Have the same behaviour on Openmoko EABI Arm Linux, it works correctly on the older Openmoko OABI Arm Linux.

Will EABI Arm Linux be supported on CEAN?

/Sten

Profile
 
 
Posted: 04 June 2008 05:46 PM   [ Ignore ]   [ # 2 ]
Moderator
Avatar
RankRankRank
Total Posts:  97
Joined  2006-11-13

Hi

yes, i’d like to. all is problem of time....
I used an experimental CEAN on Zaurus with EABI (system built with OpenEmbedded) i need to make it with R12, or let someone build such an erlang port.

if you download the archive-maker contrib script, edit to use R12B-2, this will compile and build archives (cross-compilation not supported). binary will be included i new CEAN (R12B-2 is working, i definitively do not have time to test more, so i’ll publish it “as this")

Profile
 
 
Posted: 04 June 2008 05:49 PM   [ Ignore ]   [ # 3 ]
Moderator
Avatar
RankRankRank
Total Posts:  97
Joined  2006-11-13

by the way, if someone can package erlang on OpenEmbedded, this will make it easy to cross-compile for several platforms, and i could write a script that translate OO archive to CEAN builds.

Profile
 
 
Posted: 06 June 2008 07:23 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  3
Joined  2008-06-01

<snip>
(cross-compilation not supported)
<snip>

So I have to compile on the Openmoko phone itself?

Profile
 
 
Posted: 09 June 2008 09:06 AM   [ Ignore ]   [ # 5 ]
Moderator
Avatar
RankRankRank
Total Posts:  97
Joined  2006-11-13

if using cean archive-maker script, yes.
but it’s best to crossbuild erlang R12B-2, improving the actual erlang bitbake file in OO.

Profile