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.12k stars 1.96k forks source link

Tanix Tx9 Pro(S912) add Wifi driver #315

Closed Smim0 closed 2 years ago

Smim0 commented 2 years ago

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 commented 2 years ago

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

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

https://github.com/ophub/amlogic-s9xxx-armbian/blob/7b0ec303982b5431ada8e2be15c86dadf05b6d77/build-armbian/common-files/rootfs/usr/sbin/armbian-install#L73

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 commented 2 years ago

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 commented 2 years ago

[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 commented 2 years ago

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 commented 2 years ago

Amazing, thanks btw for having these images available

ophub commented 2 years ago

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

Smim0 commented 2 years ago

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 commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/76b8fdce09bef1488d35a45895ddeacaefbb23b1/build-armbian/common-files/rootfs/usr/sbin/armbian-install#L77

Use: 208

vickenli commented 1 year ago

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

alexantao commented 8 months ago

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

prakashr85 commented 4 months ago

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