Skip to contentSkip to conversation

ixp4xx: base support for Arcom Vulcan

PATCH New Marc Zyngier 3 participants 8 messages Apr 10, 2010 – May 25, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ixp4xx: base support for Arcom Vulcan

This patch adds some basic support for the Arcom Vulcan (ixp425 based).

Supported devices include:
- XR16L551 serial ports
- External watchdog
- Flash
- SRAM
- 1-wire id

Cc Imre Kaloz <[email protected]>
Cc Krzysztof Halasa <[email protected]>
---
 arch/arm/mach-ixp4xx/Kconfig        |    8 +
 arch/arm/mach-ixp4xx/Makefile       |    1 +
 arch/arm/mach-ixp4xx/vulcan-setup.c |  246 +++++++++++++++++++++++++++++++++++
 3 files changed, 255 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-ixp4xx/vulcan-setup.c
arch/arm/mach-ixp4xx/Kconfig +8 -0
index 9e5070d..6f991c5 100644
@@ -140,6 +140,14 @@ config MACH_FSG
 	  FSG-3 device. For more information on this platform,
 	  see http://www.nslu2-linux.org/wiki/FSG3/HomePage
 
+config MACH_ARCOM_VULCAN
+	bool
+	prompt "Arcom/Eurotech Vulcan"
+	select PCI
+	help
+	  Say 'Y' here if you want your kernel to support Arcom's
+	  Vulcan board.
+
 #
 # Certain registers and IRQs are only enabled if supporting IXP465 CPUs
 #
arch/arm/mach-ixp4xx/Makefile +1 -0
index 47d1f60..ab39693 100644
@@ -31,6 +31,7 @@ obj-$(CONFIG_MACH_GATEWAY7001)	+= gateway7001-setup.o
 obj-$(CONFIG_MACH_WG302V2)	+= wg302v2-setup.o
 obj-$(CONFIG_MACH_FSG)		+= fsg-setup.o
 obj-$(CONFIG_MACH_GORAMO_MLR)	+= goramo_mlr.o
+obj-$(CONFIG_MACH_ARCOM_VULCAN)	+= vulcan-setup.o
 
 obj-$(CONFIG_PCI)		+= $(obj-pci-$(CONFIG_PCI)) common-pci.o
 obj-$(CONFIG_IXP4XX_QMGR)	+= ixp4xx_qmgr.o
arch/arm/mach-ixp4xx/vulcan-setup.c new file +246 -0

246 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/2 ixp4xx/vulcan: add PCI support

Add PCI support for the Vulcan board, supporting USB and CF ports. The PC/104 bus (actually a hack on the second CarBus slot) is not currently supported.

Cc Imre Kaloz <[email protected]>
Cc Krzysztof Halasa <[email protected]>
---
 arch/arm/mach-ixp4xx/Makefile     |    1 +
 arch/arm/mach-ixp4xx/vulcan-pci.c |   73 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-ixp4xx/vulcan-pci.c
arch/arm/mach-ixp4xx/Makefile +1 -0
index ab39693..d807fc3 100644
@@ -16,6 +16,7 @@ obj-pci-$(CONFIG_MACH_DSMG600)		+= dsmg600-pci.o
 obj-pci-$(CONFIG_MACH_GATEWAY7001)	+= gateway7001-pci.o
 obj-pci-$(CONFIG_MACH_WG302V2)		+= wg302v2-pci.o
 obj-pci-$(CONFIG_MACH_FSG)		+= fsg-pci.o
+obj-pci-$(CONFIG_MACH_ARCOM_VULCAN)	+= vulcan-pci.o
 
 obj-y	+= common.o
 
arch/arm/mach-ixp4xx/vulcan-pci.c new file +73 -0

73 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/2 ixp4xx/vulcan: add PCI support

Quoted 3 lines · Marc Zyngier

Add PCI support for the Vulcan board, supporting USB and CF ports. The PC/104 bus (actually a hack on the second CarBus slot) is not currently supported.

Thanks, I've applied both of them.

Signature · 1 line
Krzysztof Halasa
#3 lore raw

PATCH 2/2 ixp4xx/vulcan: add PCI support

Quoted 7 lines · Krzysztof Halasa
Quoted 3 lines · Marc Zyngier

Add PCI support for the Vulcan board, supporting USB and CF ports. The PC/104 bus (actually a hack on the second CarBus slot) is not currently supported.

Thanks, I've applied both of them.

Krzysztof,

Is there any plan for this to be merged while the window is still opened? I have some other patches that depend on these first two, but if it's going to be delayed until 2.6.36, I'll simply repost the whole thing for review.

Cheers,

        M.
Signature · 1 line
Who you jivin' with that Cosmik Debris?
#4 lore raw

PATCH 2/2 ixp4xx/vulcan: add PCI support

Quoted 3 lines · Marc Zyngier

Is there any plan for this to be merged while the window is still opened? I have some other patches that depend on these first two, but if it's going to be delayed until 2.6.36, I'll simply repost the whole thing for review.

Sure, I plan to send them to Linus shortly.

Signature · 1 line
Krzysztof Halasa
#5 lore raw

PATCH 1/2 ixp4xx: base support for Arcom Vulcan

In reply to Marc Zyngier

Hi Marc,
Thanks for taking Vulcan mainline.

arch/arm/mach-ixp4xx/vulcan-setup.c line 9

Quoted 11 lines · On Sat, 10 Apr 2010 21:32:38 +0100 Marc Zyngier <[email protected]> wrote:

+++ b/arch/arm/mach-ixp4xx/vulcan-setup.c

arch/arm/mach-ixp4xx/vulcan-setup.c new file +9 -0
@@ -0,0 +1,246 @@
+/*
+ * arch/arm/mach-ixp4xx/vulcan-setup.c
+ *
+ * Arcom/Eurotech Vulcan board-setup
+ *
+ * Copyright (C) 2010 Marc Zyngier <[email protected]>
+ *
+ * based on fsg-setup.c:
+ *	Copyright (C) 2008 Rod Whitby <[email protected]>

Can you please add Eurotech in the 'based-on' list?
- Amit

#6 lore raw

PATCH 1/2 ixp4xx: base support for Arcom Vulcan

On Mon, 12 Apr 2010 11:20:45 +0530
Amit Walambe <[email protected]> wrote:

Hi Amit,

Quoted 14 lines

arch/arm/mach-ixp4xx/vulcan-setup.c line 9

Quoted 11 lines · On Sat, 10 Apr 2010 21:32:38 +0100 Marc Zyngier <[email protected]> wrote:

+++ b/arch/arm/mach-ixp4xx/vulcan-setup.c

arch/arm/mach-ixp4xx/vulcan-setup.c new file +9 -0
@@ -0,0 +1,246 @@
+/*
+ * arch/arm/mach-ixp4xx/vulcan-setup.c
+ *
+ * Arcom/Eurotech Vulcan board-setup
+ *
+ * Copyright (C) 2010 Marc Zyngier <[email protected]>
+ *
+ * based on fsg-setup.c:
+ *	Copyright (C) 2008 Rod Whitby <[email protected]>

Can you please add Eurotech in the 'based-on' list?

Actually, this port was done over the week-end *without* access to Arcom/Eurotech's source code (the only thing I was able to download from the Eurotech web site is the board documentation). I'm usually extra careful when it comes to attributions...

Some of the settings have been reverse-engineered from the bootloader (the EXP_CS* timing section), and the rest is only based on the documentation. That's probably why there is no PC/104 support yet (still working on it). But honnestly, this is a classical IXP425 implementation, without anything fancy (much less effort than the PXA boards where source access was actually useful, and proper attribution was mentioned).

I can always add a "Based on Eurotech's documentation", if you want.

Cheers,

	M.
Signature · 1 line
I'm the slime oozin' out from your TV set...
#7 lore raw

PATCH 1/2 ixp4xx: base support for Arcom Vulcan

Hi Marc,

Quoted 4 lines · On Mon, 12 Apr 2010 08:22:24 +0100 Marc Zyngier <[email protected]> wrote:

Actually, this port was done over the week-end *without* access to Arcom/Eurotech's source code (the only thing I was able to download from the Eurotech web site is the board documentation). I'm usually extra careful when it comes to attributions...

Sorry, I wasn't aware of that. If you did it independently, then I don't think attribution is required at all.

Quoted 4 lines

Some of the settings have been reverse-engineered from the bootloader (the EXP_CS* timing section), and the rest is only based on the documentation. That's probably why there is no PC/104 support yet (still working on it).

You are most welcome to borrow from the existing Vulcan port. If you would like to refer to it, please let me know. I will be glad to share the patches.

Thanks and regards,
- Amit