6.2.2. 参数配置

6.2.2.1. 内核配置

参考快速入门 - 编译概述 - Kernel配置,进入kernel的功能配置,按如下选择:

Linux
    Device Drivers  --->
        Graphics support    --->
            ZX Graphics  --->
                <*> ZX Video Engine Driver

6.2.2.2. DTS参数配置

VE模块DTS参数已验证,一般情况下不需要进行更改,如有必要修改,请先咨询原厂技术支持。

6.2.2.2.1. M4的配置

ve: ve@0x18c00000 {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "zx,aic-ve-v1.0";
        reg = <0x0 0x18c00000 0x0 0x4000>;
        interrupts-extended = <&plic0 61 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cmu CLK_VE>;
        clock-names = "ve_clk";
        resets = <&rst RESET_VE>;
        reset-names = "ve_rst";
        status = "okay";
};