-
Posts
617 -
Joined
-
Last visited
Everything posted by Hqnicolas
-
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@tmm1 can you work around the DTS / DTB file to make RKnpu working on this device? i think it's about rknpu_reserved memory it's different from android Linux use iommu to load rknpu the SDK to compile is the Pine64 Custom Partition Parameter.txt -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@tmm1 you were right, it is not possible to allocate memory to the device, I believe that because RKNPU dont work on this compilation. i think ffmpeg fallback to CPU when vaapi fail. driver rknpu version 0.4.2. dont find the RKNPU or memory allocation. /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device drm=dr:/dev/dri/renderD128 -init_hw_device vaapi=va@dr -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Yes, it's working fine on my ubuntu 20.04 Kernel 4.19.219 RK3566 H96MAX (DELETED FILE DUE DEPRECATED KERNEL4) , I use /dev/dri/renderD128 on Tdarr to ffmpeg videos over lan to h264 mp4. What you trying to do? 👀 Be sure thar your device have Vaapi capable on chip be sure that you kernel SDK have drivers to run it be sure that your DTS / DTB shows where the Api Run and How it Run. -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
I have installed Jellyfin and enable Hardware Acceleration! Extra Configuration VA-API hardware acceleration on Debian/Ubuntu $ sudo apt install jellyfin-ffmpeg $ apt install ffmpeg $ ffmpeg -codecs @carol Codecs List: D..... = Decoding supported .E.... = Encoding supported ..V... = Video codec ..A... = Audio codec ..S... = Subtitle codec ...I.. = Intra frame-only codec ....L. = Lossy compression .....S = Lossless compression DEV.L. h263 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2 (decoders: h263 h263_v4l2m2m ) (encoders: h263 h263_v4l2m2m ) DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2m ) (encoders: libx265 hevc_v4l2m2m hevc_vaapi ) DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m ) (encoders: libx264 libx264rgb h264_omx h264_v4l2m2m h264_vaapi ) DEV.L. mpeg1video MPEG-1 video (decoders: mpeg1video mpeg1_v4l2m2m ) DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m ) (encoders: mpeg2video mpeg2_vaapi ) DEV.L. mpeg4 MPEG-4 part 2 (decoders: mpeg4 mpeg4_v4l2m2m ) (encoders: mpeg4 libxvid mpeg4_v4l2m2m ) D.V.L. vc1 SMPTE VC-1 (decoders: vc1 vc1_v4l2m2m ) DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx ) (encoders: libvpx vp8_v4l2m2m vp8_vaapi ) DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 ) (encoders: libvpx-vp9 vp9_vaapi ) -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
I already spent 30 days and more than 3240,00$ dollars man machine running this debug system, I will visit this topic only sometimes, I want another user to continue this project. a Bad thing is that The kernel supplied by Rockchip 4.19 for the RK3566 is too crippled to run Docker. here a screenshot of the USB HUB 3.0 on port 3.0 Ugreen 4 in 1 USB 3.0 Hub 2x SATA TO USB 3.0 CONVERTER /dev/sda: Timing cached reads: 1816 MB in 2.00 seconds = 907.91 MB/sec Timing buffered disk reads: 576 MB in 3.00 seconds = 191.75 MB/sec ubuntu@localhost:~$ sudo hdparm -tT /dev/sdb /dev/sdb: Timing cached reads: 1840 MB in 2.00 seconds = 920.41 MB/sec Timing buffered disk reads: 532 MB in 3.01 seconds = 176.97 MB/sec -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Release Version v0.3BETA (DEPRECATED) UPDATE: Partition " / " resized to FULL DISK +wifi +bluetooth No Video out No Virtualization No Docker H96 MAX Board Type 1 Kernel 4.19.219 RK3566 Linux FIT Image Rockchip EMMC Ubuntu 20.04 LTS This image has been compiled without any standardization and should be used for experimental purposes only, there is no guarantee of compatibility with your device Download Link: DELETED FILE DUE DEPRECATED KERNEL4 First BOOT COMANDS: Partition " / " resized to FULL DISK $ df -h $ sudo resize2fs /dev/mmcblk2p6 $ df -h Base Parameters to build: DTB + DTS + rockchip_defconfig +BT +WIFI SDK 4.19.219 LINUX to RK3566 H96 MAX Why it doesn't video output? >Problem< >Problem< Solution: ????11/2022??? @Walma let's debug the video output? -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@Walma when the Board Boot UP you will need to conect RJ45 LAN, Find the IP Addres on your PiHole Firewall or Lan Router and SSH to the ubuntu. User: ubuntu Password: ubuntu Partition Parameter.txt -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@Walma This FIT image needs to be flashed on the internal storage, this board don't have SD CARD Reader. Backup Rockchip Firmware emmc Driver Assistant Download RkDevTool Download Upgrade Rockchip Firmware eemc Maskrom mode Loader mode Install Drivers, Just Press the RESET Button when connect male-male USB 2.0 (BLACK) to Desktop MAKE A Backup Rockchip boards are unbrikable in a worse case you need to short the EMMC CLK pin to GND on the other side of the board and upload the righ LoaderALL.bin File from a linux machine that you backup. to connect the RK3566 on Desktop USB Maskrom Mode. -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
BUILD CUSTOM SDK - shaggy013 - 02-14-2022 Made this bsp/sdk because the beta wich is on the site don't makes a image wich you can flash and boot from sd/emmc and while mainline is cool a working bsp/sdk makes it more complete for me I looked how raxda and firefly made their bsp/sdk and made a custom one for the Quartz64 used some scripts of them and adjusted so they work to build a image Most sources are from rockchip and the just 2 or 3 comes from other sources (from firefly: rawimg script, qsetting and camera_engine_rkaiq package) So i tried to keep it some kind rockchip original and those packages were not on the rockhcip site or other open places so if it is a problem i can remove them The bsp/sdk builds a buildroot ,debian or yocto distro wich you can flash on a sd/emmc or rockchip images to do it the difficult way the hardest part was to get the right revisions to make some packages work The bsp/sdk has 2 kernel options kernel 4.19.19 or 5.10.66 from rockchip sources the 4.19 is common used kernel for the rk3566/68 bsp/sdk kernel and it has working hdmi,lan,usb,wifi,gpu and npu inside this SDK you will need to include this header to dts file -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Update on Kernel DEF CONFIG how to extract linux_defconfig From android Kernel file H96 MAX RK3566 KERNEL AND SCRIPT File from /build/kernel/arch/arm64/configs -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Update on cache Size to work with this topic H96_MAX_DTS_DTB_Release_Linux_4LTS_Board_Type_1v2 H96_MAX_DTS_DTB_Release_Linux_4LTS_Board_Type_2v2 H96 MAX DTS DTB Release Linux 4LTS Board Type 1 v2.0.zip H96 MAX DTS DTB Release Linux 4LTS Board Type 2 v2.0.zip -
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hqnicolas replied to DigitalDaz's topic in Rockchip CPU Boxes
please have a look at the forum https://www.t95plus.com/ on this topic they have a bullseye_legacy_4.19 -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
The development kit that works with this board is that of Quartz64, as it has the patches corresponding to the use of Mali Panfrost gpu quartz64-model-A_bsp Linux.tar.gz (mirror) i adapted the dts files to work on linux you can compare the modifications H96_MAX_DTS_DTB_Release_Linux_4LTS_Board_Type_1 H96_MAX_DTS_DTB_Release_Linux_4LTS_Board_Type_2 H96 MAX DTS DTB Release Linux 4LTS Board Type 1.7z H96 MAX DTS DTB Release Linux 4LTS Board Type 2.7z -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Today i was debuging some dts from android against linux and found swiotlb buffer is full (sz: 16384 bytes) Original: reg = <0x0 0xfe310000 0x0 0x10000>; (sz: 16384 bytes) Update: reg = <0x0 0xfe310000 0x0 0x100000> (sz: 1048576 bytes) the difference betwin linux and android reserved memory Cause a buffer bug -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
c2.android = cpu codec emulator c2.rk = dedicated physical unit it means that you need the drivers to de codec unit inside the device tree just Hvec, mpeg and vp9 unit's if it have patch we will know because Quartz64 use the same chip https://wiki.pine64.org/wiki/Quartz64_Development Decoder: VDPU346 handling 4K H.265, H.264 and VP9 -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
Gpu: Mali g52 2ee H.264 decoder And encoder Vc1 decoder only H265 decoder only I Will Release an Linux kernel 4.19 in a feel weeks Enviado de meu Mi 9T usando o Tapatalk -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
@mvpwar today i'm working with This automated CI/CD script i forked it to my gitlab and run it into my ubuntu 20.04 server the resulting image is SD Card image, i will try to convert to FIT image using the Firefly FIT SDK -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
All packages to build your RK Firmware From scratch H96 MAX RK3566 Board Type 1 Base files H96 MAX RK3566 Board Tyle 2 Base files -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
First, Make a Full backup of your board! H96 MAX Board Type 1 Kernel 4.19 RK3566 Linux FIT Image Ubuntu 20.04 LTS This image has been compiled without any standardization and should be used for experimental purposes only, there is no guarantee of compatibility with your device RK firmware is the firmware packaged in Rockchip’s proprietary format, and can be flashed to eMMC or SD card with the tools provided by Rockchip (Note: If there is no special instruction, the firmware mentioned on WIKI defaults to RK firmware) . -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
if You flash the wrong type of board "1 or 2" it will return a Power Model error i'ts caused by the difference on DTB Files used to compile Kernel Board Type 1 Board Type 2 The Different types of boardconfig to call FAN53555 Regulators Wrong Board Type flash -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
i found a solution to DTS HDMI DRM Support is a kernel patch for Quartz64-a need to include dt-bindings display configuration on kernel includes I'm compiling a 5 kernel and I'll make everything available soon Quartz-a Dsi Adaptado para H96 MAX Board Type 2.zip Quartz-a Dsi Adaptado para H96 MAX.zip Quartz-a_Dsi_Adaptado_para_H96_MAX_Board_Type_2.zip Quartz-a_Dsi_Adaptado_para_H96_MAX.zip -
random rk3566 tvbox - Legacy vs Edge
Hqnicolas replied to Simon-renegade's topic in Rockchip CPU Boxes
hello, same problem here, TTL RK3566 DUMP My DTS File have a Kernel 4.19 conf -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
When boot kernel, i found some problems over HDMi No driver support for vblank timestamp query infinite loop Screen over HDMi with 4gb Cards and DTB1 file Full Kernel Logon: after that, just loop -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
to compile Armbian build 4,19 M2 Station image. change files to corresponding DTS file BOARD_TYPE_1.dts BOARD_TYPE_2.dts -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
Hqnicolas replied to Hqnicolas's topic in Rockchip CPU Boxes
The FIT image size will got an size error, just go to ubuntu/u-boot/scripts search for "fit-core.sh" or "fit.sh" Change (ITB_MAX_KB*1024) to (ITB_MAX_KB*1054)