52 Star 152 Fork 140

openEuler / RISC-V

 / 详情

lpi4a 无法读写串口

已确认
缺陷
创建于  
2024-04-29 11:11

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)

一、缺陷信息

内核信息:

缺陷归属组件:

缺陷归属的版本:

缺陷简述:

https://mirror.iscas.ac.cn/openeuler-sig-riscv/openEuler-RISC-V/devel/20240409/v0.1/lpi4a/ 此处获得的镜像

【环境信息】

lpi4a 将UART0-4接入CH380

**【问题复现步骤】

输入echo -e "hullo"> /dev/ttys5

依次从0-5都测试了

【实际结果】

串口读写/dev/ttyS[2,3,5] 报错 /dev/ttyS4直接卡死

【其他相关附件信息】

输入图片说明

评论 (5)

Ariel Xiong 创建了缺陷

Hi arielheleneto, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-RISC-V, and any of the maintainers: @liliang_euler , @wuwei_plct , @whoisxxx , @liqingqing_1229 , @wangjunqiang , @DongDu , @wangyangdahai , @laokz , @phoebe , @Jingwiw , @jchzhou , @misaka00251 , @yunxiang

openeuler-ci-bot 添加了
 
sig/sig-RISC-V
标签

可以试一下这里的镜像吗?以及是只有 openEuler RISC-V 下有这个问题吗?

[root@openeuler-riscv64 ~]# echo -e "hullo"> /dev/ttyS0
hullo
[root@openeuler-riscv64 ~]# echo -e "hullo"> /dev/ttyS1
-bash: echo: write error: Input/output error
[root@openeuler-riscv64 ~]# echo -e "hullo"> /dev/ttyS2
-bash: echo: write error: Input/output error
[root@openeuler-riscv64 ~]# echo -e "hullo"> /dev/ttyS3
-bash: echo: write error: Input/output error
[root@openeuler-riscv64 ~]# echo -e "hullo"> /dev/ttyS4
[root@openeuler-riscv64 ~]# echo -e "hullo"> /dev/ttyS5

“这里” 的测试结果如下

上述内容表明串口0没问题 1-3会读写错误 4-5没反应(不过板子上也只有0-3呢)

misaka00251 任务状态待办的 修改为已确认

/dev/ttyS4 是给蓝牙用的,剩下的还需要调查一下

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 10453487 misaka00251 1694364197 912463 xiongjiahui 1581149975
Shell
1
https://gitee.com/openeuler/RISC-V.git
git@gitee.com:openeuler/RISC-V.git
openeuler
RISC-V
RISC-V

搜索帮助

53164aa7 5694891 3bd8fe86 5694891