Coder Social home page Coder Social logo

ophub / amlogic-s9xxx-openwrt Goto Github PK

View Code? Open in Web Editor NEW
1.7K 35.0 1.5K 3.53 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 96.01% Perl 3.90% Dockerfile 0.09%
s905x3 s905x2 hk1 x96 h96 n1 openwrt s922x ugoos amlogic

amlogic-s9xxx-openwrt's People

Contributors

7ji avatar calmact avatar codesnas avatar maogongzi avatar nabakdev avatar ophub avatar rippanda12 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

amlogic-s9xxx-openwrt's Issues

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 ?

Install on sdcard

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

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.

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 ..

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

Wireless

Please add wireless on stb hg680p

luci-app-diskman

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

Openvpn and Samba

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

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

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.

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.

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

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

[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.

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:/# 

Error on pip module

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

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

Group Discuss

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

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)

Docker

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

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.

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

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>

s905x release images?

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

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?

rclone

can you add rclone package into fw openwrt-21.02

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

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

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.?

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.