-
Posts
693 -
Joined
-
Last visited
Reputation Activity
-
Hqnicolas reacted to cmuki in Efforts to develop firmware for H96 MAX M9 RK3576 TV Box 8G/128G
Regarding the vendor kernel I also managed to get the GPU going with some AI help, but the HDMI hotplug issue persists. Will probably revisit it in the future. (the dtb should go in packages/blobs/h96-m9_original.dtb and the defconfig in patch/u-boot/legacy/u-boot-radxa-rk35xx/deconfig)
h96-m9.csc h96-m9_original.dts h96-m9-rk3576_defconfig h96-m9_original.dtb
-
Hqnicolas reacted to a.ni in Efforts to develop firmware for H96 MAX M9 RK3576 TV Box 8G/128G
I've made some improvements of .dts for H96 MAX M9S, tested on Linux version 6.19.0-edge-rockchip64 (build@armbian)
What's new:
GPU working USB 3.0 mode working
Currently working:
both USB ports, incl. USB 3.0 mode GPU (using Panfrost driver) HDMI (audio+video) Ethernet port Wifi (using aic8800 DKMS drivers provided by https://github.com/radxa-pkg/aic8800/releases) Leds
Not working:
NPU Bluetooth S/PDIF
rk3576-evb1-v10-main-h96-v5.dts dmesg-19.0.txt
-
Hqnicolas reacted to GmP in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
@GBEM yes the service file can be improved, also it might be worth it to blacklist some unuseful module like:
sudo nano /etc/modprobe.d/blacklist.conf
# Add:
blacklist btusb
blacklist btrtl
blacklist btbcm
blacklist btintel
-
Hqnicolas reacted to GmP in HONGTOP H50 alias T98-3318-221-V1.1
@jock Hi, I have updated the build source for the leds overlay files (leds 6 and 7) for both the the rockchip64 H50 tvbox and the T9 tvbox, for kernels 6.12 (old non scrolling driver) and 6.18 (new scrolling driver) the version for 6.18 is also fine for 6.19.
Have a look at my fork in https://github.com/gpaesano/build.
Some modifications are just refinements other are functional.
I have built all the images and variants on a ubuntu linux and are running well.
I am not familiar with pull requests and do not want to be impolite, so If you think there is some added value please support it.
All the best
@GmP
-
Hqnicolas reacted to kisgezenguz in Armbian on Giada DN74
Take some time but I was able to identify the CLK pin.
Shorting the marked pins (CLK and GND in this case) was able to switch MaskRom mode.
Note: in early boot stages the eMMC CLK only working in legacy mode (24Mhz).
-
Hqnicolas reacted to shandy alvonz in Efforts to develop firmware for H96 MAX M9 RK3576 TV Box 8G/128G
Thank you all... I was able to install Armbian on the H96 Max M9 thanks to all of your help.
-
Hqnicolas reacted to GBEM in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Greetings, H96 Max V56 developers,
I got 1Gb Ethernet, basic WiFi6, and the full Bluetooth5.4 suite of capabilities from the new H96 hardware, running my 6.12.44 kernel, Home Assistant OS port.
Thanks especially @WINEDS for the stellar foundation, and to @GmP for the final piece of the Bluetooth puzzle.
GBEM 👽
-
Hqnicolas reacted to GBEM in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Heya,
Of interest to anyone encountering the 2025 AIC8800 WiFi and Bluetooth hardware, and who is using Buildroot; this is the package that builds and installs everything into a Home Assistant image.
Of academic interest in the present discussion also, offering minor suggestions in dts and service file. The build process may be portable?
👽
aic8800.zip
-
Hqnicolas reacted to Werner in Rockchip MPP drivers Takedown
Didn't warn ffmpeg from a guts feel years ago that they will issue a takedown if no action is taken? So I'm not surprised. Kind of.
-
Hqnicolas reacted to GmP in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
First of all, thank you to @Hqnicolas and all the members for this great effort.
Just bought an H96 rk3566, having this hardware configuration:
BOARD LABEL: HCY-RK3566-1X32-V20 2023-01-13
SOC RK3566
PMIC RK809-5
LAN RTL8211F
DISPLAY FD6551
WIFI AIC8800D40
eMMC H26M74002HMR - SK Hynix eMMC 5.1 NAND Flash 64Gb.
It seems to be a mix of the other versions described in this topic, although very close to the one of @WINEDS (thanks for the hints).
Everything seems to work so far.
Installed using rockchip dev tools, as advised.
here its:
_ _ _ _ _
/_\ _ _ _ __ | |__(_)__ _ _ _ __ ___ _ __ _ __ _ _ _ _ (_) |_ _ _
/ _ \| '_| ' \| '_ \ / _` | ' \ / _/ _ \ ' \| ' \ || | ' \| | _| || |
/_/ \_\_| |_|_|_|_.__/_\__,_|_||_|_\__\___/_|_|_|_|_|_\_,_|_||_|_|\__|\_, |
|___| |__/
v26.2 rolling for h96-tvbox-3566 running Armbian Linux 6.12.61-current-rockchip64
Packages: Debian stable (trixie)
Support: for advanced users (rolling release)
IPv4: (LAN) 192.168.111.228, 192.168.111.91 (WAN) xxxxxxxxxxx
Containers: big-bear-photoprism-db
Performance:
Load: 8% Uptime: 46 minutes
Memory usage: 6% of 7.50G
CPU temp: 38°C Usage of /: 31% of 57G
To enable Bluetooth I have used this small overlay in /boot/overlay-user/ (which enables SPDIF as well):
/dts-v1/; /plugin/; /* &{/serial@fe650000} */ &uart1 { status = "okay"; dma-names = "tx\0rx"; bluetooth { status = "disabled"; }; }; &spdif { clock-names = "mclk\0hclk"; status="okay"; };
The followings are the drivers used for wifi-bluetooth
wget https://github.com/radxa-pkg/aic8800/releases/download/4.0%2Bgit20250410.b99ca8b6-3/aic8800-firmware_4.0+git20250410.b99ca8b6-3_all.deb wget https://github.com/radxa-pkg/aic8800/releases/download/4.0%2Bgit20250410.b99ca8b6-3/aic8800-sdio-dkms_4.0+git20250410.b99ca8b6-3_all.deb dpkg -i aic8800-firmware_4.0+git20250410.b99ca8b6-3_all.deb dpkg -i aic8800-sdio-dkms_4.0+git20250410.b99ca8b6-3_all.deb
Service to enable bluetooth :
[Unit] Description=Bluetooth HCI Attach (AIC8800) After=systemd-modules-load.service Requires=systemd-modules-load.service After=dev-ttyS1.device Requires=dev-ttyS1.device [Service] Type=oneshot # Load AIC module ExecStartPre=/sbin/modprobe aic8800_btlpm_sdio # Just a small delay ExecStartPre=/bin/sleep 2 # Attach HCI ExecStart=/usr/bin/hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
To re-enable display in Linux 6.12 another small overlay is required: (the display itself it is not scrolling and available at: /sys/class/leds/display/value )
/dts-v1/; /plugin/; &{/i2c-aux-display} { compatible = "i2c-gpio"; #address-cells = <0x01>; #size-cells = <0x00>; display@24 { compatible = "fdhisi,fd6551"; reg = <0x24>; #address-cells = <0x01>; #size-cells = <0x00>; tm16xx,digits = [04 03 02 01]; tm16xx,segment-mapping = [00 01 02 03 04 05 06]; led@0,0 { reg = <0x00 0x00>; function = "alarm"; }; led@0,1 { reg = <0x00 0x01>; function = "usb"; linux,default-trigger = "usb-host"; }; led@0,2 { reg = <0x00 0x02>; function = "pause"; linux,default-trigger = "mmc2"; }; led@0,3 { reg = <0x00 0x03>; function = "play"; linux,default-trigger = "mmc0"; }; led@0,4 { reg = <0x00 0x04>; function = "colon"; }; led@0,5 { reg = <0x00 0x05>; function = "lan"; linux,default-trigger = "stmmac-0:00:link"; }; led@0,6 { reg = <0x00 0x06>; function = "wlan"; linux,default-trigger = "mmc1"; }; digits { status = "disabled"; }; leds { status = "disabled"; }; }; }; rk3566-bt-fix.dtso rk3566-led-fix.dtso
-
Hqnicolas reacted to davem in RK3566 and Armbian
@MMorales@mmie4jbcu
i have the same x88 pro 20 clone like you guys, on the pcb is written "x88pro-rk3566-4d32-v1.0", which should state for 4gb ddr and 32gb rom i guess?
I installed latest armbian for station m2 with image-included demo-box.dtb, everything is working so far, despite bluetooth (CDtech-208821C=RTL8821CS). installed armbian-firmware-full but bt still doesn't work.
Maybe usefull for just Linux-Users (i don't have a windows pc):
original loader didn't allow me to boot from sd-card, rkdeveloptool (or xrock or rdeveltool-gui) didn't work for me, so i used proprietary upgrade_tool for linux from rockchip:
https://docs.radxa.com/en/zero/zero3/low-level-dev/upgrade-tool
I downloaded this loader from radxa https://dl.radxa.com/rock3/images/loader/rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin and flashed it with:
sudo ./upgrade_tool wl 0x0 rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin
After that i put in the sdcard and it bootet straight (wait for min. 5 seconds) to armbian!
-
Hqnicolas reacted to cmuki in Efforts to develop firmware for H96 MAX M9 RK3576 TV Box 8G/128G
@xiaobao80I did manage to get 3.5mm working with the help of ChatGPT. The box is using HT5010. ChatGPT told me to disable the es8388 nodes, but it still works with them enabled.
My sai@2a61000 looks like this:
My ht5010-sound node looks like this:
I got bluetooth working with a hack from the Radxa forums here (creating a shell script and adding it to the root's crontab):
I tried to send audio from a TV to the rk3576 box - it did work, but the latency is too much for me.
The brown box has beefier cooling than the purple one.
I haven't recompiled, used my "stable" image from before to fix the 3.5mm issue, might need to recompile to try the GPU driver. Tried the rkr7.1 dts, but couldn't get it to work (might need additional time to look at it); armbian / linux-rockchip is still at rkr5.1.
-
Hqnicolas got a reaction from fedes_gl in 20USD 4GRAM RK3528 host (cheap dq08 tvbox)
For this 16xx displays we need to ask @Jean-Francois Lessard he was in contact with this drivers for a while.
these 16xx displays will be included in the mainline 6.18 drivers as tm16xx_i2c
make sure to adjust your device according to this repository to benefit from the update
https://github.com/jefflessard/tm16xx-display
-
Hqnicolas got a reaction from fedes_gl in 20USD 4GRAM RK3528 host (cheap dq08 tvbox)
leave a link for other users like @John Taylor to continue your work, also @fedes_gl could give a hand
-
Hqnicolas reacted to WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Scroll back and read all my posts from April 11 onwards (page 17). On Radxa's github there are Wifi/BT drivers for AIC8800. They are at version 4 now :
https://github.com/radxa-pkg/aic8800/releases/tag/4.0%2Bgit20250410.b99ca8b6-3
Also to fix BT :
sudo crontab -e
then add the line :
@reboot sudo hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
then reboot the H96.
-
Hqnicolas reacted to WanJiXianSheng in Efforts to develop firmware for H96 MAX M9 RK3576 TV Box 8G/128G
I've successfully booted Armbian from USB following the tutorial above, and I've managed to write Armbian from the USB drive to the eMMC. Now I want to create an Armbian firmware that can be directly flashed to the H96 M9/S eMMC using RKDevTool.exe, but I'm not very smart - even simple things take me a very long time to figure out. If any of you have this, please share it. If I manage to figure it out, I'll also share my findings.
-
Hqnicolas reacted to mrdeathjr in QPLOVE RK3566 (X88PRO Clone)
This case is a clone of X88PRO:
However i use HK1 rom because regular x88pro lack of many features like saf and without this dolphin-emu and others dont allow use external devices
another thing added in HK1 rom is cpu thermals, cpu load and memory load in status bar
but use this rom make frontal screen in tvbox dont work
In my case armbian works using information from this themes:
armbian used is based on station-m2 image from here:
https://www.armbian.com/station-m2/
https://github.com/armbian/community
HDMI - works (need to check hot plugging)
HDMI sound - works
USB 2.0 - works
USB 3.0 - works (using now usb 3.0 hub with power adapter)
LAN - Works
WLAN - Works
SD-Card booting and detection - works
RKDevTool installing and loading images on/from eMMC - works
GPU - works
Hardware video acceleration (except for browsers) - works
Dualboot if you flash new bootloader (SD-Card boot high priority) - works
Loader* from vontar work ok for use sd boot
*For use this follow steps in vontar guide, work ok in dual boot (armbian on sd and android in emmc)
sd used is a microdata 64gb from aliexpress (work ok):
https://es.aliexpress.com/item/1005007142224952.html
rk3566-box-demo.dtb dont recognize usb keyboard but using rk3566-box-demo_x96x6_24_custom.dtb from x96 x6 theme work correctly and hub work on usb 2.0 and on usb 3.0 too
also in usb 3.0 port have a 500GB HDD Laptop USB Drive
In other things can install xfce desktop, lightdm, xorg, chromium, firefox, nm (for lan), xarchiver, dolphin appimage
also can enable panvk using this:
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/panfrost_icd.aarch64.json PAN_I_WANT_A_BROKEN_VULKAN_DRIVER=1
from here:
Add some images of tvbox, i make a mod (i dont have experience with tools) for add a fan, results are very impressive this tvbox at max stay around 79 to 80 degrees but now with fan stay around 35 to 45 degrees
Images from system
Dolphin-emu 2506
-
Hqnicolas got a reaction from WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Author: @WINEDS
How to Build Armbian with Maxio Ethernet Support for H96 V56 (2025 Model)
If you own the H96 V56 (2025 model) TV box and want to run Armbian with full Gigabit Ethernet support, you might have noticed that the stock kernel doesn't always support the Maxio Ethernet chip out of the box.
In this guide, we’ll walk through the most accessible method to build a custom Armbian image with the necessary kernel modules using Windows Subsystem for Linux (WSL).
Refer to https://docs.armbian.com/Developer-Guide_Build-Preparation/ and note hardware requirements then in a Windows Powershell console select Ubuntu (using down arrow in title bar) and type to update the system:
sudo apt update sudo apt upgrade
Prerequisites
A Windows PC with WSL (Ubuntu) installed. The specific patch file (my_v2_patch.patch) and DTB file (my_board_df.dtb) mentioned in the documentation. Patience (the build process can take a few hours). Step 1: Prepare Your Environment
First, ensure your WSL instance has enough resources. Go to your WSL settings (typically via a .wslconfig file or the settings menu) and allocate about 75% of your CPU cores and RAM to ensure the build doesn't crash.
Open your Ubuntu terminal in Windows PowerShell and update your system:
sudo apt update
sudo apt upgrade
Step 2: Get the Armbian Build System
Clone the official Armbian build repository and enter the directory:
git clone [https://github.com/armbian/build](https://github.com/armbian/build) cd build
Step 3: Apply the Kernel Patch
You need to patch the kernel to support the specific hardware. Create the directory tree for the patch:
mkdir -p ./userpatches/kernel/archive/rockchip64-6.12
Using Windows File Explorer, copy your my_v2_patch.patch file into this newly created directory (rockchip64-6.12).
Step 4: Run the Build Command
Now, kick off the compilation process. We will build a Gnome desktop image based on the Noble release. Run the following command (copy and paste this as one line):
./compile.sh build BOARD=h96-tvbox-3566 BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED=browsers DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=yes RELEASE=noble
Step 5: Configure the Kernel (Crucial Step)
After the build runs for a while, the blue Kernel Configuration menu will appear. This is where you enable the Ethernet driver.
Use the arrow keys to navigate to Device Drivers.
Select Network device support. Select PHY Device support and Infrastructure. Scroll down to find MAXIO PHYs. Press the Space bar until you see an <M> next to it (this modularizes the feature). Once selected, use the Tab key to select Exit and keep selecting Exit until you leave the configuration menu. Select "Yes" when asked to save the kernel configuration. Step 6: Retrieve Your Image
The build will continue (potentially for a few hours). Once finished, your new image file will be located in:
output/images
Step 7: Post-Installation Setup
Flash the image to your SD card/eMMC and boot the device. To get the Ethernet working, you need to update the Device Tree Blob (DTB).
Copy the file my_board_df.dtb to /boot/dtb/rockchip/ on the device. Edit the boot environment file: sudo nano /boot/armbianEnv.txt Change the fdtfile line to point to your new DTB: fdtfile=rockchip/my_board_df.dtb
Press Ctrl+X, then Y to save.
Reboot your H96 V56, and you should now enjoy full Gigabit Ethernet speeds!
my_board_df.dtb
-
Hqnicolas reacted to WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
@王类 here are instructions to build an armbian image with maxio kernel module. It applies to current LTS kernel version 6.12.58. Its mostly cut and paste and uses windows so I hope you can try this!
@maka I'll keep working on your suggestions. Many thanks!
my_board_df.dtb
maxio_install.pdf
-
Hqnicolas reacted to WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
ok same error. The maxio module works with this snippet though :
mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <0x01>;
#size-cells = <0x00>;
phandle = <0xee>;
ethernet-phy@0 {
compatible = "ethernet-phy-id7b74.4411", "ethernet-phy-ieee802.3-c22"
reg = <0x00>;
status = "okay";
phandle = <0x51>;
};
};
-
Hqnicolas got a reaction from WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
That's nice,
I don't have this new board BOM, be free to add the variant, I think board variants are included using a .dtso file
for armbian i think we cannot include tirth party drivers, but any changes to .dts could be included into a .dtso file
that's a way to enable this variant into mainline armbian
-
Hqnicolas got a reaction from WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
You can ask for other users to publish they ROM images, but, the ideal way is to compile your own images, since this is a custom driver, I think it's a safe way to go.
You can share some pictures images from the board, so we can confirm your WiFi board and lan chip.
-
Hqnicolas got a reaction from WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
this link is private, please change it to public,
-
Hqnicolas reacted to WINEDS in Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Please open the case and post images of your board so we can see what Ethernet chip you have.
-
Hqnicolas reacted to WINEDS in X98k pro (rk3566 4gb/32gb Android11) by Shenzhen Amedia Technology. First small success.
In this case ethernet chip is realtek so it should be supported by armbian kernel? So problem is to find or make a modern DTS for this board?
