Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo 2008.0 for ARM?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1316
Location: /uk/sheffield

PostPosted: Tue Jul 22, 2008 11:17 am    Post subject: Gentoo 2008.0 for ARM? Reply with quote

Hi,

My current gentoo install on my NSLU2/Slug seems to be dying a slow death (see some woes, but also not mountd keeps on complaining about NFS shares needing fsid=0 which I've added to /etc/exports, but the problem still persists, and its a separate thread in the making anyway).

Anyway, with the recent release of updated profiles for gentoo on various different archs I was thinking I might drop a fresh stage 3 onto my current install to resolve the problems I'm currently having.

There are details of a tentative release, but I can't find anything stage3's on the mirror.

Does anyone know if theres a proposed timeline for 2008.0 on arm?

Cheers,

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Wed Jul 23, 2008 9:54 pm    Post subject: Re: Gentoo 2008.0 for ARM? Reply with quote

slack---line wrote:
Hi,

My current gentoo install on my NSLU2/Slug seems to be dying a slow death (see some woes, but also not mountd keeps on complaining about NFS shares needing fsid=0 which I've added to /etc/exports, but the problem still persists, and its a separate thread in the making anyway).

Anyway, with the recent release of updated profiles for gentoo on various different archs I was thinking I might drop a fresh stage 3 onto my current install to resolve the problems I'm currently having.

There are details of a tentative release, but I can't find anything stage3's on the mirror.

Does anyone know if theres a proposed timeline for 2008.0 on arm?

Cheers,

slack

my hdd died so i had to reinstall... my stage4 that i made as backup is corrupt so i had to do a fresh install it has been soo painfull... i desided to switch to Debian while i get my hands on another NSLU2 for development and install Gentoo on that one.

I will keep an eye on this thread to read about the arm 2008 install progress
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Sun Aug 10, 2008 9:20 pm    Post subject: Reply with quote

There's no planned 2008 ARM release as far as i know. ARM on Gentoo currently lacks manpower and machines to do it.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1316
Location: /uk/sheffield

PostPosted: Sun Aug 10, 2008 10:59 pm    Post subject: Reply with quote

armin76 wrote:
There's no planned 2008 ARM release as far as i know. ARM on Gentoo currently lacks manpower and machines to do it.


Shame, I'm more than wiling to help test stuff (provisio to getting a working system).

Might opt for switching to unslung with portage over t'top.

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Tue Aug 12, 2008 11:34 am    Post subject: Reply with quote

If you want to help, mail arm@g.o or solar@g.o or vapier@g.o
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1316
Location: /uk/sheffield

PostPosted: Tue Aug 12, 2008 1:24 pm    Post subject: Reply with quote

armin76 wrote:
If you want to help, mail arm@g.o or solar@g.o or vapier@g.o


Thanks for the tips, I've tried asking in the IRC #gentoo-embedded for assistance, but nothing forthcoming.

Not a problem though, I found the whole process of installation a good learning curve, but now feel that its a struggle to maintain, and if there isn't going to be a profile update for the arm arch I don't think I'll bother (having to mask >=gcc-3.* along with lots of other things was a bit of pain) as I'd rather install, use and contribute to something thats actively maintained.

Note this is NOT a gripe about gentoo, those devs efforts are greatly appreciated, but if their efforts will be more beneficial in other areas then letting ARCH="arm" slip is a good thing in my book.

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Wed Sep 10, 2008 3:09 pm    Post subject: Reply with quote

Hi,

I've built arm-unknown-linux-gnu and armv4l-unknown-linux-gnu(i'm still doing this one) stages, they're at http://dev.gentoo.org/~armin76/arm/
I'll get them pushed to the mirrors once vapier says its fine and i've tested them.

But AFAIK the slug uses other CHOST, right? I don't have access to any, i built those on a netwinder, which runs those two CHOSTS. Doing stages is pretty easy. Unfortunately i don't have access to an nslu2 to build them.
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Tue Oct 07, 2008 4:54 pm    Post subject: Reply with quote

armin76 wrote:
Hi,

I've built arm-unknown-linux-gnu and armv4l-unknown-linux-gnu(i'm still doing this one) stages, they're at http://dev.gentoo.org/~armin76/arm/
I'll get them pushed to the mirrors once vapier says its fine and i've tested them.

But AFAIK the slug uses other CHOST, right? I don't have access to any, i built those on a netwinder, which runs those two CHOSTS. Doing stages is pretty easy. Unfortunately i don't have access to an nslu2 to build them.


yes, this is my emerge info, you can see that CHOST is different:
Code:
MiniMe torrents # emerge --info
Portage 2.1.2.9 (uclibc/arm, gcc-3.4.6, unavailable, 2.6.16 armv5teb)
=================================================================
System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b)
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 20 Aug 2007 06:00:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="arm"
AUTOCLEAN="yes"
CBUILD="armeb-softfloat-linux-uclibc"
CFLAGS="-march=armv5t -mtune=xscale -Os"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=armv5t -Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"PORTAGE_TMPDIR="/var/tmp"PORTDIR="/usr/portage"SYNC="rsync://rsync.gentoo.org/gentoo-portage"USE="apache2 arm bash-completion bzip2 ccache cli cracklib crypt curl curlwrappers ftp gzip httpd idn lighttpd logrotate mail mailwrapper minimal mudflap ncurses openmp pam pcre perl readline server session spl ssl syslog tcpd tcpwrapper uclibc unicode usb vhosts xinetd xml zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1316
Location: /uk/sheffield

PostPosted: Tue Oct 07, 2008 11:25 pm    Post subject: Reply with quote

orvtech wrote:

MiniMe torrents # emerge --info
Portage 2.1.2.9 (uclibc/arm, gcc-3.4.6, unavailable, 2.6.16 armv5teb)


Great name for your Slug :lol:
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Wed Oct 08, 2008 1:45 pm    Post subject: Reply with quote

slack---line wrote:
orvtech wrote:

MiniMe torrents # emerge --info
Portage 2.1.2.9 (uclibc/arm, gcc-3.4.6, unavailable, 2.6.16 armv5teb)


Great name for your Slug :lol:


thx, right now i call it iLazar0 it is running debian so i desided to rename it ... i will try to get another slug and see if i can bring MiniMe back to life
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
baobab88
n00b
n00b


Joined: 12 Mar 2004
Posts: 18
Location: Paris

PostPosted: Fri Dec 05, 2008 3:44 pm    Post subject: Reply with quote

hello armin76

First, thank you for your work. Thanks to your stages, I successfully managed to make gentoo 2008.0 working under qemu-system-arm (versatilepb) and then to recompile it completely for the latest Texas Instrument DaVinci which is based on ARM926EJ-S using march=armv5te mtune=arm926ej-s.

Could you describe to me how you built your stages ?
Did you used native compilation or cross compilation ? What toolchain did you used ? What effort did you put into that ?
From what kind of packages did you started (another gentoo arm stage ? or another arm system which is not gentoo ?)

I tried to use crossdev to build a complete system from x86_64 to arm-unknown-linux-gnu. But It doesn't work fully and many crucial packages doesn't compile, crashing for various reasons. I also tried to use arm-softfloat-linux-gnueabi target to get more performance but it is worth.

The native compilation under Qemu is working fine and I can emerge waterever packages I want.
This is a great tool but the whole emerge -e system took days to complete and I wish to have a more flexible way to do it.

Thank you in advance for you awnsers

B
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Fri Dec 12, 2008 11:56 am    Post subject: Reply with quote

Well, those stages i built them getting the latest release from here(they're available in any mirror that mirrors experimental): http://gentoo.osuosl.org/experimental/arm/stages/arm/ . Those 2008.0 are mine, but the latest release was 20040510 as you see. So i had to download that 2004 version, and i think i started from stage1. I extracted them on a running arm system, chrooted into it, and upgraded all the packages, then i compressed the dir, and made it a seed for catalyst, which is the release tool for Gentoo. Then it automatically creates a stage1, stage2, and stage3, which are those available.

I used a Netwinder to do them, using distcc as well, so yes, it was native. ATM i'm uploading armv5tel stages, which i built on a QNAP TS409(Marvell Feroceon processor) which was kindly donated by QNAP INC. They're here: http://dev.gentoo.org/~armin76/arm/armv5tel-softfloat-linux-gnueabi/

And the install guide for that device, which is a work in progress, is here: http://dev.gentoo.org/~armin76/arm/qnap/qnap.xml
Back to top
View user's profile Send private message
baobab88
n00b
n00b


Joined: 12 Mar 2004
Posts: 18
Location: Paris

PostPosted: Fri Dec 12, 2008 3:00 pm    Post subject: Reply with quote

Thank you for you answers.

Your new release will allow people to run a full distro with EABI and NPTL on the ARM9. This is quite rare on the market at that time.
Only a few toolchain (codesourcery, denx, ...) allow this by that time and they don't maintain it regularly so we have to use old version.

If you want to run your compilation faster, I recommand you the qemu-system-arm wich benefits of the power of PC to run at least three times faster than real targets. Especially usefull if you want to build a cluster of distcc compilers on a multicore server... (or more ;-) )

I have another question : what is ARMv5tel I can't find it on the arm.com website ? Is the ending L meaning something particular ?
I can't find it either in the gcc 4.3.2 manual.

I guess that this will work on the ARMv5TE. Could you confirm to me what GCC version and what CFLAGS you used to build it ?

Thank you again.

B

PS: go have a look at the gumstix.com new OVERO board. It will be a great target for testing Gentoo on CORTEX-A8 ...
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Fri Dec 12, 2008 7:10 pm    Post subject: Reply with quote

armv5tel is the way the kernel detects the system i'm compiling:
Linux ts409 2.6.27.8 #1 PREEMPT Sun Dec 7 21:09:56 Local time zone must be set--see z armv5tel Feroceon rev 0 (v5l) QNAP TS-409 GNU/Linux

I understand armv5tel means armv5te little endian.

The other info you requested is here:

Portage 2.1.4.5 (default/linux/arm/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27.8 armv5tel)
=================================================================
System uname: 2.6.27.8 armv5tel Feroceon rev 0 (v5l)
Timestamp of tree: Tue, 09 Dec 2008 12:30:14 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-lang/python: 2.5.2-r7
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r2
sys-devel/automake: 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="arm"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-Os -march=armv5te -mtune=arm926ej-s"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=armv5te -mtune=arm926ej-s"
DISTDIR="/usr/portage/distfiles"
LDFLAGS="-Wl,-O1"
Back to top
View user's profile Send private message
baobab88
n00b
n00b


Joined: 12 Mar 2004
Posts: 18
Location: Paris

PostPosted: Sat Dec 13, 2008 12:30 pm    Post subject: Reply with quote

Hello

Your architecture seems to be compatible with the one I am targetting.
I won't have to recompile everything. Great.

I recommand you to add the -pipe to you CFLAGS. It is working under the ARM and you will get a quite faster compilation.

Thank you for everything.

Best Regards

B
Back to top
View user's profile Send private message
Chriss
n00b
n00b


Joined: 20 Jan 2005
Posts: 12

PostPosted: Thu Jan 15, 2009 9:16 pm    Post subject: Reply with quote

Thanks from me too for the stages. I plan on using them on a Buffalo Linkstation Mini.

One thing I did not quite get - are there packages in the portage tree that have the arm keyword? I could not find anything about the arm arch in the online package database - is that information incomplete, so to say? Well, I'll see soon.

I intend to keep the original kernel and system from the linkstation as far as possible, and simply add a "chroot gentoo" for the things I want to add - like svn (so apache probably), a torrent client and such... We'll see how that works out.

One thing: What would you suggest tu speed up build speed: cross compiling binary packages, qemu-arm9 chroot on an nfs share, or emerging native but using a distcc host for the compilation?
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Tue Jan 20, 2009 10:59 am    Post subject: Reply with quote

Chriss wrote:
Thanks from me too for the stages. I plan on using them on a Buffalo Linkstation Mini.

One thing I did not quite get - are there packages in the portage tree that have the arm keyword? I could not find anything about the arm arch in the online package database - is that information incomplete, so to say? Well, I'll see soon.

I intend to keep the original kernel and system from the linkstation as far as possible, and simply add a "chroot gentoo" for the things I want to add - like svn (so apache probably), a torrent client and such... We'll see how that works out.

One thing: What would you suggest tu speed up build speed: cross compiling binary packages, qemu-arm9 chroot on an nfs share, or emerging native but using a distcc host for the compilation?


Sorry, didn't saw your message. Yes, there are a lot of packages that have the arm keyword.
# qcache -qa arm | wc -l
1808

As for speeding up the stuff, cross compiling binary packages tend to fail sometimes, qemu-arm9 chroot is probably the saner option, if you have the resources, of course. And using distcc...well, it works fine, but the configure phase is pretty slow anyway.
You have some binpkgs built natively here: http://tinderbox.dev.gentoo.org/default-linux/arm/armv5tel-softfloat-linux-gnueabi/
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Wed Feb 18, 2009 9:14 pm    Post subject: Reply with quote

hello what stage3 do you think can be compatible with arm-sa1100 ?

* Intel StrongARM SA-1100
o Microprocessor Developer's Maniual - August 1999 http://www.lartmaker.nl/278088.pdf
o Microprocessor Specification Update - February 2000 http://www.lartmaker.nl/27810525.pdf



what is the difference between stage3-arm, stag3-armeb, stage3-armv4l ?


Last edited by ddc on Wed Feb 18, 2009 9:39 pm; edited 2 times in total
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Wed Feb 18, 2009 9:25 pm    Post subject: Reply with quote

ddc wrote:
hello what do you think can be compatible with arm-sa1100 ?


No idea, but i can tell you that i tried compilining it with a different eindian (using regular ARM sources) and failed.
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Wed Feb 18, 2009 10:31 pm    Post subject: Reply with quote

as far as i understand sa-1100 should be arm-v4 little endian

i am trying to bootstrap an old ipaq 36** (arm sa-1100) with kernel 2.6 and gentoo-stage that will be put into an embedded arrangement =P

as described here http://www.elinux.org/Ipaq-Flameman
Back to top
View user's profile Send private message
orvtech
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 115
Location: US. Florida

PostPosted: Wed Feb 18, 2009 10:55 pm    Post subject: Reply with quote

ddc wrote:
as far as i understand sa-1100 should be arm-v4 little endian

i am trying to bootstrap an old ipaq 36** (arm sa-1100) with kernel 2.6 and gentoo-stage that will be put into an embedded arrangement =P

as described here http://www.elinux.org/Ipaq-Flameman
i currently have a NSLU2 running Debian, let me know if there is any info (/proc/cpuinfo, etc...) that you need
_________________
http://orvtech.com
http://www.linuxevolution.org
Back to top
View user's profile Send private message
armin76
Developer
Developer


Joined: 24 Apr 2006
Posts: 173

PostPosted: Thu Feb 19, 2009 5:04 pm    Post subject: Reply with quote

ddc wrote:
hello what stage3 do you think can be compatible with arm-sa1100 ?

* Intel StrongARM SA-1100
o Microprocessor Developer's Maniual - August 1999 http://www.lartmaker.nl/278088.pdf
o Microprocessor Specification Update - February 2000 http://www.lartmaker.nl/27810525.pdf



what is the difference between stage3-arm, stag3-armeb, stage3-armv4l ?


you should use the armv4l stages.

arm = generic arm(i'm not sure what processor defaults, but i guess armv2/v1?)
armeb = big endian arm, yours isn't afaik.
armv4l= armv4 little endian
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Thu Feb 19, 2009 6:22 pm    Post subject: Reply with quote

yes, i confirm stage3-arm41 is perfectly working on ipaq36**
now i have to fix up a bit the kernel sources cause there is a serious problem about sleeve 2xpcmcia

anyway the stage3 is working =)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
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