This is a collection of Packages and a usable Gentoo-based rootfs for little-endian FPU-less(softfloat) MIPS32 processors running Linux(-2.6, 3.0) The rootfs is ~3GB in size unpacked, you need to drop in a portage tree at /usr/portage. All packages have been built with the following C(XX)FLAGS: C(XX)FLAGS="-O2 -mips32 -msoft-float -pipe" toolchain tuple is "mipsel-softfloat-linux-gnu-" To recreate the toolchain for cross-compiling on Gentoo, follow these instructions: EXTRA_ECONF="--with-mips-plt --with-arch=mips32 --with-tune=mips32 \ --with-llsc --with-float=soft" USE="nopie nossp" crossdev -t mipsel-softfloat-linux-gnu \ -v -b --b 9999 --g 4.9.2 --k 3.18 --l 2.20 --ex-gdb --without-headers Root password is "admin" (without the quotes, obviously). Happy hacking, Manuel Lauss 21-jan-2015 Contents: - complete Gentoo system for little-endian MIPS32r1, capable of building packages natively. Runs also great in QEMU. - X, Xfce, LXDE, assorted WMs, GTK+ (1, 2 and 3), Qt4, enlightenment-17, RazorQT - lighttp, PHP, (t)ftp, samba, cups, networking tools (hostapd, ...) - media libs see the file mips32elsf-gentoo-packages-150119.tar.CONTENTS for a full list of all packages. Changes in 150119: - built with portage 2015-01-17 - updated GCC-4.9, binutils, gdb, llvm/clang and glibc to their respective git heads (19.01.2015) - rebuilt the whole system with the above toolchain. The whole system now works with unpatched Linux-3.19-rc kernels which do MIPS ABI checks. - Had to drop GOLD linker since it doesn't yet create .MIPS.abiflags sections and other bugs (systemd uses gold if it is available). --------------------------------------------------------------------------- Changes in 141117: - built with portage 2014-11-16 - updated GCC-4.9, binutils, gdb, glibc and llvm/clang to their respective branch heads (2014-11-17). Patches to the portage versions are in /etc/portage/patches/sys-*/ - enabled gold linker on MIPS, although a few quick tests show it doesn't really work right, lots of link errors when mixing ld and gold built object files. Caveat emptor! - added X11 overlay (xorg git) - firefox stays at version 31, since linker (both ld and gold) die in the final link of libxul.so due to memory exhaustion. Changes in 140527: - removed debugging symbols, as they were getting larger - based on portage 2014-07-24 - gcc-4.9.0, llvm/clang-3.5svn, binutils-9999, glibc-2.20, gdb-9999 branches from 2014-05-27 0800UTC - gcc-4.8.3 (as a patched 4.8.2 branch version) - added LLVM/clang. - added firefox 29.0.1 - added enlightenment-17/18, RazorQT - switched to systemd, as it boots a _lot_ faster on my targets than openrc - OpenRC still available though (and confirmed working) Changes in 130609: - based on portage 130608 (portage tree not included) - gcc-4.8.0 patched to pre-4.8.2 level (gcc-4_8-branch from 2013-06-02) - binutils-git from 130530 - glibc-2.17p5 and linux-headers-3.9 - gdb-7.6 - rebuilt almost entire system with gcc-4.8.2-pre Changes in 120908: - based on portage 120908 (portage tree not included) - gcc-4.7.1 (patch 1.3) plus fixes for PR54369 and PR54494 - gcc-4.6.3 with above PR-fixes - binutils-git from 20120902 - glibc-2.16.0 and linux-headers-3.5 Changes in 120624: - based on portage snapshot from 120622 - gcc-4.7.1 (PATCH VER 1.0) - glibc-2.15-r2 + install fix from timesys (PATCH VER 18) - binutils-2.22-r1 (PATCH VER 1.4) - dropped firefox due to inability to build in-tree versions - tons of rebuilds (perl-5.16, etc) Changes in 111227: - based on portage snapshot from 111224 - binutils-2.22-r1 + fix for MIPS RLD_MAP versioning (affects firefox and other packages using version scripts; thanks to David Daney!). - gcc-4.6.2 - glibc-2.14.1-r1 rebuilt all packages with the above toolchain and CFLAGS - firefox-9.0 Changes in 111008: - based on portage snapshot from 111008 - binutils-git from 111007 to work around udev and kernel build failures - firefox-7.0.1 - rebuilt most packages due to libpng-1.5 and other library updates - python built against Linux-3.x Changes in 110717: - based on portage snapshot from 110715 - binutils-2.21.1, gcc-4.5.2 (4.6.1 also available), glibc-2.13-r4 (+ latest glibc-ports.git) - python-2.7 may only work with linux-3.0+. I fixed the build to detect linux3 as linux2 but since I built on linux-3.0-rc only the plat-linux3/ directory was created. If you use linux-2.x, just make a plat-linux2 symlink pointing to it. - assorted rebuilds Changes in 110116: - based on portage snapshot 110115 - binutils-2.21 - gcc-4.5.2 with MIPS PLT default enabled - glibc-2.12.2 with glibc-ports git snapshot from 110115 - qt-embedded 4.7.1 (in /opt, w. qmake for amd64) Changes in 100504: - portage 100503 - KDE-4.4.2 - a few rebuilds Changes since 100307: - based on portage snapshot 2010-mar-22 - added KDE-4.4.1 (packages tarball, not installed) - more patches for gcc (gcc bz#43323) - debug symbols for select apps/libraries. Eventually there will be debug syms for all packages. Since they are not really needed unless debugging issues, I've packaged them separately. Just untar at the root of the fs. Changes since 100222: - based on portage snapshot 2010-mar-07 - rebuilt whole system with gcc-4.4.3 (files dated 24-feb-2010 and newer) - removed a few stray libraries and binaries (general system cleanup) - added a small local overlay with patched ebuilds at /etc/portage/overlay - added special cflags for qt-core at /etc/portage/env/* - temporarily removed the qt4 packages Changes since 100204: - based portage snapshot 2010-feb-22 - built qt-*-4.6.2 packages (X-based) (with a modified qt4-build eclass to get rid of Qt floatmath support) - added a cross-built qt-embedded version of qt 4.6.2 (no X, but tslib) - perl-5.10 transition + rebuild of all packages depending on perl - rebuilt few other packages with the default CFLAGS