[PATCH 3/3] ARM: sunxi: enable big-endian

Chen-Yu Tsai wens at csie.org
Tue Jul 26 18:55:11 PDT 2016


On Wed, Jul 27, 2016 at 3:26 AM, Michael Weiser <michael.weiser at gmx.de> wrote:
> Hi Maxime,
>
> On Mon, Jul 25, 2016 at 02:25:22PM +0200, Maxime Ripard wrote:
>
>> > via I2C. I have not deliberately/synthetically tested the DMA engine. It's
>> > enabled in the my kernel config and seems happy but was not selected by
>> > any other driver so seems to be unused currently.
>> You can test the DMA using the audio components, either the codec, i2s
>> or spdif.
>
> I've enabled the codec and it's currently playing some King Khan to me.
> From looking at sun4i-dma.c it seems that all communication with the
> silicon is via registers, including transfer of the DMA descriptors, and
> all is done using {read,write}l{,_relaxed} already.
>
>> EMAC would be worth testing too.
>
> As far as I gather, the Cubieboard2 does not route the EMAC pins anywhere.
> So I can't connect a PHY to it for testing.

The EMAC pins are muxed with the GMAC pins. All you need to do is disable
the GMAC, enable the EMAC, and use emac_pins_a for the pinctrl.

ChenYu



More information about the linux-arm-kernel mailing list