<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックSupport for Direct Framebuffer Write to Display on i.MX8QXP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Support-for-Direct-Framebuffer-Write-to-Display-on-i-MX8QXP/m-p/2399147#M246151</link>
    <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi NXP Team,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Soc : iMX8qxpC0mek&lt;BR /&gt;Linux O.S : yocto [Scarthgap L6.6.5 ]&lt;BR /&gt;We would like to check whether direct framebuffer writing to the display is supported on the i.MX8QXP Yocto Linux platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Our requirement is to display graphics or an image directly during the early boot stage, before the Weston/Wayland compositor and HMI application are initialized.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Could you please clarify:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Whether direct framebuffer access, such as &lt;/SPAN&gt;&lt;SPAN&gt;/dev/fb0&lt;/SPAN&gt;&lt;SPAN&gt;, is supported.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Whether the display can be updated directly using DRM/KMS without starting Weston.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Whether NXP provides any reference application or sample code for direct display rendering&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The required kernel configurations, device-tree changes, or display-driver settings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Whether direct framebuffer access could conflict with Weston when the compositor starts later.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN&gt;Please share the recommended approach for implementing early display output on the i.MX8QXP platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2026 09:30:59 GMT</pubDate>
    <dc:creator>Ram2</dc:creator>
    <dc:date>2026-07-27T09:30:59Z</dc:date>
    <item>
      <title>Support for Direct Framebuffer Write to Display on i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-for-Direct-Framebuffer-Write-to-Display-on-i-MX8QXP/m-p/2399147#M246151</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi NXP Team,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Soc : iMX8qxpC0mek&lt;BR /&gt;Linux O.S : yocto [Scarthgap L6.6.5 ]&lt;BR /&gt;We would like to check whether direct framebuffer writing to the display is supported on the i.MX8QXP Yocto Linux platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Our requirement is to display graphics or an image directly during the early boot stage, before the Weston/Wayland compositor and HMI application are initialized.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Could you please clarify:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Whether direct framebuffer access, such as &lt;/SPAN&gt;&lt;SPAN&gt;/dev/fb0&lt;/SPAN&gt;&lt;SPAN&gt;, is supported.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Whether the display can be updated directly using DRM/KMS without starting Weston.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Whether NXP provides any reference application or sample code for direct display rendering&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The required kernel configurations, device-tree changes, or display-driver settings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Whether direct framebuffer access could conflict with Weston when the compositor starts later.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN&gt;Please share the recommended approach for implementing early display output on the i.MX8QXP platform.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2026 09:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-for-Direct-Framebuffer-Write-to-Display-on-i-MX8QXP/m-p/2399147#M246151</guid>
      <dc:creator>Ram2</dc:creator>
      <dc:date>2026-07-27T09:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Support for Direct Framebuffer Write to Display on i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Support-for-Direct-Framebuffer-Write-to-Display-on-i-MX8QXP/m-p/2399283#M246159</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228214"&gt;@Ram2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1. Is /dev/fb0 (fbdev) supported?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;No, not natively on i.MX 8. The NXP &lt;A href="https://www.nxp.com/docs/en/reference-manual/RM00293.pdf" target="_self"&gt;i.MX Linux Reference Manual&lt;/A&gt; explicitly shows ins chapter 6.2.2 Frame buffer:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Frame buffer drivers are supported for i.MX 6 and i.MX 7, but not for i.MX 8&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Direct DRM/KMS access without Weston&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes, this is the correct and supported approach.&lt;/P&gt;
&lt;P&gt;On i.MX 8, Weston uses the DRM backend, which means Weston must not be running when an application directly accesses DRM/KMS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can take a look to the chapter 7.3.10.7 cam test application of&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/UG10163.pdf" target="_self"&gt;UG10163&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. NXP Reference Application / Sample Code&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can take a look to the&amp;nbsp;SDK_2_9_0_MEK-MIMX8QX\boards\mekmimx8qx\driver_examples\dpu\character example. Download it from &lt;A href="https://mcuxpresso.nxp.com/select" target="_self"&gt;MCUXpresso SDK&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4. Kernel Configuration, Device Tree, and Display Driver Settings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Kernel configuration (in imx_v8_defconfig):&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;CONFIG_DRM=y # DRM framework
CONFIG_DRM_IMX=y # i.MX DPU DRM driver (drivers/gpu/drm/imx)
CONFIG_DRM_IMX_DPU=y # DPU-specific DRM module
CONFIG_DRM_IMX_MIPI_DSI_NORTHWEST=y # MIPI DSI (for OLED panel support)
CONFIG_DRM_IMX_LDB=y # LVDS Display Bridge&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look to the&amp;nbsp;Table 10. Kernel and device tree configurations of&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/release-note/RN00210.pdf" target="_self"&gt;RN00210&lt;/A&gt;, in section Video Display.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;5. Conflict with Weston When It Starts Later&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes, there is a conflict.&lt;/P&gt;
&lt;P&gt;Since both the early-boot DRM/KMS application and Weston fight for exclusive control of /dev/dri/card0, the early application must release the DRM master before Weston starts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try display via U-Boot logo. U-Boot supports BMP images rendered via DRM/simplefb. This completely avoids the Linux-layer conflict and produces the earliest possible splash screen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2026 17:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Support-for-Direct-Framebuffer-Write-to-Display-on-i-MX8QXP/m-p/2399283#M246159</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2026-07-27T17:54:48Z</dc:date>
    </item>
  </channel>
</rss>

