[PATCH 4/4] ARM: versatile: support configuring versatile machine for no-MMU

Greg Ungerer gerg at uclinux.org
Wed Dec 7 06:34:44 PST 2016


Hi Linus,

On 08/12/16 00:11, Linus Walleij wrote:
> On Wed, Dec 7, 2016 at 7:59 AM, Greg Ungerer <gerg at uclinux.org> wrote:
>
>> 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.
>>
>> Signed-off-by: Greg Ungerer <gerg at uclinux.org>
>
> Pretty cool eh?

Yep :-)


> Have you tested it on real hardware?

No, I don't have a Versatile board, or access to one...


> Otherwise I can test it if I have a git branch
> I can pull in and compile.

I have been stashing the changes here for now:

git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git

in the armnommu branch.


> Another target I had in mind was the Integrator which
> incidentally supports a bunch of the old noMMU core
> tiles where we can swap in an ARM946, which I guess
> could work with this?

It should do, or at least should be able to be made to work with it.


>> --- a/arch/arm/mach-versatile/Kconfig
>> +++ b/arch/arm/mach-versatile/Kconfig
>> @@ -1,12 +1,13 @@
>>  config ARCH_VERSATILE
>>         bool "ARM Ltd. Versatile family"
>> -       depends on ARCH_MULTI_V5
>> +       depends on ARCH_MULTI_V5 || ARM_SINGLE_ARMV5
>>         select ARM_AMBA
>>         select ARM_TIMER_SP804
>>         select ARM_VIC
>>         select CLKSRC_VERSATILE
>>         select COMMON_CLK_VERSATILE
>>         select CPU_ARM926T
>> +       select GPIOLIB
>
> Not really related but I don't mind.

No, probably strictly not. But without this here we lose CONFIG_GPIO
for the no-MMU case. When CONFIG_MMU was enabled it was being selected
via some other path through arch/arm/Kconfig - I don't recall at the
moment where exactly.


> Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks
Greg




More information about the linux-arm-kernel mailing list