balbes150 Posted March 25, 2023 Share Posted March 25, 2023 Version 20230325-edge with kernel 6.2 (pancsf-midstream). With HDMI USB LAN support. https://disk.yandex.ru/d/Xt36QdVcxRdEDA 1 Quote Link to comment Share on other sites More sharing options...
hste Posted March 26, 2023 Share Posted March 26, 2023 So you have created a device-tree for orange pi 5 for this kernel that works with usb and hdmi I was hoping for someone to do that:) Thanks hste 0 Quote Link to comment Share on other sites More sharing options...
Dbosco Posted March 26, 2023 Share Posted March 26, 2023 (edited) Hi! thanks for sharing this! i've tested Lunar and Sid (GNOME), and the Audio card is not present, is this expected? aplay -l aplay: device_list:274: no soundcards found... Edited March 26, 2023 by Dbosco build not specified 0 Quote Link to comment Share on other sites More sharing options...
Efe Çetin Posted March 26, 2023 Share Posted March 26, 2023 Midstream kernel doesn't seem to have support for i2s right now https://github.com/Googulator/linux-rk3588-midstream/blob/midstream/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts#L143 The driver was merged on mainline kernel -> https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md 0 Quote Link to comment Share on other sites More sharing options...
Dbosco Posted March 26, 2023 Share Posted March 26, 2023 Thanks for your feedback Efe 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 28, 2023 Author Share Posted March 28, 2023 Versions 20230328 with legacy kernel 5.10.110 and current 6.2. Added support for direct launch from USB. Important. the bootloader installation on MTD\SPI is not working yet. 0 Quote Link to comment Share on other sites More sharing options...
royk Posted March 28, 2023 Share Posted March 28, 2023 Thanks, nice to see having more options. AFAIK the MTD bootloader of opi-5 doesn't support ext4, so the boot manager has to be on an ext2 or fat partition. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 28, 2023 Author Share Posted March 28, 2023 2 часа назад, royk сказал: nice to see having more options. AFAIK the MTD bootloader of opi-5 doesn't support ext4, so the boot manager has to be on an ext2 or fat partition. This information is outdated It already supports everything and now everything works, I am currently testing a new version of u-boot with full support for installation on MTD\SPI and direct launch from USB\SD\NVMe. This makes it easy to install the system on NVMe using a simple command in armbian-config (it is enough to create a partition on NVMe with ext4 and run the installation in the armbian-config menu). After installing the new version of u-boot in SPI\MTD and installing the system on NVMe, you can easily run any system from an SD card or USB without disrupting the main system on NVMe. Just connect the media (SD \ USB), turn on the power and the system starts from these media. You can easily run test systems without affecting the main system on NVMe. Question. There are users here who use SATA instead of NVMe ? 2 Quote Link to comment Share on other sites More sharing options...
hste Posted March 28, 2023 Share Posted March 28, 2023 Does it support ssd-sata or only nvme? hste 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 28, 2023 Author Share Posted March 28, 2023 7 минут назад, hste сказал: Does it support ssd-sata or only nvme? Enabled by default in u-boot NVMe. For SATA, need to build the u-boot separately. I don't have any testing equipment. If there is someone willing to take a risk and check how the option for SATA in MTD will work, I can try to build it, but there will be no guarantees. 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 28, 2023 Author Share Posted March 28, 2023 version 20230328-mtd-spi with support for installation on MTD\SPI and direct launch from USB\SD\NVMe. Please note, this is a test version and errors are possible, it is recommended for experienced users who will be able to restore the system in case of a bootloader failure. 1 Quote Link to comment Share on other sites More sharing options...
royk Posted March 28, 2023 Share Posted March 28, 2023 (edited) The bootloader does work, but I can't boot into X. After the kernel is loaded it's repeating messages on the screen with "Failed to start network manager", "failed to start D-bus system message bus", "Failed to start User login management", "Failed to start system logging service" I did a manual install, removed all partitions on the nvme, created one ext4 partition, then mounted your "image for mtd install with gnome". cp -ra /location/image/* /location/nvme/ Changed the UUID in extlinux and fstab, then wrote the bootloader /usr/lib/linux-u-boot-current-orangepi5_23.02.3_arm64/rkspi_loader.img to mtdblock0. Oops I think I'd to check the disk first: " re-mounted 715e6119-a664-4ffb-8e5f-1ef95ca8a651. Quota mode: none." Ok wrote the image to usb and this booted correctly, then I installed it to the nvme with "armbian-install" and now it boots from nvme, so everything is working correctly. Edited March 28, 2023 by royk Made a mistake 0 Quote Link to comment Share on other sites More sharing options...
hste Posted March 29, 2023 Share Posted March 29, 2023 I get some errors in dmesg: https://pastes.io/qwuulywj7b Sound doesn't work and the 3rd usb port didn't work Thanks for your efforts on bringing a fully working devicetree for mainline on orange pi 5 hste 0 Quote Link to comment Share on other sites More sharing options...
fredrum Posted March 30, 2023 Share Posted March 30, 2023 Hi I'm excited to try mesa Panfrost (not panfork) with this kernel and have managed to get a build. But I keep getting llvm instead of the GPU and was wondering if anyone know what I need to do? I'm using this config command: meson --prefix /usr --libdir lib -Dvulkan-drivers= -Dlibunwind=false -Dgallium-drivers=panfrost,kmsro,swrast -Dplatforms=x11,wayland -Dbuildtype=release -Degl=true -Dgles1=true -Dgles2=true build I'm also adding the /usr/lib and /usr/lib/dri paths to ld conf files and it seems they are found. But glxinfo still gives me just llvm. Cheers! 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 30, 2023 Author Share Posted March 30, 2023 Ver 20230329 kernel legacy (5.10.110) and current (6.2-rc1) 4 часа назад, fredrum сказал: Hi I'm excited to try mesa Panfrost (not panfork) with this kernel and have managed to get a build. But I keep getting llvm instead of the GPU and was wondering if anyone know what I need to do? I tested HW using a single image with the mesa 23 package installed (I run it from USB), the difference is only in DTB. Acceleration works on Rock 5b and Station M3, acceleration does not work on OPi-5 and khadas edge 2. I haven't really figured it out yet, but I think the reason is the differences in DTB. See details and test results with acceleration on the 6.2 kernel in this topic. there is also a link to the DEB package with the new mesa with which HW acceleration works for me. 0 Quote Link to comment Share on other sites More sharing options...
hste Posted March 30, 2023 Share Posted March 30, 2023 I guess the missing sram-supply setting maybe why pancfs fail [ 2.168427] rockchip-vop2 fdd90000.vop: Adding to iommu group 0 [ 2.168522] pancsf fb000000.gpu: Looking up sram-supply from device tree [ 2.168965] pancsf fb000000.gpu: Looking up sram-supply property in node /gpu@fb000000 failed hste 1 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 30, 2023 Author Share Posted March 30, 2023 3 часа назад, hste сказал: I guess the missing sram-supply setting maybe why pancfs fail fix https://disk.yandex.ru/d/IJgrWsME_WSLOg work glmark2-wayland (image 20230329-current gnome3 + fix dtb) ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 2942 FrameTime: 0.340 ms [build] use-vbo=true: FPS: 3167 FrameTime: 0.316 ms [texture] texture-filter=nearest: FPS: 4085 FrameTime: 0.245 ms [texture] texture-filter=linear: FPS: 4252 FrameTime: 0.235 ms [texture] texture-filter=mipmap: FPS: 4242 FrameTime: 0.236 ms [shading] shading=gouraud: FPS: 2461 FrameTime: 0.406 ms [shading] shading=blinn-phong-inf: FPS: 2502 FrameTime: 0.400 ms [shading] shading=phong: FPS: 2162 FrameTime: 0.463 ms [shading] shading=cel: FPS: 2046 FrameTime: 0.489 ms [bump] bump-render=high-poly: FPS: 910 FrameTime: 1.099 ms [bump] bump-render=normals: FPS: 4070 FrameTime: 0.246 ms [bump] bump-render=height: FPS: 3596 FrameTime: 0.278 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1688 FrameTime: 0.592 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 613 FrameTime: 1.631 ms [pulsar] light=false:quads=5:texture=false: FPS: 3664 FrameTime: 0.273 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 545 FrameTime: 1.835 ms [desktop] effect=shadow:windows=4: FPS: 2067 FrameTime: 0.484 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 575 FrameTime: 1.739 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 553 FrameTime: 1.808 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 642 FrameTime: 1.558 ms [ideas] speed=duration: FPS: 1576 FrameTime: 0.635 ms [jellyfish] <default>: FPS: 2294 FrameTime: 0.436 ms [terrain] <default>: FPS: 102 FrameTime: 9.804 ms [shadow] <default>: FPS: 1424 FrameTime: 0.702 ms [refract] <default>: FPS: 114 FrameTime: 8.772 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3475 FrameTime: 0.288 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2528 FrameTime: 0.396 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 3543 FrameTime: 0.282 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 3128 FrameTime: 0.320 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2540 FrameTime: 0.394 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3121 FrameTime: 0.320 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 3237 FrameTime: 0.309 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2505 FrameTime: 0.399 ms ======================================================= glmark2 Score: 2314 ======================================================= glmark2-es-wayland ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 3079 FrameTime: 0.325 ms [build] use-vbo=true: FPS: 2924 FrameTime: 0.342 ms [texture] texture-filter=nearest: FPS: 4044 FrameTime: 0.247 ms [texture] texture-filter=linear: FPS: 3891 FrameTime: 0.257 ms [texture] texture-filter=mipmap: FPS: 3785 FrameTime: 0.264 ms [shading] shading=gouraud: FPS: 2432 FrameTime: 0.411 ms [shading] shading=blinn-phong-inf: FPS: 2502 FrameTime: 0.400 ms [shading] shading=phong: FPS: 2138 FrameTime: 0.468 ms [shading] shading=cel: FPS: 2088 FrameTime: 0.479 ms [bump] bump-render=high-poly: FPS: 922 FrameTime: 1.085 ms [bump] bump-render=normals: FPS: 4238 FrameTime: 0.236 ms [bump] bump-render=height: FPS: 4150 FrameTime: 0.241 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2675 FrameTime: 0.374 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1078 FrameTime: 0.928 ms [pulsar] light=false:quads=5:texture=false: FPS: 3510 FrameTime: 0.285 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 649 FrameTime: 1.541 ms [desktop] effect=shadow:windows=4: FPS: 2211 FrameTime: 0.452 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 570 FrameTime: 1.754 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 551 FrameTime: 1.815 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 671 FrameTime: 1.490 ms [ideas] speed=duration: FPS: 1656 FrameTime: 0.604 ms [jellyfish] <default>: FPS: 2159 FrameTime: 0.463 ms [terrain] <default>: FPS: 109 FrameTime: 9.174 ms [shadow] <default>: FPS: 1427 FrameTime: 0.701 ms [refract] <default>: FPS: 113 FrameTime: 8.850 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 3398 FrameTime: 0.294 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2840 FrameTime: 0.352 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 3337 FrameTime: 0.300 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 3065 FrameTime: 0.326 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 2532 FrameTime: 0.395 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 3289 FrameTime: 0.304 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2811 FrameTime: 0.356 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2459 FrameTime: 0.407 ms ======================================================= glmark2 Score: 2342 ======================================================= x11 ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: 3.0 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 965 FrameTime: 1.036 ms [build] use-vbo=true: FPS: 979 FrameTime: 1.021 ms [texture] texture-filter=nearest: FPS: 1032 FrameTime: 0.969 ms [texture] texture-filter=linear: FPS: 1020 FrameTime: 0.980 ms [texture] texture-filter=mipmap: FPS: 1022 FrameTime: 0.978 ms [shading] shading=gouraud: FPS: 833 FrameTime: 1.200 ms [shading] shading=blinn-phong-inf: FPS: 831 FrameTime: 1.203 ms [shading] shading=phong: FPS: 769 FrameTime: 1.300 ms [shading] shading=cel: FPS: 740 FrameTime: 1.351 ms [bump] bump-render=high-poly: FPS: 352 FrameTime: 2.841 ms [bump] bump-render=normals: FPS: 1110 FrameTime: 0.901 ms [bump] bump-render=height: FPS: 1085 FrameTime: 0.922 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 791 FrameTime: 1.264 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 432 FrameTime: 2.315 ms [pulsar] light=false:quads=5:texture=false: FPS: 979 FrameTime: 1.021 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 370 FrameTime: 2.703 ms [desktop] effect=shadow:windows=4: FPS: 842 FrameTime: 1.188 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 588 FrameTime: 1.701 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 585 FrameTime: 1.709 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 668 FrameTime: 1.497 ms [ideas] speed=duration: FPS: 726 FrameTime: 1.377 ms [jellyfish] <default>: FPS: 944 FrameTime: 1.059 ms [terrain] <default>: FPS: 93 FrameTime: 10.753 ms [shadow] <default>: FPS: 679 FrameTime: 1.473 ms [refract] <default>: FPS: 91 FrameTime: 10.989 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 930 FrameTime: 1.075 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 879 FrameTime: 1.138 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 914 FrameTime: 1.094 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 919 FrameTime: 1.088 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 875 FrameTime: 1.143 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 935 FrameTime: 1.070 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 925 FrameTime: 1.081 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 872 FrameTime: 1.147 ms ======================================================= glmark2 Score: 781 ======================================================= x11 es2 ======================================================= glmark2 2021.02 ======================================================= OpenGL Information GL_VENDOR: Mesa GL_RENDERER: Mali-G610 (Panfrost) GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-cbe80448cc) ======================================================= [build] use-vbo=false: FPS: 1017 FrameTime: 0.983 ms [build] use-vbo=true: FPS: 1021 FrameTime: 0.979 ms [texture] texture-filter=nearest: FPS: 1130 FrameTime: 0.885 ms [texture] texture-filter=linear: FPS: 1120 FrameTime: 0.893 ms [texture] texture-filter=mipmap: FPS: 1115 FrameTime: 0.897 ms [shading] shading=gouraud: FPS: 832 FrameTime: 1.202 ms [shading] shading=blinn-phong-inf: FPS: 819 FrameTime: 1.221 ms [shading] shading=phong: FPS: 771 FrameTime: 1.297 ms [shading] shading=cel: FPS: 814 FrameTime: 1.229 ms [bump] bump-render=high-poly: FPS: 356 FrameTime: 2.809 ms [bump] bump-render=normals: FPS: 1130 FrameTime: 0.885 ms [bump] bump-render=height: FPS: 1099 FrameTime: 0.910 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 961 FrameTime: 1.041 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 632 FrameTime: 1.582 ms [pulsar] light=false:quads=5:texture=false: FPS: 1058 FrameTime: 0.945 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 419 FrameTime: 2.387 ms [desktop] effect=shadow:windows=4: FPS: 883 FrameTime: 1.133 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 573 FrameTime: 1.745 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 587 FrameTime: 1.704 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 681 FrameTime: 1.468 ms [ideas] speed=duration: FPS: 728 FrameTime: 1.374 ms [jellyfish] <default>: FPS: 978 FrameTime: 1.022 ms [terrain] <default>: FPS: 99 FrameTime: 10.101 ms [shadow] <default>: FPS: 700 FrameTime: 1.429 ms [refract] <default>: FPS: 95 FrameTime: 10.526 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 1026 FrameTime: 0.975 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 930 FrameTime: 1.075 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 1009 FrameTime: 0.991 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 989 FrameTime: 1.011 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 886 FrameTime: 1.129 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 994 FrameTime: 1.006 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 989 FrameTime: 1.011 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 892 FrameTime: 1.121 ms ======================================================= glmark2 Score: 828 ======================================================= 2 Quote Link to comment Share on other sites More sharing options...
fredrum Posted March 30, 2023 Share Posted March 30, 2023 (edited) Sweet thank you so much for posting that .dtb I will try it out as soon as I get time which will probably be Sunday! Edited March 30, 2023 by fredrum 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted March 31, 2023 Author Share Posted March 31, 2023 Version 20230331 fixed the third USB (white). 0 Quote Link to comment Share on other sites More sharing options...
hste Posted March 31, 2023 Share Posted March 31, 2023 Quote 2 hours ago, balbes150 said: Version 20230331 fixed the third USB (white). Thanks. Thing getting better and better. I still cant get soundcard working. I don't know if that is a kernel or devicetree problem hste 0 Quote Link to comment Share on other sites More sharing options...
fredrum Posted April 2, 2023 Share Posted April 2, 2023 (edited) I'm not having much luck not sure what I'm doing wrong. I'm working with 20230329-current lunar gnome desktop, fresh flash with nothing added or changed. Linux orangepi5 6.2.0-rc1-station-m3 #trunk SMP PREEMPT_DYNAMIC Sat Mar 25 17:10:20 MSK 2023 aarch64 aarch64 aarch64 GNU/Linux (the 20230331-current desktop images will not boot for me) I tried copy the rk3588s-orangepi-5.dtb to /boot/dtb/rockchip/ and reboot. Running the gnome wayland desktop. But no Mali GPU in glxinfo just llvm still. If I run, dmesg | grep pancsf i get, [ 2.206484] pancsf fb000000.gpu: clock rate = 198000000 [ 2.206963] pancsf fb000000.gpu: bus_clock rate = 200000000 [ 2.207490] pancsf fb000000.gpu: [drm:pancsf_devfreq_init [pancsf]] More than 1 supply is not supported yet [ 2.208395] pancsf fb000000.gpu: Looking up mali-supply from device tree [ 2.209459] pancsf fb000000.gpu: Looking up sram-supply from device tree [ 2.210974] pancsf fb000000.gpu: EM: OPP:400000 is inefficient [ 2.211270] pancsf fb000000.gpu: EM: OPP:300000 is inefficient [ 2.211372] pancsf fb000000.gpu: EM: created perf domain [ 2.212044] pancsf fb000000.gpu: mali-g610 id 0xa867 major 0x0 minor 0x0 status 0x5 [ 2.213481] pancsf fb000000.gpu: Features: L2:0x07120306 Tiler:0x00000809 Mem:0x301 MMU:0x00002830 AS:0xff [ 2.214961] pancsf fb000000.gpu: shader_present=0x50005 l2_present=0x1 tiler_present=0x1 [ 2.216816] pancsf fb000000.gpu: Direct firmware load for mali_csffw.bin failed with error -2 [ 2.218010] pancsf fb000000.gpu: Failed to load firmware image 'mali_csffw.bin' [ 2.219478] pancsf fb000000.gpu: Fatal error during GPU init [ 2.220192] pancsf: probe of fb000000.gpu failed with error -2 I actually also tried to install the mali_csffw.bin file following an older jeffyCN instruction from a different thread on the forum but it didn't help. Edited April 2, 2023 by fredrum 0 Quote Link to comment Share on other sites More sharing options...
hste Posted April 2, 2023 Share Posted April 2, 2023 I think the image with desktop has the old dtb file. I downloaded the minimal lunar image and fetched the dtb from that image and put this on the desktop image and then it worked for me, but I had some glitches on the output when using the new mesa fork debs. hste 0 Quote Link to comment Share on other sites More sharing options...
hste Posted April 2, 2023 Share Posted April 2, 2023 (edited) 1 hour ago, fredrum said: I tried copy the rk3588s-orangepi-5.dtb to /boot/dtb/rockchip/ and reboot. This is the one from the minimal image rk3588s-orangepi-5.dtb Edited April 2, 2023 by hste 0 Quote Link to comment Share on other sites More sharing options...
fredrum Posted April 2, 2023 Share Posted April 2, 2023 (edited) I took the .dtb that balbes150 links a couple of posts up. So you took that file from a non-desktop image? UPDATE: Thank you I'll try with that one. UPDATE2: Ok so I instead copied in the .dtb that you just attached above here and rebooted. Something is different (I think filesize is different but haven't checked) because now it won't boot up. Incidentally the same thing happens as when I use the latest 20230331-current images, Power goes on with the red LED then after 10 seconds or so the green starts to repeatedly blink but nothing shows up on the monitor its completely black and I don't think it gets signal. I have tried both using the usb-c and the hdmi port. Edited April 2, 2023 by fredrum 0 Quote Link to comment Share on other sites More sharing options...
hste Posted April 2, 2023 Share Posted April 2, 2023 Try the image without the new mesa debs first to see if it boots. Have you checked that the extlinux.conf in /boot/extlinux/points to the dtb file. You could try flashingt the non-desktop image and see if it boots 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 2, 2023 Author Share Posted April 2, 2023 Downloaded the ubuntu gnome version 20230331-current. I unpacked it, wrote it to the SD card (I pay attention not to change anything), connected it to OPi5, turned it on and got a working screen with gnom3. installed the archive, rebooted, got HW acceleration. What kind of monitor do you have and how is it connected ? What's in MTD\SPI (if the old stuff is from other systems, erase or update to the version from these images)? To install files from the archive - do not run the GUI, switch to the text console (Ctrl+Alt+F2) and replace files there. If you try to replace files in the running GUI, the system will not be able to complete the file replacement operation. 0 Quote Link to comment Share on other sites More sharing options...
fredrum Posted April 2, 2023 Share Posted April 2, 2023 (edited) Ok I got a little bit further but no cigar. I managed to get the ubuntu gnome version 20230331-current going. It seems that image didn't like my regular HD Samsung SyncMaster SA650 monitor (usb-c to displayport). Its a ~10 year old monitor that's been very reliable and works fine otherwise. It also worked on your 20230329-current image. Anyway I got visuals with a different Asus HD monitor I had lying around (HDMI). Great! I then tried with both the rk3588s-orangepi-5.dtb files you guys suggested to try. I copied them to Desktop then did Ctrl+Alt+F1 to switch to tty and ran the copy command to /boot/dtb/rockchip from there. I rebooted and tried with glxinfo -B but I still get only llvm. @balbes150 when you say 'installed the archive' do you just refer to that .dtb copy or something else? UPDATE: Ah I just did the old, dmesg | grep pancsf and that's looking better and outputs, [ 2.193441] pancsf fb000000.gpu: clock rate = 198000000 [ 2.193943] pancsf fb000000.gpu: bus_clock rate = 200000000 [ 2.194454] pancsf fb000000.gpu: [drm:pancsf_devfreq_init [pancsf]] More than 1 supply is not supported yet [ 2.195400] pancsf fb000000.gpu: Looking up mali-supply from device tree [ 2.195575] pancsf fb000000.gpu: Looking up sram-supply from device tree [ 2.196482] pancsf fb000000.gpu: EM: OPP:400000 is inefficient [ 2.196489] pancsf fb000000.gpu: EM: OPP:300000 is inefficient [ 2.196625] pancsf fb000000.gpu: EM: created perf domain [ 2.197427] pancsf fb000000.gpu: mali-g610 id 0xa867 major 0x0 minor 0x0 status 0x5 [ 2.198112] pancsf fb000000.gpu: Features: L2:0x07120306 Tiler:0x00000809 Mem:0x301 MMU:0x00002830 AS:0xff [ 2.198956] pancsf fb000000.gpu: shader_present=0x50005 l2_present=0x1 tiler_present=0x1 [ 2.200827] pancsf fb000000.gpu: Firmware protected mode entry not be supported, ignoring [ 2.201576] pancsf fb000000.gpu: Firmware protected mode entry not be supported, ignoring [ 2.202288] pancsf fb000000.gpu: Firmware protected mode entry not be supported, ignoring [ 2.203232] pancsf fb000000.gpu: CSF FW v1.1.0, Features 0 Instrumentation features 71 [ 2.204081] [drm] Initialized pancsf 1.0.0 20230120 for fb000000.gpu on minor 0 So to me that looks good at least now on the pancsf front? Something else now instead then...hmm Just checked /boot/extlinux/extlinux.conf and it looks ok I guess, label Armbian kernel /boot/Image initrd /boot/uInitrd fdt /boot/dtb/rockchip/rk3588s-orangepi-5.dtb append root=UUID=9667a537-98e8-470a-8819-5aa4dd9b0b9b console=ttyS02,1500000 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles Edited April 2, 2023 by fredrum 0 Quote Link to comment Share on other sites More sharing options...
hste Posted April 2, 2023 Share Posted April 2, 2023 I think he refered to the mesa debs. I did a "sudo systemctl stop lightdm" to be sure, and installed them from console and took a reboot 0 Quote Link to comment Share on other sites More sharing options...
fredrum Posted April 2, 2023 Share Posted April 2, 2023 (edited) Ok I think I'm still a bit fuzzy about what that means. Iv'e tried so many different patchy files from different threads now When I do this I 'brick' my system its not showing my anything and I have to start from scratch again and reflash, dpkg -i --force-overwrite mesa_23.0.0-dev-2_arm64.deb dpkg -i --force-overwrite mesa_23.0.0-devel-3_arm64.deb from: https://mega.nz/folder/j9QSDQSQ#6WpasOlbZYIInfw6yo4phQ/folder/LkgF1SoY I also tried again to build mesa myself but that also did still not find the GPU. Edited April 2, 2023 by fredrum 0 Quote Link to comment Share on other sites More sharing options...
balbes150 Posted April 3, 2023 Author Share Posted April 3, 2023 16 часов назад, fredrum сказал: when you say 'installed the archive' do you just refer to that .dtb copy or something else? https://disk.yandex.ru/d/8bvdNUmRcIBAxQ 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.