-
Posts
671 -
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
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 -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@Deoptim I'm releasing kernel 6.1 updated Test Image today.... Updated K610 test image: https://drive.google.com/file/d/1rKzJ2RbxEBgSdqUy2O0-qhIipBakyt9t/view?usp=drive_link Build your own image: RK3566-H96-MAX-VENDOR-61-V12: https://drive.google.com/file/d/1E0GBU3vog_6Y72V3EUMjgQhwi6WX3v6w/view?usp=sharing -
Vontar KK MAX / HK1 RBOX R2 / R3 - RK3566 4GB/32GB(or 64GB)
Hqnicolas replied to Deoptim's topic in Rockchip CPU Boxes
@Energokom to build your DDR_1056mhz ADD This lines to the botom of the file Armbian: build/config/board/yourboardname.conf # Newer blobs. Tested to work with 1056MHz DDR_BLOB="rk35/rk3566_ddr_1056MHz_v1.18.bin" BL31_BLOB="rk35/rk3568_bl31_v1.43.elf" # NOT a typo, bl31 is shared across 68 and 66 ROCKUSB_BLOB="rk35/rk3566_spl_loader_1.14.bin" # For `EXT=rkdevflash` flashing -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@Deoptim you will need to focus on U-boot config. Kernel from vendor have differences from mainline, the first thing you need to do is REBASE your DTS to 6.1. Download the armbian 6.1 kernel and compare with vscode your DTS with vendor DTS. I'm looking at Uboot for Kernel vendor 6.1 and it was injecting incompatible drivers before boot -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@Deoptim You have UART debug TTL and SD Card reader? lets see what you have I think you will find better support when found people with the same board -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@maka you gave me an idea, using the rebased DTS with firefly U-Boot @gen ha fix Kernel Panic for WIFI! Things that have been fixed: sudo nano /var/log/dmesg the loop is caused by kernel: Modules linked in: sprdwl_ng(+) sprdbt_tty uwe5622_bsp_sdio it's trying to input this driver from uboot to fix this kernel panic, just change this lines on board config file MODULES="sprdbt_tty sprdwl_ng" MODULES_BLACKLIST_LEGACY="bcmdhd" to this MODULES_BLACKLIST_LEGACY="sprdbt_tty sprdwl_ng" Thanks @maka -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
This forum topic is our documentation -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
me and @pocosparc have soldered a SD Card reader to boot from external SD soldered just the socket works out of the box -
Efforts to develop firmware for H96 MAX V56 RK3566 8G/64G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Compiled and tested with kernel 6.1 vendor Kernel Panic at startup Today I'm Working on Kernel 5.1 legacy wifi..... Have Rebased the entire 5.1 DTS to Firefly DTS and it keep's PANIC "Failed with result 'signal'." rk3566-h96-tvbox-REBASED-FIREFLY-K51.dts