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.27k stars 2.02k forks source link

Infinity B32 support. #1181

Closed ketaksaan closed 1 year ago

ketaksaan commented 1 year ago

Standard chat template, no routine, no chat. 标准聊天模板,无套路不聊天。

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 Hey, I have Infinity B32 and I was able to boot with meson-sm1-h96-max-x3-oc.dtb ( I use the OC because previously it can booted with normal dtb, so free performance right? ) The device was able to boot with another dtb, HK1box. It booted with Gigabit ethernet and wifi working. But I would like all features on the device working, like BT, the LED display, and able to boot via emmc, though I was not planning to boot to emmc because I dont have any android backup but having that feature is highly appreciate it.

I will attach some photos of the device below.

20230309_234716

20230309_235201

20230309_235244

20230309_235522

ophub commented 1 year ago

If you are using the 6.1.18 kernel firmware, you can start it on usb, indicating that it also supports writing to emmc

Bluetooth installation, in armbian-config

To turn on the led, execute armbian-openvfd 14 to see the displayed results https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/led_screen_display_control.md

Post the results of the following three commands, and I record them in the list

cat /boot/uEnv.txt
cat /etc/ophub-release
ls -l /boot/u-boot*
ketaksaan commented 1 year ago

Right now I'm using microsd to boot, it can booted from USB also. So, it is able to write to emmc?

About bluetooth, I was able to install and when I checked using 'bluetoothctl' to gather some info about the BT using "list" it shows blank.

image

About LED, it shows the display correctly. Thanks.

And this is the last information you asked.

image

image

ophub commented 1 year ago

https://github.com/unifreq/linux-5.15.y I didn't find any bluetooth instructions for WP6330 in the kernel source code.

Take a picture of the front and bottom of the box. You can see the specific name or model of the device.

Do you have Android system for this device? Share a download address.

ketaksaan commented 1 year ago

Last week I was discussing the wifi on facebook group, and he give me this link of the chip. https://wikidevi.wi-cat.ru/AMPAK_AP6330, wifi BCM4330, BT BCM40183.

This this the detail model displayed on android.

FB_IMG_1679136280483.jpg

I am unable to take picts the bottom of the device because it got ripped off when I played around with it, but I will ask someone who has the same device.

20230318_171451.jpg

20230318_171353.jpg

I dont have the android firmware file. But the android firmware is still intact in the emmc.

ophub commented 1 year ago

https://github.com/ophub/firmware/tree/main/firmware/brcm

There is no firmware for this Bluetooth at present, if you find it, you can add it. The Android driver cannot be used.

I added this device to the options list, share 503/504 with h96

ketaksaan commented 1 year ago

I think the chip is detected and initialized, but it just can't show the chip and use it via 'hcitool dev' or previously with 'bluetoothctl' command.

image

ophub commented 1 year ago

This is not the driver of your chip

ketaksaan commented 1 year ago

Well, that's so unfortunate then. Oh yeah, 1 more question. A while back ago I was doing a backup of the emmc using openwrt-ddbr command while I was using OpenWRT. The backup went successfully. I was wondering if somehow I softbrick the device when I play around to install armbian/openwrt and then using that android backup to restore it, will it fully restore the android firmware?

ophub commented 1 year ago
# use openwrt
openwrt-ddbr
r

# use armbian
armbian-ddbr
r
ketaksaan commented 1 year ago

Hey, I got the android firmware from my group. I have not tested it but my folks say that my device has the share the same with H96 Max X3. Well if I reference it with your model database IT IS h96 max x3. I want you to archive this firmware to preserve the file.

AML_user_X3_9_20220516.1821.img

ophub commented 1 year ago

Okay, thanks for sharing. I will transfer this firmware here:

https://github.com/ophub/kernel/releases/tag/tools

Xpriencias commented 1 year ago

I think the chip is detected and initialized, but it just can't show the chip and use it via 'hcitool dev' or previously with 'bluetoothctl' command.

image I have the same problem on my TX3-H ((QZ)4/64) same ap6330 i tell you if you can find 5.9 kernel version will run everything from the start, but the moment i do apt update it will not work anymore. I tested it like 40 Times i even broker 2 old de sdcards trying different distros, but I'm starting at Linux so i accept that my knowledge is rather limited but i also want to make the bluetooth work, can anyone help?