Gentoo Archives: gentoo-embedded

From: johnbock <john.holland@××××××××××.de>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] marvell 88F5182 arm processor
Date: Mon, 11 Aug 2008 14:32:17
Message-Id: 18927009.post@talk.nabble.com
In Reply to: [gentoo-embedded] marvell 88F5182 arm processor by Christopher Friedt
1 Christopher Friedt wrote:
2 >
3 > I was just wondering if anyone on the list has used crossdev to build a
4 > cross-compiler for the marvell 88f5182 soc.
5 >
6 > This is the chip that's in the Buffalo NAS as well as the TS-7800 SBC.
7 >
8 > Do the current stable gcc / binutils / linux-headers sources include all
9 > of the necessary patches for this chip yet?
10 >
11 > I'm just planning on updating the gentoo-wiki with some instructions on
12 > how to build a cross-compiler for the ts7800 board, like the 72xx OABI
13 > EABI howto's from a while ago.
14 >
15 > Cheers,
16 >
17 > Chris
18 >
19 >
20 >
21
22 The kernel supports this cpu starting at version 2.6.25.
23
24 I built the cross compiler using gentoo and crossdev with no problems. If
25 you want to use distcc on the box atleast the gcc versions (and possibly
26 glibc) in your net must be the same.
27
28 # USE=-fortran crossdev --target armv5tejl-softfloat-linux-gnueabi --kernel
29 2.6.25-r4 --binutils 2.18-r3 --gcc 4.2.3 --libc 2.6.1
30
31 I am also using crossdev-wrappers. After adding
32 armv5tejl-softfloat-linux-gnueabi (not sure if the file name is correct) to
33 /usr/share/crossdev/include/site/ I called emerge-wrapper --init. I then
34 modified make.conf and changed the profile to
35 default/linux/arm/2008.0/server.
36
37 Although I haven't generated system yet, emerge --info reports
38
39 I wonder why glibc isn't being properly reported along with gcc and
40 linux-headers???...
41
42 # armv5tejl-softfloat-linux-gnueabi-emerge --info
43 Portage 2.1.4.4 (default/linux/arm/2008.0/server, gcc-4.2.3, unavailable,
44 2.6.25-gentoo-r7-t5 i686)
45 =================================================================
46 System uname: 2.6.25-gentoo-r7-t5 i686 VIA Esther processor 1000MHz
47 Timestamp of tree: Fri, 08 Aug 2008 20:19:02 +0000
48 ccache version 2.4 [enabled]
49 app-shells/bash: 3.2_p33
50 dev-lang/python: 2.5.2-r6
51 dev-util/ccache: 2.4-r7
52 sys-apps/baselayout: 1.12.11.1
53 sys-apps/sandbox: 1.2.18.1-r2
54 sys-devel/autoconf: 2.61-r2
55 sys-devel/automake: 1.10.1
56 sys-devel/binutils: 2.18-r3
57 sys-devel/gcc-config: 1.4.0-r4
58 sys-devel/libtool: 1.5.26
59 virtual/os-headers: 2.6.23-r3
60 ACCEPT_KEYWORDS="arm"
61 CBUILD="i686-pc-linux-gnu"
62 CFLAGS="-O2 -pipe -march=armv5te -mtune=arm926ej-s -fomit-frame-pointer
63 -I/usr/armv5tejl-softfloat-linux-gnueabi/usr/include/
64 -I/usr/armv5tejl-softfloat-linux-gnueabi/include/"
65 CHOST="armv5tejl-softfloat-linux-gnueabi"
66 CONFIG_PROTECT="/etc"
67 CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
68 /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
69 CXXFLAGS="-O2 -pipe -march=armv5te -mtune=arm926ej-s -fomit-frame-pointer
70 -I/usr/armv5tejl-softfloat-linux-gnueabi/usr/include/
71 -I/usr/armv5tejl-softfloat-linux-gnueabi/include/"
72 DISTDIR="/usr/portage/distfiles"
73 FEATURES="buildpkg ccache distlocks metadata-transfer nodoc noinfo sandbox
74 sfperms strict unmerge-orphans userfetch"
75 GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo "
76 LDFLAGS="-L/usr/armv5tejl-softfloat-linux-gnueabi/usr/lib
77 -L/usr/armv5tejl-softfloat-linux-gnueabi/lib"
78 MAKEOPTS="-j2"
79 PKGDIR="/usr/armv5tejl-softfloat-linux-gnueabi/packages/"
80 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
81 --compress --force --whole-file --delete --stats --timeout=180
82 --exclude=/distfiles --exclude=/local --exclude=/packages"
83 PORTAGE_TMPDIR="/usr/armv5tejl-softfloat-linux-gnueabi/tmp/"
84 PORTDIR="/usr/portage"
85 PORTDIR_OVERLAY="/home/armv5tejl/overlay"
86 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
87 USE="acl apache2 arm async bash-completion berkdb bzip2 ccache cli cracklib
88 crypt cups dbus gdbm iconv ipv6 isdnlog ldap mailwrapper midi mudflap mysql
89 ncurses netboot nfs nls nptl nptlonly openmp pam pcre posix pppd readline
90 reflection samba session snmp spl ssl symlink sysfs syslog tcpd truetype
91 unicode usb vim-pager vim-syntax xinetd xml xorg zlib"
92 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
93 hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null
94 plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
95 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
96 authz_default authz_groupfile authz_host authz_owner authz_user autoindex
97 cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
98 file_cache filter headers include info log_config logio mem_cache mime
99 mime_magic negotiation rewrite setenvif speling status unique_id userdir
100 usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse
101 touchscreen" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
102 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev dummy"
103 input_devices="touchscreen evdev mouse keyboard" video_cards="fbdev dummy"
104 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
105 LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
106
107 --
108 View this message in context: http://www.nabble.com/marvell-88F5182-arm-processor-tp18699032p18927009.html
109 Sent from the gentoo-embedded mailing list archive at Nabble.com.