ts-7000
[Top] [All Lists]

[ts-7000] Problem: porting tsuart1.c from 2.6.21-ts to 2.6.24.4-matt + r

To:
Subject: [ts-7000] Problem: porting tsuart1.c from 2.6.21-ts to 2.6.24.4-matt + rt-patch
From: "flind1972" <>
Date: Thu, 12 Mar 2009 14:11:04 -0000
Hello all,

first of all Matthieu thank you very much for all your work on the 2.6 kernels 
for the ts7xxx series.

I use your patch for a 2.6.24.4 vanilla kernel on a TS-7300. It looks like 
everything is working ok. After this I applied the rt-patch (Ingo Molnar) for 
this kernel and it builds ok. I now have a PREEMPT-RT kernel with high res 
timers. I did the squarewave test from RT-wiki and it looks impressive!

I now have the following problem. I'm trying to port the tsuart1 kernel module 
from 2.6.21-ts to 2.6.24.4-matt + RT-patch. 

In the 2.6.24.4 version the __ioremap is not supported anymore? I replaced it 
with ioremap... it builds ok. Is this ok? or do I have to use __arm__ioremap?

The second kernel module is a special for the TS-7300 board. We have a custom 
bitstream for the fpga with RS485 TX-enable support. This second lkm basicly 
initializes those 8 fpga ports with use of lkm tsuart1.

Sometimes loading both modules are inserted ok, but sometimes I get a "Oops" 
after registering 3 ports (or 5...random?). The uarts which are registered are 
working fine.

I also did this with the 2.6.24.4-matt kernel with the same results.

It looks like the schedular is trying to switch away before all ports are 
initialized? Or is there someting wrong with the ioremap().

Has anyone tried to port 2.6.21-ts lkm/drivers to 2.6.24.4 or 2.6.28.3?


Regards,
Frank 
The Netherlands




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Problem: porting tsuart1.c from 2.6.21-ts to 2.6.24.4-matt + rt-patch, flind1972 <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU