AnsweredAssumed Answered

How to build LTIB with DMA support for MPC8306-KIT?

Question asked by Leopoldo Gomez on May 27, 2014
Latest reply on Jun 5, 2014 by Leopoldo Gomez

After building LTIB with DMA support (Selected only "Freescale Elo and Eloplus DMA suport"  (* or M) option in "DMA Engine support" menu), Kernel crashes at boot (Oops: Machine check, sig: 7 [#1])

 

Following description for the DMA had been included in mpc8306som.dts file:

 

                dma2: dma@82a8 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "fsl,mpc8349-dma", "fsl,elo-dma";
                        reg = <0x82a8 4>;
                        ranges = <0 0x8100 0x1a8>;
                        interrupt-parent = <&ipic>;
                        interrupts = <71 8>;
                        cell-index = <0>;

                        dma-channel@0 {
                                compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
                                reg = <0 0x80>;
                                cell-index = <0>;
                                interrupt-parent = <&ipic>;
                                interrupts = <71 8>;

                        };
                        dma-channel@80 {
                                compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
                                reg = <0x80 0x80>;
                                cell-index = <1>;
                                interrupt-parent = <&ipic>;
                                interrupts = <71 8>;
                        };
                        dma-channel@100 {
                                compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
                                reg = <0x100 0x80>;
                                cell-index = <2>;
                                interrupt-parent = <&ipic>;
                                interrupts = <71 8>;
                        };
                        dma-channel@180 {
                                compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";
                                reg = <0x180 0x28>;
                                cell-index = <3>;
                                interrupt-parent = <&ipic>;
                                interrupts = <71 8>;
                        };

        };

 

Being dma@82a8 a child node of immr@e0000000

 

What should I do to build LTIB with DMA support and, additionally, to use the DMA Test client?

Outcomes