ts-7000
[Top] [All Lists]

Re: [ts-7000] TS7800 serial port delay

To:
Subject: Re: [ts-7000] TS7800 serial port delay
From: Michael Schmidt <>
Date: Tue, 10 Feb 2009 09:07:47 -0700
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.embeddedarm.com/~michael


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

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>
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