- From: David Schleef <ds_at_schleef.org>
- Date: Mon, 1 Aug 2005 11:01:49 -0700
On Mon, Aug 01, 2005 at 08:17:59AM -0500, NZG wrote: > I managed to successfully cross-compile Comedi for the Coldfire uClinux 2.6, > however it has several unresolved symbols when I try to load it. > > comedi: Unknown symbol pgd_offset_k > comedi: Unknown symbol pmd_none > comedi: Unknown symbol remap_page_range > comedi: Unknown symbol pte_present > comedi: Unknown symbol pte_offset_kernel > comedi: Unknown symbol VMALLOC_VMADDR > comedi: Unknown symbol pte_page > > Apparently uClinux isn't implementing these paged memory functions,which > kind of makes sense, but I'm a little fuzzy on what the nommu code is > supposed to be doing exactly, and I couldn't find any documentation on what > these functions are doing in the vanilla 2.6 kernel. > Has anyone else been down this road before? > I found Mel Gorman's Thesis on the 2.4 mm functions, but I couldn't find most > of these symbols in it. They're mostly hidden behind ugly macros, both in Comedi and in the kernel. The vm code in Comedi is nearly identical for 2.4 and 2.6. You'll probably have to do a lot of hacking, or disable large chunks of code and several drivers, to get Comedi to work on uclinux. Like many drivers in the kernel, it was just not written for the non-mmu case. dave... -- David Schleef Big Kitten LLC (http://www.bigkitten.com/) -- data acquisition on Linux
Received on 2005-08-01Z17:01:49