Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
custom hardware: crossdev mipsel-linux-uclibc
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
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Wed Jan 25, 2012 10:17 am    Post subject: custom hardware: crossdev mipsel-linux-uclibc Reply with quote

hello friends!

i think i should introduce the hardware at first, so here comes the specs list:

    - Ralink 3662F CPU @ 500MHz (mipsel)
    - 256MB DDR2 SDRAM (2x128MB)
    - 32MB NOR Flash
    - 4GB NAND MLC Flash (26nm, 200MB/s)
    - Mini PCIe Slot
    - CF Card Slot
    - RTL8357 Switch, 5 Ports
    - 5GHz WLAN (2.4GHz Dual-Band)
    - USB 2.0, 1 Port (1A powered)
    - JTAG Interface (internal)
    - Serial Interface (internal)

Code:

# cat /proc/cpuinfo
system type             : Ralink SoC
processor               : 0
cpu model               : MIPS 74K V4.12
BogoMIPS                : 249.34
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes
ASEs implemented        : mips16 dsp
VCED exceptions         : not available
VCEI exceptions         : not available


the hardware is not available to the public yet, but will be released this year. you can find additional information in this OpenWRT thread.

since our current system (x86) is based on gentoo, we would like to use gentoo on this little cutie as well. we tried OpenWRT but our support-team is more efficient with gentoo, so we decided to make their life easier and to port gentoo to this platform. it should be powerful enough. :)


so let's get back to business and try to solve the problem. currently we are stuck at this point:

please ignore the UCLIBC_CPU notice for now

Code:
cat /var/log/portage/cross-mipsel-linux-uclibc-uclibc.log

These are the packages that would be merged, in order:

Calculating dependencies  ... done!
[ebuild  N    ~] cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1  USE="ipv6 -build -debug -hardened -minimal -savedconfig -ssp -uclibc-compat -wordexp" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1 from x-portage
 * uClibc-0.9.30.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * uClibc-0.9.30.1-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...   [ ok ]
>>> Unpacking source...
>>> Unpacking uClibc-0.9.30.1.tar.bz2 to /var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/work
>>> Unpacking uClibc-0.9.30.1-patches-1.0.tar.bz2 to /var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/work
 * You really should consider setting UCLIBC_CPU
 * Otherwise, the build will be generic (read: slow).
 * Available CPU options:
MIPS_ISA_1 MIPS_ISA_2 MIPS_ISA_3 MIPS_ISA_4 MIPS_ISA_MIPS32 MIPS_ISA_MIPS64 MIPS_N64_ABI MIPS_O32_ABI MIPS_N32_ABI

 * Runtime Prefix: /
 * Devel Prefix:   /usr
 * Kernel Prefix:  /usr/mipsel-linux-uclibc/usr/include
 * CBUILD:         i686-pc-linux-gnu
 * CHOST:          i686-pc-linux-gnu
 * CTARGET:        mipsel-linux-uclibc
 * CPU:            MIPS_ISA_1
 * ENDIAN:         little

>>> Unpacking uClibc-0.9.30.1-patches-1.0.tar.bz2 to /var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/work/uClibc-0.9.30.1
 * Applying various patches (bugfixes/updates) ...
 *   50_all_uClibc-0.9.30.1-c99-ldbl-math.patch ...
 [ ok ]
 *   55_all_uClibc-0.9.30.1-dl-sysdep-inline.patch ...
 [ ok ]
 * Done with patching
make[1]: *** ../../.config: Is a directory.  Stop.
make: *** [extra/config/conf] Error 2
 * ERROR: cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1 failed (unpack phase):
 *   could not config
 *
 * Call stack:
 *     ebuild.sh, line  75:  Called src_unpack
 *   environment, line 2653:  Called die
 * The specific snippet of code:
 *       make ARCH=${target} defconfig > /dev/null || die "could not config";
 *
 * If you need support, post the output of 'emerge --info =cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1',
 * the complete build log and the output of 'emerge -pqv =cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1'.
 * This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/temp/environment'.
 * S: '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/work/uClibc-0.9.30.1'

>>> Failed to emerge cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1, Log file:

>>>  '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/temp/build.log'

 * Messages for package cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1:

 * You really should consider setting UCLIBC_CPU
 * Otherwise, the build will be generic (read: slow).
 * Available CPU options:
 * ERROR: cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1 failed (unpack phase):
 *   could not config
 *
 * Call stack:
 *     ebuild.sh, line  75:  Called src_unpack
 *   environment, line 2653:  Called die
 * The specific snippet of code:
 *       make ARCH=${target} defconfig > /dev/null || die "could not config";
 *
 * If you need support, post the output of 'emerge --info =cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1',
 * the complete build log and the output of 'emerge -pqv =cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1'.
 * This ebuild is from an overlay named 'x-portage': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/temp/environment'.
 * S: '/var/tmp/portage/cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1/work/uClibc-0.9.30.1



and the additional information:

Code:
emerge --info =cross-mipsel-linux-uclibc/uclibc-0.9.30.1-r1
Portage 2.1.10.41 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 25 Jan 2012 08:45:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.netcologne.de/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US en_GB de de_DE"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr chm cleartype cli consolekit corefonts cracklib crypt cups curl cvs cxx dbus ddressbook declarative device-mapper dri dts dvd dvdr ebook embedded emboss emovix encode exif fam fbcondecor ffmpeg firefox flac fluidsynth fortran gdbm gdu gif git gnutls gphoto2 gpm gtk hal handbook hddtemp iconv imagemagick ipv6 jadetex joystick jpeg kde kipi lame laptop lcms ldap lensfun libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses networkmanager nls nptl nptlonly ogg opengl openmp oscar pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 quicktime rdp readline samba sdl semantic-desktop sensord session skype sndfile spell sql sqlite sse sse2 sse3 ssl ssse3 subversion svg sysfs taglib tcpd thumbnail tiff truetype type1 udev unicode usb v4l2 vim-syntax vnc vorbis webkit win32codecs x264 x86 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_GB de de_DE" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


we tried other versions of uclibc and other targets. it's always the same problem.

looking forward for any replies. :)
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Wed Jan 25, 2012 1:12 pm    Post subject: Reply with quote

why uclibc? the 74k does have an MMU and MIPS32r2, right?
also if you're going to use it as a router, big-endian might be better (unless the cpu
can only do little endian).
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Thu Jan 26, 2012 8:51 am    Post subject: Reply with quote

unfortunately the CPU is little endian only. we decided to use uClibc because the Ralink SDK is based on similiar setup. any hints on possible target setup? :)
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Jan 26, 2012 10:13 am    Post subject: Reply with quote

do you depend on anything in the RaLink SDK? I've never used uClibc; I'm rather fond
of glibc because everything in portage compiles against it, even on MIPS (I have KDE-4.7
running on my mips32 toys). Storage space doesn't seem to be an issue for your device :)

Create the toolchain with:
Code:

USE="nopie nossp" EXTRA_ECONF="--with-mips-plt --with-arch=mips32r2 --with-tune=mips32r2 --with-llsc --with-float=soft" crossdev -t mipsel-softfloat-linux-gnu -v --b 2.21-r1 --g 4.6.2 --l 3.2 --l 2.14.1-r2 --without-headers --ex-gdb
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Thu Jan 26, 2012 10:20 am    Post subject: Reply with quote

first result with no optimization. :)

x86 host machine:

Code:

~ $ crossdev -t mipsel-octo-linux-gnu --without-headers
...
~ $ mipsel-octo-linux-gnu-gcc -static test.c -o test
~ $ file test

test: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked, for GNU/Linux 2.6.9, with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x1040000, not stripped

our custom hardware:

Code:

/media/sdc1 # cat /proc/cpuinfo
system type             : Ralink SoC
processor               : 0
cpu model               : MIPS 74K V4.12
BogoMIPS                : 249.34
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes
ASEs implemented        : mips16 dsp
VCED exceptions         : not available
VCEI exceptions         : not available

/media/sdc1 # ./test
Hello gentoo crossdev! :)
/media/sdc1 #


Last edited by snikkers on Thu Jan 26, 2012 10:28 am; edited 1 time in total
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Thu Jan 26, 2012 10:28 am    Post subject: Reply with quote

roarinelk wrote:
do you depend on anything in the RaLink SDK? I've never used uClibc; I'm rather fond
of glibc because everything in portage compiles against it, even on MIPS (I have KDE-4.7
running on my mips32 toys). Storage space doesn't seem to be an issue for your device :)

the only dependency is their drivers. porting them shold not be too hard, i think.

Quote:
Create the toolchain with:
Code:

USE="nopie nossp" EXTRA_ECONF="--with-mips-plt --with-arch=mips32r2 --with-tune=mips32r2 --with-llsc --with-float=soft" crossdev -t mipsel-softfloat-linux-gnu -v --b 2.21-r1 --g 4.6.2 --l 3.2 --l 2.14.1-r2 --without-headers --ex-gdb


i'll report the results, as fast as i can. :)
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Mon Mar 12, 2012 3:51 pm    Post subject: Reply with quote

hello! after a quiet long break im working on this project again. unfortunately i've got still some problems to solve.

first of all, the toolchain on my host:
Code:

vaio ~ # mipsel-softfloat-linux-gnu-emerge --info
Portage 2.1.10.44 (arch/mips/mipsel, gcc-4.6.2, glibc-2.13-r4, 3.0.6-gentoo i686)
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 09 Mar 2012 16:30:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="mips ~mips"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe  -fomit-frame-pointer -I/usr/mipsel-softfloat-linux-gnu/usr/include/ -I/usr/mipsel-softfloat-linux-gnu/include/"
CHOST="mipsel-softfloat-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -pipe  -fomit-frame-pointer -I/usr/mipsel-softfloat-linux-gnu/usr/include/ -I/usr/mipsel-softfloat-linux-gnu/include/"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.netcologne.de/gentoo/"
LDFLAGS="-L/usr/mipsel-softfloat-linux-gnu/lib -L/usr/mipsel-softfloat-linux-gnu/usr/lib"
MAKEOPTS="-j3"
PKGDIR="/usr/mipsel-softfloat-linux-gnu/packages/"
PORTAGE_CONFIGROOT="/usr/mipsel-softfloat-linux-gnu/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/mipsel-softfloat-linux-gnu/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bindist cracklib cxx make-symlinks minimal mips modules zlib" ALSA_CARDS="au1x00" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev impact newport" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

vaio ~ #


i have managed to emerge the most system packages, except of these:
Code:

vaio ~ # mipsel-softfloat-linux-gnu-emerge -aN system

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] virtual/man-0 to /usr/mipsel-softfloat-linux-gnu/
[ebuild  N     ] sys-devel/gcc-4.5.3-r2 to /usr/mipsel-softfloat-linux-gnu/ USE="cxx (-altivec) -bootstrap -build -doc -fixed-point -fortran -gcj -graphite -gtk -hardened (-libssp) -lto -mudflap (-multilib) -multislot -nls -nocxx -nopie -nossp -nptl -objc -objc++ -objc-gc -openmp -test -vanilla"
[ebuild  N     ] dev-lang/python-3.1.4-r3 to /usr/mipsel-softfloat-linux-gnu/ USE="ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -gdbm -ipv6 -sqlite -tk -wininst"
[ebuild  N     ] sys-apps/portage-2.1.10.49 to /usr/mipsel-softfloat-linux-gnu/ USE="(ipc) -build -doc -epydoc (-pypy1_8) -python2 -python3 (-selinux) (-xattr)" LINGUAS="-pl"
[ebuild  N     ] app-admin/python-updater-0.10-r2 to /usr/mipsel-softfloat-linux-gnu/
[ebuild  N     ] virtual/package-manager-0 to /usr/mipsel-softfloat-linux-gnu/

Would you like to merge these packages? [Yes/No]



this is the full boot process till sysinit (openrc) and maintenance login.
Code:

3: System Boot system code via Flash.
## Booting image at bc080000 ...
   Image Name:   Octo Kernel Image
   Created:      2012-03-09  13:40:26 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1216500 Bytes =  1.2 MB
   Load Address: 80000000
   Entry Point:  8034d000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8034d000) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.21 (root@beaker) (gcc version 3.4.2) #17 Fri Mar 9 14:38:57 CET 2012

 The CPU frequency set to 500 MHz
CPU revision is: 0001974c
Determined physical RAM map:
 memory: 08000000 @ 00000000 (usable)
Built 1 zonelists.  Total pages: 32512
Kernel command line: console=ttyS1,57600 rw root=/dev/sda1 single rootdelay=5
Primary instruction cache 64kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
cause = c0808000, status = 11000000
PID hash table entries: 512 (order: 9, 2048 bytes)
calculating r4koff... 001e8480(2000000)
CPU frequency 500.00 MHz
Using 250.000 MHz high precision timer.
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126208k/131072k available (2580k kernel code, 4732k reserved, 795k data, 124k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16

*************** Ralink PCIe RC mode *************
registering PCI controller with io_map_base unset
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Bridge: 0000:00:00.0
  IO window: disabled.
  MEM window: 20000000-200fffff
  PREFETCH window: disabled.
BAR0 at slot 0 = 0
bus=0, slot = 0x0
P2P(PCI) 0x00 = 08021814
P2P(PCI) 0x04 = 00100007
P2P(PCI) 0x08 = 06040001
P2P(PCI) 0x0c = 00010000
P2P(PCI) 0x10 = 00000000
P2P(PCI) 0x14 = 20100000
P2P(PCI) 0x18 = 00010100
P2P(PCI) 0x1c = 000000f0
P2P(PCI) 0x20 = 20002000
P2P(PCI) 0x24 = 0000fff0
P2P(PCI) 0x28 = 00000000
P2P(PCI) 0x2c = 00000000
P2P(PCI) 0x30 = 00000000
P2P(PCI) 0x34 = 00000040
P2P(PCI) 0x38 = 00000000
P2P(PCI) 0x3c = 000401ff
res[0]->start = 0
res[0]->end = 1ffffff
res[1]->start = 20100000
res[1]->end = 2010ffff
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
bus=1, slot = 0x0
dev III(PCIe)  0x00 = 30911814
dev III(PCIe)  0x04 = 00100000
dev III(PCIe)  0x08 = 02800000
dev III(PCIe)  0x0c = 00000000
dev III(PCIe)  0x10 = 20000000
dev III(PCIe)  0x14 = 00000000
dev III(PCIe)  0x18 = 00000000
dev III(PCIe)  0x1c = 00000000
dev III(PCIe)  0x20 = 00000000
dev III(PCIe)  0x24 = 00000000
dev III(PCIe)  0x28 = 00000000
dev III(PCIe)  0x2c = 30911814
dev III(PCIe)  0x30 = 00000000
dev III(PCIe)  0x34 = 00000040
dev III(PCIe)  0x38 = 00000000
dev III(PCIe)  0x3c = 000001ff
res[0]->start = 20000000
res[0]->end = 2000ffff
res[1]->start = 0
res[1]->end = 0
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
NET: Registered protocol family 2
Time: MIPS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
ralink flash device: 0x1000000 at 0x1c000000
Ralink SoC physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
NOR chip too large to fit in mapping. Attempting to cope...
 Amd/Fujitsu Extended Query Table at 0x0040
Ralink SoC physically mapped flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Reducing visibility of 32768KiB chip to 16384KiB
Creating 7 MTD partitions on "Ralink SoC physically mapped flash":
0x00000000-0x01000000 : "ALL"
mtd: Giving out device 0 to ALL
0x00000000-0x00030000 : "Bootloader"
mtd: partition "Bootloader" doesn't end on an erase block -- force read-only
mtd: Giving out device 1 to Bootloader
0x00030000-0x00040000 : "Config"
mtd: partition "Config" doesn't start on an erase block boundary -- force read-only
mtd: Giving out device 2 to Config
0x00040000-0x00050000 : "Factory"
mtd: partition "Factory" doesn't end on an erase block -- force read-only
mtd: Giving out device 3 to Factory
0x00050000-0x0004ffff : "Kernel"
mtd: partition "Kernel" doesn't start on an erase block boundary -- force read-only
mtd: Giving out device 4 to Kernel
0x0004ffff-0x01000000 : "RootFS"
mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only
mtd: Giving out device 5 to RootFS
0x00050000-0x01000000 : "Kernel_RootFS"
mtd: partition "Kernel_RootFS" doesn't start on an erase block boundary -- force read-only
mtd: Giving out device 6 to Kernel_RootFS
RT3xxx EHCI/OHCI init.
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
fuse init (API version 7.8)
io scheduler noop registered (default)
pcie_portdrv_probe->Dev[1814:0802] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Ralink gpio driver initialized
spidrv_major = 217
HDLC line discipline: version $Revision: 1.1.1.1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: 1.8 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at I/O 0xb0000c00 (irq = 12) is a 16550A
loop: loaded (max 8 devices)
rdm_major = 253

eth2 mii.o query= phy_id:0, address:1 retval:ffff

eth2 mii.o query= phy_id:0, address:15 retval:ffff
Ralink APSoC Ethernet Driver Initilization. v2.1  256 rx/tx descriptors allocated, mtu = 1500!
MAC_ADRH -- : 0x00004444
MAC_ADRL -- : 0x3a313022
PROC INIT OK!
IMQ starting with 2 devices...
IMQ driver loaded successfully.
        Hooking IMQ after NAT on PREROUTING.
        Hooking IMQ before NAT on POSTROUTING.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.1
$Id: ftl.c,v 1.1.1.1 2007-05-25 06:50:07 bruce Exp $
ftl_cs: FTL header not found.
ftl_cs: FTL header corrupt!
ftl_cs: FTL header corrupt!
ftl_cs: FTL header corrupt!
ftl_cs: FTL header not found.
ftl_cs: FTL header not found.
ftl_cs: FTL header not found.
NFTL driver: nftlcore.c $Revision: 1.1.1.1 $, nftlmount.c $Revision: 1.1.1.1 $
INFTL: inftlcore.c $Revision: 1.1.1.1 $, inftlmount.c $Revision: 1.1.1.1 $
rfd_ftl: no RFD magic found in 'ALL'
rfd_ftl: no RFD magic found in 'RootFS'
rfd_ftl: no RFD magic found in 'Kernel_RootFS'
block2mtd: version $Revision: 1.1.1.1 $
NAND device: Manufacturer ID: 0x98, Chip ID: 0x39 (Toshiba NAND 8MiB 1,8V 8-bit)
flash size: 8 MiB
page size: 512 bytes
OOB area size: 16 bytes
sector size: 8 KiB
pages number: 16384
pages per sector: 16
bus width: 8
bits in sector size: 13
bits in page size: 9
bits in OOB size: 4
flash size with OOB: 8448 KiB
page address bytes: 3
sector address bytes: 2
options: 0x62
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 8MiB 1,8V 8-bit":
0x00000000-0x00800000 : "NAND simulator partition"
mtd: Giving out device 7 to NAND simulator partition
ftl_cs: FTL header not found.
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: Ralink EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.21 ehci_hcd
usb usb1: SerialNumber: rt3xxx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
usb usb2: Product: RT3xxx OHCI Controller
usb usb2: Manufacturer: Linux 2.6.21 ohci_hcd
usb usb2: SerialNumber: rt3xxx-ohci
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using rt3xxx-ehci and address 2
usb 1-1: Product: Ext HDD 1021
usb 1-1: Manufacturer: Western Digital
usb 1-1: SerialNumber: 574D415A4135343038333339
usb 1-1: configuration #1 chosen from 1 choice
usb 1-2: new high speed USB device using rt3xxx-ehci and address 3
usb 1-2: Product: USB2.0Hub
usb 1-2: configuration #1 chosen from 1 choice
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
scsi0 : SCSI emulation for USB Mass Storage devices
usb 1-2.1: new high speed USB device using rt3xxx-ehci and address 4
usb 1-2.1: Product: Mass Storage Device
usb 1-2.1: Manufacturer: Generic
usb 1-2.1: SerialNumber: K4327JNP
usb 1-2.1: configuration #1 chosen from 1 choice
usb 1-2.4: new high speed USB device using rt3xxx-ehci and address 5
usb 1-2.4: Product: Mass Storage Device
usb 1-2.4: Manufacturer: Generic
usb 1-2.4: SerialNumber: 058F0O1111B1
usb 1-2.4: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
nf_conntrack version 0.5.0 (1024 buckets, 8192 max)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ipgre init: can't add protocol
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Waiting 5sec before mounting root device...
scsi 0:0:0:0: Direct-Access     WD       Ext HDD 1021     2021 PQ: 0 ANSI: 4
SCSI device sda: 3907024896 512-byte hdwr sectors (2000397 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 3907024896 512-byte hdwr sectors (2000397 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
SCSI device sdb: 7970816 512-byte hdwr sectors (4081 MB)
sdb: Write Protect is off
sdb: assuming drive cache: write through
scsi 2:0:0:0: Direct-Access     Multi    Flash Reader     1.00 PQ: 0 ANSI: 0
SCSI device sdb: 7970816 512-byte hdwr sectors (4081 MB)
sdb: Write Protect is off
sdb: assuming drive cache: write through
 sdb: sdb1
sd 1:0:0:0: Attached scsi removable disk sdb
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 2:0:0:0: Attached scsi removable disk sdc
sd 2:0:0:0: Attached scsi generic sg2 type 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 124k freed
INIT: version 2.88 booting

   OpenRC 0.9.4 is starting up Gentoo Linux (mips)

 * Mounting /proc ...
 [ ok ]
 * Caching service dependencies ...
 * Failed to update the dependen * Caching service dGive root password for maintenance
(or type Control-D to continue):
(none) ~ #


trying to update service dependencies manually, then stracing rc-update.
Code:

(none) ~ # rc-update -u
 * Caching service dependencies ...
 * Failed to update the dependency tree
 [ !! ]


(none) ~ # strace rc-update -u

... *cut* ...

rk(0)                                  = 0x428000
brk(0x449000)                           = 0x449000
open("/etc/rc.conf", O_RDONLY)          = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5562, ...}) = 0
old_mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb6000
read(3, "# Global OpenRC configuration se"..., 4096) = 4096
read(3, "a start-stop-daemon.\n# We can se"..., 4096) = 1466
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2acb6000, 65536)               = 0
stat("/etc/conf.d/rc", {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
open("/etc/conf.d/rc", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
old_mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2acb6000
read(3, "#\n", 4096)                    = 2
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2acb6000, 65536)               = 0
syscall_4294967207(0x7fe1d228, 0x80000, 0x2aaf76d9, 0x1, 0x2aba8450, 0, 0x2aca9970, 0x415800, 0x2aca9970, 0x2abb0e38, 0xffffffff, 0x4281a0, 0x2aaf76d8, 0x2aaf7ca0, 0xffffffff, 0x4281a0, 0x2aaf76d8, 0x2aaf7ca0, 0xffffffff, 0, 0x412480, 0x412494, 0x415800, 0x2ab99c8c, 0xffffffff, 0x2aabece4, 0x2aafe000, 0xffffffff, 0x2aca9970, 0xffffffff, 0x4281a0, 0x2aaf76d8) = -1 (errno 4054)
svr4_syscall()                          = -1 ERRNO_4054 (Unknown error 4054)
svr4_syscall()                          = -1 ERRNO_4054 (Unknown error 4054)
svr4_syscall()                          = 4004
 * svr4_chmod()                            = -1 ERRNO_4004 (Unknown error 4004)
Failed to update the dependency treesvr4_sync()                             = 4054
svr4_syscall()                          = 4004
svr4_read()                             = -1 ERRNO_4004 (Unknown error 4004)

svr4_exit()                             = -1 ERRNO_4054 (Unknown error 4054)
svr4_syscall()                          = -1 ERRNO_4004 (Unknown error 4004)
 [ !! ]
svr4_creat()                            = -1 ERRNO_4005 (Unknown error 4005)
svr4_fork()                             = 4246
(none) ~ #




touching a file fails.
Code:

(none) ~ # touch file
touch: setting times of `file': Unknown error -89
(none) ~ # ls
file
(none) ~ # rm file
(none) ~ # ls


(none) ~ # touch --version
touch (GNU coreutils) 8.15
Packaged by Gentoo (8.15 (p1))
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, Arnold Robbins, Jim Kingdon,
David MacKenzie, and Randy Smith.
(none) ~ #


uname, glibc versions.
Code:

(none) ~ # uname -a
Linux (none) 2.6.21 #17 Fri Mar 9 14:38:57 CET 2012 mips MIPS 74K V4.12 Ralink SoC GNU/Linux


(none) ~ # locale --version
locale (GNU libc) 2.13
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Ulrich Drepper.
(none) ~ #



i think this has to do with the old kernel shipped by Ralink which is built using buildroot-gcc342 (mipsel-linux-uclibc-gcc). i tried to build the kernel using my toolchain but ran into this error:

Code:

vaio linux-2.6.21.x # make ARCH="mips" CROSS_COMPILE="mipsel-softfloat-linux-gnu-" menuconfig
scripts/kconfig/mconf arch/mips/Kconfig


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

vaio linux-2.6.21.x # make ARCH="mips" CROSS_COMPILE="mipsel-softfloat-linux-gnu-"
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/mips/kernel/asm-offsets.s
arch/mips/kernel/asm-offsets.c: In function ‘output_mm_defines’:
arch/mips/kernel/asm-offsets.c:233:2: error: invalid 'asm': invalid use of '%X'
arch/mips/kernel/asm-offsets.c:234:2: error: invalid 'asm': invalid use of '%X'
arch/mips/kernel/asm-offsets.c:235:2: error: invalid 'asm': invalid use of '%X'
make[1]: *** [arch/mips/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
vaio linux-2.6.21.x #


if somebody has ANY clue how to win this game, please tell me. ;) if additional information is needed (like .config), tell me. :)
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Mon Mar 12, 2012 5:42 pm    Post subject: Reply with quote

kernel compiled successfully, using another toolchain with gcc 4.1.2:

Code:

3: System Boot system code via Flash.
## Booting image at bc080000 ...
   Image Name:   Octo Mips Sources
   Created:      2012-03-12  17:27:49 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1161864 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80318000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80318000) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.21 (root@vaio) (gcc version 4.1.2 (Gentoo 4.1.2 p1.3)) #17 Mon Mar 12 17:53:12 UTC 2012

 The CPU frequency set to 500 MHz
CPU revision is: 0001974c

...




now i get this. :)
Code:

INIT: version 2.88 booting

   OpenRC 0.9.4 is starting up Gentoo Linux (mips)

 * Mounting /proc ...
 [ ok ]
mount: wrong fs type, bad option, bad superblock on rc-svcdir,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
INIT: Entering runlevel: 3Caching service d
 * Caching service dependencies ...
 * Failed to update the dependency tree
 [ !! ]
 * failed to load deptree
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Fri Jun 29, 2012 1:39 pm    Post subject: Reply with quote

the problem mentioned in my previous post is fixed now. the kernel (2.6.21.x) from ralink was just outdated and some futex stuff was missing. our prototype runs kernel v3.3.8 (from openwrt, which has basic support for RT3883 SoC and RT3883 *hci-controllers) and gentoo rootfs now. still alpha but everything works quiet great. :)

we are still fighting some crossdev problems (python, perl, glib,etc.) but this should be possible to solve. stay tuned.
Back to top
View user's profile Send private message
bixmix
n00b
n00b


Joined: 17 May 2012
Posts: 10

PostPosted: Fri Jun 29, 2012 6:23 pm    Post subject: Reply with quote

This may not even be an issue at this point, but...

Did you try uclibceabi? I've noticed that has a much higher liklihood of actually compiling uclibc.
Back to top
View user's profile Send private message
snikkers
n00b
n00b


Joined: 25 Jan 2012
Posts: 15

PostPosted: Fri Jun 29, 2012 6:41 pm    Post subject: Reply with quote

nope, isn't it for arm?
Back to top
View user's profile Send private message
bixmix
n00b
n00b


Joined: 17 May 2012
Posts: 10

PostPosted: Sat Jun 30, 2012 1:53 pm    Post subject: Reply with quote

It's definitely not limited to arm only.

GCC has implemented EABI across the board as far as I know. Uclibc still has some work on their changes from what I recall reading and may not support every architecture right now.
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