Re: kernel modules for rockchip video for pinebook pro and rockpro64
Mario Marietto <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <CA+1FSijaRjs+-ZGCNDePU5GXFzLgXqBMzk-g4M-zGv-xFARgkw@mail.gmail.com> |
> > Ruslan Bukin said : Progress on the graphics part of FreeBSD/arm64 handheld. It was an unusually hot month in England, both in terms of weather but also my work on Vivante 3D GPU support for FreeBSD. The victim GPU was found in the stm32mp2 SoC we use as the main processing unit in the handheld. Just got it working using the Etnaviv (reverse-engineered) driver for Vivante GPUs found in the Mesa3D project. There are some artefacts on the video, but generally it works :) It is not just about Etnaviv support at FreeBSD kernel side, but lots of work around it (from STM32 video subsystem and video clocks, down to schematics and GPU power supply) which is not easily portable to other hardware. In this demo, OpenGL runs directly on KMS/DRM without an underlying compositor. This project is very similar to the Panfrost (reverse-engineered ARM Mali GPU) driver that took me away for a much longer period a few years ago. Next step would be to implement a compositor, so we could run multiple applications and have some mobile user-interface allowing us to navigate between windows. Is Ruslan Bukin a genius ? On Thu, Aug 14, 2025 at 8:31 AM Michał Kruszewski <[email protected]> wrote: > Developing video/graphic stack is hard. > You rather can't expect anyone to do it in his free time. > Arm doesn't even provide documentation for its GPUs. > > Regards, > Michał Kruszewski > > > Sent with Proton Mail <https://proton.me/mail/home> secure email. > > On Wednesday, August 13th, 2025 at 11:07 PM, Mario Marietto < > [email protected]> wrote: > > In the while I've been able to upgrade FreeBSD 13.0 of the Khadas Edge to > 14.2 using the command : > > # freebsd-update upgrade -r 14.2 > > # freebsd-version -kru > 14.2-RELEASE-p1 > 14.2-RELEASE-p1 > 14.2-RELEASE-p5 > > Apparently I don't see problems. My HDMI screen does not tremble. Next > steps : > > a) install the panfrost driver and see it the monitor tremble. > > b) see if a smaller 4 inches screen is working great with and without the > pan frost driver. > > c) upgrade 14.2 to 15.0-CURRENT (not sure if I can do it using the > freebsd-update script) > > d) If I can upgrade it,try to install the JSM code (I mean the modified > version of Emmanuel Vadot's work to be buildable as kmods) > > A lot of work... > > > On Wed, Aug 13, 2025 at 1:26 AM Sulev-Madis Silber < > [email protected]> wrote: > >> that's awesome! what are all those components there and how well or not >> they work with fbsd? i haven't fully followed whole story. except >> "something runs" >> >> but i mean, i've told about being curious about getting h618 supported, >> in that i'm willing to test and have some code that could be looked into. >> noone really got to this "hook" either. i even asked what are suggestions >> on working hw. neither did anyone much reply about bbb related project some >> times ago, that also runs fbsd >> >> was kind of better 10 years ago? i try on forums and irc too. there are >> fbsd embedded users but i mean. has the "pool" run dry? with 8 billion >> people in the world i refuse to believe that it's so bad >> >> yet there's some dev work going on. i sometimes browse current src tree >> and it's commit logs and there i see riscv allwinner d1 getting support and >> so on. kind of chicken and the egg problem too. not sure what to think of >> all this >> >> >> >> On August 13, 2025 1:09:55 AM GMT+03:00, Mario Marietto < >> [email protected]> wrote: >> >At this point of the development,some kind of mobile phone should start >> to >> >be recognized... >> > >> > >> >[image: WhatsApp Image 2025-08-12 at 23.59.46.jpeg] >> > >> > >> >On Tue, Aug 12, 2025 at 7:33 PM Mario Marietto <[email protected]> >> >wrote: >> > >> >> More compact version of the cyberdesk that I'm building : >> >> >> >> >> >> [image: WhatsApp Image 2025-08-12 at 19.25.14.jpeg] >> >> >> >> >> >> On Tue, Aug 12, 2025 at 5:40 PM Mario Marietto <[email protected] >> > >> >> wrote: >> >> >> >>> I don't know bro. What I know is that I'm spending a lot of money >> trying >> >>> to develop my / our first FreeBSD modular device / phone made only of >> >>> adapters and cables and USB connectable and disconnectable >> peripherals. >> >>> It will be based on the radxa zero 3W and the code of Soren,Covacat >> and >> >>> JSM. Maybe now is ugly,but it will be nice when finished :) >> >>> >> >>> >> >>> [image: WhatsApp Image 2025-08-12 at 17.25.07.jpeg] >> >>> >> >>> >> >>> >> >>> On Tue, Aug 12, 2025 at 5:23 PM Sulev-Madis Silber < >> >>> [email protected]> wrote: >> >>> >> >>>> i wonder where are the others? of course one person can't hold the >> whole >> >>>> circus up on free time only. judging from amount of people in the >> world, >> >>>> number of common operating systems, number of common architectures, >> amount >> >>>> of available hardware, it would be plenty of people developing, >> testing and >> >>>> using all of that for either private or commercial purposes. each of >> them >> >>>> could take breaks for whatever reason so noone burns out. i don't >> expect >> >>>> them all be subcribed to this list but where are they >> >>>> >> >>>> >> >>> >> >>> -- >> >>> Mario. >> >>> >> >> >> >> >> >> -- >> >> Mario. >> >> >> > >> > >> >> > > -- > Mario. > > > -- Mario.