h96 max rk3318刷armbian linux系统

发布时间 2023-09-14 10:01:18作者: modys

h96max 以前出差常驻刷centos挂载硬盘当存储使用,现在回家用不到,准备给孩子买个打印机安装cups,放一个不住的屋子使用,也不需要网线,手机可以直接打印,准备实施。
一、必备工具:
至少 8GB SD 卡和 SD 读卡器
Balena Etcher - SD 卡刷机工具
Jock rk3318 Multitool 镜像,镜像:链接(用 7-zip 解压)
Multitool - RK3318/RK3328 电视盒维护的小而强大的图像。从这里下载

二、
打开balena刷入mutitool,拔掉内存卡,在重新插入,把armbian镜像放入FAT分区的images文件夹中

三、
内存卡插入机顶盒,插入USB键盘,通电开机。
从菜单中选择“Burn image to flash”,然后选择目标设备(通常是mmcblk2)和要刻录的映像;
等待该过程完成,然后从主菜单中选择“shutdown”;
拔下电源线和SD卡,然后重新插入电源线;
等待 10 秒,然后 LED 应开始闪烁,HDMI 将打开。第一次启动过程需要几分钟或更长时间,因为文件系统将被调整大小,所以请耐心等待登录提示。
首次启动时,系统会要求您输入所选root 用户的密码以及普通用户的名称和密码

四、
sudo rk3318-config
运行 rk3318-config。选择安全的1.1GHz速度,不要选择任何eMMC选项,最后选择x88 PRO板。暂时不要重启。

命令来安装我们需要的东西:
sudo apt-mark hold linux-image-edge-rockchip64 linux-dtb-edge-rockchip64
sudo apt update && sudo apt install armbian-config libxcb1

祝贺。您已经(几乎)安装了 Armbian。您现在可以重新启动。
sudo reboot
五、
更换debian源,vim /etc/apt/sources.list,更改一下内容:

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free

deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

保存后;
apt-get update

六、安装wifi驱动
cd /tmp
wget -O patch_wifi_kernel_5_15_16.tar.gz "https://drive.google.com/uc?export=download&id=15QExck5QJSDmX9CZRrFrut_ln4kp_n0v"

tar -xf patch_wifi_kernel_5_15_16.tar.gz
cp -R -f usr/* /usr
cp -R -f lib/* /lib
重启
七、
1、armbian-config 选择wifi使用(不推荐)
2、numtui 连接WIFI,配置静态IP(推荐)

摘自:www.zifu.ltd