fengsheng

fengsheng

0个粉丝

4

问答

0

专栏

0

资料

fengsheng  发布于  2020-06-28 23:54:54
采纳率 0%
4个问答
3397

hi3516d v300访问串口1时内核报错

 
大家好,最近调试Hi3516d v300的板子,发现访问/dev/ttyAMA1时,内核报错,
dts已经配置了Uart1,引脚复用也修改为了uart1的tx和rx
大家帮看看,有没有遇到过这个问题的,谢谢!

open tty: /dev/ttyAMA1  bitRate: 115200

------------[ cut here ]------------

WARNING: CPU: 1 PID: 1176 at drivers/tty/serial/serial_core.c:440 uart_get_baud_rate+0xf4/0x158

Modules linked in: hi_mipi_rx(O) hi3516cv500_acodec(PO) hi3516cv500_adec(PO) hi3516cv500_aenc(PO) hi3516cv500_ao(PO) hi3516cv500_ai(PO) hi3516cv500_aio(PO) hi3516cv500_hdmi(PO) hi_sensor_i2c(O) hi_pwm(O) hi3516cv500_nnie(PO) hi3516cv500_ive(PO) hi3516cv500_vdec(PO) hi3516cv500_vfmw(PO) hi3516cv500_jpegd(PO) hi3516cv500_jpege(PO) hi3516cv500_h265e(PO) hi3516cv500_h264e(PO) hi3516cv500_vedu(PO) hi3516cv500_chnl(PO) hi3516cv500_venc(PO) hi3516cv500_rc(PO) hifb(O) hi3516cv500_vo(PO) hi3516cv500_vpss(PO) hi3516cv500_vi(PO) hi3516cv500_isp(PO) hi3516cv500_dis(PO) hi3516cv500_vgs(PO) hi3516cv500_gdc(PO) hi3516cv500_rgn(PO) hi3516cv500_tde(O) hi3516cv500_sys(PO) hi3516cv500_base(PO) hi_tzasc(PO) hi_osal(O) sys_config(O)

CPU: 1 PID: 1176 Comm: comtool Tainted: P           O    4.9.37 #6

Hardware name: Generic DT based system

Backtrace:

[] (dump_backtrace) from [] (show_stack+0x18/0x1c)

r7:00000009 r6:600d0013 r5:00000000 r4:c05bc0f4

[] (show_stack) from [] (dump_stack+0x8c/0xa0)

[] (dump_stack) from [] (__warn+0xec/0x104)

r7:00000009 r6:c0515e88 r5:00000000 r4:00000000

[] (__warn) from [] (warn_slowpath_null+0x28/0x30)

r9:00000000 r8:00000000 r7:ffffeff0 r6:00000000 r5:c68beeb8 r4:00000002

[] (warn_slowpath_null) from [] (uart_get_baud_rate+0xf4/0x158)

[] (uart_get_baud_rate) from [] (pl011_set_termios+0x50/0x344)

r10:c68bee00 r9:0cc00041 r8:c68beeb8 r7:c68bee00 r6:c68bee00 r5:00000000

r4:c6922610 r3:00000000

[] (pl011_set_termios) from [] (uart_change_speed+0x38/0xf0)

r9:0cc00041 r8:00000000 r7:c68bee00 r6:c68bee00 r5:c69040fc r4:c6922610

[] (uart_change_speed) from [] (uart_startup.part.3+0xb0/0x148)

r7:c68bee00 r6:00000000 r5:c69040fc r4:c6922610

[] (uart_startup.part.3) from [] (uart_port_activate+0x58/0x64)

r9:0cc00041 r8:c5fec000 r7:c6904190 r6:c5f9fd80 r5:c68bee00 r4:c69040fc

[] (uart_port_activate) from [] (tty_port_open+0x94/0xd8)

[] (tty_port_open) from [] (uart_open+0x38/0x40)

r9:0cc00041 r8:c5fec000 r7:c05f92a8 r6:c0490c9c r5:c68c2780 r4:c5f9fd80

[] (uart_open) from [] (tty_open+0xdc/0x6ac)

[] (tty_open) from [] (chrdev_open+0xcc/0x188)

r10:c5fedf5c r9:c691a740 r8:c5f9fd80 r7:c6884650 r6:00000000 r5:c691a740

r4:c0490d14

[] (chrdev_open) from [] (do_dentry_open.constprop.3+0x204/0x30c)

r9:00000902 r8:c5fedea8 r7:c00f18cc r6:c5f9fd88 r5:c6884650 r4:c5f9fd80

[] (do_dentry_open.constprop.3) from [] (vfs_open+0x48/0x78)

r9:00000902 r8:c5fedea8 r7:00000000 r6:c6410660 r5:c5f9fd80 r4:c5fedea8

[] (vfs_open) from [] (path_openat+0x344/0xf3c)

r5:00000000 r4:00000000

[] (path_openat) from [] (do_filp_open+0x6c/0xd0)

r10:00000000 r9:c5fec000 r8:c000fa44 r7:00000001 r6:c5fedf5c r5:c5fedea8

r4:00000004

[] (do_filp_open) from [] (do_sys_open+0x11c/0x1cc)

r7:fffff000 r6:c5b28000 r5:ffffff9c r4:00000004

[] (do_sys_open) from [] (SyS_open+0x20/0x24)

r9:c5fec000 r8:c000fa44 r7:00000005 r6:be804bb8 r5:00047f70 r4:00047f18

[] (SyS_open) from [] (ret_fast_syscall+0x0/0x34)

---[ end trace 1a5befffcb78f888 ]---

open /dev/ttyAMA1 OK!

------------[ cut here ]------------

WARNING: CPU: 1 PID: 1176 at drivers/tty/serial/serial_core.c:440 uart_get_baud_rate+0xf4/0x158

Modules linked in: hi_mipi_rx(O) hi3516cv500_acodec(PO) hi3516cv500_adec(PO) hi3516cv500_aenc(PO) hi3516cv500_ao(PO) hi3516cv500_ai(PO) hi3516cv500_aio(PO) hi3516cv500_hdmi(PO) hi_sensor_i2c(O) hi_pwm(O) hi3516cv500_nnie(PO) hi3516cv500_ive(PO) hi3516cv500_vdec(PO) hi3516cv500_vfmw(PO) hi3516cv500_jpegd(PO) hi3516cv500_jpege(PO) hi3516cv500_h265e(PO) hi3516cv500_h264e(PO) hi3516cv500_vedu(PO) hi3516cv500_chnl(PO) hi3516cv500_venc(PO) hi3516cv500_rc(PO) hifb(O) hi3516cv500_vo(PO) hi3516cv500_vpss(PO) hi3516cv500_vi(PO) hi3516cv500_isp(PO) hi3516cv500_dis(PO) hi3516cv500_vgs(PO) hi3516cv500_gdc(PO) hi3516cv500_rgn(PO) hi3516cv500_tde(O) hi3516cv500_sys(PO) hi3516cv500_base(PO) hi_tzasc(PO) hi_osal(O) sys_config(O)

CPU: 1 PID: 1176 Comm: comtool Tainted: P        W  O    4.9.37 #6

Hardware name: Generic DT based system

Backtrace:

[] (dump_backtrace) from [] (show_stack+0x18/0x1c)

r7:00000009 r6:600e0013 r5:00000000 r4:c05bc0f4

[] (show_stack) from [] (dump_stack+0x8c/0xa0)

[] (dump_stack) from [] (__warn+0xec/0x104)

r7:00000009 r6:c0515e88 r5:00000000 r4:00000000

[] (__warn) from [] (warn_slowpath_null+0x28/0x30)

r9:00000000 r8:00000000 r7:ffffeff0 r6:0000000
我来回答
回答0个
时间排序
认可量排序
易百纳技术社区暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区