-
Posts
628 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by Hqnicolas
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@paradigman everything I have here is to collaborate with development. The image you can use for fun is the Rockchip Kernel 6.1: on the first boot you will need to resize the partition to full EMMC using the "disc" GUI if it doesn't work you can try switch partition type to linux filesystem, resize, and go back to EFI system it wont have Wifi and Bluetooth enabled but you can try to search for a fix. if you're prefer Cable network this image is perfect for parsec and other things If you want a Official Mainline Kernel 6.6 Without VPU Video Player You wiil find the H96 on Armbian 24.8.0-trunk.6 https://github.com/armbian/community/releases/tag/24.8.0-trunk.6 you can drop the wifi drivers normally. https://drive.google.com/file/d/1B1LmAylalETcnBEWiPiJHL0MjK5xlIV4/view?usp=sharing cd /lib/firmware/brcm/ sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.h96-TVbox,rk3566.bin sudo reboot now the method to flash this images on H96-MAX is the same as v1.1 https://forum.armbian.com/topic/28895-efforts-to-develop-firmware-for-h96-max-v56-rk3566-8g64g/?do=findComment&comment=186851 -
I think you need to check VOP config over DTS [ 7.670534] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 7.670617] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 7.670647] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 8.064408] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate [ 8.064415] rockchip-dmc dmc: failed to get vop pn to msch rl
-
@jock your afirmation is 100% righ when we talk about BSP v5.1 and BSP v6.1 with RKVPU enabled, @maka is a mainline gui talking about using hantro VPU that dont bypass V4L2 and it smashes CPU usage From what I read about long-term goals to be achieved in the mainline kernel, video decode on Rockcheap devices is not a priority. It's at these times that I start to recognize Broadcom's efforts. rockchip looks more like a burried corpse
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
i think this will be the next step here to... I didn't have that luck in the silicon lottery. My board stops at 1056mhz DDR 1080P without drop frames, how about CPU usage? 80% all cores? while video Player? Rockchip BSP kernel is a mess -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
with RK3566? kernel 6.9??? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
are you in kernel 6.6 mainline? Desktop Usage? Video player/Remotedesktop? -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@maka The main advantage for Joshua against Armbian is this vpu support can we bring this VPU to armbian? Some Kernel Config need to be changed on Joshua riek to enable wifi and it turn 100% true since I use this kernel config to build this file: https://github.com/Joshua-Riek/ubuntu-rockchip/pull/1179 -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Joshua Riek VPU on Armbian Kernel 6.1 Vendor img File, Desktop Kernel 6.1 Joshua Riek: https://github.com/hqnicolas/ubuntu-rockchip/actions ✔️ HDMI Audio ✔️ WIFI 2.4 + 5ghz ✔️ Ethernet ❌ Bluetooth ✔️ NPU ✔️ VPU ✨ 1080P 60FPS ✨ ZERO DROP FRAMES ✔️ GPU Wifi fix: https://drive.google.com/file/d/1agxdBh8gruXn8It_pa_DDyJnzVxbDK8g/view?usp=sharing DTS + DTB: https://drive.google.com/file/d/1E0GBU3vog_6Y72V3EUMjgQhwi6WX3v6w/view?usp=sharing RK3566-H96-MAX-VENDOR-61-V12.zip fix_610_h96_Wifi_Bluetooth.zip Next Step: Fix Bluetooth how to edit this image: sudo losetup --partscan /dev/loop13 disk_image.img mkdir /tmp/disk_image sudo mount /dev/loop13p1 /tmp/disk_image ####### DROP the new DTB File to /tmp/disk_image/boot/dtb/rockchip ########## sudo fstrim -v /tmp/disk_image sudo umount /tmp/disk_image sudo losetup --detach /dev/loop13 You could also add the wifi fix to the image: sudo mkdir -p /tmp/disk_image/usr/lib/scripts sudo cp ap6335-bluetooth.service /tmp/disk_image/usr/lib/systemd/system/ sudo cp ap6335-bluetooth.sh /tmp/disk_image/usr/lib/scripts/ sudo cp brcm_patchram_plus /tmp/disk_image/usr/bin/ sudo cp fw_bcm4335b0_ag.bin /tmp/disk_image/lib/firmware/brcm/ sudo cp BCM4335A0.hcd /tmp/disk_image/lib/firmware/brcm/ sudo cp brcmfmac4335-sdio.txt /tmp/disk_image/lib/firmware/brcm/ sudo mkdir -p /tmp/disk_image/data/cfg/ sudo cp device_info.txt /tmp/disk_image/data/cfg/ cd /tmp/disk_image/lib/firmware/brcm/ sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.h96-TVbox,rk3566.bin sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.bin sudo chmod 775 /tmp/disk_image/usr/lib/scripts/ap6335-bluetooth.sh sudo chmod 775 /tmp/disk_image/usr/lib/systemd/system/ap6335-bluetooth.service sudo chmod 775 /tmp/disk_image/data/cfg/device_info.txt sudo chmod 775 /tmp/disk_image/usr/bin/brcm_patchram_plus Fix CPU clock sudo -i # See policy to see how CPUs are grouped. echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo conservative > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor echo conservative > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor exit cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor Check GPU Frequency ls /sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu/ cat /sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu/cur_freq cat /sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu/min_freq cat /sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu/max_freq Check CPU frequency ls /sys/devices/system/cpu/cpu0/cpufreq cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq @maka Today I take the U-Boot from test image Kernel Vendor 6.1: https://drive.google.com/file/d/1rKzJ2RbxEBgSdqUy2O0-qhIipBakyt9t/view?usp=drive_link and unpack it inside Joshua Riek h96-max v56 24.04 image https://github.com/hqnicolas/ubuntu-rockchip/actions Change the UUID on armbian boot file Using this method: 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/u-Boot ########## sudo fstrim -v /tmp/disk_image sudo umount /tmp/disk_image sudo losetup --detach /dev/loop14 Same Experience as Armbian with VPU enabled dmesg? glmark2: -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Pure android is great, but I think you don't know what you allowing within your network Don't look at the light, you might end up being an enlightener -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
I think you need to find an android forum. "ARM Debian Linux" = Armbian, is an Linux distro -
I'm looking for a flash for this box.
Hqnicolas replied to techma flash's topic in Rockchip CPU Boxes
@SteeMan find it: x88 pro RK3318 -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@Kenneth Hidalgo ask for Ubuntu images I want to make it clear to everyone that now The H96 MAX Became Full supported by armbian Mainline 25/05/2024 latest release: https://github.com/armbian/community/releases/tag/24.5.0-trunk.667 -
I'm looking for a flash for this box.
Hqnicolas replied to techma flash's topic in Rockchip CPU Boxes
https://chinagadgetsreviews.com/download-android-10-new-stock-firmware-for-x88-pro-10-tv-box.html Read other people effords Try and error Read other people effords Try and Run it! -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Truncate 2 partitions image ``` sudo losetup --partscan /dev/loop13 disk_image.img sudo e2fsck -f /dev/loop13p1 sudo e2fsck -f /dev/loop13p2 ' sudo resize2fs /dev/loop13p1 -M sudo resize2fs /dev/loop13p2 -M ' ### RUN THE "DISC" software and resize partition using the gui fdisk -l disk_image.img sudo losetup --detach /dev/loop13 truncate -s $(INSERT THE (END*BLOCKSIZE) OF PARTITION2 HERE) disk_image.img sudo losetup --partscan /dev/loop13 disk_image.img mkdir /tmp/disk_image sudo mount /dev/loop13p1 /tmp/disk_image sudo fstrim -v /tmp/disk_image sudo umount /tmp/disk_image sudo mount /dev/loop13p2 /tmp/disk_image sudo fstrim -v /tmp/disk_image sudo umount /tmp/disk_image sudo losetup --detach /dev/loop13 ``` -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
- Update: Rockchip Kernel 6.1 Vendor ✔️ HDMI Audio ✔️ WIFI 2.4 + 5ghz ✔️ Ethernet ❌ Bluetooth ✔️ NPU ❌ VPU ✔️ GPU Wifi-K610: https://drive.google.com/file/d/1B1LmAylalETcnBEWiPiJHL0MjK5xlIV4/view Wifi-Fix: https://drive.google.com/file/d/1agxdBh8gruXn8It_pa_DDyJnzVxbDK8g/view?usp=drive_link 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 reboot now nmcli dev wifi sudo rmmod brcmfmac_wcc brcmfmac brcmutil modprobe brcmfmac - Image: Updated K610 test image: https://drive.google.com/file/d/1rKzJ2RbxEBgSdqUy2O0-qhIipBakyt9t/view?usp=drive_link - BaseFiles: RK3566-H96-MAX-VENDOR-61-V12: https://drive.google.com/file/d/1E0GBU3vog_6Y72V3EUMjgQhwi6WX3v6w/view?usp=sharing -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
- Update: Rockchip Kernel 5.1 Legacy ❌ HDMI Audio ✔️ WIFI 2.4 + 5ghz ✔️ Ethernet ✔️Bluetooth ✔️ NPU ❌ VPU ✔️ GPU Wifi-K510: https://drive.google.com/file/d/1B1LmAylalETcnBEWiPiJHL0MjK5xlIV4/view sudo apt-mark hold linux-image-5.10.160-rockchip linux-headers-5.10.160-rockchip 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.bin sudo reboot now nmcli dev wifi sudo rmmod brcmfmac_wcc brcmfmac brcmutil modprobe brcmfmac - Image: Updated K510 test image: https://drive.google.com/file/d/18nsBoAjroMBSnNM0mr7qoVI_rKsReufM/view?usp=sharing - BaseFiles: RK3566-H96-MAX-LEGACY-51-V7: https://drive.google.com/file/d/1C6xce8CTsIaI8znwRjhg_KcskKtTXJR_/view?usp=sharing edit Rockchip U-boot Legacy 4.19 DTS: https://github.com/hqnicolas/u-boot/blob/next-dev-v2024.03/arch/arm/dts/rk3566-h96.dts edit Rockchip U-boot Legacy 4.19 DEFCONFIG: https://github.com/hqnicolas/u-boot/blob/next-dev-v2024.03/configs/h96-rk3566_defconfig dmesg after wifi install: glmark2-es2-wayland RK3566-H96-MAX-LEGACY-51-V6.zip -
Vontar KK MAX / HK1 RBOX R2 / R3 - RK3566 4GB/32GB(or 64GB)
Hqnicolas replied to Deoptim's topic in Rockchip CPU Boxes
find a board with u-boot 2024 and rebase your board config file I use OrangePi3B as a base config -
to use RK3568 DTS on RK3566 chip you will need to add these lines on the botom of dts &gpu_opp_table { /delete-node/ opp-800000000; }; &dmc_opp_table { opp-324000000 { opp-hz = /bits/ 64 <324000000>; opp-microvolt = <875000>; }; opp-528000000 { opp-hz = /bits/ 64 <528000000>; opp-microvolt = <875000>; }; }; &cpu0_opp_table { /delete-node/ opp-1992000000; opp-216000000 { opp-hz = /bits/ 64 <216000000>; opp-microvolt = <825000 825000 1150000>; clock-latency-ns = <40000>; }; opp-312000000 { opp-hz = /bits/ 64 <312000000>; opp-microvolt = <825000 825000 1150000>; clock-latency-ns = <40000>; }; }; /delete-node/ &combphy0_us; /delete-node/ &gmac0_clkin; /delete-node/ &gmac0_xpcsclk; /delete-node/ &gmac0; /delete-node/ &gmac_uio0; /delete-node/ &pcie30_phy_grf; /delete-node/ &pcie30phy; /delete-node/ &pcie3x1; /delete-node/ &pcie3x2; /delete-node/ &qos_pcie3x1; /delete-node/ &qos_pcie3x2; /delete-node/ &qos_sata0; /delete-node/ &sata0;
-
https://gprivate.com/6b9kg 1 - Follow the Build Armbian instructions if it doesnt Build your image as espected rm -rf build git clone --depth 1 --branch v24.05 https://github.com/armbian/build try again and again and again and again gh pr checkout 6618
-
@gen ha it's happnd because you're using a RK3568 DTS to build an RK3566 DTS and it will mess with Mdio this is your solution: &mdio1 { rgmii_phy1: phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0x0>; }; }; &gmac1 { phy-mode = "rgmii"; clock_in_out = "input"; snps,reset-gpio = <&gpio2 RK_PD1 GPIO_ACTIVE_LOW>; snps,reset-active-low; /* Reset time is 20ms, 100ms for rtl8211f */ snps,reset-delays-us = <0 20000 100000>; assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>; assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>; pinctrl-names = "default"; pinctrl-0 = <&gmac1m1_miim &gmac1m1_tx_bus2 &gmac1m1_rx_bus2 &gmac1m1_rgmii_clk &gmac1m1_rgmii_bus &gmac1m1_clkinout>; tx_delay = <0x4f>; rx_delay = <0x26>; phy-handle = <&rgmii_phy1>; status = "okay"; };
-
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@maka too late I already wasted my time too hahaha Kernel 610: sudo nano /var/log/dmesg