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.13k stars 1.97k forks source link

Request support for X96 Max Plus 100W #909

Closed trvqhuy closed 1 year ago

trvqhuy commented 1 year ago

I have the W522A radio module on my X96 Max Plus 100W board.

I found some information. The W552a is an Fn-Link K255B-SR. The Fn-Link K255B-SR is an Amlogic W155S1 chip, with the following datasheet: https://usermanual.wiki/HUNAN-FN-LINK-TECHNOLOGY/K255B-SR.User-Manual-5353157.pdf

I found two github for the sources of this module: https://github.com/CoreELEC/w1-aml https://github.com/adeepn/w1-aml

Tutorials for W155S1 https://blog.csdn.net/zhaojy5453/article/details/115484201

I hope it can help you, thanks for your work.

trvqhuy commented 1 year ago

192023643-e8552a7b-b6ff-41cd-9943-b95159bd4c84 (1).png

ophub commented 1 year ago

/boot/uEnv.txt try meson-sm1-x96-air.dtb or meson-sm1-a95xf3-air.dtb copy u-boot-x96maxplus.bin to u-boot.ext and u-boot.emmc

trvqhuy commented 1 year ago

Hi @ophub , I have tried 2 dtb files above, but none of them works.

I can install and boot normally but when I go to "Network" from "armbian-config" command, the screen always shown as the image below:

image

ophub commented 1 year ago

Which dtb are you using? The wired network is not available, and the IP is not obtained, right?

ifconfig
lsblk
cat /boot/uEnv.txt
trvqhuy commented 1 year ago

try meson-sm1-x96-air.dtb or meson-sm1-a95xf3-air.dtb

I've test these 2 files as you'd said.

The wired network works fine with available IP on both dtb files above, but cannot do the "Wifi" config

trvqhuy commented 1 year ago

Which dtb are you using? The wired network is not available, and the IP is not obtained, right?

ifconfig
lsblk
cat /boot/uEnv.txt

image

ophub commented 1 year ago

The user did not reply halfway through the last test of this box, and has not collected available configurations. You can add configurations after you test that the wired box can be used. For wireless, you need to check whether there is a driver, modify the dtb or add a new dtb.

Did you copy u-boot? Execute the following command screenshot:

ls /boot/u-boot*
trvqhuy commented 1 year ago

Yes I've copied the u-boot. Here is the screenshot:

image

ophub commented 1 year ago

Your wireless/bluetooth chip is W522A?

trvqhuy commented 1 year ago

Your wireless/bluetooth chip is W522A?

Yes sir, the radio module is W522A, with the following specifications:

trvqhuy commented 1 year ago

My X96 Max Plus 100W and the 2101W have the same W522A radio module.

I hope I can help you with this link: https://4pda.to/forum/index.php?showtopic=1013103&st=40#entry102780026

image

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/CONTRIBUTORS.md

Thanks for your beta feedback, your contribution has been added to the list of contributors. x96-max+100W has been added to the device list, and the serial number of the installation option is 517

It's almost 12 o'clock in the middle of the night today, I have to go to bed, and I have to work tomorrow. I will look up the driver information of this wireless tomorrow and reply to you. Do you have the original android firmware for this box? Share a download link, I will back it up so that other people can restore the system and use it.

trvqhuy commented 1 year ago

Yes, I do have the original firmware of this box in the following links:

https://drive.google.com/drive/folders/19ZoOEo5c5Ca7U48NtAfFLx2ErqLUA2JB?usp=share_link

https://cloud.mail.ru/public/xcUu/iJFKXGKBE

Thanks @ophub for your dedicated support for the community. I'm waiting to hear good news from you!

ophub commented 1 year ago

Do you know the short contact position of this box? Mark it on the motherboard picture?

trvqhuy commented 1 year ago

Sorry I don't know the location of the short contact for this box.

However, I have flashed the original firmware with the tooth-picking method, thanks to the help of USB-Burning-Tool on Windows.

ophub commented 1 year ago

https://github.com/unifreq/linux-5.15.y

No driver related to W522A can be found in the source code of the mainline kernel. Have you found his driver?

trvqhuy commented 1 year ago

No I cannot find any information on the driver, however I found some related informations as I've mentioned.

I really hope it can help you.

The W552a is an Fn-Link K255B-SR. The Fn-Link K255B-SR is an Amlogic W155S1 chip, with the following datasheet: https://usermanual.wiki/HUNAN-FN-LINK-TECHNOLOGY/K255B-SR.User-Manual-5353157.pdf

I found two github for the sources of this module: https://github.com/CoreELEC/w1-aml https://github.com/adeepn/w1-aml

Tutorials for W155S1 https://blog.csdn.net/zhaojy5453/article/details/115484201

ophub commented 1 year ago

Found several posts discussing this box, using an external USB wireless, not the one that comes with the box.

In fact, the wireless of the box is not very stable, and the wired network is more stable. Are you inconvenient to use a cable?

Android system I put here: https://github.com/ophub/kernel/releases

trvqhuy commented 1 year ago

Yeah, it's a pity that I cannot use the wired connection in my living area

trvqhuy commented 1 year ago

But if it's so hard to install the wireless driver of this module, you don't need to waste your time for my box.

I've already seen your dedicated support here, please don't bother it.

ophub commented 1 year ago

There are drivers in the mainline kernel source, and it's easy to create a dedicated dtb that includes wireless/bluetooth support.

However, the manufacturers of these TV boxes generally only disclose the drivers of the Android system, and rarely support the mainline kernel, so most drivers are hard to find.

trvqhuy commented 1 year ago

I'm waiting for your news here.

Please tell me if you need any help, I will check this issue many times a day.

I had purchased 10+ of these TV Box from China for installing the Armbian for my working purpose, so that would be a pitty that this box cannot establish the wifi and bluetooth connection.

However that would be fine if you cannot find the driver for this one, I will try better luck in the future.

Orefie commented 1 year ago

Hi trvqhuy, ophub, Another thought, the JetHome JetHub D1+ has the same wifi chip and it runs on armbian. You can check its firmware to extract drivers and dtb files but it has a different processor. So probably a lot of work to make it compatible.

The pins to shunt for a flash recovery are here.

reset_pin

trvqhuy commented 1 year ago

Thanks @Orefie for the informations, I really hope it can help @ophub

ophub commented 1 year ago

Which dtb does the JetHome JetHub D1+ use on Armbian?

trvqhuy commented 1 year ago

Hi @Orefie , can you show us which dtb file does it use?

trvqhuy commented 1 year ago

I've just figured out that the SlimBoxTV Image from the link below works fine with my 100W. Both wifi and ethernet connection works normally.

SlimBoxTV image for X96 Max Plus 100W: https://disk.yandex.ru/d/tuWOHY20DoI4Ow

Community: https://4pda.to/forum/index.php?act=search&source=all&result=posts&sort=rel&subforums=1&query=w522a&forums=640&st=0

Hope it can help you.

Orefie commented 1 year ago

You can find all firmware for jethome d1+ here. https://fw.jethome.ru/devices/jethome/D1P/ The custom rom SlimBoxTV "sbx_x96max_plus_2101w_aosp_15_4_1" works fine but this is an android rom. This rom is useful to put the emc back in order after crashing the box. (short contact and Amlogic_USB_Burning_Tool)

trvqhuy commented 1 year ago

Hi @ophub , is there anything that I can help you?

ophub commented 1 year ago

There is no wireless driver, currently cannot support

trvqhuy commented 1 year ago

Okay I got it, thank you for your support

royan204 commented 1 year ago

@ophub @trvqhuy hi... i need help, my X96max+ 100W wont boot to armbian. i did everything correctly i did change the uEnv.txt to correct dtb, i change the correct u-boot.ext as you mentioned before but nothing seems to work, x96max just keep booting to android and when i long press the reset button it enter boot menu and i chose boot from boatloader the booting screen just stuck forever. is there any step to make x96max to boot to sdcard, i already try to boot with adb and enable usb debugging and the result just the same, pls help i need a tutorial

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/documents

look at 12.4

royan204 commented 1 year ago

@ophub sorry, i don't understand point number 12.14 which one should i edit

ophub commented 1 year ago

look at 12.4

royan204 commented 1 year ago

IMG_20230727_21381283

@ophub please help me with this, i tried to change UUID to LABEL=ROOTFS doesn't work either

ophub commented 1 year ago

Why change uuid?