Skip to contentSkip to conversation

Kirkwood: Marvell GuruPlug support

PATCH New Siddarth Gore 3 participants 6 messages Mar 22, 2010 – Mar 23, 2010

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

PATCH 1/1 Kirkwood: Marvell GuruPlug support

GuruPlug Standard: 1 Gb Ethernet, 2 USB 2.0 GuruPlug Plus: 2 Gb Ethernet, 2 USB 2.0, 1 eSATA, 1 uSD slot

References:
http://www.globalscaletechnologies.com/t-guruplugdetails.aspx
http://plugcomputer.org

This patch is for GuruPlug Plus, but it supports Standard version as well.

---
 arch/arm/mach-kirkwood/Kconfig          |    6 ++
 arch/arm/mach-kirkwood/Makefile         |    1 +
 arch/arm/mach-kirkwood/guruplug-setup.c |  131 +++++++++++++++++++++++++++++++
 3 files changed, 138 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-kirkwood/guruplug-setup.c
arch/arm/mach-kirkwood/Kconfig +6 -0
index 17879a8..05a8552 100644
@@ -38,6 +38,12 @@ config MACH_ESATA_SHEEVAPLUG
 	  Say 'Y' here if you want your kernel to support the
 	  Marvell eSATA SheevaPlug Reference Board.
 
+config MACH_GURUPLUG
+	bool "Marvell GuruPlug Reference Board"
+	help
+	  Say 'Y' here if you want your kernel to support the
+	  Marvell GuruPlug Reference Board.
+
 config MACH_TS219
 	bool "QNAP TS-110, TS-119, TS-210, TS-219 and TS-219P Turbo NAS"
 	help
arch/arm/mach-kirkwood/Makefile +1 -0
index a5530e3..85b3a39 100644
@@ -6,6 +6,7 @@ obj-$(CONFIG_MACH_RD88F6281)		+= rd88f6281-setup.o
 obj-$(CONFIG_MACH_MV88F6281GTW_GE)	+= mv88f6281gtw_ge-setup.o
 obj-$(CONFIG_MACH_SHEEVAPLUG)		+= sheevaplug-setup.o
 obj-$(CONFIG_MACH_ESATA_SHEEVAPLUG)	+= sheevaplug-setup.o
+obj-$(CONFIG_MACH_GURUPLUG)		+= guruplug-setup.o
 obj-$(CONFIG_MACH_TS219)		+= ts219-setup.o tsx1x-common.o
 obj-$(CONFIG_MACH_TS41X)		+= ts41x-setup.o tsx1x-common.o
 obj-$(CONFIG_MACH_OPENRD)		+= openrd-setup.o
arch/arm/mach-kirkwood/guruplug-setup.c new file +131 -0

131 lines not on this page · raw message

Signature · 1 line
1.6.0.3
#1 lore raw

PATCH 1/1 Kirkwood: Marvell GuruPlug support

arch/arm/mach-kirkwood/guruplug-setup.c

Quoted 26 lines · Siddarth Gore

GuruPlug Standard: 1 Gb Ethernet, 2 USB 2.0 GuruPlug Plus: 2 Gb Ethernet, 2 USB 2.0, 1 eSATA, 1 uSD slot

References:
http://www.globalscaletechnologies.com/t-guruplugdetails.aspx
http://plugcomputer.org

This patch is for GuruPlug Plus, but it supports Standard version as well.

---

arch/arm/mach-kirkwood/Kconfig          |    6 ++
arch/arm/mach-kirkwood/Makefile         |    1 +
arch/arm/mach-kirkwood/guruplug-setup.c |  131 +++++++++++++++++++++++++++++++
3 files changed, 138 insertions(+), 0 deletions(-)

create mode 100644 arch/arm/mach-kirkwood/guruplug-setup.c

arch/arm/mach-kirkwood/guruplug-setup.c new file +0 -0
new file mode 100644
index 0000000..54d07c8
@@ -0,0 +1,131 @@

Any harm in merging this into the sheevaplug-setup code, like the openrd code?

http://git.marvell.com/?p=orion.git;a=commit;h=b2fdb5660fccc060e47658baad8911a963397ced

Cheers

Signature · 3 lines
Alexander Clouter
.sigmonster says: BOFH excuse #179:
                  multicasts on broken packets
#2 lore raw

PATCH 1/1 Kirkwood: Marvell GuruPlug support

Quoted 30 lines · Alexander Clouter

arch/arm/mach-kirkwood/guruplug-setup.c

Quoted 26 lines · Siddarth Gore

GuruPlug Standard: 1 Gb Ethernet, 2 USB 2.0 GuruPlug Plus: 2 Gb Ethernet, 2 USB 2.0, 1 eSATA, 1 uSD slot

References:
http://www.globalscaletechnologies.com/t-guruplugdetails.aspx
http://plugcomputer.org

This patch is for GuruPlug Plus, but it supports Standard version as well.

---

arch/arm/mach-kirkwood/Kconfig          |    6 ++
arch/arm/mach-kirkwood/Makefile         |    1 +
arch/arm/mach-kirkwood/guruplug-setup.c |  131 +++++++++++++++++++++++++++++++
3 files changed, 138 insertions(+), 0 deletions(-)

create mode 100644 arch/arm/mach-kirkwood/guruplug-setup.c

arch/arm/mach-kirkwood/guruplug-setup.c new file +0 -0
new file mode 100644
index 0000000..54d07c8
@@ -0,0 +1,131 @@

Any harm in merging this into the sheevaplug-setup code, like the openrd code?

Quoted 2 lines

http://git.marvell.com/?p=orion.git;a=commit;h=b2fdb5660fccc060e47658baad8911a963397ced

No harm as such. but i think having separate setup files will be a cleaner approach, instead of adding more if(machine_is_<>) statements.

Looks like openrd base/client are same boards with client having an extra ethernet port. sheevaplug and guruplug are two different boards (pcb's) having different gpio settings, peripherals, etc.

-siddarth

Quoted 2 lines

Cheers

#3 lore raw

PATCH 1/1 Kirkwood: Marvell GuruPlug support

Hi,

Quoted 6 lines · Siddarth Gore
Quoted 3 lines · Alexander Clouter

Any harm in merging this into the sheevaplug-setup code, like the openrd code?

Quoted 9 lines
Quoted 1 line

http://git.marvell.com/?p=orion.git;a=commit;h=b2fdb5660fccc060e47658baad8911a963397ced

No harm as such. but i think having separate setup files will be a cleaner approach, instead of adding more if(machine_is_<>) statements.

Looks like openrd base/client are same boards with client having an extra ethernet port. sheevaplug and guruplug are two different boards (pcb's) having different gpio settings, peripherals, etc.

Fair enough, I thought (with the exception of the shameful removal of the onboard questionable serial/jtag) the boards were identical, just with extra USB/NIC ports added.

Cheers

Signature · 2 lines
Alexander Clouter
.sigmonster says: Real Users know your home telephone number.
#4 lore raw

PATCH 1/1 Kirkwood: Marvell GuruPlug support

Quoted 14 lines · Alexander Clouter

Hi,

Quoted 11 lines · Siddarth Gore
Quoted 4 lines · Alexander Clouter

Any harm in merging this into the sheevaplug-setup code, like the openrd code?

http://git.marvell.com/?p=orion.git;a=commit;h=b2fdb5660fccc060e47658baad8911a963397ced

No harm as such. but i think having separate setup files will be a cleaner approach, instead of adding more if(machine_is_<>) statements.

Quoted 7 lines
Quoted 4 lines

Looks like openrd base/client are same boards with client having an extra ethernet port. sheevaplug and guruplug are two different boards (pcb's) having different gpio settings, peripherals, etc.

Fair enough, I thought (with the exception of the shameful removal of the onboard questionable serial/jtag) the boards were identical, just with extra USB/NIC ports added.

"questionable" ??

Nicolas

#5 lore raw

PATCH 1/1 Kirkwood: Marvell GuruPlug support

Quoted 7 lines · Nicolas Pitre
Quoted 4 lines

Fair enough, I thought (with the exception of the shameful removal of the onboard questionable serial/jtag) the boards were identical, just with extra USB/NIC ports added.

"questionable" ??

Yeah, I rejigged that sentence when originally slapping it together and forgot to remove 'questionable'.

It was a shame the onboard readily available serial/jtag was removed on the Guruplug. The SheevaPlug makes a great home router[1] or streaming radio client[2], but having to remember to carry a separate box to just serial into it is a plain pain :-/

Now if I could get a 4GB RAM version, I would have me some low power HTTP proxy servers for work :)

Cheers

[1] USB xDSL modem plugged in
[2] the student radio bods at my workplace love them for just this

Signature · 2 lines
Alexander Clouter
.sigmonster says: Oatmeal raisin.