Re: 2.6VMM, uClinux, & Comedi

On 02/08/05 22:12, NZG wrote:
> On Tuesday 02 August 2005 08:27, Ian Abbott wrote:
> 
>>On 01/08/05 14:17, 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
>>
>>It's probably coming to grief in Comedi's Linux compatibility headers
>>somewhere, but as this stuff has changed a few times, which version of
>>Comedi and which kernel version are you using exactly?

> I'm running comedi-0.7.70, but the issue is seems be be coming from the fact 
> that I'm using a nommu arch.

You didn't say what kernel version you were using, but it appears to be 
2.6.9 or less.  Maybe some of the portability issues have been resolved 
in 2.6.12-uc (though probably not all of them).

> The implementation of these functions is probably trivial, but It's taking me 
> a bit since I didn't really understand the VM code before (now I have a small 
> inkling)

The uClinux folks could probably help you there.

> I'll get there, I'm just surprised this hasn't been attempted before.

So you're a pioneer!  Good luck!

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-08-03Z09:03:16