Rockbox Development > Starting Development and Compiling

coLinux is back.

<< < (2/2)

disorganizer:
nice wiki, helped a lot with installation of colinux..

just some minor things:

1) in newer colinux versions you are not prompted whether you want to download a root image, but you have to deselect the appropriate option in the installation selection

2) toporesized root_fs files dont work with my copy of colinux. either its my dumbness or some general error. colinux gives out several fs errors on boot and denies any repair. but the original image is far enough space.

3) swapfile needs to be at least 128MB according to the colinux wiki

4) colinux does not use xml-files any more.
but the example config file can be easily edited to match out needs

5) command syntax is now:
colinux-daemon.exe -t nt @nameofconfigfile.conf

6) ICS is propably a bad option for internetting a vm.
many people use firewalls which disable the firewall service, which also disables ICS.
making a bridged adapter is propably the best solution for xp.
how to do?
easy... after installation of colinux there is the tap-adapter in the network connections with whatever name. (i will call it tap-adapter from now on).
the real network adapter will be called real-adapter.
so just do the following:
a) note ip-config of real-adapter connecting pc to internet
b) mark real-adapter and tap-adapter
c) right click and activate bridge
d) right click on new bridge adapter, properties
e) then ensure both the real-adapter and the tap-adapter are selected
f) put your ip setting noted in a) in the ip settings of the bridge adapter
g) in the config file of colinux activate eth0 to be a tap (eth0=tuntap)
h) inside the colinux machine give eth0 a ip of your normal network


7) when using common dir with windows
use
"cofs0=C:\coLinux\shared" (example)
in config file, then
"cofs0:/    /mnt/win   cofs    defaults,fmask=0777,dmask=0777 0 0"
in fstab to have access to it

WARNING: could be dangerous for the filesystem :-) so be careful. but when used for device-access thats propably ok.




but i also have a question:
simulator building is obvuously still broken
is anyone trying to fix this? or is the reason known?

will it be possible to build a WINDOWS simulator with coLinux? that way we could compile with colinux but test in windows *g*


AlexP:
Hi,

Thanks for your detailed feedback - could you put it on the wiki page to help future co-Linux adventurers?


--- Quote from: disorganizer on March 05, 2008, 08:01:39 PM ---will it be possible to build a WINDOWS simulator with coLinux? that way we could compile with colinux but test in windows *g*

--- End quote ---

I don't see why not.  However, if you just want a SVN sim with no patches, take a look at http://www.rasher.dk/rockbox/simulator/

soap:
When you edit the wiki - please make it a new section on the same page.  Outside SDL issues / Sim building the older version of coLinux works.  Perhaps it is time for an interested party to create a fully working distro of a newer version?

Navigation

[0] Message Index

[*] Previous page

Go to full version