View Chinese description | 查看中文说明
Compile the Armbian for Amlogic S9xxx STB. including install to EMMC and update related functions. Support Amlogic S9xxx STB are s922x, s905x3, s905x2, s912, s905d, s905x, s905w
, etc. such as Belink GT-King, Belink GT-King Pro, UGOOS AM6 Plus, X96-Max+, HK1-Box, H96-Max-X3, Phicomm-N1, Octopus-Planet, Fiberhome HG680P, ZTE B860H
, etc.
The latest version of the Armbian firmware can be downloaded in Releases. Welcome to Fork
and personalize it. If it is useful to you, you can click on the Star
in the upper right corner of the warehouse to show your support.
Model | STB | Optional kernel | Armbian Firmware |
---|---|---|---|
s922x | Belink, Belink-Pro, Ugoos-AM6-Plus | All | armbian_aml_s922x_buster_*.img |
s905x3 | X96-Max+, HK1-Box, H96-Max-X3, Ugoos-X3, X96-Air, A95XF3-Air | All | armbian_aml_s905x3_buster_*.img |
s905x2 | X96Max-4G, X96Max-2G | All | armbian_aml_s905x2_buster_*.img |
s912 | H96-Pro-Plus, Octopus-Planet | All | armbian_aml_s912_buster_*.img |
s905d | Phicomm-N1 | All | armbian_aml_s905d_buster_*.img |
s905x | HG680P, B860H | 5.4.* | armbian_aml_s905x_buster_*.img |
s905w | X96-Mini, TX3-Mini | 5.4.* | armbian_aml_s905w_buster_*.img |
Choose the corresponding firmware according to your STB. Then write the IMG file to the USB hard disk through software such as Rufus or balenaEtcher. Insert the USB hard disk into the STB. Common for all Amlogic S9xxx STB
.
Login in to armbian (default user: root, default password: 1234) → input command:
armbian-install
Query the available kernel_version. Login in to armbian → input command:
# Run as root user (sudo -i), input command: armbian-update <kernel_version>
armbian-update 5.10.66
Login in to armbian → input command:
armbian-docker
Login in to armbian → input command:
armbian-config
-
Different amlogic armbian firmware, use the corresponding soc code to generate. Please choose according to your box soc model. Supported soc are
s922x
,s905x3
,s905x2
,s912
,s905d
,s905x
,s905w
. -
compile
a single soc
can be directly inputsudo ./make s905x3
. Whenmultiple soc
is compiled at the same time, please use_
to connect multiple soc, such assudo ./make s922x_s905x3
-
Optionality: Replace the kernel. Run Eg:
sudo ./make s905x 5.4.150
. When multiple kernel versions are generated at one time, the kernel version number is connected with_
. Run Eg:sudo ./make s922x_s905x3 5.10.70_5.4.150
. When there is an latest version of the same series of the specified kernel version, thelatest version
will be download from kernel library and used automatically. When you want to compile afixed kernel
, Runsudo ./make s905x 5.4.150 false
.
💡Tips: The s905x
and s905w
boxs currently only support 5.4.*
kernels, Cannot use kernel version 5.10 and above. Please add kernel substitution variables when compiling these two models of devices. Other devices can be freely selected.
-
Workflows configuration in .yml files. Set the armbian
soc
you want to make inMake Armbian for amlogic s9xxx
. -
New compilation: Select
Build Armbian For Amlogic
on the Action page. Click theRun workflow
button. -
Compile again: If there is an
Armbian_.*-trunk_.*.img.gz
file in Releases, you do not need to compile it completely, you can directly use this file tobuild armbian
of different soc. SelectUse Releases file to build
on the Action page. Click theRun workflow
button.
- Install the necessary packages (E.g Ubuntu 20.04 LTS user)
sudo apt-get update -y
sudo apt-get full-upgrade -y
sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server)
- Clone the repository to the local.
git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-armbian.git
- Create the
build/output/images
folder, and upload the Armbian image of thelepotato
board ( Eg:Armbian_21.11.0-trunk_Lepotato_buster_current_5.10.67.img
) to this~/amlogic-s9xxx-armbian/build/output/images
directory. - Enter the
~/amlogic-s9xxx-armbian
root directory. And run Eg:sudo ./make s905x3
to make armbian foramlogic s9xxx
. The generated Armbian image is in thebuild/output/images
directory under the root directory.
The armbian directly calls the official source code for compilation, The u-boot
uses related resources developed by flippy for amlogic s9xxx openwrt
. The compilation ideas refer to the tutorial of ebkso, thanks.
LICENSE © OPHUB