ts-7000
[Top] [All Lists]

Re: [ts-7000] TS7800 serial port delay

To:
Subject: Re: [ts-7000] TS7800 serial port delay
From: Arthur Roberts <>
Date: Fri, 13 Feb 2009 16:07:51 -0800 (PST)
Michael,

Thank you.
I can confirm that with this correction of the driver ioctl() sets LOW_LATENCY option OK and delay in serial port is in order of microseconds.
Do you plan to ship units with corrected tsuart1.ko?
Regards,

Arthur


From: Michael Schmidt <>
To:
Sent: Wednesday, February 11, 2009 5:07:47 AM
Subject: Re: [ts-7000] TS7800 serial port delay

Arthur Roberts wrote:
> Hello,
>
> We have modified tsuart1.c as requested (using the kernel source
> supplied on the CD and the crosscompiler supplied:
> ts7800-crosstool- linux-gnueabi- 2005q3-2) , after uploading the tsuart1.ko
> onto the board and placing it in the right /lib/modules/ ... we can them
> rmmod the tsuart1 and tsuart7800 and then modprobe the new tsuart1 and
> tsuart7800. We can confirm we have done so by looking at printk messages
> in dmesg. However this results in a segmentation fault when trying to
> change port parameters. We note that it appears that the board doesn't
> load the module placed in /lib/modules/ ... and rather uses its own
> original tsuart1.ko via some sort of initrd-based process, so the only
> way to use our re-cross-compiled module is to do rmmod/modprobe. Can you

Unfortunately the code in tsuart0.c/tsuart1. c that handles rmmod was
never tested and is known to not correctly uninstall everything so as to
avoid the segfault you are seeing.

> please help us by providing a bit more information on how to replace the
> kernel module on the board in the proper way? Or alternatively help us
> get this new latency setting working one way or another. :-)

If you have a Linux PC with an SD card reader you can mount the initrd
partition (partition 3 on the TS-7800) and copy tsuart1.ko to overwrite
the existing copy... if I remember correctly it's in the root directory
of the initrd.

You can also change the board to fast boot (most boards look for
"tsfastboot" or "fastboot" in / of the Debian partition), then copy the
file over from the fastboot prompt and then run the 'save' command.

I think you could also mount the initrd partition from the full Debian
boot. However I am more familiar with the two previous methods.

> Thanks,
> Arthur.

______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM. com)
|| (480) 16525 East Laser Drive
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddeda rm.com/~michael




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
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