Jump to content

Hqnicolas

Members
  • Posts

    637
  • Joined

  • Last visited

Everything posted by Hqnicolas

  1. - 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
  2. - 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
  3. find a board with u-boot 2024 and rebase your board config file I use OrangePi3B as a base config
  4. 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;
  5. 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
  6. @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"; };
  7. Find the USB port list and change 1 port USB from OTG to HOST &usbdrd_dwc3 { dr_mode = "otg"; extcon = <&usb2phy0>; status = "okay"; }; &usbdrd_dwc3 { dr_mode = "host"; extcon = <&usb2phy0>; status = "okay"; };
  8. @maka too late I already wasted my time too hahaha Kernel 610: sudo nano /var/log/dmesg
  9. @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
  10. @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
  11. @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
  12. @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
  13. @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
  14. This forum topic is our documentation
  15. me and @pocosparc have soldered a SD Card reader to boot from external SD soldered just the socket works out of the box
  16. 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
  17. @gen ha Please do it by the right way! Take the development image: https://drive.google.com/file/d/1rKzJ2RbxEBgSdqUy2O0-qhIipBakyt9t/view?usp=drive_link this image is for test Kernel 6.1 dtb's it boot, but it will need a better dtb.... take the development DTS to Vendor Kernel 6.1: https://drive.google.com/file/d/1rKzJ2RbxEBgSdqUy2O0-qhIipBakyt9t/view?usp=drive_link it boot, but it will need a better dtb.... Compile it from armbian using the tutorial inside development DTS. your dts file must be an edition of this dts that is in the development kit and not a decompiled version of the dtb that I compiled just decompile DTB to compare with the Working DTB on VScode
  18. Testing here.... This file is causing kernel panic!
  19. @gen ha what kernel version are you working? 6.6 mainline? 6.2 mainline? 5.1 legacy? 6.1 vendor?
  20. @pocosparc Today i'm trying to fix wifi on legacy 5.1 rk3566-h96-tvbox.dts
  21. @gen ha what kernel are you using? 6.6 mainline? 6.2 mainline? 5.1 legacy? 6.1 vendor?
  22. @perfstr follow me to the world of silvertape and WD40: Start here read, and learn every step.... so you can go there
  23. @pocosparc Can you fix the HDMI Audio? This is the DTS to compile armbian Kernel 5.10 Legacy https://drive.google.com/file/d/1C6xce8CTsIaI8znwRjhg_KcskKtTXJR_/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! ERROR: NO WIFI CARD ERROR: NO BLUETOOTH
  24. You can use this method: https://forum.armbian.com/topic/28895-efforts-to-develop-firmware-for-h96-max-v56-rk3566-8g64g/?do=findComment&comment=189369 to shrink your 60gb image onto small file
  25. thats why I'm making an Kernel legacy rockchip 5.10 righ now. the video codecs make difference Will also try this compilation https://drive.google.com/file/d/1rKzJ2RbxEBgSdqUy2O0-qhIipBakyt9t/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/18nsBoAjroMBSnNM0mr7qoVI_rKsReufM/view?usp=sharing this image is for test Kernel 5.1 dtb's it boot, but it will need a better dtb.... 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
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines