I got an embedded Linux board
(mipsel 32 bit - MIPS 1004K) with rootfs.cpio . Unfortunately, the rootfs
is pretty old -customized from Debian MIPS port release, based on Debian 6.
I need to upgrade it to the latest version with gcc 4.9 since our
application uses some of C++11 features. I come from ARM/BuildROOT.
After I have read through the webpage https://www.debian.org/ports/mips/
, not much detailed info was found out about porting rootfs.
Here is my question list that might need your help for advice:
It (a)sounds like I need to mipsel linux machine. Any instruction to access mipsel-aql-01.debian.org ?
(b) Any tools available to select packages to build rootfs ?
Thank you so much.
Lijun Qin
I list the structure of original rootfs(528M) (Actually, it pretty much has everything needed for development )
root@xx:/usr/bin# g++ -v
Using built-in specs.
Target: mipsel-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++
--prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--disable-libssp --enable-targets=all --enable-checking=release --build=mipsel-linux-gnu
--host=mipsel-linux-gnu --target=mipsel-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)
evalkit@Debian82_EvalKit_Lijun:~/workspace/rootfs$ ls -al
total 125188
drwxr-xr-x 19 evalkit evalkit 4096 Oct 7 09:11 .
drwxr-xr-x 8 evalkit evalkit 4096 Oct 7 13:42 ..
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:11 bin
drwxr-xr-x 4 evalkit evalkit 4096 Oct 7 09:09 dev
drwxr-xr-x 68 evalkit evalkit 4096 Oct 7 09:11 etc
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:09 home
drwxr-xr-x 11 evalkit evalkit 4096 Oct 7 09:09 lib
drwx------ 2 evalkit evalkit 4096 Oct 7 09:09 lost+found
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:09 mnt
drwxr-xr-x 3 evalkit evalkit 4096 Oct 7 09:09 opt
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:11 proc
drwx------ 5 evalkit evalkit 4096 Oct 7 09:09 root
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:11 sbin
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:11 selinux
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:09 srv
drwxr-xr-x 2 evalkit evalkit 4096 Oct 7 09:09 sys
drwxr-xr-x 4 evalkit evalkit 4096 Oct 7 09:09 tmp
drwxr-xr-x 10 evalkit evalkit 4096 Oct 7 09:09 usr
drwxr-xr-x 13 evalkit evalkit 4096 Oct 7 09:11 var