Fandom

coLinux

Compiling cofb (coLinux Framebuffer)

237pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Download the sourcesEdit

To download the sources, in Linux, issue the command:

$ svn checkout http://colinux.svn.sourceforge.net/svnroot/colinux/branches/cofb cofb

Of course this only works if you have subversion (svn) installed. If not, in Gentoo, you can issue the command:

$ emerge svn

In Debian and variants, this is:

$ apt-get install svn

Check that the directory cofb has been created and populated with the latest cofb files:

$ cd cofb
$ svn info
Path: .
URL: http://colinux.svn.sourceforge.net/svnroot/colinux/branches/cofb
Repository Root: http://colinux.svn.sourceforge.net/svnroot/colinux
Repository UUID: 688f6386-cf32-0410-9ead-a596f0484e40
Revision: 1493
Node Kind: directory
Schedule: normal
Last Changed Author: sunyin
Last Changed Rev: 1489
Last Changed Date: 2010-06-27 04:52:56 +0300 (Sun, 27 Jun 2010)

ConfigureEdit

Simply run configure in cofb directory:

$./configure

MakeEdit

Next, issue the command:

$ make download && make && make package && make installer

For me, this caused some problems, specifically, I got an error suggesting I run make oldconfig:

make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** [sub-make] Error 2
Kernel 2.6.26.8 config failed (check 'make oldconfig' on kerneltree)
make: *** [kernel] Error 1

Or something similar:

scripts/kconfig/conf -s arch/x86/Kconfig
*
* Restart config...
*
*
* Support for frame buffer devices
*
Support for frame buffer devices (FB) [Y/?] y
  Enable firmware EDID (FIRMWARE_EDID) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration
.

Causes for this could be an old build from the main branch. Simply clean the directory build from all previous sources and run make kernel again.

This results a lot of compilation so go read a book :)

Running cofbEdit

Once the make phase completes succesfully, the next step is to copy over the daemons, the linux.sys file and the vmlinux file. These typically reside in directory ~/dist and are zipped:

shai@localhost ~/dist $ ls                                                    
daemons-0.8.0-20100706.dbg.zip  modules-2.6.26.8-co-0.8.0-20100706.tgz        
daemons-0.8.0-20100706.zip      vmlinux-2.6.26.8-co-0.8.0-20100706.zip
  1. Copy the files in ~/dist a temporary directory in the host.
  1. Shutdown coLinux.
  2. Optional: Backup the original coLinux daemons (the exe files), linux.sys and vmlinux files that reside in directory c:\Program Files\coLinux
  1. Unzip the files in the temporary directory in the host and copy them to c:\Program Files\coLinux (overwrite the older files, that's why we backed up).
  1. Run coLinux

Also on Fandom

Random Wiki