Skip to content

RFC ARM: vf610m4: Add Vybrid Cortex-M4 support

Stefan Agner linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: vf610: add low level debug support for !MMUarch/arm/include/debug/vf.S+10 -01 reply
1/7ARM: vf610: add low level debug support for !MMU+0 -00 replies
2/7clocksource: add dependencies for Vybrid pit clocksourcedrivers/clocksource/Kconfig+2 -01 reply
2/7clocksource: add dependencies for Vybrid pit clocksource+0 -01 reply
3/7ARM: vf610m4: add new machine and SoC for Vybrid on Cortex-M4arch/arm/Kconfig arch/arm/Kconfig.debug arch/arm/Makefile +6 more+56 -41 reply
3/7ARM: vf610m4: add new machine and SoC for Vybrid on Cortex-M4+0 -01 reply
4/7ARM: dts: add support for Vybrid running on Cortex-M4arch/arm/boot/dts/Makefile arch/arm/boot/dts/armv7-m.dtsi arch/arm/boot/dts/vf610m4.dts+145 -12 replies
4/7ARM: dts: add support for Vybrid running on Cortex-M4+0 -00 replies
4/7ARM: dts: add support for Vybrid running on Cortex-M4+0 -01 reply
4/7ARM: dts: add support for Vybrid running on Cortex-M4+0 -01 reply
4/7ARM: dts: add support for Vybrid running on Cortex-M4+0 -01 reply
5/7irqchip: nvic: increase number of external interrupts to 112arch/arm/kernel/entry-v7m.S drivers/irqchip/irq-nvic.c+4 -20 replies
6/7ARM: vf610m4: HACK: get dtb pointer from SRC_GPR3arch/arm/kernel/head-nommu.S+8 -01 reply
6/7ARM: vf610m4: HACK: get dtb pointer from SRC_GPR3+0 -00 replies
7/7ARM: vf610m4: add defconfig for Linux on Vybrids Cortex-M4arch/arm/configs/vf610m4_defconfig+37 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/7] ARM: vf610m4: Add Vybrid Cortex-M4 support

This adds Vybrid SoC support for the !MMU Cortex-M4 core. The patchset is its current state is more a collection of hacks than anything mergabel, advice and ideas how to beat it in good shape are welcome. I added some thoughts as comments in the individual patches.

I wrote also some more info about Vybrid Cortex-M4 support in my blog post:
http://falstaff.agner.ch/2014/10/05/make-it-two-tuxes-on-one-soc/

One thing I noticed that when I move the xipImage below the DRAM base address, the kernel freezes:
...
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [freeze]

I think it happens when the scheduler gets started. Any idea what could go wrong here?

Stefan Agner (7):
ARM: vf610: add low level debug support for !MMU
clocksource: add dependencies for Vybrid pit clocksource
ARM: vf610m4: add new machine and SoC for Vybrid on Cortex-M4
ARM: dts: add support for Vybrid running on Cortex-M4
irqchip: nvic: increase number of external interrupts to 112
ARM: vf610m4: HACK: get dtb pointer from SRC_GPR3
ARM: vf610m4: add defconfig for Linux on Vybrids Cortex-M4

 arch/arm/Kconfig                   |  12 ++++
 arch/arm/Kconfig.debug             |   4 +-
 arch/arm/Makefile                  |   1 +
 arch/arm/boot/dts/Makefile         |   1 +
 arch/arm/boot/dts/armv7-m.dtsi     |   1 -
 arch/arm/boot/dts/vf610m4.dts      | 144 +++++++++++++++++++++++++++++++++++++
 arch/arm/configs/vf610m4_defconfig |  37 ++++++++++
 arch/arm/include/debug/vf.S        |  10 +++
 arch/arm/kernel/entry-v7m.S        |   4 +-
 arch/arm/kernel/head-nommu.S       |   8 +++
 arch/arm/mach-imx/Kconfig          |  22 ++++++
 arch/arm/mach-imx/Makefile         |   1 +
 arch/arm/mach-imx/Makefile.boot    |   0
 arch/arm/mach-imx/mach-vf610m4.c   |  16 +++++
 drivers/clocksource/Kconfig        |   2 +
 drivers/irqchip/irq-nvic.c         |   2 +
 drivers/mmc/host/Kconfig           |   2 +-
 drivers/pinctrl/Kconfig            |   2 +-
 18 files changed, 262 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/boot/dts/vf610m4.dts
 create mode 100644 arch/arm/configs/vf610m4_defconfig
 create mode 100644 arch/arm/mach-imx/Makefile.boot
 create mode 100644 arch/arm/mach-imx/mach-vf610m4.c
Signature · 1 line
2.1.2