OSDN Git Service

ARM: vf610: enable Cortex-M4 configuration on Vybrid SoC
authorStefan Agner <stefan@agner.ch>
Tue, 19 May 2015 22:03:52 +0000 (00:03 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 20 May 2015 21:10:14 +0000 (23:10 +0200)
commit8064887e02fd684fa0576cbbcdbc29ceab125c4c
tree88f802d85811ff7e6c71832646de535e9bd5f954
parent9c77bc438f88366e2e42c229b4aff52d4693e5c9
ARM: vf610: enable Cortex-M4 configuration on Vybrid SoC

This patch allows to build the Kernel for Vybrid (VF6xx) SoC
when ARMv7-M CPU is selected. The resulting image runs on the
secondary Cortex-M4 core. This core has equally access to all
peripherals as the main Cortex-A5 core. However, there is no
resource control mechanism, hence when both cores are used
simultaneously, orthogonal device tree's are required.

The boot CPU is dependent on the SoC variant. The available
boards use mostly variants where the Cortex-A5 is the primary
and hence the boot CPU. Booting the secondary Cortex-M4 CPU
needs SoC specific registers written. There is no in kernel
support for this right now, a external userspace utility
called "m4boot" can be used to boot the kernel:

m4boot xipImage initramfs.cpio.lzo vf610m4-colibri.dtb

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/arm/fsl.txt
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile.boot [new file with mode: 0644]
arch/arm/mach-imx/mach-vf610.c