Prev: Haptic interfaces
Next: [Way OT] dieresis
From: Iman on 1 Mar 2010 04:57 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 |