[uCsimm] Kernel module support

From: Stuart Hughes (sehughes@zentropix.com)
Date: Thu Jan 06 2000 - 11:14:03 EST


Hi All,

I've been looking into the possibility of porting RTLv1 to uClinux. One
of the first requirements is that you need kernel module support (as the
RT apps are loaded as kernel modules). Looking through the old mailing
list stuff I see that kernel modules aren't supported. If you try to
build the kernel with this option you get:

make[2]: Entering directory `/opt/uClinux/linux-rt/kernel'
m68k-coff-gcc -D__KERNEL__ -I/opt/uClinux/linux-rt/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce
-D__RT__ -pipe -DNO_MM -DNO_FPU -m68000 -D__COFF__ -DMAGIC_ROM_PTR
-DNO_FORGET -DUTS_SYSNAME='"uClinux"' -c -o ksyms.o ksyms.c
ksyms.c:140: `remap_page_range' undeclared here (not in a function)
ksyms.c:140: initializer element for `symbol_table.symbol[16].addr' is
not constant
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/opt/uClinux/linux-rt/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/opt/uClinux/linux-rt/kernel'

Does anyone have any ideas what would be needed to add kernel module
support (or even whether it is a practical idea).

Regards, Stuart
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:33 EST