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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request support for X96 Max Plus 100W

trvqhuy opened this issue · comments

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.

commented

/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

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

commented

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

ifconfig
lsblk
cat /boot/uEnv.txt

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

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

commented

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*

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

image

commented

Your wireless/bluetooth chip is W522A?

Your wireless/bluetooth chip is W522A?

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

  • Name: X96 Max Plus 100W
  • CPU: Amlogic S905X3 quad-core ARM Cortex A55
  • GPU: ARM Mali-G31MP
  • Radio module: W522A
  • Memory: DDR3 4GB, FLASH 32GB
  • Support 10/100M Ethernet, 2.4 and 5G WiFi, BT4.0;
  • USB3.0 x 1, USB2.0 x 1, TF Card
  • HDMI, AV, SPDIF

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

commented

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.

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!

commented

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

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.

commented

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?

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

commented

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

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

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.

commented

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.

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.

commented

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

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

commented

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

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

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.

commented

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)

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

commented

There is no wireless driver, currently cannot support

Okay I got it, thank you for your support

@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 sorry, i don't understand point number 12.14 which one should i edit

commented

look at 12.4

IMG_20230727_21381283

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

commented

Why change uuid?