Search the Community
Showing results for tags 'sp6330'.
-
Hello @all I Have a Tanix TX3 Amlogic S905X3 With 4GB RAM and 32GB ROM. It has a SP6330 Wifi / bluetooth Chip. High resolution PCB Pic: https://ibb.co/zbqW5HH I want to get the Sound and BlueTooth Working. I have used the Premade "Armbian_20.10_Arm-64_focal_current_5.9.0_desktop.img.xz" and Ethernet Works, Wifi Works (with small tweaks) This link helped me to get wifi working. Armbian Build for Nexbox A95X with AP6330. My armbian info: ``` root@tx3:~# cat /etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=arm-64 BOARD_NAME="ARM-64" BOARDFAMILY=arm-64 BUILD_REPOSITORY_URL=https://github.com/150balbes/Build-Armbian.git BUILD_REPOSITORY_COMMIT=62b8c07-dirty DISTRIBUTION_CODENAME=focal DISTRIBUTION_STATUS=supported VERSION=20.10 LINUXFAMILY=arm-64 BRANCH=current ARCH=arm64 IMAGE_TYPE=user-built BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image ``` 1. u-boot used: u-boot-s905x2-s922 > u-boot.ext 2. dtb used: ``` root@tx3:/etc/firmware# cat /boot/extlinux/extlinux.conf LABEL Armbian LINUX /zImage INITRD /uInitrd # aml s9xxx FDT /dtb/amlogic/meson-g12a-x96-max.dtb APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 ``` 3. To get wifi working: ``` sudo mv /lib/firmware/brcm/brcmfmac4330-sdio.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt.old sudo ln -s /lib/firmware/brcm/brcmfmac-ap6330-sdio.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt ``` 4. Sound is NOT working via HDMI. Steps done: ``` root@tx3:~# sound.sh G12AX96MAX root@tx3:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: G12AX96MAX [G12A-X96-MAX], device 0: fe.dai-link-0 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: G12AX96MAX [G12A-X96-MAX], device 1: fe.dai-link-1 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: G12AX96MAX [G12A-X96-MAX], device 2: fe.dai-link-2 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 ``` 5. Bluetooth is NOT Working. Steps done: dmesg output filtered for bluetooth: ``` root@tx3:~# dmesg | grep -i bluetooth [ 9.567673] Bluetooth: Core ver 2.22 [ 9.567680] Bluetooth: Starting self testing [ 9.637375] Bluetooth: ECDH test passed in 68049 usecs [ 9.641395] Bluetooth: SMP test passed in 3868 usecs [ 9.641412] Bluetooth: Finished self testing [ 9.641503] Bluetooth: HCI device and connection manager initialized [ 9.641516] Bluetooth: HCI socket layer initialized [ 9.641523] Bluetooth: L2CAP socket layer initialized [ 9.641537] Bluetooth: SCO socket layer initialized [ 9.896146] Bluetooth: HCI UART driver ver 2.3 [ 9.896155] Bluetooth: HCI UART protocol H4 registered [ 9.896157] Bluetooth: HCI UART protocol BCSP registered [ 9.896213] Bluetooth: HCI UART protocol LL registered [ 9.896215] Bluetooth: HCI UART protocol ATH3K registered [ 9.896240] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 9.896580] Bluetooth: HCI UART protocol Intel registered [ 9.897208] Bluetooth: HCI UART protocol Broadcom registered [ 9.897240] Bluetooth: HCI UART protocol QCA registered [ 9.897243] Bluetooth: HCI UART protocol AG6XX registered [ 9.897268] Bluetooth: HCI UART protocol Marvell registered [ 10.257607] Bluetooth: hci0: BCM: chip id 62 [ 10.258093] Bluetooth: hci0: BCM: features 0x0f [ 10.259825] Bluetooth: hci0: BCM4330B1 [ 10.259834] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000 [ 10.781597] Bluetooth: hci0: BCM4330B1 'brcm/BCM4330B1.hcd' Patch [ 11.615360] Bluetooth: hci0: BCM4330B1 37.4 MHz Class 1 Ampak [ 11.615400] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000 [ 11.616135] Bluetooth: hci0: BCM: Using default device address (43:30:b1:00:00:00) [ 17.792428] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 17.792435] Bluetooth: BNEP filters: protocol multicast [ 17.792448] Bluetooth: BNEP socket layer initialized ``` root@tx3:/tmp# mkdir -p /etc/firmware root@tx3:/etc/firmware# ln -sf /lib/firmware/brcm/BCM4330B1.hcd /etc/firmware root@tx3:/etc/firmware# ls -l lrwxrwxrwx 1 root root 32 Jan 6 17:10 BCM4330B1.hcd -> /lib/firmware/brcm/BCM4330B1.hcd root@tx3:/etc/firmware# hcitool scan Device is not available: No such device root@tx3:/etc/firmware# hciconfig -a hci0: Type: Primary Bus: UART BD Address: 43:30:B1:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0 DOWN RAW RX bytes:2261 acl:0 sco:0 events:245 errors:0 TX bytes:54895 acl:0 sco:0 commands:245 errors:0 root@tx3:/etc/firmware# /usr/bin/hciattach /dev/ttyAML0 bcm43xx 1500000 bcm43xx_init Initialization timed out root@tx3:/etc/firmware# hciattach -l | grep bcm bcm2035 0x0a5c,0x2035 bcm43xx 0x0000,0x0000 Kindly guide me here. Regards Hannah
