-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working dtb for X96 Max Plus Q2 and X96 Air Q1000 #366
Comments
meson-g12a-x96-max-rmii.dtb gives me working wifi but no ethernet on these boxes whilst the meson-g12a-x96-max.dtb in Armbian doesn't boot at all on the X96 Max Plus Q2 / X96 Air Q1000. It seems the X96 Air Q1000 is pretty much the same as a X96 Max Plus Q2 but with an extra USB 2.0 port. |
What's interesting is that after I got bluetooth working with this dtb under Armbian, I tried the same dtb under Manjaro but X96 onboard bluetooth isn't working under Manjaro. |
I've also uploaded this dtb to https://github.com/danboid/meson-sm1-sei610-qca9377-bt |
thank you for your sharing. This dts file, can you find out the difference between it and the current meson-g12a-x96-max-plus.dts? This creates a separate dtb alone. |
Here is the original meson-g12a-x96-max.dtb from the Manjaro linux-odroid kernel. This doesn't have working bluetooth, The meson-g12a-x96-max.dtb included with Armbian doesn't boot at all on my X96 boxes. Also I realise X96 Max is a different model and supposedly uses a different SoC to X96 Max Plus but the meson-g12a-x96-max.dtb from Manjaro is the dtb that currently works the best for these boxes. |
I have done a diff between meson-g12a-x96-max.dts from Manjaro and the meson-g12a-x96-max.dts from Armbian and they don't have much in common |
Interesting! I re-installed Armbian using the latest image ( Armbian_22.08.0_Aml_s905x3_jammy_5.10.120_server_2022.06.06.img ) and now wifi is working on my X96 boxes when using meson-sm1-x96-max-plus.dtb! This wasn't the case a few days ago so something has changed. However, I've not been able to get bluetooth working by modifying meson-sm1-x96-max-plus.dtb yet. |
But the kernel configuration has not changed at all |
|
Are we not going to be able to include my custom dtb in Armbian then? |
It seems meson-g12a-x96-max-plus-q2.dtb only fully works with your 5.15 kernels. Wifi and BT work on my X96 TVBs when I use it under 5.10.120 but ethernet does not. I have to use meson-g12a-x96-max-plus-q2.dtb with the Armbian 5.15 series kernels to get working ethernet, wifi and bluetooth. |
I have updated the README of https://github.com/danboid/meson-sm1-sei610-qca9377-bt to include the kernel compatibility notes. |
It seems meson-g12a-x96-max-plus-q2.dtb only fully works with your 5.15 kernels. Wifi and BT work on my X96 TVBs when I use it under 5.10.120 but ethernet does not. I have to use meson-g12a-x96-max-plus-q2.dtb with the Armbian 5.15 series kernels to get working ethernet, wifi and bluetooth. |
This dtb file is the result of kernel compilation. Different versions of the kernel are different, so some cannot be used universally. This dtb file can be used in the /boot/dtb/amlogic directory, but |
meson-g12a-x96-max-plus-qca9377.dtb.zip Unzip it, add it to the |
Side question...I am pretty sure I have the Q2 variant of X96 Max Plus...curious...did you managed to have it working via MicroSD or USB 3.0...because from all my tests with various distros they all failed with microSD...while USB 3.0 at least for CoreElec it worked. |
meson-g12a-x96-max-plus-qca9377.dtb doesn't boot using 5.15.45. Its worth noting that the normal meson-g12a-x96-max.dtb included with flippy 5.15.x also doesn't boot on the X96 Air Q1000 or X96 Air Q2 but the meson-g12a-x96-max.dtb from linux-odroid does. I used that one as the base because it was the easiest one to get BT working with. Well, its the only one I've fluked a working config with. tsgiannis: Have you tried my custom dtb ( meson-g12a-x96-max-plus-q2.dtb ) with a 5.15.x kernel? Note that 4K/UHD HDMI output is broken for the Max Plus Q2 with the current 5.15 kernels. You can use my dtb with a 5.10 kernel if you are using a 4K monitor but the ethernet doesn't work with 5.10.x and that dtb. |
tsgiannis: I have had Manjaro Linux booting off USB 3.0 on my X96 Air Q1000 so you should also be able to do that with Armbian on the X96 Max Plus Q2 although I've not tested that. |
I will try it 1st chance I get...right now I have the system running happily CoreElec but I am planning to buy one more TV Box |
So its USB 3.0...this was my main question...if I was the only one who could boot only from USB 3.0...thanks |
I've been testing Armbian using microSD cards. |
I haven't found a dtb with both working ethernet and wifi for these X96's out of the ones included with it. I am able to boot and use wifi with meson-sm1-sei610.dtb and meson-g12a-sei510.dtb but the ethernet doesn't work with both when using a 5.15 kernel. |
Can the wifi of meson-sm1-sei610.dtb be used? it is: https://github.com/unifreq/linux-5.15.y/blob/131c58e5e1ce69345cd844d1c2f6d18f1568e9d8/arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts#L591 Which of the default dtb in the kernel package can use wired network? |
I have now tested all of the meson-sm1 dtbs that come with 5.15.45 on my X96 Air Q1000 and the following all boot and have working ethernet and wifi: meson-sm1-a95xf3-air-gbit.dtb Its very likely the X96 Max+ Q2 will have the same compatibility. Non of them currently have working onboard bluetooth but I'm going to see if I can add that to one of them. |
Done it! meson-sm1-h96-max-qca9377-bt.dtb.zip This dtb gives me working bluetooth, ethernet and wifi on a X96 Air Q1000 with 5.15.45-flippy and its based off the meson-sm1-h96-max.dtb included with the current 5.15 kernel. Instead of calling it |
Did you rename meson-sm1-h96-max.dtb to meson-sm1-x96-air-q1000.dtb? Did you modify the source code? |
I decompiled meson-sm1-h96-max.dtb, changed 2 lines in the bluetooth
section then recompiled it.and changed its name.
…On Tue, Jun 7, 2022 at 11:08 PM ophub ***@***.***> wrote:
Did you rename meson-sm1-h96-max.dtb to meson-sm1-x96-air-q1000.dtb? Did
you modify the source code?
—
Reply to this email directly, view it on GitHub
<#366 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK5CFYHINXBWAHE7FPPOIDVN7B4DANCNFSM5X5AN6TQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Your change was tested on both X96 Air Q1000 and X96 Max+ Q2 Can it work with wired, wireless, bluetooth? |
This is the standard source code, use this modification. Explain which lines have been changed. After modifying this file, send me the dts file. I will compile it in the kernel and you will test it again. |
Yes x3! It enables all 3 features w/ gigabit ethernet for both models. |
Wait 5 minutes, I will compile it in the kernel according to your modification, you can test it again |
meson-sm1-x96-max-plus-q2.dtb.zip This is the dtb running in the 5.15 kernel, you can test whether it is normal under both devices Unzip it into a dtb file, put it in the /boot/dtb/amlogic directory, and modify the dtb file name in /boot/uEnv.txt. Restart the test after modification. |
I have tested your meson-sm1-x96-max-plus-q2.dtb and it works fine - wifi, gbit ethernet and BT all work. |
Ok, I submitted it to unifreq today in several kernel repositories, which will be automatically included when the kernel is compiled in the future. |
Thanks @ophub ! |
Your results have been added to the kernel source repository, thank you for sharing amlogic-s9xxx-armbian/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf Line 58 in 28dcc99
amlogic-s9xxx-armbian/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf Line 71 in 28dcc99
|
I'll try this, sorry for bumping up an old thread, @danboid can I use meson-sm1-h96-max-qca9377-bt.dtb.zip for OpenWrt instead of armbian ? and do I have to use kernel 5.15.45-flippy to get it to work ? I have X96 Air with ophub openwrt and ethernet not working right now. |
Are the
|
FYI, I received a scam X96 max+, sticker says 4G/64G but inside it's this model: X96Max Plus 5 The X96 Air dtb works mostly fine apart from a minor graphical issue on boot that disappears once kernel properly kicks in, maybe related to panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19 Cf dmesg: https://pastebin.com/c2LZiRCR As one can see, internal storage install went fine, and ETH works as well. No wifi, but I don't think there's even a linux driver for the Amlogic W150S1 so this can't be solved I suppose. Thanks for your work ophub |
使用的是506安装 有线可以 |
|
Using the attached .dtb file I get working ethernet, wifi and bluetooth on both my X96 Max Plus Q2 and my X96 Air Q1000, which both use the Qualcomm qca9377 wifi chipset or a clone of it. I extracted this dtb from the Manjaro linux-odroid kernel then tweaked it to get bluetooth working.
meson-g12a-x96-max-plus-q2.dtb.zip
The text was updated successfully, but these errors were encountered: