Unofficial community forum for users of Elonex's One/Onet, CnM Minibook and other similar mini-laptop devices.Many questions have already been answered on this forum. Please search before posting
Yeah I tried and failed at using the mk3mx script, epic failure on my part, it's slowly dawning on my what wicknix means by editing it all by hand, sod that for a game of soldiers... That must take erm, hours, days, months, years.. noooo!
Compiling native:In the Debian repository for the 'Etch' distribution there is a huge amount of binaries for the mipsel platform. This repository can be searched for packages and so i did a search for gcc and related software. I found the following files :binutils_2.17-3_mipsel.debgcc-4.1-base_4.1.1-21_mipsel.debcpp-4.1_4.1.1-21_mipsel.deblibc6-dev_2.3.6.ds1-13etch5_mipsel.debgcc-4.1_4.1.1-21_mipsel.debDebian packages are archives with inside them a control.tar.gz and a data.tar.gz. The control.tar.gz often holds scripts for post installation activities and also for removal. The data.tar.gz holds the files to be copied to the root folder. So if we want to install these on our EPC 700 we just need to collect the data.tar.gz files from each .deb file and extract them on our EPC 700.A simple script or oneliner can do this for us :(WARNING: USE THIS ONLY ON THE EPC 700 and only the above list of .deb files have been tested. Other .deb files can break your EPC 700)put all de .deb files on the SDcard and use the following commands:cd /SD/SD_1/for package in $( ls *.deb ); do ar -x $package data.tar.gz ; tar xzf ./data.tar.gz -C / ; donerm ./data.tar.gzln -s /usr/bin/gcc-4.1 /usr/bin/gcc This will copy all the necessary files to the correct place on your EPC 700. The ln statement will create a softlink to the new gcc-4.1 executable and allows us to invoke it simply with gcc.Unfortunately this is not enough to get started. When we want to use the compiler it cannot find the newly installed libraries. The distrib on the EPC 700 does not have a proper ld.so.conf file and thus we need to create one. (this example works but some people might think this is not the proper way to do this.)echo "# default libc configuration" >> /etc/ld.so.confecho "/lib" >> /etc/ld.so.confecho "/usr/lib" >> /etc/ld.so.confecho "/usr/local/lib" >> /etc/ld.so.confldconfigThe libraries are now detected and we can continue by testing our compiler.
The recovery.img is just a .tar.bz2 of a root filesystem renamed to .img.