WINEDS
Members-
Posts
22 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Efforts to develop firmware for Lemfo HK1 RBOX K8S 4G/64G
WINEDS replied to Panda's topic in Rockchip CPU Boxes
As the wifi device is the same please see my last post in this thread : Viz : Also to fix BT : sudo crontab -e then add the line : @reboot sudo hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep It could also be your dtb though. You could decompile my dtb from this thread and use the Bluetooth related section. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
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. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
@Hqnicolas thanks for your presentation. I found I made an error : mkdir -p ./build/userpatches/kernel/archive/rockchip64-6.12 should be : mkdir -p ./userpatches/kernel/archive/rockchip64-6.12 as the current directory is build at that point. For wsl installation @NicoD made a great video here : -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
@王类 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 -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
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>; }; }; -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
OK do you mean boot with ethernet working using the maxio module then change DTB and reboot? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
@makaOK I corrected my error and tried your suggestion but i get in dmesg : [ 47.378829] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 47.380072] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19) -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
@maka Thanks for this suggestion. I'll look further into this. The reason I made that change was because you suggested it here : It works well to auto load the maxio module on startup without resorting to manual modprobe commands. Is it really possible to use a generic driver for this maxio NIC chip? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
OK you have a Maxio MAE0621 ethernet chip. @Hqnicolas do you have any suggestions about the best way forward for this? Can I fork armbian github and then try to create a PR to support MAE0621 (I haven't done this before)? Or try to make a dpkg for Maxio ethernet module install (difficult I think)? Or just persist with building a custom armbian image (not sure the patch still works with current LTS kernel)? Edit : The last patch I posted fails on 6.12.58 (drivers/net/ethernet/stmicro/stmmac/stmmac_main.c has changed) I'll try to fix it and post an updated patch. Edit : Build works with new patch file. Tested build on a SD card and Ethernet works. I'll try to put together some documenation on how to build over the next few days. my_v2_patch.patch -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
Please open the case and post images of your board so we can see what Ethernet chip you have. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
Others may chime in but I really think you are going to need to get access to a suitable computer and compile armbian with kernel patches from here : https://github.com/CoreELEC/linux-amlogic/pull/13 You will need a PC running Ubuntu 22.04 or emulated using something like VirtualBox. @GBEM made a good guide here : https://green.bug-eyed.monster/armbian-on-the-h96-max-v56-android-tv-box/ -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
I got SPDIF working. Just change the DTS node status to "okay". viz : spdif@fe460000 { compatible = "rockchip,rk3568-spdif"; reg = <0x00 0xfe460000 0x00 0x1000>; interrupts = <0x00 0x66 0x04>; clock-names = "mclk\0hclk"; clocks = <0x0f 0x5f 0x0f 0x5c>; dmas = <0x6f 0x01>; dma-names = "tx"; pinctrl-names = "default"; pinctrl-0 = <0x7e>; #sound-dai-cells = <0x00>; status = "okay"; phandle = <0xc4>; }; Edit : @Andre B The compatible = part was only to make the driver module load automatically. The driver module itself had to be first compiled into the kernel using source code from the chip vendor. I suggest you try my DTB (it might be close to what you need) and then post your dmesg as a file (sudo dmesg > dmesg.txt). my_rk3566-h96-tvbox3.dts my_rk3566-h96-tvbox3.dtb -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
Bluetooth is fixed with AIC8800 wifi module. Credit to @pocosparc Changed DTS Bluetooth node as per at least change suggestion. @pocosparc did you confirm optical SPDIF as working? My port is not illuminated. -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
WINEDS replied to Hqnicolas's topic in Rockchip CPU Boxes
Many thanks Maka! Works like a charm. maxio loads automatically now. No need for modprobe Server listening on 5201 (test #2) ----------------------------------------------------------- Accepted connection from 192.168.0.25, port 45188 [ 5] local 192.168.0.26 port 5201 connected to 192.168.0.25 port 45192 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 111 MBytes 929 Mbits/sec [ 5] 1.00-2.00 sec 112 MBytes 942 Mbits/sec [ 5] 2.00-3.00 sec 112 MBytes 942 Mbits/sec [ 5] 3.00-4.00 sec 112 MBytes 941 Mbits/sec [ 5] 4.00-5.00 sec 112 MBytes 942 Mbits/sec [ 5] 5.00-6.00 sec 112 MBytes 941 Mbits/sec [ 5] 6.00-7.00 sec 112 MBytes 942 Mbits/sec [ 5] 7.00-8.00 sec 112 MBytes 942 Mbits/sec [ 5] 8.00-9.00 sec 112 MBytes 942 Mbits/sec [ 5] 9.00-10.00 sec 112 MBytes 942 Mbits/sec [ 5] 10.00-10.01 sec 1.50 MBytes 913 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.01 sec 1.10 GBytes 940 Mbits/sec receiver ----------------------------------------------------------- Tail of lsmod : maxio 12288 1 dwmac_rk 28672 0 stmmac_platform 20480 1 dwmac_rk stmmac 241664 3 stmmac_platform,dwmac_rk pcs_xpcs 24576 1 stmmac rk817_charger 20480 0 rtc_rk808 16384 1 rockchipdrm 180224 8 dw_hdmi_qp 20480 1 rockchipdrm dw_hdmi 45056 2 dw_hdmi_i2s_audio,rockchipdrm cec 45056 2 dw_hdmi_cec,dw_hdmi dw_mipi_dsi 16384 1 rockchipdrm analogix_dp 40960 1 rockchipdrm drm_display_helper 131072 4 rockchipdrm,dw_hdmi,analogix_dp,dw_hdmi_qp hid_logitech_hidpp 49152 0 hid_logitech_dj 32768 0
