OpenHarmony开源社区
直播中

yun_sun

2年用户 15经验值
擅长:可编程逻辑 模拟技术
私信 关注
[资料]

【九联科技Unionpi Tiger开发板试用体验】HarmonyOS系统中UART串口通信调试

    开发板通过CH340X和主控对接:
串口.jpg
   通过debug口链接电脑:

696.jpg
PutTTY调试;
679.jpg

QQ截图20221031175344.jpg

3.jpg
2.jpg
ls , ifconfig都可以识别,显示Linux localhost 5.10.79,看来还是有Linux基因。

  1. bin config etc lost+found storage system vendor
  2. chip prod data init mnt sys tmp
  3. chipset dev lib proc sys prod updater
  4. # ifconfig
  5. 233.395236] kauditd printk skb: 1 callbacks suppressed
  6. 233.395245] audit:type=1400 audit(233.344:4361):avc: denied create } for pid=1938 comm="ifconf
  7. 233.411126] audit:type=1400 audit(233.348:4362):avc: denied read } for pid=1938 comm="ifconfig
  8. oc net:s0 tclass=file permissive=1
  9. [233.430594] audit:type=1400 audit(233.348:4363):avc: denied open for pid=1938 comm="ifconfig
  10. t=u obiect r:proc net:s0 tclass=file permissive=1
  11. 233.4513711 audit: type=1400 audit(233.348:4364): avc: denied { ioctl } for pid=1938 comm="ifconfi
  12. s0 tcontext=u:r:console:s0 tclass=udp socket permissive=1
  13. lo Link encap:Local Loopback
  14. inet addr:127001Mask:25500.0 inet6 addr:::1/128 Scope:Host
  15. UP LOOPBACK RUNNING MTU:65536 Metric:1
  16. RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txoueuelen:1000 RX bytes:0 TXbytes:0
  17. etho Link encap:Ethernet HWaddr 02:00:00:21:22:01 Driver meson8b-dwmac
  18. UP BROADCAST MULtiCAST MTU:1500 Metric:1
  19. RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0dropped:0overruns:0 carrier:0 collisions:0 txqueuelen:1000 Rx bytes:0 TXbytes:0 Interrupt:14
  20. #[ 253.115506] audit:type=1400 audit(253.068:4365):avc: denied{search } for pid=1081 comm="ther unix socket:s0 tclass=dir permissive=1
  21. 378.635303] hungtask base whitelist[0]-init-1
  22. 378.635365] hungtask base whitelist[1-appspawn-268 uname -a
  23. Linux localhost 5.10.79 #1 SMP PREEMPT Wed Aug 314:36:18 CST 2022 aarch64# uname -a
  24. Linux localhost 5.10.79 #1 SMP PREEMPT Wed Auq 3 14:36:18 CST 2022 aarch64






更多回帖

发帖
×
20
完善资料,
赚取积分