Firefly Open Source Community

Title: AIO-3568J Frame buffer and HDMI [Print This Page]

Author: Paquq    Time: 7/19/2022 16:32
Title: AIO-3568J Frame buffer and HDMI
Hello, I launched the kernel from the sdk and busy box on this board, the frame buffer is created when the HDMI is connected, after which the backlight turns on. The problem is that writing random data to frame buffer (fb0) is not displayed on the monitor. Kernel config is firefly_linux_defconfig and device tree is rk3568-firefly-aioj.dtbI attach dmesg with drm debugging.
https://drive.google.com/file/d/ ... 4/view?usp=drivesdk


Author: ʱ¼äµÄºûµû    Time: 7/22/2022 09:17
The display is managed by the windows system(X11/Wayland), you can try to close it or use /dev/dri/card0.
Author: Paquq    Time: 7/30/2022 22:55
I need to use the Frame buffer that is being created in /dev/fb0, is there any way I can do this?
Author: Paquq    Time: 9/2/2022 14:25
I built the sdk system and everything works fine, including the framebuffer and the console on the display, but when I try to build my system with my file system (kernel and u-boot from the sdk), the frame frame buffer does not work and there is no console on the display.

An attempt was also made to write a driver for the framebuffer using libdrm, but it does not work either, although it functions on other machines. What could be the problem?
Author: Paquq    Time: 9/5/2022 20:08
Last edited by Paquq In 9/5/2022 20:09 Editor

After a small reconciliation of the boot log, I noticed that the reason for the lack of communication between the frame buffer and the HDMI connector may be an incorrect vop2 driver bind. The output is made from the following lines of the boot log:

[    0.388660] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x0, primary plane phy id: -1
[    0.388721] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp1 assign plane mask: 0x0, primary plane phy id: -1
[    0.388773] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp2 assign plane mask: 0x0, primary plane phy id: -1
When the sdk assembly has a different line with vp0:
rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x3f, primary plane phy id: 4


Author: brianfo321    Time: 2/8/2026 13:13
I¡¯m in awe of your article, thank you so much for sharing! The Platform-App-Builder test name exam is almost here. Please send me good vibes!
Author: neilgre730    Time: 2/15/2026 23:09
I¡¯m left in complete awe by your article, thank you for sharing it! Best of luck to everyone! The New exam MB-330 collection free exam papers are now shared for free!
Author: jamesgr560    Time: 2/24/2026 16:11
I¡¯m grateful for the inspiration this article provides, thanks for sharing! Ready for the Updated C1000-182 CBT exam? Wishing myself all the best!
Author: janiecarmody    Time: 7 hour before
Dealing with frame buffer issues or screen tearing can ruin a smooth gaming session, forcing you to step away from the desk to clear your head. Setting up an aluminum canopy tent in the backyard provides a great change of scenery to relax while waiting for a system update or render to finish. Stepping into a shaded, outdoor environment lets you hit the reset button after staring at pixels for too long. A bit of fresh air and a comfortable spot outside makes troubleshooting tech glitches feel a lot less frustrating.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1