1.刷安卓9.0系统
短接机顶盒,使用烧录工具刷入安卓9.0系统
2.使用u盘启动armbian
需要先制作启动u盘,附件有提供相关文件,制作好之后不需要修改文件,默认就行
关机,插入u盘之后开机,进入路由器查看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:~#
3.安装docker
root@armbian:~# apt-get update -y && apt-get upgrade -y && apt install docker.io -y
4.刷入emmc
root@armbian:~# armbian-install
[ STEPS ] Installing Armbian to internal eMMC...
[ STEPS ] Checking dependencies...
[ INFO ] Dependency check completed. Proceeding installation...
[ STEPS ] Initializing the environment...
[ INFO ] Use mainline u-boot: [ no ]
[ INFO ] Using ampart tool: [ yes ]
[ INFO ] Show all lists: [ no ]
[ INFO ] Internal eMMC : [ /dev/mmcblk2 ]
[ STEPS ] Start selecting device...
-----------------------------------
ID SOC MODEL DTB
--------------------------------------------------------
101 s905d Phicomm-N1 meson-gxl-s905d-phicomm-n1.dtb
102 s905d Phicomm-N1(DMA-thresh) meson-gxl-s905d-phicomm-n1-thresh.dtb
103 s905d MECOOL-KI-Pro meson-gxl-s905d-mecool-ki-pro.dtb
104 s905d SML-5442TW meson-gxl-s905d-sml5442tw.dtb
105 s905x HG680P meson-gxl-s905x-p212.dtb
106 s905x B860H meson-gxl-s905x-b860h.dtb
107 s905x Nexbox-a95x meson-gxl-s905x-nexbox-a95x.dtb
108 s905x TX9 meson-gxl-s905x-tx9.dtb
109 s905x T95,XiaoMI-3S,X96 meson-gxl-s905x-p212.dtb
110 s905x TBee meson-gxl-s905x-tbee.dtb
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
111 s905w TX3-Mini meson-gxl-s905w-tx3-mini.dtb
112 s905w W95 meson-gxl-s905w-p281.dtb
113 s905w X96-Mini meson-gxl-s905w-x96-mini.dtb
114 s905w X96W,FunTV,MXQ-Pro-4K meson-gxl-s905w-x96w.dtb
115 s905l UNT402A,M201-S meson-gxl-s905l3b-m302a.dtb
116 s905l2 MGV2000,MGV3000,M301A meson-gxl-s905l2-x7-5g.dtb
117 s905l2 E900v21E meson-gxl-s905l2-x7-5g.dtb
118 s905l2 Wojia-TV-IPBS9505 meson-gxl-s905l2-ipbs9505.dtb
119 s905l3 CM311-1,HG680-LC,M401A,UNT402A meson-gxl-s905l2-x7-5g.dtb
120 s905l3 UNT400G1 meson-gxl-s905l2-x7-5g.dtb
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
121 s905l3 CM211-1 meson-gxl-s905l3b-m302a.dtb
122 s905l3b E900V22D,TY1608 meson-gxl-s905l2-x7-5g.dtb
123 s905l3b E900V21E,E900V22E,MGV2000 meson-gxl-s905l3b-e900v22e.dtb
124 s905l3b M302A,M304A,CM211-1,CM311-1 meson-gxl-s905l3b-m302a.dtb
125 s905l3b IP103H,TY1608,BV310,B860AV-2.1M meson-gxl-s905l3b-m302a.dtb
126 s905l3b UNT403A meson-gxl-s905l3b-m302a.dtb
127 s905lb BesTV-R3300L,SumaVision-Q7,MG101 meson-gxl-s905x-p212.dtb
128 s905lb Q96-mini meson-gxl-s905x-p212.dtb
129 s905mb S65 meson-gxl-s905x-p212.dtb
0 Other Customize Enter-custom-dtb-name
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[ 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:~#
机顶盒外观
附件下载
此处内容需要评论回复后(审核通过)方可阅读。
15 条评论
6666
1123
向大佬学习
向大佬学习
向大佬学习
向大佬学习
这个包默认能从u盘启动么,u盘写了armbian以后uEnv.txt需要怎么修改,
FDT=/dtb/amlogic/meson-g12a-s905l3a-cm311.dtb这个需要修改成啥,FDT=/dtb/amlogic/meson-gxl-s905l3b-e900v22e.dtb还是啥,期待回复
对的,默认就能启动,不需要短接啥的,插上u盘开机也能自动从u盘启动。使用我提供的包是可以的,其它安卓9.0的应该也可以
不用修改,默认就行,不要接显示器,显示器不会有输出,在路由器后台查看ip,通过ssh连接就行
可能配置不一样把,我拆开盒子看了我的cpu是905l3没有b和a啥的,2+32的配置,确实可以看到ip地址,但是ssh22端口访问没效果,链接不上
我这款cpu是s905l3b,2+8g配置。如果你在后台看到了ip地址,说明armbian已经成功启动,但是路由器后台显示的ip地址可能是历史记录,就是说armbian并不一定当前就在线。建议试一下ping测试机器是否在线,再使用端口扫描工具或者ping指定端口测试ssh是否打开。
向大佬学习
向大佬学习
来学习学习