1.制作armbian启动盘

使用rufus工具制作启动盘,也可以使用balenaEtcher-Portable工具
liang23_20240129174608.jpg

2.短接刷机安卓9.0系统

短接机顶盒,使用烧录工具刷入安卓9.0系统

屏幕截图 2023-10-19 145535.png

3.使用u盘启动armbian

附件有提供相关文件,制作好之后不需要修改u盘里面的文件,默认就行

开机进入安卓9安装rebootupdate.apk之后打开,系统会自动重启,然后进入路由器查看armbian获取的ip地址

然后通过ssh连接工具连接即可

Welcome to ARMBIAN!

Documentation: https://docs.armbian.com | Community: https://forum.armbian.com

IP address: 192.168.6.9

Create root password: ******
Repeat root password: ******

Warning: Weak password, it is too simplistic/systematic!

Support status: community support (looking for a dedicated maintainer)

Choose default system command shell:

1) bash
2) zsh
   1

Shell: BASH

Creating a new user account. Press  to abort

Please provide a username (eg. your first name): arounyf
Create user (arounyf) password: ******
Repeat user (arounyf) password: ******

Warning: Weak password, it is too simplistic/systematic!

Please provide your real name: Arounyf

Dear Arounyf, your account arounyf has been created and is sudo enabled.
Please use this account for your daily work from now on.

Detected timezone: Asia/Shanghai

Set user language based on your location? [Y/n] y
y

Generating locales: zh_CN.UTF-8

root@armbian:~#

4.国内源配置

文件位置/etc/apt/sources.list

deb http://mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free
#deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free
#deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

deb http://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free
#deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free

deb https://mirrors.ustc.edu.cn/debian-security/  bullseye-security main contrib non-free
#deb-src http://security.debian.org/ bullseye-security main contrib non-free

5.安装异地组网(推荐)

  1. 小远组网注册地址
  2. 小远组网客户端配置教程

6.安装docker

root@armbian:~# apt-get update -y  && apt install docker.io -y

7.刷入emmc

刷入emmc之后,无需再借助U盘启动

root@armbian:~# armbian-install

[ OPTIONS ] Please Input ID: 125
[ INFO ] Input Box ID: [ 125 ]
[ INFO ] Model Name: [ IP103H,TY1608,BV310,B860AV-2.1M ]
[ INFO ] FDTFILE: [ meson-gxl-s905l3b-m302a.dtb ]
[ INFO ] MAINLINE_UBOOT: [  ]
[ INFO ] BOOTLOADER_IMG:  [  ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] NEED_OVERLOAD: [ no ]
[ STEPS ] Which type of filesystem do you want for your root?
-------------------------------------------------------------

ID   TYPE
---------

1    ext4
2    btrfs
----------

[ OPTIONS ] Please Input ID (1/2): 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] Type of filesystem: [ ext4 ]
[ STEPS ] Partitioning eMMC...
[ INFO ] Start backing up the default bootloader.
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.257277 s, 16.3 MB/s
[ STEPS ] Successfully partitioned internal eMMC with amaprt.
[ INFO ] Start create MBR and partittion.
[ INFO ] 03. Write the mybox bootloader: [ /usr/lib/u-boot/mybox-bootloader.img ]
444+0 records in
444+0 records out
444 bytes copied, 0.00453976 s, 97.8 kB/s
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.435442 s, 9.6 MB/s
[ STEPS ] Processing BOOTFS partition...
[ INFO ] Formatting BOOTFS partition...
mkfs.fat 4.2 (2021-01-31)
[ INFO ] Copying BOOTFS ...
[ INFO ] Update the [ uEnv.txt ] file.
[ STEPS ] Start processing the rootfs partition...
[ INFO ] Formatting ROOTFS ...
[ INFO ] Copying ROOTFS ...
[ INFO ] Copying [ etc ] ...
[ INFO ] Copying [ home ] ...
[ INFO ] Copying [ lib64 ] ...
[ INFO ] Copying [ opt ] ...
[ INFO ] Copying [ root ] ...
[ INFO ] Copying [ selinux ] ...
[ INFO ] Copying [ srv ] ...
[ INFO ] Copying [ usr ] ...
[ INFO ] Copying [ var ] ...
[ INFO ] Generate the new fstab file.
[ INFO ] Update the relevant parameters.
[ SUCCESS ] Installation successful. Run [ poweroff ], remove the installation media then re-insert the power supply to boot new system.
root@armbian:~# poweroff
Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(armbian) at 13:12:37.

Type `help' to learn how to use Xshell prompt.
[D:\~]$

Connecting to 192.168.6.9:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

WARNING! The remote SSH server rejected X11 forwarding request.
_              _      ____  ___   ___  ____  _ _____ _
/ \   _ __ ___ | |    / ___|/ _ \ / _ \| ___|| |___ /| |__
/ _ \ | '_ ` _ \| |____\___ \ (_) | | | |___ \| | |_ \| '_ \
/ ___ \| | | | | | |_____|__) \__, | |_| |___) | |___) | |_) |
/_/   \_\_| |_| |_|_|    |____/  /_/ \___/|____/|_|____/|_.__/

Welcome to Armbian 23.08.0-trunk Bullseye with Linux 5.15.133-ophub

System load:   24%               Up time:       0 min    
Memory usage:  7% of 1.77G      IP:           192.168.6.9
CPU temp:      48°C               Usage of /:    19% of 6.8G       
RX today:      117.9 KiB

[ General system configuration (beta): armbian-config ]

Last login: Sun Oct 15 12:57:12 2023 from 192.168.6.5
root@armbian:~#

附件

此处内容需要评论回复后(审核通过)方可阅读。

参考链接

最后修改:2024 年 09 月 04 日
如果觉得我的文章对你有用,请随意赞赏