Thread (8 messages) 8 messages, 3 authors, 2016-08-24

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

flat view
STALE3721d SUPERSEDED

From: Michael Weiser <hidden>
Date: 2016-08-22 16:42:14
Subsystem: arm port, arm/allwinner sunxi soc support, multimedia card (mmc), secure digital (sd) and sdio subsystem, networking drivers, stmmac ethernet driver, the rest · Maintainers: Russell King, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, Ulf Hansson, Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Maxime Chevallier, Linus Torvalds

Status: Superseded by v5 (posted 2016-11-14). [go to v5]

Revision v4 (5 revisions archived).

Revisions (5)
  1. v1
  2. v2 [diff against previous]
  3. v3 [diff against previous]
  4. v4 current [diff against previous]
  5. v5 [diff against previous]
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 <redacted>
Cc: Maxime Ripard <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help