前言
由于我手头上的tinkerboard2是没有emmc的版本所以以下内容均为SD卡做引导盘在Windows10系统下的配置方法。
准备
根据官方文档中的介绍我们需要准备的内容如图👆:
- 至少8G的SD卡
- 12~19v电源
- HDMI连接线(type c口也支持视频输出)
- 键盘和鼠标
步骤
-
SD卡插入电脑
-
下载烧录工具根据官网推荐使用 Etcher :百毒yun下载地址 提取码:w96l
-
下载官方的TinkerOS:TinkerOS下载链接
这里使用Debian 10系统 -
用Etcher烧录官方镜像文件
-
插入板子SD卡槽,连接显示器,上电启动
apt源配置
- 连接wifi并输入密码
- 在开发板的浏览器内打开清华大学开源镜像站,系统选择Debian10:清华大学开源软件镜像站
- 在终端输入以下指令
sudo vim /etc/apt/sources.list
- 狂按d按键删除所有内容,并粘贴以下内容
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
apt换源是为了提高今后一些软件的下载速度
- 按下esc按键输入以下内容
:wq
- 执行apt更新命令
sudo apt update
sudo apt upgrade
- 完成!
配置ssh
ssh可以让你在局域网内利用终端操控你的tinkerboard(在同一个wifi下实现无线控制)
- 在终端输入
service ssh start
- 验证状态
/etc/init.d/ssh status
- 在windows电脑里下载Xshell :Xshell下载地址
- 查看你tinkerboard的局域网ip,在tinker终端内输入
ip address
一般都是192.168.xxx.xxx
6. 新建一个会话,填入你的ip地址,端口号22不要修改,名称随便
7. 连接后提示输入用户名在输入密码,tinkerOS默认用户名和密码都为:linaro
8. 完成!!
FAQ
- 上电后电源指示灯亮而显示器不亮?
请先连接HDMI线后再上电