# deepin v23 LicheePi 4A 镜像使用说明 ## 安装流程 * 解压 `deepin-lpi4a-riscv64.tar.gz` ,获得 `*.root.ext4` `*.boot.ext4` `*.uboot.bin` 三个文件及一个脚本。 * 检查 `sha256sums.txt` 的对应值是否正确。 * 将设备置于 mmc 启动位,关机,使用 USB 线将 Type-C 口连接至电脑,按下 `BOOT` 按键后插入电源,然后放开按键,如连接串口会有如下错误输出,请忽略: ``` [APP][E] protocol_connect failed, exit. ``` * 使用 `fastboot devices` 能够看到设备名称为 `????????` 的 fastboot 设备,如果找不到设备请使用 root 权限运行: ``` ???????????? fastboot ``` * 执行 `flash_fastboot.sh`,将开始写入镜像文件: ``` Sending 'ram' (935 KB) OKAY [ 0.248s] Writing 'ram' OKAY [ 0.002s] Finished. Total time: 0.297s Rebooting OKAY [ 0.001s] Finished. Total time: 0.251s Iteration: 1 Iteration: 2 Iteration: 3 Iteration: 4 Iteration: 5 Sending 'uboot' (935 KB) OKAY [ 0.043s] Writing 'uboot' OKAY [ 0.075s] Finished. Total time: 0.144s Sending 'boot' (30720 KB) OKAY [ 0.785s] Writing 'boot' OKAY [ 0.234s] Finished. Total time: 1.052s Invalid sparse file format at header magic Sending sparse 'root' 1/9 (108140 KB) OKAY [ 2.753s] Writing 'root' OKAY [ 2.788s] Sending sparse 'root' 2/9 (114684 KB) OKAY [ 2.923s] Writing 'root' OKAY [ 0.893s] Sending sparse 'root' 3/9 (100396 KB) OKAY [ 2.565s] Writing 'root' OKAY [ 0.982s] Sending sparse 'root' 4/9 (114684 KB) OKAY [ 2.925s] Writing 'root' OKAY [ 0.842s] Sending sparse 'root' 5/9 (113416 KB) OKAY [ 2.898s] Writing 'root' OKAY [ 0.832s] Sending sparse 'root' 6/9 (114684 KB) OKAY [ 2.924s] Writing 'root' OKAY [ 0.843s] Sending sparse 'root' 7/9 (114684 KB) OKAY [ 2.925s] Writing 'root' OKAY [ 0.867s] Sending sparse 'root' 8/9 (112776 KB) OKAY [ 2.879s] Writing 'root' OKAY [ 0.818s] Sending sparse 'root' 9/9 (97092 KB) OKAY [ 2.467s] Writing 'root' OKAY [ 0.749s] Finished. Total time: 36.744s ``` * 在命令执行完成后,系统即成功刷入,此时请插拔电源或重置设备以进入安装阶段,串口和显示器都将显示如下画面: ``` _ _ _ __| | ___ ___ _ __ (_)_ __ _ __ ___ _ __| |_ ___ / _` |/ _ \/ _ \ '_ \| | '_ \ _____| '_ \ / _ \| '__| __/ __| | (_| | __/ __/ |_) | | | | |_____| |_) | (_) | | | |_\__ \ \__,_|\___|\___| .__/|_|_| |_| | .__/ \___/|_| \__|___/ |_| |_| Performing second-stage installation, please wait... I: Installing core packages... I: Unpacking required packages... I: Unpacking base-files... I: Unpacking base-passwd... I: Unpacking bash... I: Unpacking bsdutils... I: Unpacking coreutils... (略) Install complete, entering system... ``` * 随后安装完成后将自动启动系统并进入桌面环境,用户的初始账号信息如下: ``` root: deepin deepin: deepin ``` ## 镜像信息 * 本镜像包含以下软件和它们的依赖包: * 系统基础包 * dde * lightdm * deepin-movie * neofetch * sudo * tmux * vim * xserver-xorg * deepin-terminal * bash-completion * dde-introduction * deepin-diskmanager * firefox * linux-5.10.113-lpi4a (来自 revyos 的 revyos-kernel 仓库) * 本镜像在安装期间会自动扩展分区大小至最大可用空间。 * 由于板卡存储大小限制镜像内未安装太多应用,如需体验其他应用请使用apt在线安装。