按照你的步骤 移植串口驱动出现下面的情况~求解 谢谢
root@EmbedSky /]# serial_test
readserailcfg
serialread.dev is /dev/tq2440_serial2
------------[ cut here ]------------
WARNING: at arch/arm/plat-s3c24xx/gpio.c:45 s3c2410_gpio_pullup+0x1c/0x4c()
Modules linked in:
[<c002d390>] (unwind_backtrace+0x0/0xec) from [<c0046790>] (warn_slowpath_common+0x48/0x60)
[<c0046790>] (warn_slowpath_common+0x48/0x60) from [<c00467c0>] (warn_slowpath_null+0x18/0x1c)
[<c00467c0>] (warn_slowpath_null+0x18/0x1c) from [<c00318b4>] (s3c2410_gpio_pullup+0x1c/0x4c)
[<c00318b4>] (s3c2410_gpio_pullup+0x1c/0x4c) from [<c0170bd0>] (s3c24xx_serial_startup+0xc4/0xf0)
[<c0170bd0>] (s3c24xx_serial_startup+0xc4/0xf0) from [<c016ea88>] (uart_startup+0x84/0x198)
[<c016ea88>] (uart_startup+0x84/0x198) from [<c016f7c8>] (uart_open+0x11c/0x3e4)
[<c016f7c8>] (uart_open+0x11c/0x3e4) from [<c0158b7c>] (tty_open+0x2e8/0x404)
[<c0158b7c>] (tty_open+0x2e8/0x404) from [<c0099770>] (chrdev_open+0x128/0x144)
[<c0099770>] (chrdev_open+0x128/0x144) from [<c009581c>] (__dentry_open+0x13c/0x24c)
[<c009581c>] (__dentry_open+0x13c/0x24c) from [<c00959ec>] (nameidata_to_filp+0x40/0x54)
[<c00959ec>] (nameidata_to_filp+0x40/0x54) from [<c00a01d0>] (do_last+0x42c/0x57c)
[<c00a01d0>] (do_last+0x42c/0x57c) from [<c00a1b9c>] (do_filp_open+0x16c/0x4b4)
[<c00a1b9c>] (do_filp_open+0x16c/0x4b4) from [<c0095600>] (do_sys_open+0x58/0x10c)
[<c0095600>] (do_sys_open+0x58/0x10c) from [<c0027e40>] (ret_fast_syscall+0x0/0x2c)
---[ end trace 307a5e70c2814367 ]---
------------[ cut here ]------------
WARNING: at arch/arm/plat-s3c24xx/gpio.c:45 s3c2410_gpio_pullup+0x1c/0x4c()
Modules linked in:
[<c002d390>] (unwind_backtrace+0x0/0xec) from [<c0046790>] (warn_slowpath_common+0x48/0x60)
[<c0046790>] (warn_slowpath_common+0x48/0x60) from [<c00467c0>] (warn_slowpath_null+0x18/0x1c)
[<c00467c0>] (warn_slowpath_null+0x18/0x1c) from [<c00318b4>] (s3c2410_gpio_pullup+0x1c/0x4c)
[<c00318b4>] (s3c2410_gpio_pullup+0x1c/0x4c) from [<c0170be8>] (s3c24xx_serial_startup+0xdc/0xf0)
[<c0170be8>] (s3c24xx_serial_startup+0xdc/0xf0) from [<c016ea88>] (uart_startup+0x84/0x198)
[<c016ea88>] (uart_startup+0x84/0x198) from [<c016f7c8>] (uart_open+0x11c/0x3e4)
[<c016f7c8>] (uart_open+0x11c/0x3e4) from [<c0158b7c>] (tty_open+0x2e8/0x404)
[<c0158b7c>] (tty_open+0x2e8/0x404) from [<c0099770>] (chrdev_open+0x128/0x144)
[<c0099770>] (chrdev_open+0x128/0x144) from [<c009581c>] (__dentry_open+0x13c/0x24c)
[<c009581c>] (__dentry_open+0x13c/0x24c) from [<c00959ec>] (nameidata_to_filp+0x40/0x54)
[<c00959ec>] (nameidata_to_filp+0x40/0x54) from [<c00a01d0>] (do_last+0x42c/0x57c)
[<c00a01d0>] (do_last+0x42c/0x57c) from [<c00a1b9c>] (do_filp_open+0x16c/0x4b4)
[<c00a1b9c>] (do_filp_open+0x16c/0x4b4) from [<c0095600>] (do_sys_open+0x58/0x10c)
[<c0095600>] (do_sys_open+0x58/0x10c) from [<c0027e40>] (ret_fast_syscall+0x0/0x2c)
---[ end trace 307a5e70c2814368 ]---
serialread.speed is 115200
serialread.databits is 8
serialread.stopbits is 1
serialread.parity is N
isatty success!
nwrite=15
串口测试是 出来一堆乱七八糟的东西 。。。。这是咋回事???