[PATCHv3 0/4] arm/versatile: no-MMU support

Greg Ungerer gerg at uclinux.org
Tue Feb 28 17:39:41 PST 2017


This is a rebased resend of the no-MMU patches to support the Versatile
platform. It in-corporates changes suggested by Russell (don't use a
multiplatorm arrangement) and rebased onto 4.10.

Linus I didn't include your acked-by because the 04 patch is a little
different to the original.

The following patches support configuring and building the versatile
machine with a no-MMU kernel.

There is only a few minor changes required. It was previously possible
in older kernels to build for versatile with CONFIG_MMU disabled, but
the change to devicetree lost that capability. These changes make it
possible again.

One patch is a fix for address translation (broken in older kernels too),
two are build problems when CONFIG_MMU is disabled, and the last is the
actuall configuration changes needed.

The motivation for this is that the versatile machine is well supported
in qemu. And this provides an excellent platform for development and
testing no-MMU support on ARM in general. With these patches applied
it is possible to build and run a kernel with MMU disabled in qemu.

Signed-off-by: Greg Ungerer <gerg at uclinux.org>
---
 arch/arm/Kconfig                       |   11 +++++++++++
 arch/arm/Kconfig.debug                 |    3 ++-
 arch/arm/include/asm/mach/map.h        |    1 +
 arch/arm/mach-versatile/Kconfig        |    5 +++--
 arch/arm/mach-versatile/Makefile.boot  |    3 +++
 arch/arm/mach-versatile/versatile_dt.c |    4 ++++
 6 files changed, 24 insertions(+), 3 deletions(-)




More information about the linux-arm-kernel mailing list