OpenHarmony开机启动调试

深开鸿_王石

沙发 发表于 2024-1-12 18:48:15
串口是有shell的呀,虽然在打屏dmesg,但是是可以操作的

ryan

发表于 2024-1-15 10:26  IP属地: 江苏省扬州市

回复 深开鸿_王石: 没有"#    "输入的地方呢, 只有这一堆日志

[ 4105.190704] [pid=1][Init][INFO][init_signal_handler.c:56]SigHandler, SIGCHLD received, Service:watchdog_service pid:1857 uid:1100 status:256.
[ 4105.201327] [pid=1][Init][INFO][init_common_service.c:688]Reap service watchdog_service, pid 1857.
[ 4105.214466] [pid=1][Init][INFO][init_common_service.c:567]Service watchdog_service(pid 1859) started
[ 4115.222741] [pid=1][Init][ERROR][init_signal_handler.c:47]Child process watchdog_service(pid 1859) exit with code : 1
[ 4115.231892] [pid=1][Init][INFO][init_signal_handler.c:56]SigHandler, SIGCHLD received, Service:watchdog_service pid:1859 uid:1100 status:256.
[ 4115.242510] [pid=1][Init][INFO][init_common_service.c:688]Reap service watchdog_service, pid 1859.
[ 4115.255664] [pid=1][Init][INFO][init_common_service.c:567]Service watchdog_service(pid 1860) started
[ 4125.264114] [pid=1][Init][ERROR][init_signal_handler.c:47]Child process watchdog_service(pid 1860) exit with code : 1
[ 4125.273281] [pid=1][Init][INFO][init_signal_handler.c:56]SigHandler, SIGCHLD received, Service:watchdog_service pid:1860 uid:1100 status:256.
[ 4125.283900] [pid=1][Init][INFO][init_common_service.c:688]Reap service watchdog_service, pid 1860.
[ 4125.297032] [pid=1][Init][INFO][init_common_service.c:567]Service watchdog_service(pid 1861) started
[ 4135.305414] [pid=1][Init][ERROR][init_signal_handler.c:47]Child process watchdog_service(pid 1861) exit with code : 1
[ 4135.314564] [pid=1][Init][INFO][init_signal_handler.c:56]SigHandler, SIGCHLD received, Service:watchdog_service pid:1861 uid:1100 status:256.
[ 4135.325183] [pid=1][

深开鸿_王石

发表于 2024-1-15 13:55  IP属地: 江苏省

回复 ryan: 打回车就有了,哈哈,或者你换个串口调试工具,可以直接发命令的那种,你发个top就能看到了,当然不排除你还没初始化到tty,那样就不行了

深开鸿_王石

发表于 2024-1-15 13:56  IP属地: 江苏省

回复 ryan: 你这个log就是watchdog没起来,不停的尝试重启,你改啥了

【8 条回复】 查看全部

ryan

板凳 发表于 2024-1-17 11:02:18
原因是串口驱动CH340的版本问题. 更换版本,即可输入了.

Roald.MJ

发表于 2024-7-7 11:18  IP属地: 河南省郑州市

回复 ryan: 应该使用什么版本的CH340驱动呢

【1 条回复】
共11 条回复,点击查看

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部