Jump to content

Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G


Hqnicolas

Recommended Posts

We dont know what resolution are you decoding but 1440p is something hantro cant do. Maybe 720p upscaled to 1440p. If that is the case you CPU usage is in concordante with VPU decoding.

Link to comment
Share on other sites

Posted (edited)

Also Runing android APK's on H96 Max with this waydroid image:

https://forum.armbian.com/topic/38184-waydroid-for-rk3588-with-armbian-edge-panthor-kernel-68/#comment-188934

No Vaapi on android video players....
 

Testing:
https://mdn.github.io/dom-examples/webgl-examples/tutorial/sample4/

https://mdn.github.io/dom-examples/webgl-examples/tutorial/sample5/

https://mdn.github.io/dom-examples/webgl-examples/tutorial/sample6/

https://mdn.github.io/dom-examples/webgl-examples/tutorial/sample7/

https://mdn.github.io/dom-examples/webgl-examples/tutorial/sample8/

 

Testing:
https://www.wirple.com/bmark/

 

Testing:

Quote

SD Card to EMMC copy speed: 130 ~ 60mb/s
@h96-tvbox-3566:~$ sudo dd if=/dev/mmcblk1p1 of=~/root.img bs=4096 status=progress
[sudo] password for nicolas:
8737087488 bytes (8,7 GB, 8,1 GiB) copied, 145 s, 60,3 MB/s
2153984+0 records in
2153984+0 records out
8822718464 bytes (8,8 GB, 8,2 GiB) copied, 146,985 s, 60,0 MB/s

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)


for VAAPI we need https://github.com/rockchip-linux/mpp

17 hours ago, maka said:

Seems that you want to try to use mpp with mainline kernel. That's not possible. The chromium PPA is for legacy kernel and dtb. In mainline kernel there is an VPU driver called hantro for rk3566 that works.

 

Also testing Wine on linux aarch64

https://github.com/neofeo/BOX86-BOX64-WINEx86-TUTORIAL

https://archlinuxarm.org/packages/aarch64/vulkan-panfrost
https://www.cnx-software.com/2023/07/21/arm-panfrost-is-now-the-gpu-driver-for-the-linux-community/

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

 

Kernel Vendor 6.1.43
 

sudo apt-get install armbian-config
sudo armbian-config
# SYSTEM
# FREEZE
sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update
sudo apt dist-upgrade
sudo apt install mali-bifrost-firmware rockchip-multimedia-config
sudo apt install libv4l-rkmpp -y
sudo apt install v4l-utils -y
sudo apt install ffmpeg -y
sudo apt install glmark2-es2-wayland -y


 

I think I will need to compile an legacy kernel to this device, since this fixes are linked to rk3588

 

I made this file to compile Armbian Vendor 6.1:

https://drive.google.com/file/d/1YacPyumHwJ5WYqnKlGUgfT86rNOEzMqx/view?usp=sharing


I made this file to compile Armbian Legacy 5.1:

https://drive.google.com/file/d/1a2zBw5HxXJeWjTe2xCvKuLBTIhNu8CHy/view?usp=sharing

 

On 3/22/2023 at 1:15 PM, NicoD said:

Here all my gathered info :

 

Armbian Jammy Gnome kernel 5.10.110-rockchip


Instructions
Start with Armbian Jammy CLI/server
To install the wayland blob GPU driver
wget https://github.com/numbqq/mali-debs/blob/master/jammy/arm64/Edge2/wayland/linux-gpu-mali-wayland_1.0-g610-20220510_arm64.deb
and install it into the system with the command :
sudo dpkg -i --force-overwrite linux-gpu-mali-wayland_1.0-g610-20220510_arm64.deb

For panfork and VPU
sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update
sudo apt dist-upgrade
sudo apt install mali-g610-firmware rockchip-multimedia-config libv4l-rkmpp

Install Gnome desktop
sudo apt install ubuntu-desktop

And additional packages from multimedia repo : https://forum.radxa.com/t/introduction-to-rockchip-multimedia-ppa-for-ubuntu-jammy/14537
sudo apt install chromium-browser gstreamer1.0-rockchip clapper ffmpeg kodi moonlight-embedded moonlight-qt obs-gstreamer obs-studio

Build Box86/64, install Wine/PPSSPP and build Xonotic
https://github.com/NicoD-SBC/armbian-gaming

 

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

Spoiler
[  675.158595] OpenVFD: Version: V1.4.4
[  675.158649] OpenVFD: vfd_gpio_clk:           #0 = 0x00; #1 = 0x0B; #2 = 0x00;
[  675.158674] OpenVFD: vfd_gpio_dat:           #0 = 0x00; #1 = 0x0C; #2 = 0x00;
[  675.158698] OpenVFD: vfd_gpio_stb:           #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[  675.158720] OpenVFD: vfd_gpio0:              #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[  675.158744] OpenVFD: vfd_gpio1:              #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[  675.158764] OpenVFD: vfd_gpio2:              #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[  675.158785] OpenVFD: vfd_gpio3:              #0 = 0x00; #1 = 0x00; #2 = 0xFF;
[  675.158805] OpenVFD: vfd_gpio_protocol:      #0 = 0x00; #1 = 0x00;
[  675.158829] OpenVFD: vfd_chars:              #0 = 0x00; #1 = 0x01; #2 = 0x02; #3 = 0x03; #4 = 0x04;
[  675.158858] OpenVFD: vfd_dot_bits:           #0 = 0x00; #1 = 0x01; #2 = 0x03; #3 = 0x02; #4 = 0x04; #5 = 0x05; #6 = 0x06;
[  675.158881] OpenVFD: vfd_display_type:       #0 = 0x01; #1 = 0x00; #2 = 0x00; #3 = 0x06;
[  675.158908] OpenVFD: Detected gpio chips:    gpio0, gpio1, gpio2, gpio3, gpio4.
[  675.158926] OpenVFD: "gpio0" chip found.     base = 0, pin count = 32, pin = 11, offset = 11
[  675.158949] OpenVFD: "gpio0" chip found.     base = 0, pin count = 32, pin = 12, offset = 12
[  675.158967] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)
[  675.158981] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)
[  675.158993] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)
[  675.159005] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)
[  675.159016] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)
[  675.160038] OpenVFD: Select FD6551 controller
[  675.160178] OpenVFD: SW I2C interface intialized (address = 0x0000 (N/A), MSB mode, pull-ups off)
h96-tvbox-3566:driver:% sudo gpioinfo                                                                                     <master ✗>
gpiochip0 - 32 lines:
        line   0:      unnamed       unused   input  active-high
        line   1:      unnamed       unused   input  active-high
        line   2:      unnamed       unused   input  active-high
        line   3:      unnamed  "interrupt"   input  active-high [used]
        line   4:      unnamed         "cd"   input   active-low [used]
        line   5:      unnamed "vcc5v0-otg-regulator" output active-high [used]
        line   6:      unnamed "vcc5v0-host-regulator" output active-high [used]
        line   7:      unnamed       unused   input  active-high
        line   8:      unnamed       unused   input  active-high
        line   9:      unnamed       unused   input  active-high
        line  10:      unnamed       unused   input  active-high
        line  11:      unnamed    "openvfd"   input  active-high [used]
        line  12:      unnamed    "openvfd"   input  active-high [used]

 

I made OpenVFD work. There are some driver changes needed to get it to work. 

 

I commited everyting into ArmBoardBringUp git repo with the tutorial on how to get it to work README.txt. There are still some minor tweaks needed as currently the time is upside down (conf file changes) and also the wrong icons are on (also inversed). I will play with these after a few days, but you can try them out :)

 

BTW Nice work on the video acceleration. IR remote codes are also there in order to be committed and compiled. Maybe KODI is next?

 

IMG_20240428_230221.thumb.jpg.dc951298e49532e290a7f0944d222cee.jpg

Link to comment
Share on other sites

Posted (edited)
On 4/28/2024 at 6:37 PM, pocosparc said:

I made OpenVFD work.


i never seen this on linux.....

I think @Kenneth Hidalgo have the answer to legacy linux:
 

On 6/7/2023 at 8:35 PM, Kenneth Hidalgo said:

 

This is the Linux Legacy DTB from Kernel 4.19

rk3566-h96-max-linux-legacy.dtsrk3566-h96-max-linux-legacy.dtb

 

To make this 4.19 dtb work with kernel 5.10

You will need to apply this patch:

Quote

diff --git a/../stable-4.19-rock3/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts

index 2287fbfda..07323913b 100644

--- a/../stable-4.19-rock3/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts

+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts

@@ -4,6 +4,7 @@

 #include <dt-bindings/pinctrl/rockchip.h>

 #include <dt-bindings/input/rk-input.h>

 #include <dt-bindings/display/drm_mipi_dsi.h>

+#include <dt-bindings/display/rockchip_vop.h>

 #include <dt-bindings/sensor-dev.h>

 #include "rk3568.dtsi"

 #include "rk3568-rock-3a-display.dtsi"

@@ -13,6 +14,11 @@

        model = "Radxa ROCK3 Model A";

        compatible = "radxa,rock3a", "rockchip,rk3568";

 

+ aliases {

+ mmc0 = &sdmmc0;

+ mmc1 = &sdhci;

+ };

+

        fiq_debugger: fiq-debugger {

                compatible = "rockchip,fiq-debugger";

                rockchip,serial-id = <2>;

@@ -323,6 +329,8 @@

 };

 

 &gpu {

+ clock-names = "gpu", "bus";

+ interrupt-names = "gpu", "mmu", "job";

        mali-supply = <&vdd_gpu>;

        status = "okay";

 };

@@ -994,12 +1002,12 @@

 

                soc_slppin_slp: soc_slppin_slp {

                        rockchip,pins =

- <0 RK_PA2 RK_FUNC_1 &pcfg_pull_up>;

+ <0 RK_PA2 1 &pcfg_pull_up>;

                };

 

                soc_slppin_rst: soc_slppin_rst {

                        rockchip,pins =

- <0 RK_PA2 RK_FUNC_2 &pcfg_pull_none>;

+ <0 RK_PA2 2 &pcfg_pull_none>;

                };

        };

 

@@ -1051,3 +1059,8 @@

                };

        };

 };

+

+&vp0 {

+ rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>;

+ rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART0>;

+};

 

We can just use the legacy kernel device tree from 4.19 vendor kernel.

Just some fixes are needed:

1, add these properties to node &gpu to support panfrost driver:

Quote

clock-names = "gpu", "bus";

interrupt-names = "gpu", "mmu", "job";

 

2, change RK_FUNC_1 to 1 because this is not defined in kernel 5.10

3, add &vp0 node to support video output:

 

Quote

&vp0 {

       rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>;

       rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART0>;

};

 

Example: 

https://github.com/ginkage/mirrors/commit/fbd247d4c52a11a74c2efbe276ebff7c27fc6da5

 

 

 

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

This is the firefly DTB and DTS for kernel 5.10 extracted from firefly image 

Found some 5.10 kernel: https://drive.google.com/file/d/1aTfHrRatIguGOz5cXD9X-CLOK4E1QdTN/view?usp=drive_link

found other 5.10 kernel: https://drive.google.com/drive/folders/1tj9VHS3hv41oF0zriFiWexaVtXZFnqEZ

 

Testing Kernel 5.10 with this DTB File: https://drive.google.com/file/d/1a2zBw5HxXJeWjTe2xCvKuLBTIhNu8CHy/view?usp=sharing

@pocosparc I also did this Test Image to develop a DTB file to H96 MAX Kernel Legacy 5.10
https://drive.google.com/file/d/1cGmIQMIaRy1OUoHydAu1qimYmjNmwPCE/view?usp=sharing

 

 

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

Based on firefly 5.10 kernel DTB I did the rk3566 h96max kernel 6.10 DTB

https://wiki.pine64.org/wiki/Mainline_Hardware_Decoding
Since kernel 6.6 dont have Hardware acceleration to RK3566 we only have this option

only Hantro, not rkvdec2, so with a maximum resolution of 1080p for now

To use Vendor Kernel:

Test Image: H96 MAX jammy Vendor 6.1 Kernel Gnome Desktop

Test Image: H96 MAX jammy Legacy 5.1 Kernel Gnome Desktop

Or compile your own Vendor Kernel 6.1:
https://drive.google.com/file/d/1YacPyumHwJ5WYqnKlGUgfT86rNOEzMqx/view?usp=sharing

it boot, but it will need a better dtb....

Or compile your own Legacy Kernel 5.1:

https://drive.google.com/file/d/1a2zBw5HxXJeWjTe2xCvKuLBTIhNu8CHy/view?usp=sharing

it boot, but it will need a better dtb....

 

############################################
Atenção, aviso de segurança, atención, beware, attention!
############################################

IF YOU FLASH VENDOR KERNEL 6.1 TO RK3566 H96 BOX
and the flash goes wrong, to flash a new image you will
need to toothpick the board on GND and CLK from EMMC
and this pins are sensible like paint (cheap board)

############################################
Atenção, aviso de segurança, atención, beware, attention!
############################################

if you don't have SD card Reader Onboard

To change DTB inside image for reflash:

sudo losetup --partscan /dev/loop14 disk_image.img
mkdir /tmp/disk_image
sudo mount /dev/loop14p1 /tmp/disk_image
####### DROP the new File to /tmp/disk_image/boot/dtb/rockchip ##########
sudo fstrim -v /tmp/disk_image
sudo umount /tmp/disk_image
sudo losetup --detach /dev/loop14

 

 

Quote

IMG_20240330_150645_1.thumb.jpg.8aaeba7b868f7010bf9edcc2567f969d.jpg.a6de0a7d186d612cd1948fca684b498b.jpg.84b04568102103d34246dd3de830f886.jpg

 

 

This DTB Show Some Errors ON LOG:
 [   94.602483] rockchip-i2s-tdm fe410000.i2s: ASoC: error at snd_soc_dai_hw_params on fe410000.i2s: -22
[   94.602638]  fe410000.i2s-rk817-hifi: ASoC: error at __soc_pcm_hw_params on fe410000.i2s-rk817-hifi: -22

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

I start to make System changes to H96 MAX TV-Box

To backup my device:

sudo dd if=/dev/mmcblk1 of=/DATA/disk/disk_image.img status=progress bs=4096


my "/DATA/disk/" is SMB Gigabit LAN SSD
Mounted by /etc/fstab

//10.1.0.1/disk /DATA/disk cifs username=admin,password=weakpasswd,iocharset=utf8,file_mode=0777,dir_mode=0777,x-systemd.automount,x-systemd.idle-timeout=60



To shrink the Image from 64GB to 6GB for Backup Files:

Quote

sudo losetup --partscan /dev/loop14 disk_image.img

'
sudo e2fsck -f /dev/loop14p1

'
sudo resize2fs /dev/loop14p1 -M

'
block_count=$(sudo tune2fs -l /dev/loop14p1 | grep 'Block count' | sed 's/[^0-9]//g')

'
block_size=$(sudo tune2fs -l /dev/loop14p1 | grep 'Block size' | sed 's/[^0-9]//g')

'
fs_size=$((block_count * block_size))

'
sudo losetup --detach /dev/loop14

'
sudo losetup --partscan /dev/loop14 disk_image.img
start=$(sudo parted /dev/loop14 unit B print --json | jq -r '.disk.partitions[0].start[0:-1]')
end=$((start + fs_size))

'

sudo parted /dev/loop14 resizepart 1 ${end}B
blocks=$(sudo parted /dev/loop14 unit s print --json | jq -r '.disk.partitions[0].end[0:-1]')
block_size=$(sudo parted /dev/loop14 unit s print --json | jq -r '.disk["physical-sector-size"]')
end=$((blocks * block_size))

'
sudo losetup --detach /dev/loop14
truncate -s $end disk_image.img
sudo losetup --partscan /dev/loop14 disk_image.img
mkdir /tmp/disk_image
sudo mount /dev/loop14p1 /tmp/disk_image
sudo fstrim -v /tmp/disk_image
sudo umount /tmp/disk_image
sudo losetup --detach /dev/loop14


 

Edited by Hqnicolas
Link to comment
Share on other sites

A thank you to @Hqnicolas and success report.  Did a trunk build with kernel 6.6 and flashed using rkdevtool and your instructions (had a little trouble finding the required H96-MAX-8gb-MiniLoaderAll.bin buried in the threads), and it worked like a charm.  I did need to supply an NVRAM file for the wifi adapter, that is missing from your wifi bringup instructions.  I found one in the libreelec repo that did not work, I ended up extracting the factory image from the h96max website and grabbing the stock nvram_bcm4335.txt, renaming to brcmfmac4335-sdio.txt and placing in /lib/firmware/brcm.  Once that was done, wireless worked.  Display works, HDMI audio works, video acceleration sort of works but drops frames under any load and throws audio sync warnings, i chock that up to hantro not being as developed as rkvdec2?  Chromium appears to have acceleration too.  Great result for a first try trunk build. 

 

cd /lib/firmware/brcm/
sudo wget https://github.com/CoreELEC/brcmfmac_sdio-firmware-aml/raw/master/firmware/brcm/fw_bcm4335b0_ag.bin
sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.h96-TVbox,rk3566.bin
sudo cat > /lib/firmware/brcm/brcmfmac4335-sdio.txt << "EOF"
# bcm94335wlcspMS_ES50_RC171p24p23_04052013_AM_mdfy_PAparam.txt -- 4/5/2013 by Murata, based on bcm94335wlcspMS_ES50_RC171p24p20_04022013_AM.txt, changed PA parameters and txidxcap parameters and ccode.
# bcm94335wlcspMS_ES50_RC171p24p20_04022013_AM.txt -- 4/2/2013 by Broadcom Corporation
# Use with AARDVARK_REL_6_30_171_24_23 -- Murata BCM4335 WLCSP 11AC Module
# Sample variables file for Murata Type-XJ ES5.0 (0x00 0x11) -- bcm94335wlcspMS_AM_P400.txt as original
sromrev=11
boardrev=0x1500
boardtype=0x064b
boardflags=0x10401001
boardflags2=0x0
#updated boardflags3 for forcing to enable external LPO
boardflags3=0x0800c08b
macaddr=00:90:4c:c5:12:38
#ccode modified by Murata
#ccode=0
ccode=XS
regrev=0
antswitch=0
pdgain5g=1
pdgain2g=1
tworangetssi2g=0
tworangetssi5g=0
femctrl=4
vendid=0x14e4
devid=0x43ae
manfid=0x2d0
#prodid=0x052e
nocrc=1
#otpimagesize=502
xtalfreq=37400
extpagain2g=1
extpagain5g=1
rxgains2gelnagaina0=2
rxgains2gtrisoa0=6
rxgains2gtrelnabypa0=1
rxgains5gelnagaina0=3
rxgains5gtrisoa0=5
rxgains5gtrelnabypa0=1
rxchain=1
txchain=1
aa2g=1
aa5g=1
ag0=0
ag1=0
tssipos5g=1
tssipos2g=1
#PA parameters (2G20M/2G40M/5G20M/5G40M/5G80M)
#PA parameters modified by Murata
#pa2ga0=-208,6208,-764
#pa2ga1=-203,6429,-793
#pa5ga0=-167,5736,-685,-157,5669,-670,-157,5548,-665,-141,5621,-664
#pa5ga1=-101,6543,-735,-99,6452,-731,-147,5743,-695,-75,6468,-723
#pa5ga2=-172,5903,-708,-160,5868,-698,-113,6264,-722,-125,5915,-684
pa2ga0=0xff31,0x1759,0xFD1D
pa2ga1=0xff35,0x18BB,0xFCEC
pa5ga0=0xff78,0x1715,0xFD49,0xff89,0x1714,0xFD57,0xff86,0x1652,0xFD62,0xffa9,0x1760,0xFD5E
pa5ga1=0xff56,0x1596,0xFD5F,0xff88,0x1764,0xFD45,0xff89,0x1632,0xFD65,0xff69,0x160E,0xFD49
pa5ga2=0xff5a,0x1667,0xFD4E,0xff5f,0x15F7,0xFD5E,0xff5a,0x1531,0xFD68,0xff6e,0x1587,0xFD6A
# Default Target Power for 2G -- 17dBm(11)/14dBm(54)/13dBm(MCS7,MCS8)/16dBm(6,MCS0)
maxp2ga0=74
cckbw202gpo=0
cckbw20ul2gpo=0
dot11agofdmhrbw202gpo=0x6666
ofdmlrbw202gpo=0x0022
mcsbw202gpo=0x88866662
# Default Target Power for 5G -- 14dBm(54)/13dBm(HT20-MCS7,VHT20-MCS8)/12dBm(HT40-MCS7,VHT40-MCS9)/11dBm(VHT80-MCS8/MCS9)/16dBm(6,20HT-MCS0)
maxp5ga0=74,74,74,74
# Low
mcslr5glpo=0
mcsbw205glpo=0x88866662
mcsbw405glpo=0xAAA88884
mcsbw805glpo=0xCCCAAAA6
# Mid
mcslr5gmpo=0
mcsbw205gmpo=0x88866662
mcsbw405gmpo=0xAAA88884
mcsbw805gmpo=0xCCCAAAA6
# High
mcslr5ghpo=0
mcsbw205ghpo=0x88866662
mcsbw405ghpo=0xAAA88884
mcsbw805ghpo=0xCCCAAAA6
#20MHz High Rate
sb20in40hrpo=0x0
sb20in80and160hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
#40MHz High Rate
sb40and80hr5glpo=0x0
sb40and80hr5gmpo=0x0
sb40and80hr5ghpo=0x0
#20MHz Low Rate
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
#40MHz Low Rate
sb40and80lr5glpo=0x0
sb40and80lr5gmpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
tssifloor2g=80
tssifloor5g=160,190,240,260
#rpcal:use with 171.17 or later, compensates filter ripple
rpcal2g=0x0
rpcal5gb0=0x0
#cckdigfilttype[0-7] 0:default
cckdigfilttype=2
phycal_tempdelta=25
#GPIO 0 for SDIO HW OOB interruption
muxenab=0x10
#sd_gpout=0
#sd_oobonly=1
rssicorrnorm_c0=-3,-2
rssicorrnorm5g_c0=-1,0,-3,-1,0,-3,-3,-2,-4,-3,-2,-4
#txidxcap2g and txidxcap5g modified by Murata
#txidxcap2g=32
#txidxcap5g=44
txidxcap2g=36
txidxcap5g=36
paparambwver=1
EOF
sudo rmmod brcmfmac_wcc brcmfmac brcmutil
modprobe brcmfmac

 

brcmfmac4335-sdio.txt

Link to comment
Share on other sites

Posted (edited)
On 5/1/2024 at 5:08 PM, pessimism said:

i chock that up to hantro not being as developed as rkvdec2? 


thats why I'm making an Kernel legacy rockchip 5.10 righ now.
the video codecs make difference

Will also try this compilation

############################################
Atenção, aviso de segurança, atención, beware, attention!
############################################

IF YOU FLASH VENDOR KERNEL 6.1 TO RK3566 H96 BOX
and the flash goes wrong, to flash a new image you will
need to toothpick the board on GND and CLK from EMMC
and this pins are sensible like paint (cheap board)

############################################
Atenção, aviso de segurança, atención, beware, attention!
############################################

 

Quote

IMG_20240330_150645_1.thumb.jpg.8aaeba7b868f7010bf9edcc2567f969d.jpg.a6de0a7d186d612cd1948fca684b498b.jpg.84b04568102103d34246dd3de830f886.jpg

 

 

https://drive.google.com/file/d/1GJktfxVZQpIDEB576hMMtfqa28Tuxg7z/view?usp=drive_link
@pocosparc this image is for test Kernel 6.1 dtb's
it boot, but it will need a better dtb....
https://drive.google.com/file/d/1cGmIQMIaRy1OUoHydAu1qimYmjNmwPCE/view?usp=sharing
@pocosparc this image is for test Kernel 5.1 dtb's
it boot, but it will need a better dtb....

 

Edited by Hqnicolas
Link to comment
Share on other sites

Posted (edited)

@pocosparc Can you fix the HDMI Audio?

This is the DTS to compile armbian Kernel 5.10 Legacy
https://drive.google.com/file/d/1a2zBw5HxXJeWjTe2xCvKuLBTIhNu8CHy/view?usp=sharing

 

if you compile the DTS file on Rockchip Kernel 5.1 Vendor Kernel the device will return this errors on startup log:

sudo nano /var/log/dmesg

ERROR: NO HDMI AUDIO!

 

Edited by Hqnicolas
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines