Coder Social home page Coder Social logo

svlobanov / luci-app-amlogic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ophub/luci-app-amlogic

0.0 1.0 0.0 8.91 MB

Supports management of Amlogic s9xxx, Allwinner, and Rockchip boxes. include install and update the OpenWrt and kernel, Backup and Restore config, Snapshot management, etc.

License: GNU General Public License v2.0

Makefile 1.00% Lua 19.49% HTML 12.51% Shell 65.33% Perl 1.68%

luci-app-amlogic's Introduction

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 Agmlgic s9xxx series boxes can be found using keywords containing 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.15.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/kernel/tree/main/pub/stable. 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.15, 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.

  • Set the file system type: Set the file system type of the shared partition (/mnt/mmcblk*p4) when install OpenWrt (Default ext4). This setting is only valid for a fresh install of OpenWrt, and the file type of the current shared partition will not be changed when update the kernel and OpenWrt firmware.

Description of default settings

  • The default OpenWrt firmware ( Superset plugin version | Featured plugin version | flippy share version ) 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, Regarding the problems encountered in the compilation and use of OpenWrt, you can consult the community or his Github for feedback.

Screenshot

luci-app-amlogic

Borrow

  • The Upload file functions by luci-app-filetransfer
  • The CPU Settings functions by luci-app-cpufreq
  • The Log viewing and version query functions by Vernesong
  • The Kernel and scripts etc by unifreq

Acknowledgments

License

The luci-app-amlogic © OPHUB is licensed under GPL-2.0

luci-app-amlogic's People

Contributors

beginner-go avatar ophub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.