Skip to content
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

Tanix Tx9 Pro(S912) add Wifi driver #315

Closed
Smim0 opened this issue May 18, 2022 · 11 comments
Closed

Tanix Tx9 Pro(S912) add Wifi driver #315

Smim0 opened this issue May 18, 2022 · 11 comments
Labels
new box Research Fills in the Blanks support This need is supported

Comments

@Smim0
Copy link

Smim0 commented May 18, 2022

Hi,

The image is working just fine for Tanix Tx9 Pro but no wifi at all, I think the driver is missing. I think it is the same issue as in here the devices are also very similar

Thanks

@ophub
Copy link
Owner

ophub commented May 18, 2022

What is the NIC chip of this device? Do you have any photos?

https://www.gearbest.com/tv-box/pp_759339.html

204:Tanix-TX92:s912:meson-gxm-octopus-planet.dtb:u-boot-zyxq.bin:NA:NA:3GB DDR4 32GB eMMC,1.5GHz,5G WIFI,1Gb Nic

Does it support writing to emmc? Which option did you use?

Can the LED screen light up? armbian-led 19

cat /etc/ophub-release
cat /boot/uEnv.txt

@Smim0
Copy link
Author

Smim0 commented May 18, 2022

The NIC shows: AP6255 BT1123001 1809

Installing to emmc works just fine, I used option 204

here is the output:

root@armbian:~# cat /etc/ophub-release
VERSION_CODEID='ubuntu'
VERSION_CODENAME='focal'
KERNEL_VERSION='5.10.116'
PACKAGED_DATE='2022-05-17'
FDTFILE='meson-gxm-octopus-planet.dtb'
UBOOT_OVERLOAD='u-boot-zyxq.bin'
MAINLINE_UBOOT=''
ANDROID_UBOOT=''
MYBOX_UBOOT='/usr/lib/u-boot/mybox-bootloader.img'
SOC='s912'
K510='1'
root@armbian:~# cat /boot/uEnv.txt
LINUX=/zImage
INITRD=/uInitrd
FDT=/dtb/amlogic/meson-gxm-octopus-planet.dtb
APPEND=root=UUID=aaa05513-74bc-4c20-8a98-7bfa04e8eb2e rootflags=data=writeback rw rootfstype=ext4 console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1

@ophub
Copy link
Owner

ophub commented May 18, 2022

[PATCH] ARM64: dts: meson-axg: enable AP6255 wifi module
https://lore.kernel.org/lkml/CAOi56cXKmv_Us1wDcMOYbdjFzZcLVu_t210Yrv891wKi22hV8A@mail.gmail.com/T/

Can the ap6255 wireless driver be used? Let me ask unifreq, and then reply to you

@ophub
Copy link
Owner

ophub commented May 18, 2022

Just consulted. This driver is supported, but there is no wireless module in this DTB. When he has time, he will add a dedicated DTB to this device.

@Smim0
Copy link
Author

Smim0 commented May 18, 2022

Amazing, thanks btw for having these images available

@ophub
Copy link
Owner

ophub commented May 18, 2022

meson-gxm-tx9-pro.dtb.zip

After decompressing, get the dtb file, upload it to the /boot/dtb/amlogic directory, change the dtb name(meson-gxm-tx9-pro.dtb) in the /boot/uEnv.txt and /boot/extlinux/extlinux.conf files, and restart the test after changing

@ophub ophub changed the title Amlogic S912 Wifi driver Tanix Tx9 Pro(S912) add Wifi driver May 18, 2022
@ophub ophub added the support This need is supported label May 18, 2022
@Smim0
Copy link
Author

Smim0 commented May 18, 2022

IT WORKS!!! Thank you very much, as a workaround I have edited /usr/sbin/armbian-install to include a line with the dtb and I can confim that it installed to emmc succefully

Thank you very much for the quick response

@ophub
Copy link
Owner

ophub commented May 18, 2022

208:TX9 Pro:s912:meson-gxm-tx9-pro.dtb:u-boot-zyxq.bin:NA:NA:4C@1512Mhz+4C@1000Mhz,3G RAM,32G ROM,Bluetooth 4.1,1Gb Nic,brcm43455 wifi

Use: 208

@ophub ophub closed this as completed May 19, 2022
@ophub ophub added the new box Research Fills in the Blanks label Nov 27, 2022
@vickenli
Copy link

你好 Tanix TX9 Pro-B8 sp6330 zx190906无线网卡 安装amlogic_s912.img openwrt 有线网卡无法识别没有连接状态 求帮助

@alexantao
Copy link

I know it's resolved, but I'd just ike to thank you for this !!!! HElped me a lot !

@prakashr85
Copy link

I also have tanix tx9 pro same model, installed this image Armbian 24.8.0-trunk.314 Bookworm Gnome Kernel: 6.6.36, Size: 1.3GB, Release date: Jul 4, 2024 .

Used the dtb file mentioned in this issue, wifi, ethernet works, but the bluetooth is not working, anyone got it working, can you please help? @Smim0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

5 participants