Wiki > Main > CoLinuxDevelopmentPlatform (compare)
Difference: CoLinuxDevelopmentPlatform (r19 vs. r18)
The coLinux development platform is yet another way to get you hacking away at the Rockbox code under windows quickly. coLinux allows you to run a full Linux installation along side windows, unlike VMware where Linux is run under an emulated computer, and cygwin which isn't really Linux. (coLinux also appears to be faster than VMware.)
Note that this method does not appear to work with Windows 98--it just produces "Missing DLL Export" errors. I strongly suggest you update to Windows 2k/XP. Windows 9x is not safe on the internet.
First you need to go to coLinux and download the latest version. Uncheck the box asking if you want to install a root filesystem image. Run the installer and when Windows asks you if you wish to download the TAP network driver say yes.
Now download Toporesize from here and run the .bat file. Select the uncompressed root_fs file and resize it to as large as you need. (1.3GB should be plenty until/unless you need to run rockboxdev.sh).
Next, download a swap partition from here (the 64MB partition is plenty for this) and extract it to the coLinux install folder.
Now you are ready to go. Run
If everything is working in about 5 seconds you should be prompted to login. The installation is a success!
If you followed the instructions above and have a login prompt then you can login with either of the 2 setup accounts:
Like the cygwin devkit, you have 2 aliases to make life easier: getsvn will download the entire SVN repository (after you set up the network, naturally) and rbconf will run ../tools/configure.
This is basically a Debian installation, so if you need something not installed yet, run aptitude or apt-get to install what you need.. I have installed the following...
The following compilers are being used
Checking out and compiling is as easy as:
The Rockbox Debian image is set to US keyboard layout.
To change this run (as root):
- dpkg-reconfigure console-data
After installing it is a good idea to check that the image is set to the correct time and timezone.
To set the timezone run: base-config
Use "date" to show the time.
And to change the hardware clock (or actually the virtual hardware clock):
This will set system and hardware time to MM/DD hh:mm, CCYY. Times are displayed in local time but hardware time uses UTC.
The network settings should work out of the box with Internet Connection Sharing enabled on your primary network connection. Make sure to tell your firewall that the TAP Adaptor is a trusted network. You will also need to update DNS server settings in /etc/resolv.conf.
Using a version of coLinux after 0.6.4 and Windows XP I could not successfully configure my network so that coLinux could use it. -- MarcGuay - 17 Dec 2008
I suggest installing coLinux as a system service so it starts up when Windows does. (I have it set to use 64MB RAM, and its running now with me logged in, using a total of 6MB RAM over the 2 processes). do so by running E:\coLinux\colinux-daemon.exe -c e:\colinux\colinux.xml --install-service "CoLinux" and make sure you change the paths.. then go start-> run > services.msc and change the coLinux service to start automatically... then start it and your all set.
I don't see a need to have X, since with samba your Linux install is just like a network drive. If you want X I suggest installing it and connecting by VNC, its bloody fast because its on the local comp, and you can always login over the net without needing a X server installed at your remote comp... follow this guide to install x and vnc (don't bother with the XDM), then this one to get vnc running at startup (follow the Debian steps...)
You can also mount your music device in coLinux. The newest versions support direct writing to Windows filesystems. You will need to add this line to your colinux.xml file:
<cofs_device index="0" type="flat" path="\DosDevices\H:\" enabled="true" />
where H is whatever drive letter your music device is. Then create a mount point in coLinux, eg., /mnt/ipod by first creating the directory and adding this line to /etc/fstab
Now either do 'mount /mnt/ipod' or restart your coLinux and you're fine to write files there directly! Note that coLinux warns that cofs is still considered experimental and filesystems have been hosed. It is intended for copying files to and from Linux only.
r20 - 30 Jan 2012 - 18:32:24 - BorisGjeneroRevision r19 - 17 Feb 2010 - 01:09 - AlexVanderpol
Revision r18 - 17 Dec 2008 - 18:46 - MarcGuay
Copyright © by the contributing authors.