Jump to content

Hqnicolas

Members
  • Posts

    637
  • Joined

  • Last visited

Everything posted by Hqnicolas

  1. Today I manage to Start RK3576 and RK3506 IoT processors, Linux 6.1 SDK image source: ubuntu-24.04-beta-preinstalled-desktop-arm64-orangepi-3b.img.xz With this DTB I managed to start Opios-arch-aarch64-xfce-opi3b-23.08.1-linux5.10.160 (this Opio is ARK linux and is slower than Armbian Kernel 6.6 mainline)
  2. you just need to take it from android. This is the method: https://forum.armbian.com/topic/24091-efforts-to-develop-firmware-for-h96-max-v56-rk3566-4g32g/page/2/#comment-153809
  3. 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:
  4. Using the dtb from armbian 6.6 I manage to boot Manjaro from Rock3A Linux 6.1.12-1-MANJARO-ARM They use the same Hantro VPU from armbian 6.6 Tomorow I will test Joshua-Riek https://github.com/Joshua-Riek/ubuntu-rockchip/releases
  5. 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: (V12) (include Joshua Riek) https://drive.google.com/file/d/1E0GBU3vog_6Y72V3EUMjgQhwi6WX3v6w/view?usp=sharing it boot, but it will need a better dtb.... Or compile your own Legacy Kernel 5.1: (V7) https://drive.google.com/file/d/1C6xce8CTsIaI8znwRjhg_KcskKtTXJR_/view?usp=sharing 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
  6. 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/1C6xce8CTsIaI8znwRjhg_KcskKtTXJR_/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/18nsBoAjroMBSnNM0mr7qoVI_rKsReufM/view?usp=sharing
  7. i never seen this on linux..... I think @Kenneth Hidalgo have the answer to legacy linux: 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: 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: 2, change RK_FUNC_1 to 1 because this is not defined in kernel 5.10 3, add &vp0 node to support video output: Example: https://github.com/ginkage/mirrors/commit/fbd247d4c52a11a74c2efbe276ebff7c27fc6da5
  8. Kernel Vendor 6.1.43 sudo wget https://apt.armbian.com/armbian.key -O key sudo gpg --dearmor < key | sudo tee /usr/share/keyrings/armbian.gpg > /dev/null sudo chmod go+r /usr/share/keyrings/armbian.gpg sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armbian.gpg] http://apt.armbian.com $(lsb_release -cs) main $(lsb_release -cs)-utils $(lsb_release -cs)-desktop" | sudo tee /etc/apt/sources.list.d/armbian.list sudo apt update sudo apt 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: (V1) https://drive.google.com/file/d/1YacPyumHwJ5WYqnKlGUgfT86rNOEzMqx/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V2) https://drive.google.com/file/d/1o_GALnqi-1jwPy9oQS38W8daXuYl0S3h/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V3) https://drive.google.com/file/d/1Y5sGIE8uAo-eASNvkBkZ6SX3vdpiBFRU/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V4) https://drive.google.com/file/d/1hGaY0gIbhY6r7qjwk3cdeZh1vCr0Im8N/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V5) https://drive.google.com/file/d/1seumX-p7wcdAATDp9JUXXEGKMwwgli4_/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V6) (include Joshua Riek) https://drive.google.com/file/d/1U_P2NMb1HpcC5M1MPClQ7cIKqUass26b/view?usp=drive_link I made this file to compile Armbian Vendor 6.1: (V7) (include Joshua Riek) https://drive.google.com/file/d/1N7OW782NYtIAOdyGPJxlC56PYciLAbxf/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V8) (include Joshua Riek) https://drive.google.com/file/d/1d9N6GwusBH3v4fCkWQ13ta3q8FxH1KNY/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V9) (include Joshua Riek) https://drive.google.com/file/d/168HA5tN9BM6kl0nqYQiQ5fCpnbxk0h0U/view?usp=drive_link I made this file to compile Armbian Vendor 6.1: (V10) (The Power of TenTen) https://drive.google.com/file/d/1WNjGUsTPa2KNQq5dhZazGgJWQM6IThiG/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V11) (include Joshua Riek) https://drive.google.com/file/d/1uUeg43wF3GPeVkZeG_wEYpxoHf5XdSl0/view?usp=sharing I made this file to compile Armbian Vendor 6.1: (V12) (include Joshua Riek) https://drive.google.com/file/d/1E0GBU3vog_6Y72V3EUMjgQhwi6WX3v6w/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V1) https://drive.google.com/file/d/1a2zBw5HxXJeWjTe2xCvKuLBTIhNu8CHy/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V2) https://drive.google.com/file/d/1IcEKe1e0bwL0jG-jSyq6QvJAYHvRBpP9/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V3) https://drive.google.com/file/d/1_N5jQ6wp3rk5Y4xeZK3sEp-L_o5H6KJv/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V4) https://drive.google.com/file/d/1E2K2FLik5WVYJTqTLe1P_4HcR0oigUYw/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V5) https://drive.google.com/file/d/1J0ugZltj55EmLhgRrlxXk1pbYirziMUi/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V6) https://drive.google.com/file/d/13iQjNjyHJmgAQb6uU0GAcM2IAG-xZpfE/view?usp=sharing I made this file to compile Armbian Legacy 5.1: (V7) https://drive.google.com/file/d/1C6xce8CTsIaI8znwRjhg_KcskKtTXJR_/view?usp=sharing
  9. for VAAPI we need https://github.com/rockchip-linux/mpp 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/
  10. Testing this lineage on RK3566 h96 max No VAAPI No youtube
  11. 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:
  12. nice! I will try this: https://github.com/JeffyCN/meta-rockchip/tree/master/dynamic-layers/recipes-browser/chromium
  13. sudo apt-get install armbian-config sudo armbian-config # SYSTEM # FREEZE wayland.sh #!/bin/bash sudo apt update sudo apt dist-upgrade sudo apt install libv4l-rkmpp -y sudo apt install v4l-utils -y sudo apt install ffmpeg -y sudo apt install glmark2-es2-wayland -y sudo glmark2-es2-wayland Go to chrome://flags Search "Preferred Ozone platform" Set it to "Wayland" ozone-platform-hint auto Restart I can't run videoplayback with V4L2 enabled this is a mess sudo nano .profile # add to the bottom line: export MOZ_ENABLE_WAYLAND=1 # or just: env MOZ_ENABLE_WAYLAND=1 /snap/bin/firefox export MOZ_ENABLE_WAYLAND=1 Open the firefox and text: about:config in Firefox. Search for the media.ffmpeg preference and set it to true. Restart Firefox.
  14. sudo apt-get install armbian-config sudo armbian-config # SYSTEM # FREEZE @pocosparc You will need to edit the DTS or try to enable it via openvfd fddis_dev { compatible = "fddis_dev"; fddis_gpio_clk = <gpio0 RK_PB3 &pcfg_pull_none>; fddis_gpio_dat = <gpio0 RK_PB4 &pcfg_pull_none>; status = "okay"; }; fddis_dev { fddis_gpio_clk { rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; fddis_gpio_dat { rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; };
  15. I'm also keeping this two torrent files from official release 24.5.0-trunk.474 in my H96 MAX torrent server Armbian_community_24.5.0-trunk.474_H96-tvbox-3566_jammy_current_6.6.28_gnome_desktop.img.xz.torrent Armbian_community_24.5.0-trunk.474_H96-tvbox-3566_bookworm_current_6.6.28_minimal.img.xz.torrent
  16. Will compile and test today... (compiled) did you test the 6.8 kernel? how you're using this device? did you test the video player on chromium? Pull Request to Armbian https://github.com/armbian/build/pull/6520 (accepted) rk3566-h96-tvbox.dts rk3566-h96-tvbox.dtb
  17. I'm using Gnome build with the new .dts Today I start a new PR to publish all changes (merged 1h ago) oficial images will be updated on next build (24.5.0-trunk.434)
  18. Video acceleration works on Gnome Desktop
  19. ################################### ################################### Official armbian Images since 24.5.0-trunk.433 https://github.com/armbian/community/releases/ Wifi Driver: https://drive.google.com/file/d/1B1LmAylalETcnBEWiPiJHL0MjK5xlIV4/view?usp=sharing Take some files from CoreElec https://github.com/CoreELEC/brcmfmac_sdio-firmware-aml/tree/master/firmware/brcm cd /lib/firmware/brcm/ sudo wget https://github.com/LibreELEC/brcmfmac_sdio-firmware/raw/master/BCM4335A0.hcd 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 How to flash: Same as V1.1 ################################### ################################### Armbian_community_24.5.0-trunk.474_H96-tvbox-3566_jammy_current_6.6.28_gnome_desktop.img.xz.torrent Armbian_community_24.5.0-trunk.474_H96-tvbox-3566_bookworm_current_6.6.28_minimal.img.xz.torrent
  20. ################################### ################################### Official armbian Images since 24.5.0-trunk.433 https://github.com/armbian/community/releases/ Wifi Driver: https://drive.google.com/file/d/1jU0VRhe-ou8lZ-D1COvwuqGvMBIht-Dw/view?usp=sharing Take some files from CoreElec https://github.com/CoreELEC/brcmfmac_sdio-firmware-aml/tree/master/firmware/brcm cd /lib/firmware/brcm/ sudo wget https://github.com/LibreELEC/brcmfmac_sdio-firmware/raw/master/BCM4335A0.hcd 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 How to flash: Same as V1.1 ################################### ###################################
  21. Git REPO Awaiting kulica’s response https://github.com/hqnicolas/ArmBoardBringUp in that Repo have all my 40 tryes to enable the Device tree in this last week You can browse the repository at any point in this link https://github.com/hqnicolas/ArmBoardBringUp/commits/main/ Repo Updated to this version I will test it now!
  22. @pocosparc I have Rebased the entire DTS file to a rock PC basefile since this JianPian file dont work with wifi. Now it makes 1.8v in pin12 from wifi chip with active low. rk3566-h96-tvbox.dtsrk3566-h96-tvbox.dtb Testing now... https://github.com/hqnicolas/ArmBoardBringUp/tree/main now I Got two bluetooth ID TYPE DEVICE SOFT HARD 0 bluetooth hci0 unblocked unblocked 1 bluetooth hci1 unblocked unblocked root@h96-tvbox-3566-wifi:/home/nicolas#
  23. i'm using RFkill command $ rfkill ID TYPE DEVICE SOFT HARD 0 bluetooth hci0 unblocked unblocked i'm switching DTB on this board to test, and I think the problem was on the new DTS file that dont work. also the old 6.2 DTS file dont boot on 6.6 kernel rk3566-firefly-roc-pc.dtb rk3566-firefly-roc-pc.dts rk3566-h96-tvbox.dtsrk3566-h96-tvbox.dtb I think gpio2 PB1 on wifi need to be ACTIVE LOW Will test it tomorrow This device tree without board project is hard to fix i'm testing and this pin is tricky it has gpio low and pull up
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines