开发板通过CH340X和主控对接:
通过debug口链接电脑:
PutTTY调试;
ls , ifconfig都可以识别,显示Linux localhost 5.10.79,看来还是有Linux基因。
- bin config etc lost+found storage system vendor
- chip prod data init mnt sys tmp
- chipset dev lib proc sys prod updater
- # ifconfig
- 233.395236] kauditd printk skb: 1 callbacks suppressed
- 233.395245] audit:type=1400 audit(233.344:4361):avc: denied create } for pid=1938 comm="ifconf
- 233.411126] audit:type=1400 audit(233.348:4362):avc: denied read } for pid=1938 comm="ifconfig
- oc net:s0 tclass=file permissive=1
- [233.430594] audit:type=1400 audit(233.348:4363):avc: denied open for pid=1938 comm="ifconfig
- t=u obiect r:proc net:s0 tclass=file permissive=1
- 233.4513711 audit: type=1400 audit(233.348:4364): avc: denied { ioctl } for pid=1938 comm="ifconfi
- s0 tcontext=u:r:console:s0 tclass=udp socket permissive=1
- lo Link encap:Local Loopback
- inet addr:127001Mask:25500.0 inet6 addr:::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- 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
- etho Link encap:Ethernet HWaddr 02:00:00:21:22:01 Driver meson8b-dwmac
- UP BROADCAST MULtiCAST MTU:1500 Metric:1
- 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
- #[ 253.115506] audit:type=1400 audit(253.068:4365):avc: denied{search } for pid=1081 comm="ther unix socket:s0 tclass=dir permissive=1
- 378.635303] hungtask base whitelist[0]-init-1
- 378.635365] hungtask base whitelist[1-appspawn-268 uname -a
- Linux localhost 5.10.79 #1 SMP PREEMPT Wed Aug 314:36:18 CST 2022 aarch64# uname -a
- Linux localhost 5.10.79 #1 SMP PREEMPT Wed Auq 3 14:36:18 CST 2022 aarch64