OpenHarmony开机启动调试

ryan 显示全部楼层 发表于 2024-1-12 14:03:56
dayu200烧录失败无法开机,求救
开机屏幕已经不亮了
您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论11

深开鸿_王石

沙发 发表于 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没起来,不停的尝试重启,你改啥了

ryan

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

回复 深开鸿_王石: 回车不行呢。要是行,就能用了. 串口工具用的是MobaXterm自带的MiniCom
是在树莓派4b上.

ryan

发表于 2024-1-15 14:28  IP属地: - 中国江苏省扬州市 中国电信IDC

回复 深开鸿_王石: 你经常用哪个串口工具?我换上试试呗

深开鸿_王石

发表于 2024-1-15 15:33  IP属地: - 中国江苏省 中国移动IDC

回复 ryan: https://www.alithon.com/release/serial_port_utility_538_1001.exe,可以在下面发送区发送命令,但是你这个我觉得没启动到tty起来,SystemInit最开始就是SignalInit,里面的watchdog服务错了,就卡在那了,tty没起来,你用这个也没用,哈哈

ryan

发表于 2024-1-15 17:58  IP属地: - 中国江苏省扬州市 中国电信IDC

回复 深开鸿_王石: 我一会儿试下你的工具。
我的图形界面是启动起来了,可以看到锁屏界面,但是鼠标和键盘没有显示.

ryan

发表于 2024-1-17 11:01  IP属地: 山东省济南市

回复 深开鸿_王石: 原因找到了.是CH340的驱动问题.

【8 条回复】

ryan

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

Roald.MJ

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

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

【1 条回复】

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

返回顶部