Coder Social home page Coder Social logo

ophub / amlogic-s9xxx-openwrt Goto Github PK

View Code? Open in Web Editor NEW
1.6K 36.0 1.4K 3.42 MB

Support for OpenWrt in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.

License: GNU General Public License v2.0

Shell 95.98% Perl 3.93% Dockerfile 0.09%
s905x3 s905x2 hk1 x96 h96 n1 openwrt s922x ugoos amlogic

amlogic-s9xxx-openwrt's Introduction

OpenWrt

View Chinese description | 查看中文说明

The OpenWrt project is a Linux router operating system for embedded devices. OpenWrt is not a single and immutable firmware, but rather provides a fully writable filesystem with package management capabilities, allowing you to freely select the required software packages to customize the router system. For developers, OpenWrt is a framework that allows application development without having to build a complete firmware around it; for ordinary users, it means having the capability for complete customization, and the ability to use the device in unexpected ways. It has over 3000+ standardized application software packages and extensive third-party plugin support, allowing you to easily apply them to various supported devices. Now you can replace the Android TV system on your TV box with the OpenWrt system, turning it into a powerful router.

This project, thanks to numerous contributors, builds the OpenWrt system for Amlogic, Rockchip, and Allwinner boxes. It supports writing to eMMC for use, supports updating the kernel, and more. For detailed usage instructions, see the OpenWrt User Guide. The latest firmware can be downloaded from Releases. You are welcome to Fork and customize the software packages. If you find it useful, you can click the Star in the upper right corner of the repository to show your support.

OpenWrt System Description

SoC Device Kernel OpenWrt
a311d Khadas-VIM3 All amlogic_a311d.img
s922x Beelink-GT-King, Beelink-GT-King-Pro, Ugoos-AM6-Plus, ODROID-N2, X88-King, Ali-CT2000 All amlogic_s922x.img
s905x3 X96-Max+, HK1-Box, Vontar-X3, H96-Max-X3, Ugoos-X3, TX3(QZ), TX3(BZ), X96-Air, X96-Max+_A100, A95XF3-Air, Tencent-Aurora-3Pro(s905x3-b), X96-Max+Q1, X96-Max+100W, X96-Max+_2101, Infinity-B32, Whale, X88-Pro-X3, X99-Max-Plus, Transpeed-X3-Plus All amlogic_s905x3.img
s905x2 X96Max-4G, X96Max-2G, MECOOL-KM3-4G, Tanix-Tx5-Max, A95X-F2 All amlogic_s905x2.img
s912 Tanix-TX8-Max, Tanix-TX9-Pro(3G), Tanix-TX9-Pro(2G), Tanix-TX92, Nexbox-A1, Nexbox-A95X-A2, A95X, H96-Pro-Plus, VORKE-Z6-Plus, Mecool-M8S-PRO-L, Vontar-X92, T95Z-Plus, Octopus-Planet, Phicomm-T1, TX3-Mini, OneCloudPro-V1.1_V1.2 All amlogic_s912.img
s905d MECOOL-KI-Pro, Phicomm-N1, SML-5442TW All amlogic_s905d.img
s905x HG680P, B860H, TBee-Box, T95, TX9, XiaoMI-3S, X96, Nexbox-a95x All amlogic_s905x.img
s905w X96-Mini, TX3-Mini, W95, X96W/FunTV, MXQ-Pro-4K All amlogic_s905w.img
s905mb S65 All amlogic_s905s905mb.img
s905l UNT402A, M201-S, MiBox-4, MiBox-4C, MG101 All amlogic_s905l.img
s905l2 MGV2000, MGV2000-K, MGV3000, Wojia-TV-IPBS9505, M301A, E900v21E, e900v21d, CM201-1 All amlogic_s905l2.img
s905l3 CM211-1, CM311-1, HG680-LC, M401A, UNT400G1, UNT402A, ZXV10-BV310, M411A, ZXV10-B860AV3.2-M, ZXV10-B860AV2.1-U, E900V22D-2 All amlogic_s905l3.img
s905l3a E900V22C/D, CM311-1a-YST, M401A, M411A, UNT403A, UNT413A, ZTE-B863AV3.2-M, CM311-1a-CH, IP112H All amlogic_s905l3a.img
s905l3b CM201-1, CM211-1, CM311-1, E900V22D, E900V21E, E900V22E, M302A/M304A, Hisense-IP103H, TY1608, TY1608, MGV2000, B860AV-2.1M, UNT403A, RG020ET-CA All amlogic_s905l3b.img
s905lb Q96-mini, BesTV-R3300L, SumaVision-Q7, MG101, s65 All amlogic_s905lb.img
s905 Beelink-Mini-MX-2G, Sunvell-T95M, MXQ-Pro+4K, SumaVision-Q5 All amlogic_s905.img
rk3588 Radxa-Rock5B, Beelink-IPC-R, HLink-H88K, HLink-H88K-V3 rk3588 rockchip_boxname.img
rk3568 FastRhino-R66S, FastRhino-R68S, Radxa-E25, NanoPi-R5S, NanoPi-R5C, HLink-H66K, HLink-H68K, HLink-H69K, Seewo-sv21, Mrkaio-m68s rk35xx
6.x.y
rockchip_boxname.img
rk3566 Panther-X2, JP-TvBox rk35xx
6.x.y
rockchip_boxname.img
rk3528 HLink-H28K rk35xx rockchip_boxname.img
rk3399 EAIDK-610, King3399, TN3399, Kylin3399, ZCube1-Max, CRRC, SMART-AM40, SW799, ZYSJ, DG-3399, DLFR100, Emb3531, Leez-p710, tvi3315a, xiaobao, Fine3399, Firefly-RK3399, LX-R3S, Hugsun-x99, Tb-ls3399, Hisense-hs530r 6.x.y rockchip_boxname.img
rk3328 BeikeYun, Chainedbox-L1-Pro, Station-M1, Bqeel-MVR9, Renegade/Firefly All rockchip_boxname.img
rk3318 RX3318-Box 6.x.y rockchip_boxname.img
h6 Vplus, Tanix-TX6, TQC-A01 5.15.y
h6
allwinner_boxname.img

Tip

At present, the s905 box can only be used in TF/SD/USB, other models of boxes support writing to EMMC for use. For more information, please refer to the Supported Device List Description. You can refer to the method in Section 12.15 of the instruction manual to add new supported devices. Please read the OpenWrt User Guide before use. It provides solutions to common issues.

Install and Update OpenWrt

Choose the OpenWrt firmware corresponding to your TV box model, and refer to the corresponding instructions for the use of different devices.

  • Install OpenWrt

  1. For the Rockchip platform, please refer to the Chapter 8 of the instruction manual, the installation method is the same as that of Armbian.

  2. For the Amlogic and Allwinner platforms, use tools like Rufus or balenaEtcher to write the firmware to USB, then insert the USB with the written firmware into the box. From the browser, access the default IP of OpenWrt: 192.168.1.1 → Log in to OpenWrt with the default accountSystem MenuAmlogic Treasure BoxInstall OpenWrt, select your box from the dropdown list of supported devices, click Install OpenWrt button to install.

  • Update OpenWrt system or kernel

From your browser, access OpenWrt's IP, e.g.: 192.168.1.1 → Log in to OpenWrt with your accountSystem MenuAmlogic Treasure BoxManually Upload Update / Online Download Update

If you select Manually Upload Update OpenWrt Firmware, you can upload the compressed package of the compiled OpenWrt firmware, such as openwrt_xxx_k5.15.50.img.gz (recommended to upload the compressed package, the system will automatically decompress. If you upload the decompressed xxx.img format file, it may fail due to the large file size). After the upload is complete, the interface will display the operation button of Update Firmware, click to update.

If you select Manually Upload Update OpenWrt Kernel, you can upload the three kernel files: boot-xxx.tar.gz, dtb-xxx.tar.gz, modules-xxx.tar.gz (other kernel files are not needed, if uploaded simultaneously, it does not affect the update, the system can accurately identify the needed kernel files). After the upload is complete, the interface will display the operation button of Update Kernel, click to update. When a kernel update failure causes the system to be unbootable, you can use the openwrt-kernel -s command for kernel recovery. For the method, see Kernel Recovery.

If you select Online Download Update for OpenWrt firmware or kernel, it will be downloaded according to the firmware download address and kernel download address in the Plugin Settings. You can customize the download source. For specific operation methods, please refer to the compilation and usage instructions of luci-app-amlogic.

  • Create swap for OpenWrt

If you feel that the current box's memory is not enough when using memory-intensive applications like docker, you can create a swap virtual memory partition, and use a certain capacity of the /mnt/*4 disk space as memory. The unit of the input parameter in the command below is GB, the default is 1.

From the browser, access the default IP of OpenWrt: 192.168.1.1 → Log in to OpenWrt with the default accountSystem MenuTTYD Terminal → enter the command

openwrt-swap 1
  • Backup/Restore Original EMMC System

Supports backing up/restoring the EMMC partition of the box in TF/SD/USB. We recommend that you backup the Android TV system that comes with the box before installing the OpenWrt system in a brand-new box for future use in restoring the TV system, etc.

Please boot OpenWrt system from TF/SD/USB, from the browser, access the default IP of OpenWrt: 192.168.1.1 → Log in to OpenWrt with the default accountSystem MenuTTYD Terminal → enter the command

openwrt-ddbr

Follow the prompts to enter b to backup the system, or enter r to restore the system.

Important

In addition, the Android system can also be flashed into eMMC using the method of flashing via a cable. The download image of the Android system can be found in Tools.

  • Control LED Display

From the browser, access the default IP of OpenWrt: 192.168.1.1 → Log in to OpenWrt with the default accountSystem MenuTTYD Terminal → enter the command

openwrt-openvfd

Refer to LED Screen Display Control Description for debugging.

  • More Usage Instructions

The firstboot command can restore the system to its initial state. Some common problems that might be encountered during the use of OpenWrt can be found in the User Guide

Local Packaging

  1. Install necessary packages (for Ubuntu 22.04 LTS users)
sudo apt-get update -y
sudo apt-get full-upgrade -y
# For Ubuntu-22.04
sudo apt-get install -y $(curl -fsSL https://is.gd/depend_ubuntu2204_openwrt)
  1. Clone repository to local git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-openwrt.git
  2. In the root directory of ~/amlogic-s9xxx-openwrt, create openwrt-armvirt folder, and upload the openwrt-armvirt-64-default-rootfs.tar.gz file to this directory.
  3. Enter the packaging command in the root directory of ~/amlogic-s9xxx-openwrt, such as sudo ./make -b s905x3 -k 6.1.10. The packaged OpenWrt firmware is placed in the out folder in the root directory.
  • Explanation of Local Packaging Parameters

Parameter Meaning Description
-b Board Specify the model of the TV box, such as -b s905x3. Connect multiple models with _, such as -b s905x3_s905d. Use all to represent all models. See the BOARD setting in model_database.conf for model codes. Default: all
-r KernelRepo Specify the <owner>/<repo> of the github.com kernel repository. Default: ophub/kernel
-u kernelUsage Set the tag suffix of the kernel to be used, such as stable, flippy, dev, beta. Default: stable
-k Kernel Specify the kernel name, such as -k 5.10.125. Connect multiple kernels with _, such as -k 5.10.125_5.15.50. The kernel version freely specified by the -k parameter is only valid for kernels using stable/flippy/dev/beta. Other kernel series such as rk3588 / rk35xx / h6 can only use specific kernels.
-a AutoKernel Set whether to automatically adopt the latest version of the same series of kernels. When set to true, it will automatically search the kernel library for updates of the same series as the kernel specified in -k, such as 5.10.125, and will automatically switch to the latest version if there is a version later than 5.10.125. When set to false, it will compile the specified version of the kernel. Default: true
-s Size Set the size of the system's image partitions. When setting only the ROOTFS partition size, you can specify a single value, for example: -s 1024. When setting both BOOTFS and ROOTFS partition sizes, use / to connect the two values, for example: -s 256/1024. The default value is 256/1024
-n BuilderName Set the signature of the OpenWrt system builder. Do not include spaces when setting signatures. Default: none
  • sudo ./make : Use default configuration, use the latest kernel package in the kernel library, and package all models of TV boxes.
  • sudo ./make -b s905x3 -k 6.1.10 : Recommended. Use default configuration for related kernel packaging.
  • sudo ./make -b s905x3 -k 6.1.y : Package the relevant kernels using the default configuration; the kernel utilizes the latest version of the 6.1.y series.
  • sudo ./make -b s905x3_s905d -k 6.1.10_5.15.50 : Use the default configuration and package multiple kernels at the same time. Use _ to connect multiple kernel parameters.
  • sudo ./make -b s905x3 -k 6.1.10 -s 1024 : Use the default configuration, specify a kernel, a model for packaging, and set the firmware size to 1024 MiB.
  • sudo ./make -b s905x3_s905d : Use default configuration, package all kernels for multiple models of TV boxes, use _ to connect multiple models.
  • sudo ./make -k 6.1.10_5.15.50 : Use the default configuration, specify multiple kernels, package all models of TV boxes, and connect kernel packages with _.
  • sudo ./make -k 6.1.10_5.15.50 -a true : Use the default configuration, specify multiple kernels, package all models of TV boxes, and connect kernel packages with _. Automatically upgrade to the latest kernel of the same series.
  • sudo ./make -s 1024 -k 6.1.10 : Use the default configuration, set the firmware size to 1024 MiB, and specify the kernel as 6.1.10 to package all models of TV boxes.

Use GitHub Actions for Compilation

You can modify the related personalized firmware configuration files in the config directory, as well as the .yml file, customize and compile your OpenWrt firmware, and the firmware can be uploaded to Actions and Releases on github.com.

  1. You can view the personalized firmware configuration instructions in the user documentation. The compilation process control file is .yml
  2. New compilation: In github.com's Action select Build OpenWrt. Click the Run workflow button for one-stop firmware compilation and packaging.
  3. Re-compilation: If there is already a compiled openwrt-armvirt-64-default-rootfs.tar.gz file in Releases, and you just want to remake other different boards, you can skip the compilation of OpenWrt source files and go directly to the second production. Select Use Releases file to Packaging on the Actions page, and click the Run workflow button to recompile.
  4. More Support: The compiled openwrt-armvirt-64-default-rootfs.tar.gz file is a universal file for making firmware for different boards. It is also applicable for creating OpenWrt firmware using unifreq's packaging scripts. As the pioneer of using OpenWrt and Armbian systems in TV boxes, he provides support for more devices, such as OpenWrt (QEMU version) used in the Armbian system through a KVM virtual machine, and Amlogic, Rockchip, and Allwinner series, etc. For packaging methods, please refer to the instructions in his repository. In Actions, through packaging-openwrt-for-qemu-etc.yml, you can call his packaging scripts to create more firmware.
- name: Package Armvirt as OpenWrt
  uses: ophub/amlogic-s9xxx-openwrt@main
  with:
    openwrt_path: openwrt/bin/targets/*/*/*rootfs.tar.gz
    openwrt_board: s905x3_s905x2_s905x_s905w_s905d_s922x_s912
    openwrt_kernel: 6.1.y_5.15.y
  • GitHub Actions Input Parameters Explanation

These parameters correspond to the local packaging command, please refer to the explanations above.

Parameter Default Value Description
openwrt_path None Set the file path of openwrt-armvirt-64-default-rootfs.tar.gz, you can use relative path like openwrt/bin/targets/*/*/*rootfs.tar.gz or a network file download URL like https://github.com/*/releases/*/*rootfs.tar.gz
openwrt_board all Set the board of the box to be packaged, functionality refers to -b
kernel_repo ophub/kernel Specify <owner>/<repo> of the kernel repository on github.com, functionality refers to -r
kernel_usage stable Set the tags suffix of the kernel to be used, functionality refers to -u
openwrt_kernel 6.1.y_5.15.y Set the kernel version, functionality refers to -k
auto_kernel true Set whether to automatically adopt the latest version of the same series of kernels, functionality refers to -a
openwrt_size 256/1024 Set the size of the system BOOTFS and ROOTFS partitions, function reference -s
builder_name None Set the signature of the OpenWrt system builder, functionality refers to -n
  • GitHub Actions Output Variables Explanation

To upload to Releases, you need to set Workflow read/write permissions for repository. For details, see usage instructions.

Parameter Default Value Description
${{ env.PACKAGED_OUTPUTPATH }} out OpenWrt system files output path
${{ env.PACKAGED_OUTPUTDATE }} 04.13.1058 Packaging date (month.day.hourminute)
${{ env.PACKAGED_STATUS }} success / failure Packaging status. success / failure

Compilation Options of openwrt-*-rootfs.tar.gz for Packaging

Option Value
Target System Arm SystemReady (EFI) compliant
Subtarget 64-bit (armv8) machines
Target Profile Generic EFI Boot
Target Images tar.gz

For more information, please refer to the User Documentation

Default Information for OpenWrt Firmware

Name Value
Default IP 192.168.1.1
Default Account root
Default Password password
Default WIFI Name OpenWrt
Default WIFI Password None

Compile the Kernel

For instructions on how to compile the kernel, see compile-kernel.

- name: Compile the kernel
  uses: ophub/amlogic-s9xxx-armbian@main
  with:
    build_target: kernel
    kernel_version: 6.1.y_5.15.y
    kernel_auto: true
    kernel_sign: -yourname

Resource Description

When making the OpenWrt system, the files used, such as kernel and u-boot, are the same files used to create the Armbian system. In order to avoid repeated maintenance, related content has been classified and placed in the corresponding resource repositories, and will be automatically downloaded from the relevant repositories during use.

The u-boot, kernel and other resources used by this system mainly come from the unifreq/openwrt_packit project. Some files are shared by users in the Pull and Issues of the amlogic-s9xxx-openwrt / amlogic-s9xxx-armbian / luci-app-amlogic / kernel / u-boot and other projects. unifreq has opened the door for us to use OpenWrt in TV boxes. Deeply influenced by him, my firmware production and usage follow his consistent standards. To thank these pioneers and sharers, I have recorded them in CONTRIBUTORS.md. Once again, I want to thank everyone for giving new life and meaning to the boxes.

Other Distributions

  • unifreq has made OpenWrt systems for more boxes such as Amlogic, Rockchip, and Allwinner. It is a benchmark in the box circle, recommended for use.
  • The amlogic-s9xxx-armbian project provides the Armbian system used in the box, which is also applicable in devices that support OpenWrt.

Links

License

The amlogic-s9xxx-openwrt © OPHUB is licensed under GPL-2.0

amlogic-s9xxx-openwrt's People

Contributors

7ji avatar calmact avatar codesnas avatar maogongzi avatar nabakdev avatar ophub avatar syb999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amlogic-s9xxx-openwrt's Issues

Workflow fails with openwrt official repo

I try to build using official openwrt with 21.02 branch
With custom script disabled

https://github.com/madIlama/amlogic-s9xxx-openwrt/tree/DSA

It stopped at this point

Run [ -d openwrt-armvirt ] || mkdir -p openwrt-armvirt
cp: cannot stat 'openwrt/bin/targets/*/*/*.tar.gz': No such file or directory
Welcome to use the OpenWrt packaging tool!


 Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.4G     0  3.4G   0% /dev
tmpfs          tmpfs     696M  676K  695M   1% /run
/dev/sdb1      ext4       84G   28G   56G  33% /
tmpfs          tmpfs     3.4G  8.0K  3.4G   1% /dev/shm
tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
tmpfs          tmpfs     3.4G     0  3.4G   0% /sys/fs/cgroup
/dev/sdb15     vfat      105M  6.1M   99M   6% /boot/efi
/dev/sda1      ext4       14G  4.1G  9.0G  32% /mnt 

 [  Error  ] No the [ openwrt-armvirt-64-default-rootfs.tar.gz ] file in [ /home/runner/work/amlogic-s9xxx-openwrt/amlogic-s9xxx-openwrt/openwrt-armvirt ] directory!
Error: Process completed with exit code 1.

Switch and upstream

Hello,nice work you have in this repo
I just finished flashing ur image and want to ask:

  1. There is no switch support for s905?(mine is s905x), either swdev or dsa ?

  2. You base on snapshot, can we get stable base like 19.04 or 19.07 to use opkg without manually(or automatically) pre-build ?

luci-app-diskman

can you help me add the luci-app-diskman package to the official openwrt...

based openwrt version

this is not issues, this is question and request,
is your openwrt build using openwrt based 18.06.?
if yes, could you build using based openwrt 19.07.4 version.?

Problem with installing kmod driver

Hello, I want to install kmod-ath9k-htc, but opkg said that it isn't compatible with the architectures configured. Previously in LEDE version, I can install that driver by using argument --force-depends. But from this official version, it doesn't work anymore.
Here is the log:

root@OpenWrt:~# opkg install kmod-ath9k-htc
Unknown package 'kmod-ath9k-htc'.
Collected errors:

  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath9k-common found, but incompatible with the architectures configured
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath9k-htc found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package kmod-ath9k-htc.

root@OpenWrt:~# opkg install kmod-ath9k-htc --force-depends
Unknown package 'kmod-ath9k-htc'.
Collected errors:

  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath9k-common found, but incompatible with the architectures configured
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath9k-htc found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package kmod-ath9k-htc.

ask

why when opkg update there is an error like that?

and i cant install luci-app-sqm :

opkg install luci-app-sqm
Unknown package 'luci-app-sqm'.
Collected errors:

  • opkg_install_cmd: Cannot install package luci-app-sqm.

Screenshot (166)

hk1 box WIFI不能连接

hk1 box
版本:openwrt_s905x3_v5.10.23.TF_2021.03.27.0357.img.gz
是因为驱动的问题嘛,还是因为未写入EMMC?

Sat Mar 27 04:22:36 2021 daemon.info hostapd: wlan0: STA 7c:d6:61:e0:5e:76 WPA: pairwise key handshake completed (RSN)
Sat Mar 27 04:22:36 2021 kern.err kernel: [ 1516.685293] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:36 2021 kern.err kernel: [ 1516.693534] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:36 2021 kern.err kernel: [ 1516.813168] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:36 2021 kern.err kernel: [ 1516.821438] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.177868] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.186168] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.237404] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.245654] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.449459] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.457704] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.561322] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.569515] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.673454] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:37 2021 kern.err kernel: [ 1517.681715] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
Sat Mar 27 04:22:38 2021 kern.err kernel: [ 1518.313184] brcmfmac: mmc_submit_one: CMD53 sg block write failed -84
Sat Mar 27 04:22:38 2021 kern.err kernel: [ 1518.321455] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame

Error on pip module

when i installing ssh connection client using module pip. it always getting error,
Screenshot_27

Installing on internal emmc is not stable internet connection

When iam testing my internet speed using my hk1box, and wan connection using 4G LTE modem, and the firmware installed on emmc internal, the speed internet is only 50Mbps,
When i boot from sdcard and running the firmware on sdcard, testing my speed internet, i got 140Mbps, so great installing on sd card, but bad idea writing to internal emmc.

s905x release images?

I cannot find any openwrt_s905x_v*.img releases although they are mentioned in the documentation.
Am I missing something?

Wireless

Please add wireless on stb hg680p

luci-openvpn

Screenshot_2021-02-22-05-47-23-356_com android chrome

after installing luci-openvpn openvpn-openssl I tried to add the ovpn config profile instead like this ... s905x hg680p

Amlogic S912 Wi-Fi Driver

Hi,

Could you add the Wi-Fi Driver for H96 Pro Plus (Amlogic S912 Blue PCB), please?
I believe it uses the kmod-ath10k 9377 driver but I was unable to install it because of the snapshot version.

Thanks!! :)

Samba setup

can you help me to set it up .. i'm using hdd ntfs partition .. so I can read and write how to do it..
Screenshot_2021-03-28-19-04-52-962_com android chrome
Screenshot_2021-03-28-19-04-38-236_com android chrome
Screenshot_2021-03-28-19-10-19-942_com termux

Please add nft-qos

Add package luci-app-nft-qos and nft-qos
add package Diskman too
because i'm try install manualy still failed

Thanks

Openvpn and Samba

can you add back the openvpn & samba v3.x package for the next update in the lede version

Docker

sir, can u add docker to the firmware S905x (b860h/hg680p)

make script error

 [  s905x  -  5.10.26.TF  ]  extract armbian files.
grep: etc/init.d/boot: No such file or directory
sed: can't read etc/init.d/boot: No such file or directory
grep: etc/init.d/boot: No such file or directory
sed: can't read etc/init.d/boot: No such file or directory
sed: can't read etc/inittab: No such file or directory
sed: can't read etc/inittab: No such file or directory
./make: line 294: cd: usr/lib/lua/luci/view/admin_status: No such file or directory
 [  s905x  -  5.10.26.TF  ]  make openwrt image.
 [  s905x  -  5.10.26.TF  ]  copy files to image.
 [  s905x  -  5.10.26.TF  ]  generate success.

Is S905M-B supported?

My BestTv R3300-M box ships with S905M-B soc with 1G ram and 4G emmc . Currently I'm running Armbian_5.44_S9xxx_Ubuntu_bionic_3.14.29_server_20180729.img without issue ( with gxbb_p200_1G_100M_RealtekWiFi.dtb) . However the later Armbian releases from Balbe150 seems have dropped support since there's no gxbb_p200_1G_100M_RealtekWiFi.dtb and neither could meson-gxbb-p200.dtb or meson-gxbb-p201.dtb boot my R3300-M box . Any chance for this box to run openwrt with 4.X or 5.X kernel ? I have been starring at my dts file for days trying to figure out something but still pointless :(

I extracted dtb file from R3300-M android 4.4 system and converted to txt format,hope to help .

R3300_M.txt

rclone

can you add rclone package into fw openwrt-21.02

eMMC install failed when with custom build openwrt-armvirt-rootfs using local packaging method

executing openwrt-install command resulting

A total of [ 0 ] old partitions on EMMC will be deleted
The fdisk partition fails, the backup bootloader will be restored, and then exit.
BusyBox v1.33.0 () multi-call binary.

Usage: dd [if=FILE] [of=FILE] [ibs=N obs=N/bs=N] [count=N] [skip=N] [seek=N]
        [conv=notrunc|noerror|sync|fsync]
        [iflag=skip_bytes|fullblock|direct] [oflag=seek_bytes|append|direct]

Copy a file with converting and formatting

        if=FILE         Read from FILE instead of stdin
        of=FILE         Write to FILE instead of stdout
        bs=N            Read and write N bytes at a time
        ibs=N           Read N bytes at a time
        obs=N           Write N bytes at a time
        count=N         Copy only N input blocks
        skip=N          Skip N input blocks
        seek=N          Skip N output blocks
        conv=notrunc    Don't truncate output file
        conv=noerror    Continue after read errors
        conv=sync       Pad blocks with zeros
        conv=fsync      Physically write data out before finishing
        conv=swab       Swap every pair of bytes
        iflag=skip_bytes        skip=N is in bytes
        oflag=seek_bytes        seek=N is in bytes
        iflag=direct    O_DIRECT input
        oflag=direct    O_DIRECT output
        iflag=fullblock Read full blocks
        oflag=append    Open output in append mode

N may be suffixed by c (1), w (2), b (512), kB (1000), k (1024), MB, M, GB, G

Details

  • packaging method : local packaging
  • armvirt-rootfs file : custom build openwrt-21.02-rc1 openwrt-armvirt-64-default-rootfs.tar.gz
  • device : hg680p - using default meson-gxl-s905x-p212.dtb

note: i also build your install-program source when build the custom rootfs img

X96 max + turn black screen

After flashing openwrt image and reboot the box. The box then become black screen. There is no network activity detect after plug in lan cable. Before flash I'm successfully boot from USB. I set network config within my network ip. I can browse luci web. But after installing into emmc and reboot. The box won't give any respond. Just black screen. I plug lan cable in to pc, no ip given to lan adapter. It just show unidentified network. Give the manual ip and ssh using putty also can't. Pressing reset on box also nothing happen. Please help me

Cannot satisfy the following dependencies for xxxxx

Unable to install app from package repository

BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r0-87d9ed8
 -----------------------------------------------------
 Amlogic Box: s905x
 Kernel: 5.4.98-flippy-53+o
 Install command: s9xxx-install.sh
 Upgrade command: s9xxx-update.sh
 Packaged Date: 2021-02-28
 -----------------------------------------------------
root@OpenWrt:/# opkg install luci-app-mwan3
Installing luci-app-mwan3 (git-20.356.64372-1259bb1-1) to root...
Downloading https://mirrors.cloud.tencent.com/lede/releases/18.06.8/packages/aarch64_cortex-a53/luci/luci-app-mwan3_git-20.356.64372-1259bb1-1_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-mwan3:
 *      kernel (= 5.4.100-1-37e10f03f2389d0610b948c6e12e3215)
 * opkg_install_cmd: Cannot install package luci-app-mwan3.
root@OpenWrt:/# 

bug.. reboot device

reboot the device works .. but the device won't turn back on .. I'm using the hg680p device .. with the latest openwrt firmware from here .. in the previous version with kernel 5.9.16 everything went well .. but after updating in kernel version 5.10.23 some features don't work ..

Install on sdcard

how to run with a bootable sdcard, on another amlogic device.. device: hg-680p

Error opkg update

root@OpenWrt:~# opkg update
Collected errors:

  • opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.
    Screenshot_20210326-143007309

So Im Using OpenVPN Connection and getting this
I think this terminal not support openvpn connection and how to fix?

Group Discuss

Can you make a telegram group chat for discussion,report,etc ?

I found 8189fs 5.9

I have module 8189fs for kernel 5.9
But i have problem
PXL_20210423_013827

I dont have idea to fix, but i think u can give me kernel 5.9.0 or u can change localversion kernel

Extracting kernel from another openwrt with multiple kernel

Hi, i tried to extract kernel from this file https://sfile.mobi/8BKWAvNPMcd , but probably there are 2 version of kernel in single openwrt firmware image because when i open directory of rootfs partition /lib/modules there are 2 folders 4.14.195 and 5.7.2-arm-64 and results in error when using make_use_img.sh ( only extract the 4.14.195 version ) same as when using tuanqing/mknop's sudo ./gen_openwrt -e
is there any workaround to make make_use_img.sh extract both or only 5.7.2-arm-64 version instead of 4.14.195 version ?
i do this because on that openwrt image, rtl8189fs wireless driver is working, and i see some issues here noticed wireless problem on hg680p which is using rtl8189fs, if it done it may solve that problems too
thanks.

Error after installing luci-proto-qmi

Iam using Hk1 box openwrt kernel version is 5.9.16
And i got same error in kernel 5.4.86, after installing luci-proto-qmi,
When i accessing network interface i got error,
Here's the error message.

/usr/lib/lua/luci/dispatcher.lua:469: Failed to execute cbi dispatcher target for entry '/admin/network/iface_add'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/network/proto_qmi.lua:53: attempt to call method 'register_error_code' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:469: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

wont boot to emmc

Hello, I already install openwrt to emmc (B860H V1) and when I tried to reboot why it won't boot to the openwrt?
sorry for my bad english

[ASK] New Branch for Default OpenWrt + Luci + Docker only

Hello sir,

You make an Awesome firmware running on my s905x. But, have a lot of packages that I don't need. Can you make a new branch for default Openwrt with Luci only? or maybe Openwrt + Luci + Docker?

I think that can make a good fast and simple firmware for my s905x.

Thanks, for your awesome work.

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.