/luci-app-amlogic

Supports management of Amlogic s9xxx, Allwinner, and Rockchip boxes. The current functions include install OpenWrt to EMMC, Manually Upload Updates / Download Updates Online to update the OpenWrt firmware or kernel, Backup / Restore firmware config, Snapshot management, etc.

Primary LanguageShellGNU General Public License v2.0GPL-2.0

logo

luci-app-amlogic / Amlogic Service

View Chinese description | 查看中文说明

Supports management of Amlogic s9xxx, Allwinner (V-Plus Cloud), and Rockchip (BeikeYun, Chainedbox L1 Pro) boxes. The current functions include install OpenWrt to EMMC, Manually Upload Updates / Download Updates Online to update the OpenWrt firmware or kernel, Backup / Restore firmware config, Snapshot management and Custom firmware / kernel download site, etc.

Depends

Tip: It is included when compiling with coolsnowwolf/lean or Lienol/openwrt source code. There is no need to add this dependency separately. When using other source code libraries, please check whether they are missing.

Plugin compilation

# Add luci-app-amlogic
svn co https://github.com/ophub/luci-app-amlogic/trunk/luci-app-amlogic package/luci-app-amlogic

# This plugin can be compiled separately
make package/luci-app-amlogic/compile V=99

# Or integrate this plugin when fully compiling OpenWrt
make menuconfig
# choose LuCI ---> 3. Applications  ---> <*> luci-app-amlogic ----> save
make V=99

Manual install

  • If the OpenWrt you are using does not have this plugin, you can also install it manually. Use SSH to log in to any directory of OpenWrt system, Or in the System menuTTYD terminal, Run the onekey install command to automatically download and install this plugin.
curl -fsSL git.io/luci-app-amlogic | bash

Custom config

  • Supports OpenWrt firmware packaged by flippy and ophub related scripts. The online update file download url of OpenWrt firmware and kernel can be customized as your own github.com repository. The config information is stored in the /etc/config/amlogic file. When the OpenWrt firmware is compiled, you can directly modify the relevant values in this file to specify:
# 1.Set the download repository of the OpenWrt files to your github.com
sed -i "s|https.*/OpenWrt|https://github.com/USERNAME/REPOSITORY|g" package/luci-app-amlogic/root/etc/config/amlogic

# 2.Set the keywords of Tags in your github.com Releases
sed -i "s|ARMv8|RELEASES_TAGS_KEYWORD|g" package/luci-app-amlogic/root/etc/config/amlogic

# 3.Set the suffix of the OPENWRT files in your github.com Releases
sed -i "s|.img.gz|.OPENWRT_SUFFIX|g" package/luci-app-amlogic/root/etc/config/amlogic

# 4.Set the download path of the kernel in your github.com repository
sed -i "s|opt/kernel|https://github.com/USERNAME/REPOSITORY/KERNELPATH|g" package/luci-app-amlogic/root/etc/config/amlogic
  • When compiling OpenWrt, modify the above 4 points to realize customization. The above information can also be modified in the settings of the plug-in after log in to the openwrt SystemAmlogic Service.

Plugin setup instructions

Plug-in settings 4 items: OpenWrt firmware download URL, kernel download URL, Version branch selection, Other.

The OpenWrt firmware download URL contains three options

  1. OpenWrt firmware download address: Fill in the repository of your OpenWrt compilation on github (or other compiler's repository), such as https://github.com/breakings/OpenWrt. The first button of the plug-in welcome homepage OpenWrt Compiler author will link to the website filled in here (Automatically update the link according to the filled website), so that everyone can find the author of the firmware for communication and learning.

  2. Keywords of Tags in Releases: to be able to distinguish other x86, R2S and other firmware, such as in ophub/op/releases There are many firmwares for different routers, The OpenWrt firmware belonging to the Agmlgic series can be found by including the keyword s9xxx_lede.

  3. OpenWrt file suffix: the supported formats are .img.gz / .img.xz / .7z. But .img is not supported, because it is too large to download and slow.

  • When naming the OpenWrt firmware in Releases, please include SOC model and kernel version : openwrt_ {soc}_ xxx_{kernel}_ xxx.img.gz, for example: openwrt_ s905d_ n1_R21.8.6_k5.4.138-flippy-62+o.7z. The supported SOC are: s905x3, s905x2, s905x, s905w, s905d, s922x, s912, l1pro, beikeyun, vplus. The supported kernel version are 5.4.xxx, 5.10.xxx, 5.12.xxx, 5.13.xxx, etc.

The kernel download URL is an option

  • Download path of OpenWrt kernel: You can fill in the full path https://github.com/breakings/OpenWrt/tree/main/opt/kernel. If it is in the same repository as the OpenWrt firmware, the path can also be abbreviated opt/kernel. It can also independently point to the kernel storage path in any repository https://github.com/ophub/flippy-kernel/tree/main/library. The kernel files can be stored in the specified path in the form of a folder or a list.

The version branch selection as an option

  • Set the version branch: the default is the branch of the current OpenWrt firmware, you can freely choose other branches, you can also customize the branch, such as 5.4, 5.10, 5.13, 5.14, etc. OpenWrt and the Kernel [Online Download Update] will be downloaded and updated according to the branch you choose.

Other options

  • Keep configuration updates: Modify as needed. If checked, the current configuration will be retained when the firmware is updated.

  • Automatically write bootloader: It is recommended to check, there are many features.

Description of default settings

  • The default OpenWrt firmware and kernel download service of the plug-in is supported by breakings. He is an active and enthusiastic manager of the Flippy community, familiar with OpenWrt compilation, and familiar with the installation and use of various boxes supported by Flippy, Recommended Use.

Screenshot

luci-app-amlogic

Borrow

  • Upload functions by luci-app-filetransfer
  • Log viewing and version query functions by Vernesong
  • Kernel and scripts by Flippy

Acknowledgments

License