Support github.com One-stop compilation
, Use GitHub Action to packaging
, Use github.com Releases rootfs file to packaging
, Local packaging
. including OpenWrt firmware 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 OpenWrt firmware can be downloaded in Releases. Such as openwrt_s9xxx_${date}.
This OpenWrt firmware is packaged using Flippy's
Amlogic S9xxx Kernel for OpenWrt, and the Install and update scripts, etc. Welcome to use Fork
for personalized OpenWrt firmware configuration. If you like it, Please click the Star
.
Model | STB | Optional kernel | OpenWrt Firmware |
---|---|---|---|
s922x | Belink, Belink-Pro, Ugoos-AM6-Plus, ODROID-N2 | All | openwrt_s922x_k*.img |
s905x3 | X96-Max+, HK1-Box, H96-Max-X3, Ugoos-X3, X96-Air, A95XF3-Air | All | openwrt_s905x3_k*.img |
s905x2 | X96Max-4G, X96Max-2G | All | openwrt_s905x2_k*.img |
s912 | H96-Pro-Plus, Octopus-Planet | All | openwrt_s912_k*.img |
s905d | Phicomm-N1 | All | openwrt_s905d_k*.img |
s905x | HG680P, B860H | 5.4.* | openwrt_s905x_k*.img |
s905w | X96-Mini, TX3-Mini | 5.4.* | openwrt_s905w_k*.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
.
Log in to the default IP: 192.168.1.1 → Login in to openwrt
→ system menu
→ Amlogic Service
→ Install OpenWrt
Log in to the default IP: 192.168.1.1 → Login in to openwrt
→ system menu
→ Amlogic Service
→ Update OpenWrt
Tip: Functions such as install/update are provided by luci-app-amlogic to provide visual operation support. Also supports command operations.
- Select
Build OpenWrt for S9xxx
on the Action page. - Click the
Run workflow
button.
Folder/file name | Features |
---|---|
.config | Firmware related configuration, such as firmware kernel, file type, software package, luci-app, luci-theme, etc. |
files | Create a files directory under the root directory of the warehouse and put the relevant files in. You can use custom files such as network/dhcp/wireless by default when compiling. |
feeds.conf.default | Just put the feeds.conf.default file into the root directory of the warehouse, it will overwrite the relevant files in the OpenWrt source directory. |
diy-part1.sh | Execute before updating and installing feeds, you can write instructions for modifying the source code into the script, such as adding/modifying/deleting feeds.conf.default. |
diy-part2.sh | After updating and installing feeds, you can write the instructions for modifying the source code into the script, such as modifying the default IP, host name, theme, adding/removing software packages, etc. |
Environment variable | Features |
---|---|
REPO_URL | Source code warehouse address |
REPO_BRANCH | Source branch |
FEEDS_CONF | Custom feeds.conf.default file name |
CONFIG_FILE | Custom .config file name |
DIY_P1_SH | Custom diy-part1.sh file name |
DIY_P2_SH | Custom diy-part2.sh file name |
UPLOAD_BIN_DIR | Upload the bin directory (all ipk files and firmware). Default false |
UPLOAD_FIRMWARE | Upload firmware catalog. Default true |
UPLOAD_RELEASE | Upload firmware to release. Default true |
UPLOAD_COWTRANSFER | Upload the firmware to CowTransfer.com. Default false |
UPLOAD_WERANSFER | Upload the firmware to WeTransfer.com. Default failure |
RECENT_LASTEST | maximum retention days for release, artifacts and logs in GitHub Release and Actions. |
TZ | Time zone setting |
GITHUB_REPOSITORY | Github.com Environment variables. The owner and repository name. For example, ophub/op. |
secrets.GITHUB_TOKEN | Personal center: Settings → Developer settings → Personal access tokens → Generate new token ( Name: GITHUB_TOKEN, Select: public_repo ). |
Option | Value |
---|---|
Target System | QEMU ARM Virtual Machine |
Subtarget | QEMU ARMv8 Virtual Machine(cortex-a53) |
Target Profile | Default |
Target Images | tar.gz |
LuCI -> Applications | in the file: .config |
Name | Value |
---|---|
Default IP | 192.168.1.201 |
Default username | root |
Default password | password |
Default WIFI name | OpenWrt |
Default WIFI password | none |