Skip to contentSkip to conversation

Cooperative Linux

ANNOUNCE Paul Zimmerman 2 participants 2 messages Jan 29, 2004

lore
Share & tools
lore
#0 lore raw

For fun, I though I would try building this, so I downloaded the source tarball from sourceforge. But it seems the makefile for building the host OS support code (src/colinux/os/winnt/build/Makefile, mentioned in doc/building) is missing. Is this just an oversight, or do you intend that it not be buildable at this time?

-Paul
Send off-list replies to zimmerman DOT paul AT comcast DOT net

_________________________________________________________________
High-speed users�be more efficient online with the new MSN Premium Internet Software. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1

#1 lore raw
Quoted 5 lines · Paul Zimmerman

For fun, I though I would try building this, so I downloaded the source tarball from sourceforge. But it seems the makefile for building the host OS support code (src/colinux/os/winnt/build/Makefile, mentioned in doc/building) is missing. Is this just an oversight, or do you intend that it not be buildable at this time?

A few files were missing when I packed it.
Here's the patch I sent on the colinux-devel mailing list against that tarball.

ChangeLog +4 -0
diff -urN colinux-20040119/ChangeLog colinux-20040128/ChangeLog
@@ -0,0 +1,4 @@
+Version 0.5.2
+ * Added some missing files to the build tree
+ * doc/cygwin-cross-build - How to build a cygwin cross compilation tools
+   on Linux.
conf/README +4 -0
diff -urN colinux-20040119/conf/README colinux-20040128/conf/README
@@ -0,0 +1,4 @@
+This directory contains example configuration files for the coLinux daemon.
+
+It also contain a configuration file that can be used as a .config for
+compling the cooperative Linux kernel.
\ No newline at end of file
conf/default.colinux.xml +8 -0
diff -urN colinux-20040119/conf/default.colinux.xml colinux-20040128/conf/default.colinux.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<colinux>
+    <block_device index="0" path="\DosDevices\c:\colinux\root_fs" enabled="true">
+    <block_device index="1" path="\DosDevices\c:\colinux\swap_device" enabled="true">
+    </block_device>
+    <bootparams>init=/bin/bash</bootparams>
+    <image path="vmlinux"></image>
+</colinux>
conf/linux-config +515 -0

515 lines not on this page · raw message

doc/cygwin-cross-build +51 -0

51 lines not on this page · raw message

patch/linux +15 -18
diff -urN colinux-20040119/patch/linux colinux-20040128/patch/linux
@@ -3326,7 +3326,7 @@
  #define __TSS(n) (((n)<<2) + __FIRST_TSS_ENTRY)
 diff -X bin/dontdiff -urN linux/include/asm-i386/dma.h linux/include/asm-i386/dma.h
 --- linux/include/asm-i386/dma.h	2004-01-05 05:39:23.000000000 +0200
-+++ linux/include/asm-i386/dma.h	2003-12-20 03:01:30.000000000 +0200
++++ linux/include/asm-i386/dma.h	2004-01-26 23:39:36.000000000 +0200
 @@ -268,6 +268,8 @@
   *
   * Assumes DMA flip-flop is clear.
@@ -3347,7 +3347,7 @@
  extern int request_dma(unsigned int dmanr, const char * device_id);	/* reserve a DMA channel */
 diff -X bin/dontdiff -urN linux/include/asm-i386/io.h linux/include/asm-i386/io.h
 --- linux/include/asm-i386/io.h	2004-01-05 05:39:23.000000000 +0200
-+++ linux/include/asm-i386/io.h	2003-12-26 18:28:26.000000000 +0200
++++ linux/include/asm-i386/io.h	2004-01-27 00:00:07.000000000 +0200
 @@ -2,6 +2,7 @@
  #define _ASM_IO_H
  
@@ -3356,18 +3356,15 @@
  
  /*
   * This file contains the definitions for the x86 IO instructions
-@@ -46,6 +47,10 @@
+@@ -45,6 +46,7 @@
+ #ifdef __KERNEL__
  
  #include <linux/vmalloc.h>
++#include <linux/cooperative.h>
  
-+#ifdef CONFIG_COOPERATIVE
-+#include <linux/colinux.h>
-+#endif
-+
  /*
   * Temporary debugging check to catch old code using
-  * unmapped ISA addresses. Will be removed in 2.4.
-@@ -121,6 +126,10 @@
+@@ -121,6 +123,10 @@
   
  static inline void * ioremap (unsigned long offset, unsigned long size)
  {
@@ -3378,7 +3375,7 @@
  	return __ioremap(offset, size, 0);
  }
  
-@@ -146,6 +155,10 @@
+@@ -146,6 +152,10 @@
   
  static inline void * ioremap_nocache (unsigned long offset, unsigned long size)
  {
@@ -3389,7 +3386,7 @@
          return __ioremap(offset, size, _PAGE_PCD);
  }
  
-@@ -308,6 +321,8 @@
+@@ -308,6 +318,8 @@
  
  #endif /* __KERNEL__ */
  
@@ -3398,7 +3395,7 @@
  #ifdef SLOW_IO_BY_JUMPING
  #define __SLOW_DOWN_IO "\njmp 1f\n1:\tjmp 1f\n1:"
  #else
-@@ -427,4 +442,19 @@
+@@ -427,4 +439,19 @@
  __OUTS(w)
  __OUTS(l)
  
@@ -3443,7 +3440,7 @@
  #define NR_IRQS 16
 diff -X bin/dontdiff -urN linux/include/asm-i386/mmu_context.h linux/include/asm-i386/mmu_context.h
 --- linux/include/asm-i386/mmu_context.h	2004-01-05 05:37:17.000000000 +0200
-+++ linux/include/asm-i386/mmu_context.h	2003-12-20 02:42:52.000000000 +0200
++++ linux/include/asm-i386/mmu_context.h	2004-01-26 23:39:35.000000000 +0200
 @@ -41,6 +41,7 @@
  #endif
  		set_bit(cpu, &next->cpu_vm_mask);
@@ -3521,7 +3518,7 @@
  #define VM_DATA_DEFAULT_FLAGS	(VM_READ | VM_WRITE | VM_EXEC | \
 diff -X bin/dontdiff -urN linux/include/asm-i386/pgalloc.h linux/include/asm-i386/pgalloc.h
 --- linux/include/asm-i386/pgalloc.h	2004-01-05 05:37:14.000000000 +0200
-+++ linux/include/asm-i386/pgalloc.h	2003-12-20 02:42:48.000000000 +0200
++++ linux/include/asm-i386/pgalloc.h	2004-01-26 23:39:33.000000000 +0200
 @@ -11,8 +11,13 @@
  #define pte_quicklist (current_cpu_data.pte_quick)
  #define pgtable_cache_size (current_cpu_data.pgtable_cache_sz)
@@ -3558,7 +3555,7 @@
  #endif /* _I386_PGTABLE_2LEVEL_H */
 diff -X bin/dontdiff -urN linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
 --- linux/include/asm-i386/pgtable.h	2004-01-05 05:37:14.000000000 +0200
-+++ linux/include/asm-i386/pgtable.h	2003-12-20 02:42:48.000000000 +0200
++++ linux/include/asm-i386/pgtable.h	2004-01-26 23:39:33.000000000 +0200
 @@ -320,8 +320,13 @@
  
  #define page_pte(page) page_pte_prot(page, __pgprot(0))
@@ -3576,7 +3573,7 @@
  #define pgd_index(address) ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
 diff -X bin/dontdiff -urN linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
 --- linux/include/asm-i386/processor.h	2004-01-05 05:37:14.000000000 +0200
-+++ linux/include/asm-i386/processor.h	2003-12-13 17:17:01.000000000 +0200
++++ linux/include/asm-i386/processor.h	2004-01-26 23:39:33.000000000 +0200
 @@ -181,8 +181,18 @@
  #define X86_CR4_OSFXSR		0x0200	/* enable fast FPU save and restore */
  #define X86_CR4_OSXMMEXCPT	0x0400	/* enable unmasked SSE exceptions */
@@ -3625,7 +3622,7 @@
  #endif
 diff -X bin/dontdiff -urN linux/include/linux/console.h linux/include/linux/console.h
 --- linux/include/linux/console.h	2004-01-05 05:37:20.000000000 +0200
-+++ linux/include/linux/console.h	2003-12-13 17:33:48.000000000 +0200
++++ linux/include/linux/console.h	2004-01-26 23:39:38.000000000 +0200
 @@ -55,6 +55,7 @@
  extern const struct consw dummy_con;	/* dummy console buffer */
  extern const struct consw fb_con;	/* frame buffer based console */
@@ -3636,7 +3633,7 @@
  
 diff -X bin/dontdiff -urN linux/include/linux/cooperative.h linux/include/linux/cooperative.h
 --- linux/include/linux/cooperative.h	1970-01-01 02:00:00.000000000 +0200
-+++ linux/include/linux/cooperative.h	2003-12-27 11:46:21.000000000 +0200
++++ linux/include/linux/cooperative.h	2004-01-24 10:19:19.000000000 +0200
 @@ -0,0 +1,173 @@
 +#ifndef __LINUX_COOPERATIVE_H__
 +#define __LINUX_COOPERATIVE_H__
src/colinux/os/winnt/build/Makefile +85 -0

85 lines not on this page · raw message

Signature · 2 lines
Dan Aloni
[email protected]