ts-7000
[Top] [All Lists]

RE: [ts-7000] TS-7400 tsuart insmod fails

To: "" <>
Subject: RE: [ts-7000] TS-7400 tsuart insmod fails
From: Jayne Dickinson <>
Date: Thu, 26 Jun 2008 16:40:58 -0700
Don't I need to install a tsuart driver for UART2 to become /dev/ttyS0 ?
I went ahead and did the mknod /dev/ttyS0 -c 234 0 and did /etc/init.d/tsuart 
and still get this error
$ more /tmp/tsuart.out
Using tsuart
insmod: not an ELF file
insmod: Could not load the module: Success


Yes this is the fastboot ...and I am not using the TS-9441 card, nor the sdcard 
for anything other than
a filesystem for storage....

examining dmesg....I never see TS-UART in the list..


here's the result of dmesg and no mention of /dev/ttyTS0 being 
installed....hmmmm

$ dmesg
Linux version 2.4.26-ts11  (gcc version 3.3.4) #128 Tue Apr 8 
13:34:20 MST 2008
CPU: Arm920Tid(wb) revision 0
Machine: ep9301
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 4 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 5 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 init=/linuxrc loops=499712
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
99.94 BogoMIPS
Memory: 8MB 8MB 8MB 8MB = 32MB total
Memory: 24448KB available (1264K code, 356K data, 76K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch 
devfs: boot_options: 0x1
yaffs Dec  7 2007 11:04:48 Installing.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
i2c-algo-bit.o: i2c bit algorithm module
i2c-dev.o: Registered 'EP93XX I2C interface' as minor 0
ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
pty: 1024 Unix98 ptys configured
Using DIO to access RTC
Real Time Clock Driver v1.10f
ep93xx_eth() version: ep93xx_eth.c: V1.0 09/04/2003 Cirrus Logic
RAMDISK driver initialized: 16 RAM disks of 12288K size 1024 blocksize
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 
8-bit)
Using MBR partition definition
Creating 4 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x00000000-0x08000000 : "whole chip"
0x00020000-0x00220000 : "kernel"
0x00220000-0x00420000 : "initrd"
0x00440000-0x08000000 : "rootfs"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 1024 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 4096K
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
yaffs: dev is 7939 name is "1f:03"
yaffs: Attempting MTD mount on 31.3, "1f:03"
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
lockd_up: makesock failed, error=-101
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
sdcard0: Technologic Systems SD card controller, address 0x13000000
sdcard0: card size 1999872 sectors
Partition check:
 sdcard0a: p1 p2 p3
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended



________________________________________
From:   On Behalf Of Michael 
Schmidt 
Sent: Thursday, June 26, 2008 3:40 PM
To: 
Subject: Re: [ts-7000] TS-7400 tsuart insmod fails

Jayne Dickinson wrote:
> Thanks Michael...
> This still doesn't answer the question,

Sorry about that, I didn't recognize most of the log file you included
(what is tsuart.out? /mnt/root/etc, does that mean this is the fastboot
prompt?)

> I need access to all 3 com port drivers so I can open /dev/ttyAM0,
/dev/ttyAM1, and /dev/ttyTS0 for my application.
>
> I have disabled the getty by commenting the inittab lines where both ttyAM0 
> and ttyAM1 are enabled.
> I need the tsuart.o since it creates the ttyTS0 driver...

If you don't see /dev/ttyTS0 I would recommend to look at dmesg and see
if there are driver messages mentioning a device node the TS-UART is at.
It may be necessary to do something (mknod with major=235, minor=1
maybe? or mount something? i forgot of the top of my head what 2.4
used...) to make /dev/ttyTS0 show up.

> Where can I find it on your web site...since the boot shows that it has 
> failed....why is the insmod in the init.d
> if it is unsafe to load this driver anyway?
>
>
> Thanks for your help
> Jayne

______ 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