[PATCH 0/5 v4] Fixes for running a big-endian kernel on Cubieboard2

Michael Weiser michael.weiser at gmx.de
Mon Aug 22 09:42:14 PDT 2016


Hello,

the following patches allow to run a big-endian kernel on the
Cubieboard2.

The first two patches fix up endianness problems with DMA descriptors in
the sunxi-mmc and stmmac drivers preventing them from working correctly
when runnning a big-endian kernel.

The third patch adds the ability to enable diagnostic messages in the
sun4i-emac driver which were instrumental in finding the problem fixed
by patch number four: Endianness confusion caused by dual-purpose I/O
register usage in   sun4i-emac.

The final patch enables the big-endian kernel configuration option for
sun7i devices in order to be able to compile a big-endian kernel for the
Cubieboard2.

All of these have been tested successfull on a Cubieboard2 DualCard.

Changes since v3:
- Rebased sunxi-mmc patch against Ulf's mmc.git/next
- Changed Kconfig change to enable big-endian support only for sun7i
  devices

Changes since v2:
- Fixed typo in stmmac patch causing a build failure
- Added sun4i-emac patches

Changes since v1:
- Fixed checkpatch niggles
- Added respective Cc:s

Regards,
Michael

Signed-off-by: Michael Weiser <michael.weiser at gmx.de>
Cc: Maxime Ripard <maxime.ripard at free-electrons.com>




More information about the linux-arm-kernel mailing list