Jump to content

Trying to add mali driver on orange pi zero


Leonid

Recommended Posts

Hi guys! I can't add mali to the device tree. created dst file as in instruction:

 

 

mali: gpu@1c40000 {
        compatible = "allwinner, sun7i-a20-mali", " arm,mali-400";
        reg = <0x10000 0x01c40000>;
        interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-names = " gp",
                          "gpmmu",
                          "pp0",
                          "ppmmu0",
                          "pp1",
                          "ppmmu1",
                          "pmu";
        clocks = < & ccu CLK_BUS_GPU>, < & ccu CLK_GPU>;
        clock-names = "bus", " core";
        reset = < & ccu RST_BUS_GPU>;
};

 

But attach submit syntax error.

 

sudo armbian-add-overlay tree.dts
Compiling the overlay
Error: tree.dts: 1.1-2 syntax error
FATAL ERROR: Unable to parse input tree
Error compiling the overlay

 

 

Have any ideas?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines