BSP 3.14.28: building galcore kernel module

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

BSP 3.14.28: building galcore kernel module

4,857 次查看
norishinozaki
Contributor V

Hello,

I'm trying to build a "galcore.ko" module in 3.14.28 kernel.

I set "CONFIG_MXC_GPU_VIV=m".

I could do "bitbake linux-imx -c compile -f"

Then I did "bitbake linux-imx -c compile_kernelmodules"

ERROR: "v7_dma_flush_range" [drivers/mxc/gpu-viv/galcore.ko] undefined!

ERROR: "v7_dma_map_area" [drivers/mxc/gpu-viv/galcore.ko] undefined!

I need separate galcore module in order to pass parameters such as contiguousBase and contiguousSize to galcore.

Is there a way to set these parameters in built-in galcore?

BR,

N.S.

标签 (2)
0 项奖励
回复
1 回复

3,012 次查看
jimmychan
NXP TechSupport
NXP TechSupport

according to the Linux reference manual,

13.1.1.6 Menu Configuration Options

The following Linux kernel configurations are provided for GPU driver:

• CONFIG_MXC_GPU_VIV is a configuration option for GPU driver. In the

menuconfig this option is available under Device Drivers > MXC support drivers >

MXC Vivante GPU support > MXC Vivante GPU support.

To get to the GPU library package in Yocto, use the command bitbake linux-imx -c

menuconfig. On the screen displayed, select Configure the kernel and select "Device

Drivers" > "MXC support drivers" > "MXC Vivante GPU support" > "MXC Vivante

GPU support"and exit.

0 项奖励
回复