Jump to content

WINEDS

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by WINEDS

  1. 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/
  2. 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
  3. 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.
  4. 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
  5. In case someone else needs MAX0621 support here are the original files sent to me from Maxio Tech and my modified patch file (my_v1_patch.patch) for kernel 6.12.24 Then : sudo modprobe -r dwmac_rk sudo modprobe -a maxio sudo modprobe -a dwmac_rk I made a startup script to do that but there must be a better way? maxio also needs to be selected (M) in kernel config phase of build script (Device Drivers -> Network Device Support -> PHY Deice Support and Infrastructure) Release Note.txt v1_patch.patch maxio.c README my_v1_patch.patch
  6. Yes I guess at AUD3.15 dollar SDIO module on Aliexpress we can't expect much. Although maybe SDIO bandwidth is the limiting factor? alarm@h96-tvbox-3566:~/Desktop$ sudo iw dev wlan0 link Connected to 48:b4:24:48:96:46 (on wlan0) SSID: wireless+ freq: 5180.0 RX: 1341373709 bytes (1032430 packets) TX: 525423972 bytes (535411 packets) signal: -38 dBm rx bitrate: 286.7 MBit/s 40MHz HE-MCS 11 HE-NSS 1 HE-GI 0 HE-DCM 0 tx bitrate: 286.7 MBit/s 40MHz HE-MCS 11 HE-NSS 1 HE-GI 0 HE-DCM 0 My Ideapad sitting next to the H96 connects to the same AP and does much better : paul@paul-IdeaPad-5-2-in-1-14AHP9:~$ sudo iw dev wlp2s0 link Connected to 48:b4:24:48:96:46 (on wlp2s0) SSID: wireless+ freq: 5180.0 RX: 4168818505 bytes (5516108 packets) TX: 12131143 bytes (14907828 packets) signal: -41 dBm rx bitrate: 2401.9 MBit/s 160MHz HE-MCS 11 HE-NSS 2 HE-GI 0 HE-DCM 0 tx bitrate: 2161.3 MBit/s 160MHz HE-MCS 10 HE-NSS 2 HE-GI 0 HE-DCM 0 bss flags: short-slot-time dtim period: 2 beacon int: 100
  7. AIC8800 modules spam dmesg with debug messages. To suppress add aic8800.conf to etc/modprobe.d/ see : https://github.com/radxa-pkg/aic8800/issues/15 sudo nano /etc/modprobe.d/aic8800.conf add: options aic8800_fdrv_sdio aicwf_dbg_level=0 options aic_load_fw_sdio aicwf_dbg_level=0 Edit : WIFI speed still limited to about 100Mbps with H96 about 2m from access point. Anybody else see this? aic8800.conf
  8. Thanks maka for replying. Issue is resolved and Ethernet is working now. I did not read the first email from Maxio tech properly and I was sent files for MAE0621A-Q3C rather than the MAE0621A-Q2C which I have. Maxio tech kindly sent me files for MAE0621A-Q2C yesterday and I managed to compile it into the current kernel 6.12.24
  9. Maxio Tech kindly sent me some documentation and files. I managed to get the MAE0621 driver compiled into kernel 6.12.24. I had to make some new patches. But I am getting a DMA engine initialization failed message (see attached) in dmesg and Ethernet still doesn't work : [ 157.100705] rk_gmac-dwmac fe010000.ethernet end0: PHY [stmmac-0:00] driver [MAE0621A-Q2C Gigabit Ethernet] (irq=POLL) [ 158.104686] rk_gmac-dwmac fe010000.ethernet: Failed to reset the dma [ 158.105304] rk_gmac-dwmac fe010000.ethernet end0: stmmac_hw_setup: DMA engine initialization failed [ 158.106119] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Hw setup failed Do I also need to update uboot for MAE0621? The current uboot patches I have from the vendor apply to phy_init() which has been deprecated. Or maybe this is a DTB issue? Any hints or advice would be kindly appreciated. dmesg_error.txt
  10. I have a temp fix for the WIFI on newer hardware with AIC8800 SDIO WIFI module. Download or wget : https://github.com/radxa-pkg/aic8800/releases/download/3.0%2Bgit20240327.3561b08f-4/aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb https://github.com/radxa-pkg/aic8800/releases/download/3.0%2Bgit20240327.3561b08f-4/aic8800-sdio-dkms_3.0+git20240327.3561b08f-4_all.deb Then : sudo dpkg -i aic8800-firmware_3.0+git20240327.3561b08f-4_all.deb sudo dpkg -i aic8800-sdio-dkms_3.0+git20240327.3561b08f-4_all.deb
  11. I've just got one of these boxes and ethernet does not work in armbian. It has a MAE0621A network chip. Also WIFI chip is https://www.aliexpress.com/item/1005007622558922.html which is think is similar to AIC8800DC.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines