ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.14k stars 1.97k forks source link

X96 Max Plus & X96 Air Q1000 ath10k working wifi dtb #351

Closed danboid closed 2 years ago

danboid commented 2 years ago

I have got 2x X96 Max Plus TVBs, both with different wifi chipsets:

Using the current s9xxx jammy builds, I can get the internal wifi working with the AM7256, 32 GB X96 Max+ but the onboard wifi for the 64GB model with BT doesn't work with any of the 3 X96 Max+ dtb files that are currently included in this Armbian. However, the dtb included and configured by default in Slackware for the X96 Max+ does have working wifi when I boot it on the 64 GB ath10k X96 Max+.

http://dl.slarm64.org/slackware/images/x96_max_plus/slarm64-current-aarch64-server-x96_max_plus-5.16.18-build-20220328.img.zst

http://dl.slarm64.org/slackware/images/x96_max_plus/README.TXT

meson-sm1-x96-max-plus.dtb.zip

danboid commented 2 years ago

Extra bonus!

I can also boot this image / dtb on my X96 Air Q1000 and get working wifi. I don't get working wifi when I boot any of the X96 Air dtbs currently included with s9xxx Armbian.

danboid commented 2 years ago

I should also note that the slarm 5.16 kernel works with my 4K display whilst the latest Armbian 5.15 kernel doesn't (but 5.10 does)

ophub commented 2 years ago

meson-sm1-x96-max-plus.dts.zip

If it is ath10k, it should be compatible = "qcom,qca9377-bt"; But the code in the dtb you sent is compatible = "realtek,rtl8822cs-bt";

Did you replace this dtb with armbian and it can be used normally?

Snip20220601_1

ophub commented 2 years ago

Take a few high-definition photos of the front and back of your motherboard, the soc chip, and the wireless chip and send them here.

danboid commented 2 years ago

I did also test BT on my X96 Air QW1000 and X96 Max+ w/ 64 GB eMMC but BT doesn't work so that is not the correct dts config for my BT but wifi does works.

I have attached heatsinks onto my wifi and SoC chips in my X96 Air so you can't see them but I have this photo of the same board that I found on the net.

5450811_20210429_110230

The wifi chip used in my X96 Air Q1000 is a Cdtech 4761743 which is compatible with Qualcomm qca9377.

ophub commented 2 years ago

https://github.com/danboid/meson-sm1-sei610-qca9377-bt

Is this dtb in your warehouse not available? you are ath10k.

danboid commented 2 years ago

I have tried using that dtb with Armbian before but it didn't work. It used to work with the Manjaro linux-aml 5.12 kernel. I should try it again with the latest kernel if the Manjaro linux-aml package still exists to see if I can get BT working again too.

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-openwrt/issues/260

Same question . I don't know what the value of this chip is

danboid commented 2 years ago

I've not tried those two meson-gxm-a95x dtb files in that thread but I can try them with my TVBs later.

ophub commented 2 years ago

More information can be found:https://github.com/ophub/amlogic-s9xxx-armbian/issues/366

https://github.com/ophub/amlogic-s9xxx-armbian/blob/28dcc99c9472018aa5f4548cd5843821be82b584/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf#L58

https://github.com/ophub/amlogic-s9xxx-armbian/blob/28dcc99c9472018aa5f4548cd5843821be82b584/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf#L71

danboid commented 2 years ago

That's great!

Great work @ophub !

I've got another cool armbian surprise for you later actually :)

danboid commented 2 years ago

I have tried doing a fresh install with on my X96 Air Q1000 with one of the latest Armbian builds and using the new q2 kernel and it booted and installed fine with all the network interfaces working.

danboid commented 2 years ago

Check this out:

https://github.com/danboid/TVBIRR

ophub commented 2 years ago

Great, you've taken the box to a new level

Vinsa322 commented 1 year ago

http://dl.slarm64.org/slackware/images/x96_max_plus/slarm64-current-aarch64-server-x96_max_plus-5.16.18-build-20220328.img.zst I cannot download this file. Please can you give another link

danboid commented 1 year ago

Check out the dir

http://dl.slarm64.org/slackware/images/x96_max_plus/

I've never tried Slackware on my X96 so let us know how you get on with it please.

Vinsa322 commented 1 year ago

slarm64-current-aarch64-server-x96_max_plus-6.2.1-build-20230226 i install this version but ethernet not working

danboid commented 1 year ago

Thats a shame. Thanks for letting us know.

batserra commented 1 year ago

Hi ,does anybody know a dtb file to work with batocera 37 beta or batocera 38? ,i tryed many dbt files and does not have lan.... has a RTL82211F ,thanks.....

myallten commented 11 months ago

还没有解决Fn-Link K255B-SR WiFi问题吗?