serial port access problem ...

hi . i'm working on embedded board EM2440 (embedsky) i'm trying to connect rfid and finger print devices to this board via serial port but the problem is about serial port : i can't use serial ports such as /dev/ttyS{0,1,2} even /dev/ttySAC0 as serial port. /det/ttyS{0,1,2} are in /dev/ dir as character device but /dev/ttySAC0 is in /dev/ is just a regular file and content of it is : "Done" ... . kernel params and other bios parameters are :

(i'm wondering why console param of bootargs is ttySAC0 ??? ) bootargs=3Dnoinitrd root=3D/dev/mtdblock2 init=3D/linuxrc console=3DttySAC0 bootcmd=3Dnboot 0x32000000 kernel; bootm 0x32000000 bootdelay=3D0 baudrate=3D115200 ethaddr=3D0a:1b:2c:3d:4e:5f ipaddr=3D192.168.1.6 serverip=3D192.168.1.8 netmask=3D255.255.255.0 stdin=3Dserial stdout=3Dserial stderr=3Dserial mtdids=3Dnand0=3Dnandflash0 mtdparts=3Dmtdparts=3Dnandflash0:256k(at)0(bios),128k(params),128k(toc),

512k(eboot),1024k(logo),2m(kernel),-) partition=3Dnand0,0 mtddevnum=3D0 mtddevname=3Dbios

i've enabled serial port options in kernel :

Serial drivers --->

| | 8250/16550 and compatible serial support =E2=94=82 =E2=94=82 [*] Console on 8250/16550 and compatible serial port =E2=94=82 =E2=94=82 (3) Maximum number of 8250/16550 serial ports =E2=94=82 =E2=94=82 (3) Number of 8250/16550 serial ports to register at ru= ntime =E2=94=82 =E2=94=82 [ ] Extended 8250/16550 serial driver options =E2=94=82 =E2=94=82 *** Non-8250 serial port support *** =E2=94=82 =E2=94=82 Samsung SoC serial support =E2=94=82 =E2=94=82 [*] Support for console on Samsung SoC serial port =E2=94=82 =E2=94=82 Samsung S3C2440/S3C2442 Serial port support

btw : out put of dmesg is : [root(at)FriendlyARM /dev]# dmesg | grep uart s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq =3D 70) is a S3C2440 s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq =3D 73) is a S3C2440 s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq =3D 76) is a S3C2440

Reply to
Iman
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.