斐讯N1盒子Armbian 5.77蓝牙连接详细步骤
1. 首先下载Armbian-5.77镜像包,因为做服务器用,所以我选的是debian无桌面版。斐讯N1刷入armbian 5.77写入emmc
2. 下载完成后,将镜像写入U盘,写盘工具很多,个人喜欢用balenaEtcher,简单方便而且镜像不用解压可以直接写盘。
3. U盘写结束后,将xiangsm编译好的meson-gxl-s905d-phicomm-n1-xiangsm.dtb拷贝进U盘的dtb目录
然后修改uEnv.ini文件,将dtb_name=/dtb/meson-gxl-s905x-*****.dtb这行修改为 dtb_name=/dtb/meson-gxl-s905d-phicomm-n1-xiangsm.dtb
另外,为了方便ssh连接,在U盘根目录创建新文件ssh(一定注意不要带任何扩展名),如果你安装的是desktop版,不打算使用ssh,或者U盘根目录已经有这个文件的话,这一步可以省略。
4. 把U盘插入N1盒子,插上网线和电源,开机,等待几分钟系统启动。
5. 系统启动后,找到N1的IP地址,打开putty连接ssh
6. ssh进系统后,根据系统提示修改root密码,创建一个新用户。
7. 运行sudo armbian-config
设置时区,配置连接wifi网络。完成后退出armbian-config
断电,拔U盘,从eMMc启动N1
登陆后,首先建议修改为国内源
运行
nano /etc/apt/sources.list
修改deb http://httpredir.debian/debian stretch main contrib non-free
#deb-src http://httpredir.debian/debian stretch main contrib non-free
deb http://httpredir.debian/debian stretch-updates main contrib non-free
#deb-src http://httpredir.debian/debian stretch-updates main contrib non-free
deb http://httpredir.debian/debian stretch-backports main contrib non-free
#deb-src http://httpredir.debian/debian stretch-backports main contrib non-free
deb http://security.debian/ stretch/updates main contrib non-free
#deb-src http://security.debian/ stretch/updates main contrib non-free
改为deb https://mirrors.ustc.edu/debian stretch main contrib non-free
#deb-src http://httpredir.debian/debian stretch main contrib non-free
deb https://mirrors.ustc.edu/debian stretch-updates main contrib non-free
#deb-src http://httpredir.debian/debian stretch-updates main contrib non-free
deb https://mirrors.ustc.edu/debian stretch-backports main contrib non-free
#deb-src http://httpredir.debian/debian stretch-backports main contrib non-free
deb https://mirrors.ustc.edu/debian-security/ stretch/updates main contrib non-free
#deb-src http://security.debian/ stretch/updates main contrib non-free
ctrl+o 回车保存
ctrl+x 退出
修改国内源完成后
分别执行sudo update
sudo upgrade
更新系统。更新完毕后sudo reboot
重启。
8. 重启后,继续ssh连接,然后执行sudo armbian-config
进去后选择Network,接着选择BT Install,耐心等待蓝牙组件安装完毕,然后退出。
9. 接着执行sudo apt install pulseaudio-module-bluetooth
安装pulseaudio组件。安装完成后,分别执行sudo killall pulseaudio
和armbian-config0
启动pulseaudio服务。
10. 开始进入蓝牙连接阶段,首先执行armbian-config1
查看蓝牙控制器信息,确认无误后,执行armbian-config2
打开蓝牙控制器,然后执行armbian-config3
打开蓝牙管理器。
11. 先后执行armbian-config4
然后执行armbian-config5
搜集周围的蓝牙设备,记录下要连接的设备地址后,执行armbian-config6
信任设备,然后再执行armbian-config7
配对,此时,要配对的设备上可能会弹出提示,点确认。
12. 如以上步骤都没有问题,则执行armbian-config8
稍候即可顺利连接蓝牙,可以运行armbian-config9
确认状态。
至此,N1盒子蓝牙连接完毕。
更多推荐
n1 armbian php,斐讯N1盒子armbian 5.77蓝牙连接详细步骤斐讯N1刷入armbian 5.77写入emmc...
发布评论