From: Iman on
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=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
bootcmd=nboot 0x32000000 kernel; bootm 0x32000000
bootdelay=0
baudrate=115200
ethaddr=0a:1b:2c:3d:4e:5f
ipaddr=192.168.1.6
serverip=192.168.1.8
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
mtdids=nand0=nandflash0
mtdparts=mtdparts=nandflash0:256k(at)0(bios),128k(params),128k(toc),
512k(eboot),1024k(logo),2m(kernel),-)
partition=nand0,0
mtddevnum=0
mtddevname=bios

i've enabled serial port options in kernel :

Serial drivers --->
| | <*> 8250/16550 and compatible serial support
│ │ [*] Console on 8250/16550 and compatible serial port
│ │ (3) Maximum number of 8250/16550 serial ports
│ │ (3) Number of 8250/16550 serial ports to register at runtime
│ │ [ ] Extended 8250/16550 serial driver options
│ │ *** Non-8250 serial port support ***
│ │ <*> Samsung SoC serial support
│ │ [*] Support for console on Samsung SoC serial port
│ │ <*> 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 = 70) is a
S3C2440
s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a
S3C2440
s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a
S3C2440
 | 
Pages: 1
Prev: Haptic interfaces
Next: [Way OT] dieresis