linux-imx rel_imx_3.14.28_1.0.0_ga: wrong imx6dl galcore clk setup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

linux-imx rel_imx_3.14.28_1.0.0_ga: wrong imx6dl galcore clk setup

1,236 Views
nikitayushchenk
Contributor II

Hi

While working with custom moard based on imx6s processor and linux-imx rel_imx_3.14.28_1.0.0_ga based kernel, I noticed this in dmesg:

[ 1.331535] galcore: clk_get vg clock failed, disable vg!

This is caused by setting in arch/arm/boot/dts/imx6dl.dtsi:

                gpu@00130000 {

                        ...

                        clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>, <&clks IMX6QDL_CLK_GPU3D_AXI>,

                                 <&clks IMX6QDL_CLK_GPU2D_CORE>, <&clks IMX6QDL_CLK_GPU3D_CORE>,

                                 <&clks IMX6QDL_CLK_DUMMY>;

                        clock-names = "gpu2d_axi_clk", "gpu3d_axi_clk",

                                      "gpu2d_clk", "gpu3d_clk",

                                      "gpu3d_shader_clk";

                        ...

                };

This has two items that look wrong:

- "openvg_axi_clk" is missing in clock-names, thus the error message,

- "gpu2d_axi_clk" in clock-names refers to IMX6QDL_CLK_OPENVG_AXI, not to IMX6QDL_CLK_GPU2D_AXI

Symmetric settng in arch/arm/boot/dts/imx6q.dtsi does not have these issues.

Could someone please comment on this and suggest correct setting for imx6dl.dtsi ?

Labels (3)
4 Replies

684 Views
Yuri
NXP Employee
NXP Employee

Hello,

  How the system was built ?

For X11, please refer to Chapter 18 (X Windows Acceleration) of

“i.MX_Linux_Reference_Manual.pdf”.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

684 Views
nikitayushchenk
Contributor II

Does buildmethod really matter?

There is an obvius mismatch between kernel code and device tree. Either code or device tree is wrong.

0 Kudos

684 Views
Yuri
NXP Employee
NXP Employee

Perhaps the recipes were not correctly selected.

~Yuri.

0 Kudos

684 Views
nikitayushchenk
Contributor II

I'm developing BSP for a custom imx6 based board and thus write recipes myself.

Or - sometimes - build kernel without any recipes, directly from git tree.

I don't see a fix for this mismatch anywhere in linux-imx or linux-fslc or linux-boundary or other kernel trees referenced from recipes in meta-fsl-arm and meta-fsl-arm-extra.

Perhaps this mismatch does not lead to something not working and thus people ignore it.

But it is still incorrect and better to fix it.

0 Kudos