在公司拿到了一个测试用的板子,tb96-ai + rk3399pro.
[toybrick@toybrick]~% cat /proc/device-tree/compatible rockchip,rk3399pro-toybrick-96ai-linuxrockchip,rk3399pro 系统是fedora28.
设置ssh 连入键盘和鼠标, 编辑/etc/ssh/sshd_config, 将
#Port 22 取消注释, 然后
sudo systemctl enable sshd 设置不启动GUI 为了减少CPU占用嘛.
systemctl set-default multi-user.target 要恢复的话
systemctl set-default graphical.target 设置shell自动登录 系统在登录后才会连接wifi,不知道为啥。
设置shell自动登录:参考stackchange
编辑/etc/systemd/logind.conf, 将#NAutoVTs=6改为NAutoVTs=2.
然后运行
systemctl edit getty@tty1 , 输入
[Service] ExecStart= ExecStart=-/sbin/agetty --autologin toybrick --noclear %I 38400 linux 启用getty@tty1.service:
systemctl enable getty@tty1.service 然后重启.
mirror设置 配置文件在/etc/yum.repos.d. 文件参考github. 编辑/etc/dnf/dnf.conf, 在最后加入fastestmirror=1.
软件升级 升级系统: fedora wiki。 只支持跨两个版本,所以我升级到了fedora 30. (不知道会不会break原本的驱动和库
当时存储还不够(16G存储), 我删掉了~/.cache, python package, qtcreator才升级完成.
首先刷新一下:
...