ts-7000
[Top] [All Lists]

[ts-7000] Re: TS7800 and TS-UARTs

To:
Subject: [ts-7000] Re: TS7800 and TS-UARTs
From: "Justin Teems" <>
Date: Thu, 14 Feb 2008 19:05:32 -0000
Mike,

Great! Thanks for the help. The drivers were not being loaded in
fastboot mode or fullboot mode, but once I modprobe'd them, the
devices showed up in dmesg, and can use them as needed. Marvelous!
Thanks for the GREAT support. Wish all my vendors were as good as you
guys. 

Justin

--- In  "Michael" <> wrote:
>
> > Hi Michael,
> >
> > Sorry, but you'll have to bear with me here as this is the first TS
> > product I've used. You mentioned before that "everything was working"
> 
> Sorry, I was just quoting you when you said:
> 
> >> > Well, its properly working in fastboot mode... so there's no
problem
> >> > with the hardware. I'd like to get it working from the SD card, so
> >> > here's the information from that image...
> 
> Did I misunderstand you?  I thought by that you meant that you had the 
> serial port work in fastboot, but then when you tried to exit to
fullboot 
> (or else go directly to fullboot by linking linuxrc) it didn't work...
> 
> > in fastboot mode, where fastboot = type "exit" from serial shell and
> 
> Actually, fastboot is the shell before you type exit.  Once you type
exit 
> and start the Debian initialization you are starting fullboot.
> 
> > boot to onboard flassh (/dev/mtdblock3) (i.e, remove SD card). The
> > linuxrc-fastboot script makes no mention of either tsuart1.ko or
> > tsuart7800.ko, but ls -la /dev/ttts* gives:
> >
> > crw-r--r--  1 root root 234,  1 Dec 19 20:22 /dev/ttts0
> > crw-r--r--  1 root root 234,  2 Dec 19 20:22 /dev/ttts1
> > crw-r--r--  1 root root 234,  3 Dec 19 20:22 /dev/ttts2
> > crw-r--r--  1 root root 234,  4 Dec 19 20:22 /dev/ttts3
> > crw-r--r--  1 root root 234,  5 Dec 19 20:22 /dev/ttts4
> > crw-r--r--  1 root root 234,  6 Dec 19 20:22 /dev/ttts5
> > crw-r--r--  1 root root 234,  7 Dec 19 20:22 /dev/ttts6
> > crw-r--r--  1 root root 234,  8 Dec 19 20:22 /dev/ttts7
> > crw-r--r--  1 root root 234,  9 Dec 19 20:22 /dev/ttts8
> > crw-r--r--  1 root root 234, 10 Dec 19 20:22 /dev/ttts9
> >
> > and lsmod produces:
> >
> > Module                  Size  Used by
> > tssdcard               28352  0
> > ts7800                  3696  2
> >
> > So, while I can see the devices, the modules clearly aren't being
> > loaded, even from the default flash. The only place the modules are on
> > the flash are under /lib/modules/... and these have the "old" md5sums
> > as mentioned above.
> 
> Looks like the /dev/ttts* entries were statically created somehow...
> And firing up my 7800, it does look like we aren't loading the
serial port 
> drivers in fastboot.  We have done this on previous boards (the 7300
comes 
> to mind) so I was thinking we did here.
> 
> > So, I'm not so sure that the ports are working correctly from the
> > factory flash (I haven't reflashed). Any thoughts on how we can get
> > this fixed?
> 
> Ok, first I would say to install the latest drivers under
/lib/modules/... 
> once that's done if you run:
> modprobe tsuart1
> modprobe tsuart7800
> 
> then you should see this in dmesg:
> ttts0 at MMIO 0xe80000c0 (irq = 80) is a TSUART
> tt8s0 at MMIO 0xe80000c0 (irq = 80) is a TSUART
> ttts1 at MMIO 0xe80000c4 (irq = 81) is a TSUART
> tt8s1 at MMIO 0xe80000c4 (irq = 81) is a TSUART
> ttts2 at MMIO 0xe80000c8 (irq = 82) is a TSUART
> tt8s2 at MMIO 0xe80000c8 (irq = 82) is a TSUART
> ttts3 at MMIO 0xe80000cc (irq = 83) is a TSUART
> tt8s3 at MMIO 0xe80000cc (irq = 83) is a TSUART
> ttts4 at MMIO 0xe80000d0 (irq = 84) is a TSUART
> tt8s4 at MMIO 0xe80000d0 (irq = 84) is a TSUART
> ttts5 at MMIO 0xe80000d4 (irq = 85) is a TSUART
> tt8s5 at MMIO 0xe80000d4 (irq = 85) is a TSUART
> ttts6 at MMIO 0xe80000d8 (irq = 86) is a TSUART
> tt8s6 at MMIO 0xe80000d8 (irq = 86) is a TSUART
> ttts7 at MMIO 0xe80000dc (irq = 87) is a TSUART
> tt8s7 at MMIO 0xe80000dc (irq = 87) is a TSUART
> ttts8 at MMIO 0xe80000e0 (irq = 88) is a TSUART
> tt8s8 at MMIO 0xe80000e0 (irq = 88) is a TSUART
> ttts9 at MMIO 0xe80000e0 (irq = 88) is a TSUART
> tt8s9 at MMIO 0xe80000e0 (irq = 88) is a TSUART
> 
> I find that if I am running this from fastboot, I need to run the
following 
> to update the /dev tree:
> mdev -s
> 
> If you are running udev (e.g. from the fullboot) then you probably
don't 
> need this step as udev should take care of it for you automatically.
> 
>  ______   Best Regards,
> |__  __/                  Michael Schmidt
>    ||                   Software Engineer
>    ||echnologic Systems (EmbeddedARM.com)
>    || (480)    16610 East Laser Drive #10
>    |/ 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