- 积分
- 39
贡献163
飞刀47 FD
注册时间2019-11-12
在线时间7 小时
关注我
|
最近发现imx8mm的开发板太慢了,要两三分钟才能完全启动。
查了一个/var/log/syslog,发现下边有个可疑的地方:
Jun 20 18:00:16 ftthings connmand[3322]: eth0 {add} route 192.168.2.1 gw 0.0.0.0 scope 253 <LINK>
Jun 20 18:00:16 ftthings connmand[3322]: eth0 {add} route 192.168.1.1 gw 192.168.2.1 scope 0 <UNIVERSE>
Jun 20 18:00:16 ftthings connmand[3322]: eth0 {add} route 212.227.81.55 gw 192.168.2.1 scope 0 <UNIVERSE>
Jun 20 18:00:17 ftthings connmand[3322]: eth0 {del} route 212.227.81.55 gw 192.168.2.1 scope 0 <UNIVERSE>
Jun 20 18:00:17 ftthings kernel: [ 10.138362] rtk_btusb: btusb_flush add delay
Jun 20 18:00:17 ftthings kernel: [ 10.152782] rtk_btusb: btusb_close
Jun 20 18:00:17 ftthings kernel: [ 10.173838] rtk_btcoex: Close BTCOEX
Jun 20 18:00:17 ftthings kernel: [ 10.177443] rtk_btcoex: release udp socket
Jun 20 18:00:17 ftthings kernel: [ 10.181619] rtk_btcoex: -x
Jun 20 18:00:17 ftthings avahi-daemon[3269]: Joining mDNS multicast group on inte**ce eth0.IPv6 with address fe80::24da:baff:fe4d:4359.
Jun 20 18:00:17 ftthings avahi-daemon[3269]: New relevant inte**ce eth0.IPv6 for mDNS.
Jun 20 18:00:17 ftthings avahi-daemon[3269]: Registering new address record for fe80::24da:baff:fe4d:4359 on eth0.*.
Jun 20 18:00:17 ftthings kernel: [ 10.484743] EXT4-fs (mmcblk2p2): resizing filesystem from 786432 to 1890768 blocks
Jun 20 18:00:17 ftthings kernel: [ 10.571189] EXT4-fs (mmcblk2p2): resized filesystem to 1890768
Jun 20 18:01:01 ftthings crond[3213]: (*system*) RELOAD (/etc/crontab)
Jun 20 18:01:01 ftthings crond[3213]: (root) RELOAD (/var/spool/cron/root)
Jun 20 18:01:46 ftthings kernel: [ 99.899455] random: crng init done
Jun 20 18:01:46 ftthings kernel: [ 99.902876] random: 7 urandom warning(s) missed due to ratelimiting
Jun 20 18:01:47 ftthings kernel: [ 100.338164] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Jun 20 18:01:47 ftthings kernel: [ 100.353701] Bridge firewalling registered
Jun 20 18:01:47 ftthings kernel: [ 100.373152] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Jun 20 18:01:47 ftthings kernel: [ 100.422084] ip_tables: (C) 2000-2006 Netfilter Core Team
Jun 20 18:01:47 ftthings kernel: [ 100.431457] audit: type=1325 audit(1561024907.436:3): table=filter family=2 entries=0
Jun 20 18:01:47 ftthings kernel: [ 100.506427] audit: type=1300 audit(1561024907.436:3): arch=c00000b7 syscall=273 success=yes exit=0 a0=0 a1=419fd0 a2=0 a3=0 items=0 ppid=5 pid=3$
Jun 20 18:01:47 ftthings kernel: [ 100.532042] audit: type=1327 audit(1561024907.436:3): proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D0069707461626C655F66696C746572
Jun 20 18:01:47 ftthings kernel: [ 100.550021] audit: type=1325 audit(1561024907.552:4): table=nat family=2 entries=0
Jun 20 18:01:47 ftthings kernel: [ 100.622969] audit: type=1300 audit(1561024907.552:4): arch=c00000b7 syscall=273 success=yes exit=0 a0=1 a1=419fd0 a2=0 a3=1 items=0 ppid=5 pid=3$
Jun 20 18:01:47 ftthings kernel: [ 100.648662] audit: type=1327 audit(1561024907.552:4): proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D0069707461626C655F6E6174
Jun 20 18:01:47 ftthings kernel: [ 100.719598] audit: type=1325 audit(1561024907.724:5): table=nat family=2 entries=5
Jun 20 18:01:47 ftthings kernel: [ 100.727308] audit: type=1300 audit(1561024907.724:5): arch=c00000b7 syscall=208 success=yes exit=0 a0=4 a1=0 a2=40 a3=d2eea20 items=0 ppid=3549 $
Jun 20 18:01:47 ftthings kernel: [ 100.756091] audit: type=1327 audit(1561024907.724:5): proctitle=2F7573722F7362696E2F69707461626C6573002D2D77616974002D74006E6174002D4E00444F434B$
Jun 20 18:01:47 ftthings kernel: [ 100.769635] audit: type=1325 audit(1561024907.736:6): table=filter family=2 entries=4
random: crng init done这一行,crng花了近100秒才启动。
在网上查了一下,是说启动的时候需要补熵,要rng-tools这个工具,但是提供的源码里没有这个,我们又编译不出来同样版本的。
所以能不能给编译一下这个工具呀
buildroot位置在:
Target packages->Hardware handling->rng-tools
|
|