<?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>topic Re: IMX6ULL LCD pixel format issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-LCD-pixel-format-issue/m-p/1370902#M182997</link>
    <description>&lt;P&gt;Hi Stian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;I am currently working on upgrading my Yocto distribution for IMX6ULL target from sumo to dunfell..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;unfortunately nxp does not support dunfell in its official linux releases as can be found in description&lt;/P&gt;
&lt;P&gt;for each bsp in Linux Release Notes (sect.2.1 New features) on official nxp linux documentation link below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example, supported yocto versions:&lt;/P&gt;
&lt;P&gt;Linux L5.10.35, 52 Hardknott&lt;BR /&gt;Linux L5.10.9 Gatesgarth.&lt;BR /&gt;Linux L5.4.3, 24, 47, 70 Zeus. &lt;BR /&gt;Linux L4.19.35 Warrior&lt;BR /&gt;Linux L4.14.98 Sumo&lt;/P&gt;
&lt;P&gt;For example one can try with NXP linux L5.10&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull-14x14-evk.dts?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull-14x14-evk.dts?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Support for non-nxp linux, like mainline or community bsps can be provided through meta-fsl-arm mailing list&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp; &lt;A href="https://lists.yoctoproject.org/g/meta-freescale" target="_blank"&gt;https://lists.yoctoproject.org/g/meta-freescale&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Difference between nxp official linux bsp and community bsp is described on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/difference-between-Yocto-Community-BSP-and-Freescale-BSP-Release/m-p/296848#402940" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/difference-between-Yocto-Community-BSP-and-Freescale-BSP-Release/m-p/296848#402940&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Nov 2021 10:00:38 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-11-13T10:00:38Z</dc:date>
    <item>
      <title>IMX6ULL LCD pixel format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-LCD-pixel-format-issue/m-p/1370617#M182980</link>
      <description>&lt;P&gt;I am currently working on upgrading my Yocto distribution for IMX6ULL target from sumo to dunfell, and have run into a peculiar problem I am unable to solve. In short, the problem is that red comes out as blue, and vice-versa, on my LCD touch display. The problem persists in both u-boot-imx (fixed splash image) and linux. It seems that fb, xorg or a driver is configured to utilize BGR24 instead of RGB24. I did not have this problem at all on sumo. My new kernel configuration is more or less the same as before. The device tree is the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fbset command provides the following information. The "rgba" setting clearly says BGR24. I am unable to change the rgba setting using the fbset command. Nothing happens. I have also tried to do the same from code, using ioctl: "ioctl(fbfd, FBIOPUT_VSCREENINFO, &amp;amp;vinfo)", and setting vinfo.red.offset = 0 and vinfo.blue.offset = 16. It seems to me that this information is read-only.&lt;/P&gt;&lt;P&gt;mode "480x272-60"&lt;BR /&gt;# &lt;LI-EMOJI id="lia_anguished-face" title=":anguished_face:"&gt;&lt;/LI-EMOJI&gt; 9.200 MHz, H: 17.359 kHz, V: 60.273 Hz&lt;BR /&gt;geometry 480 272 480 272 32&lt;BR /&gt;timings 108695 4 5 2 4 41 10&lt;BR /&gt;accel false&lt;BR /&gt;rgba 8/16,8/8,8/0,0/0&lt;BR /&gt;endmode&lt;/P&gt;&lt;P&gt;Here is my lcd device tree configuration:&lt;/P&gt;&lt;P&gt;&amp;amp;lcdif {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;compatible = "fsl,imx28-lcdif";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lcdif_dat&lt;BR /&gt;&amp;amp;pinctrl_lcdif_ctrl&amp;gt;;&lt;BR /&gt;lcd-supply = &amp;lt;&amp;amp;reg_all_3v3&amp;gt;;&lt;BR /&gt;interface_pix_fmt = "RGB24";&lt;BR /&gt;display = &amp;lt;&amp;amp;display0&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;display0: display0 {&lt;BR /&gt;bits-per-pixel = &amp;lt;32&amp;gt;;&lt;BR /&gt;bus-width = &amp;lt;24&amp;gt;;&lt;/P&gt;&lt;P&gt;display-timings {&lt;BR /&gt;native-mode = &amp;lt;&amp;amp;timing0&amp;gt;;&lt;BR /&gt;timing0: timing0 {&lt;BR /&gt;clock-frequency = &amp;lt;9200000&amp;gt;;&lt;BR /&gt;hactive = &amp;lt;480&amp;gt;;&lt;BR /&gt;vactive = &amp;lt;272&amp;gt;;&lt;BR /&gt;hfront-porch = &amp;lt;5&amp;gt;;&lt;BR /&gt;hback-porch = &amp;lt;4&amp;gt;;&lt;BR /&gt;hsync-len = &amp;lt;41&amp;gt;;&lt;BR /&gt;vback-porch = &amp;lt;2&amp;gt;;&lt;BR /&gt;vfront-porch = &amp;lt;4&amp;gt;;&lt;BR /&gt;vsync-len = &amp;lt;10&amp;gt;;&lt;/P&gt;&lt;P&gt;hsync-active = &amp;lt;0&amp;gt;;&lt;BR /&gt;vsync-active = &amp;lt;0&amp;gt;;&lt;BR /&gt;de-active = &amp;lt;1&amp;gt;;&lt;BR /&gt;pixelclk-active = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;Do you have any idea how I can change this setting? I'd be happy to provide more information if necessary.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 10:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-LCD-pixel-format-issue/m-p/1370617#M182980</guid>
      <dc:creator>stabel</dc:creator>
      <dc:date>2021-11-12T10:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL LCD pixel format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-LCD-pixel-format-issue/m-p/1370902#M182997</link>
      <description>&lt;P&gt;Hi Stian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;I am currently working on upgrading my Yocto distribution for IMX6ULL target from sumo to dunfell..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;unfortunately nxp does not support dunfell in its official linux releases as can be found in description&lt;/P&gt;
&lt;P&gt;for each bsp in Linux Release Notes (sect.2.1 New features) on official nxp linux documentation link below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example, supported yocto versions:&lt;/P&gt;
&lt;P&gt;Linux L5.10.35, 52 Hardknott&lt;BR /&gt;Linux L5.10.9 Gatesgarth.&lt;BR /&gt;Linux L5.4.3, 24, 47, 70 Zeus. &lt;BR /&gt;Linux L4.19.35 Warrior&lt;BR /&gt;Linux L4.14.98 Sumo&lt;/P&gt;
&lt;P&gt;For example one can try with NXP linux L5.10&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull-14x14-evk.dts?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ull-14x14-evk.dts?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi?h=lf-5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Support for non-nxp linux, like mainline or community bsps can be provided through meta-fsl-arm mailing list&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp; &lt;A href="https://lists.yoctoproject.org/g/meta-freescale" target="_blank"&gt;https://lists.yoctoproject.org/g/meta-freescale&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Difference between nxp official linux bsp and community bsp is described on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/difference-between-Yocto-Community-BSP-and-Freescale-BSP-Release/m-p/296848#402940" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/difference-between-Yocto-Community-BSP-and-Freescale-BSP-Release/m-p/296848#402940&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 10:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-LCD-pixel-format-issue/m-p/1370902#M182997</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-11-13T10:00:38Z</dc:date>
    </item>
  </channel>
</rss>

