I have a custom board with IMX6SOLO,
In which when I do an insmod galcore.ko I get the following error.
[ 612.024652] galcore: loading out-of-tree module taints kernel.
[ 612.040708] ERROR: could not get clock /soc/gpu@00130000:gpu3d_shader_clk(4)
[ 612.061742] galcore: clk_get gpu3d_shader_clk failed, disable 3d!
[ 612.067905] galcore: clk_get vg clock failed, disable vg!
[ 612.074807] Galcore version 6.2.4.150331
[ 612.723487] [galcore]: Feature database is not found,chipModel=0x0, chipRevision=0x0,
productID=0x0, ecoID=0x0, customerID=0x0
[ 612.799677] galcore: probe of 130000.gpu failed with error -22
The Kernel Version I use is 4.9.123
The build environment is Buildroot.
My Device tree config is as follows
gpu@00130000 {
compatible = "fsl,imx6q-gpu";
reg = <0x00130000 0x4000>, <0x00134000 0x4000>,
<0x02204000 0x4000>, <0x10000000 0x0>,
<0x0 0x8000000>;
reg-names = "iobase_3d", "iobase_2d",
"iobase_vg", "phys_baseaddr",
"contiguous_mem";
interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>,
<0 10 IRQ_TYPE_LEVEL_HIGH>,
<0 11 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "irq_3d", "irq_2d", "irq_vg";
clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>, <&clks IMX6QDL_CLK_OPENVG_AXI>,
<&clks IMX6QDL_CLK_GPU3D_AXI>, <&clks IMX6QDL_CLK_GPU2D_CORE>,
<&clks IMX6QDL_CLK_GPU3D_CORE>, <&clks IMX6QDL_CLK_GPU3D_SHADER>;
clock-names = "gpu2d_axi_clk", "openvg_axi_clk",
"gpu3d_axi_clk", "gpu2d_clk",
"gpu3d_clk", "gpu3d_shader_clk";
resets = <&src 0>, <&src 3>, <&src 3>;
reset-names = "gpu3d", "gpu2d", "gpuvg";
power-domains = <&gpc 1>;
};
This works in Imx6Q and not in IMX6SOLO , can you please tell why its failing in IMX6SOLO
Thanks and Regards
Terry
Hi Terry
nxp does not support buildroot, also L4.9.123 does not support i.MX6 as described on
below link
One can test it on nxp sabresd board using any i.MX6 Demo Images from above link and
Chapter 5 Enabling Solo Emulation i.MX Linux User’s Guide
Best regards
igor
Thank you Igor.