* [PATCH] arm: mvebu: add board USI Topkick
@ 2013-07-19 13:44 Jason Cooper
2013-07-19 14:06 ` Jason Cooper
2013-07-22 7:23 ` Sascha Hauer
0 siblings, 2 replies; 5+ messages in thread
From: Jason Cooper @ 2013-07-19 13:44 UTC (permalink / raw)
To: barebox; +Cc: Jason Cooper
Successfully boots to console via kwboot. No other functionality yet.
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
---
arch/arm/Makefile | 1 +
arch/arm/boards/usi-topkick/Makefile | 1 +
arch/arm/boards/usi-topkick/board.c | 17 ++++++++++++++++
arch/arm/boards/usi-topkick/kwbimage.cfg | 35 ++++++++++++++++++++++++++++++++
arch/arm/mach-mvebu/Kconfig | 5 +++++
5 files changed, 59 insertions(+)
create mode 100644 arch/arm/boards/usi-topkick/Makefile
create mode 100644 arch/arm/boards/usi-topkick/board.c
create mode 100644 arch/arm/boards/usi-topkick/kwbimage.cfg
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 32bdd65..96c9a67 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -170,6 +170,7 @@ board-$(CONFIG_MACH_TX53) += karo-tx53
board-$(CONFIG_MACH_USB_A9260) += usb-a926x
board-$(CONFIG_MACH_USB_A9263) += usb-a926x
board-$(CONFIG_MACH_USB_A9G20) += usb-a926x
+board-$(CONFIG_MACH_USI_TOPKICK) += usi-topkick
board-$(CONFIG_MACH_VERSATILEPB) += versatile
board-$(CONFIG_MACH_VEXPRESS) += vexpress
board-$(CONFIG_MACH_ZEDBOARD) += avnet-zedboard
diff --git a/arch/arm/boards/usi-topkick/Makefile b/arch/arm/boards/usi-topkick/Makefile
new file mode 100644
index 0000000..dcfc293
--- /dev/null
+++ b/arch/arm/boards/usi-topkick/Makefile
@@ -0,0 +1 @@
+obj-y += board.o
diff --git a/arch/arm/boards/usi-topkick/board.c b/arch/arm/boards/usi-topkick/board.c
new file mode 100644
index 0000000..7dbe0aa
--- /dev/null
+++ b/arch/arm/boards/usi-topkick/board.c
@@ -0,0 +1,17 @@
+/*
+ * Copyright
+ * (C) 2013 Jason Cooper <jason@lakedaemon.net>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+/* empty */
diff --git a/arch/arm/boards/usi-topkick/kwbimage.cfg b/arch/arm/boards/usi-topkick/kwbimage.cfg
new file mode 100644
index 0000000..db590ca
--- /dev/null
+++ b/arch/arm/boards/usi-topkick/kwbimage.cfg
@@ -0,0 +1,35 @@
+VERSION 0
+BOOT_FROM nand
+NAND_ECCMODE default
+NAND_PAGESZ 00000800
+DATA FFD100e0 1b1b1b9b
+DATA FFD01400 4301503E
+DATA FFD01404 B9843000
+DATA FFD01408 33137773
+DATA FFD0140C 16000C3A
+DATA FFD01410 06000000
+DATA FFD01414 00000000
+DATA FFD01418 00000000
+DATA FFD0141C 00000672
+DATA FFD01420 00000004
+DATA FFD01424 0000F14F
+DATA FFD01428 000D6C70
+DATA FFD0147C 00006071
+DATA FFD01504 1FFFFFF1
+DATA FFD01508 10000000
+DATA FFD0150C 0FFFFFF4
+DATA FFD01514 00000000
+DATA FFD0151C 00000000
+DATA FFD01494 00120000
+DATA FFD01498 00000000
+DATA FFD0149C 0000E803
+DATA FFD015D0 00000630
+DATA FFD015D4 00000046
+DATA FFD015D8 00000008
+DATA FFD015DC 00000000
+DATA FFD015E0 00000023
+DATA FFD015E4 00203C18
+DATA FFD01620 00680000
+DATA FFD01480 00000001
+DATA FFD20134 66666666
+DATA FFD20138 66666666
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 11e4550..7fb7d04 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -5,6 +5,7 @@ config ARCH_TEXT_BASE
default 0x2000000 if MACH_PLATHOME_OPENBLOCKS_AX3
default 0x2000000 if MACH_GLOBALSCALE_MIRABOX
default 0x2000000 if MACH_GLOBALSCALE_GURUPLUG
+ default 0x2000000 if MACH_USI_TOPKICK
default 0x2000000 if MACH_MARVELL_ARMADA_XP_GP
default 0x2000000 if MACH_SOLIDRUN_CUBOX
@@ -14,6 +15,7 @@ config BOARDINFO
default "Globalscale Guruplug" if MACH_GLOBALSCALE_GURUPLUG
default "Marvell Armada XP GP" if MACH_MARVELL_ARMADA_XP_GP
default "SolidRun CuBox" if MACH_SOLIDRUN_CUBOX
+ default "USI Topkick" if MACH_USI_TOPKICK
choice
prompt "Marvell EBU Processor"
@@ -103,6 +105,9 @@ choice
config MACH_GLOBALSCALE_GURUPLUG
bool "Guruplug"
+config MACH_USI_TOPKICK
+ bool "Topkick"
+
endchoice
endif # ARCH_KIRKWOOD
--
1.8.3.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: mvebu: add board USI Topkick
2013-07-19 13:44 [PATCH] arm: mvebu: add board USI Topkick Jason Cooper
@ 2013-07-19 14:06 ` Jason Cooper
2013-07-22 7:23 ` Sascha Hauer
1 sibling, 0 replies; 5+ messages in thread
From: Jason Cooper @ 2013-07-19 14:06 UTC (permalink / raw)
To: barebox
On Fri, Jul 19, 2013 at 01:44:17PM +0000, Jason Cooper wrote:
> Successfully boots to console via kwboot. No other functionality yet.
>
> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
> ---
Forgot to mention, this is based against v2013.07.0. I tried against
origin/master a few days ago and had some build problems (had to specify
BOARD manually).
For those interested, you can pull from here:
git://git.infradead.org/users/jcooper/barebox.git topkick
If the branch isn't there yet, please wait an hour or so. I'm currently
push master up there for the first time and it's going a bit _s_l_o_w_.
thx,
Jason.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: mvebu: add board USI Topkick
2013-07-19 13:44 [PATCH] arm: mvebu: add board USI Topkick Jason Cooper
2013-07-19 14:06 ` Jason Cooper
@ 2013-07-22 7:23 ` Sascha Hauer
2013-07-24 14:35 ` Jason Cooper
1 sibling, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2013-07-22 7:23 UTC (permalink / raw)
To: Jason Cooper; +Cc: barebox
Hi Jason,
On Fri, Jul 19, 2013 at 01:44:17PM +0000, Jason Cooper wrote:
> Successfully boots to console via kwboot. No other functionality yet.
>
> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
> ---
> arch/arm/Makefile | 1 +
> arch/arm/boards/usi-topkick/Makefile | 1 +
> arch/arm/boards/usi-topkick/board.c | 17 ++++++++++++++++
> arch/arm/boards/usi-topkick/kwbimage.cfg | 35 ++++++++++++++++++++++++++++++++
> arch/arm/mach-mvebu/Kconfig | 5 +++++
> 5 files changed, 59 insertions(+)
> create mode 100644 arch/arm/boards/usi-topkick/Makefile
> create mode 100644 arch/arm/boards/usi-topkick/board.c
> create mode 100644 arch/arm/boards/usi-topkick/kwbimage.cfg
>
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 32bdd65..96c9a67 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -170,6 +170,7 @@ board-$(CONFIG_MACH_TX53) += karo-tx53
> board-$(CONFIG_MACH_USB_A9260) += usb-a926x
> board-$(CONFIG_MACH_USB_A9263) += usb-a926x
> board-$(CONFIG_MACH_USB_A9G20) += usb-a926x
> +board-$(CONFIG_MACH_USI_TOPKICK) += usi-topkick
Please do not add items to this list. Use arch/arm/boards/Makefile
instead. I fixed this while applying.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: mvebu: add board USI Topkick
2013-07-22 7:23 ` Sascha Hauer
@ 2013-07-24 14:35 ` Jason Cooper
2013-07-24 17:01 ` Sascha Hauer
0 siblings, 1 reply; 5+ messages in thread
From: Jason Cooper @ 2013-07-24 14:35 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
Sascha,
On Mon, Jul 22, 2013 at 09:23:58AM +0200, Sascha Hauer wrote:
> On Fri, Jul 19, 2013 at 01:44:17PM +0000, Jason Cooper wrote:
> > Successfully boots to console via kwboot. No other functionality yet.
> >
> > Signed-off-by: Jason Cooper <jason@lakedaemon.net>
> > ---
> > arch/arm/Makefile | 1 +
> > arch/arm/boards/usi-topkick/Makefile | 1 +
> > arch/arm/boards/usi-topkick/board.c | 17 ++++++++++++++++
> > arch/arm/boards/usi-topkick/kwbimage.cfg | 35 ++++++++++++++++++++++++++++++++
> > arch/arm/mach-mvebu/Kconfig | 5 +++++
> > 5 files changed, 59 insertions(+)
> > create mode 100644 arch/arm/boards/usi-topkick/Makefile
> > create mode 100644 arch/arm/boards/usi-topkick/board.c
> > create mode 100644 arch/arm/boards/usi-topkick/kwbimage.cfg
> >
> > diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> > index 32bdd65..96c9a67 100644
> > --- a/arch/arm/Makefile
> > +++ b/arch/arm/Makefile
> > @@ -170,6 +170,7 @@ board-$(CONFIG_MACH_TX53) += karo-tx53
> > board-$(CONFIG_MACH_USB_A9260) += usb-a926x
> > board-$(CONFIG_MACH_USB_A9263) += usb-a926x
> > board-$(CONFIG_MACH_USB_A9G20) += usb-a926x
> > +board-$(CONFIG_MACH_USI_TOPKICK) += usi-topkick
>
> Please do not add items to this list. Use arch/arm/boards/Makefile
> instead. I fixed this while applying.
Yes, that was how I originally had it when I was based off of
origin/master. However, I encountered the error where I needed to add
BOARD=... to the make command in order to build properly. Realizing
that one should always base off of a tag, I then rebased off of
v2013.07.0, which doesn't contain
6bbb24c ARM: Turn most board directories into regular build directories
In the future, just let me know if you want me to rebase off of a
branch. No need to hand edit things on your side.
thx,
Jason.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: mvebu: add board USI Topkick
2013-07-24 14:35 ` Jason Cooper
@ 2013-07-24 17:01 ` Sascha Hauer
0 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2013-07-24 17:01 UTC (permalink / raw)
To: Jason Cooper; +Cc: barebox
On Wed, Jul 24, 2013 at 10:35:42AM -0400, Jason Cooper wrote:
> Sascha,
>
> On Mon, Jul 22, 2013 at 09:23:58AM +0200, Sascha Hauer wrote:
> > On Fri, Jul 19, 2013 at 01:44:17PM +0000, Jason Cooper wrote:
> > > Successfully boots to console via kwboot. No other functionality yet.
> > >
> > > Signed-off-by: Jason Cooper <jason@lakedaemon.net>
> > > ---
> > > arch/arm/Makefile | 1 +
> > > arch/arm/boards/usi-topkick/Makefile | 1 +
> > > arch/arm/boards/usi-topkick/board.c | 17 ++++++++++++++++
> > > arch/arm/boards/usi-topkick/kwbimage.cfg | 35 ++++++++++++++++++++++++++++++++
> > > arch/arm/mach-mvebu/Kconfig | 5 +++++
> > > 5 files changed, 59 insertions(+)
> > > create mode 100644 arch/arm/boards/usi-topkick/Makefile
> > > create mode 100644 arch/arm/boards/usi-topkick/board.c
> > > create mode 100644 arch/arm/boards/usi-topkick/kwbimage.cfg
> > >
> > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> > > index 32bdd65..96c9a67 100644
> > > --- a/arch/arm/Makefile
> > > +++ b/arch/arm/Makefile
> > > @@ -170,6 +170,7 @@ board-$(CONFIG_MACH_TX53) += karo-tx53
> > > board-$(CONFIG_MACH_USB_A9260) += usb-a926x
> > > board-$(CONFIG_MACH_USB_A9263) += usb-a926x
> > > board-$(CONFIG_MACH_USB_A9G20) += usb-a926x
> > > +board-$(CONFIG_MACH_USI_TOPKICK) += usi-topkick
> >
> > Please do not add items to this list. Use arch/arm/boards/Makefile
> > instead. I fixed this while applying.
>
> Yes, that was how I originally had it when I was based off of
> origin/master. However, I encountered the error where I needed to add
> BOARD=... to the make command in order to build properly. Realizing
> that one should always base off of a tag, I then rebased off of
> v2013.07.0, which doesn't contain
>
> 6bbb24c ARM: Turn most board directories into regular build directories
>
> In the future, just let me know if you want me to rebase off of a
> branch. No need to hand edit things on your side.
If possible, base your branches on master. If that requires resolving
some merge conflicts on my side that's fine. Only if you know that your
patches need something from -next base them on -next.
I rebuild the -next branch from topic branches frequently. This means
for me that I can easily drop patches from -next, but it also means that
I have to hand edit patches from time to time and resolve merge
conflicts. That's ok for me.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-24 17:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-19 13:44 [PATCH] arm: mvebu: add board USI Topkick Jason Cooper
2013-07-19 14:06 ` Jason Cooper
2013-07-22 7:23 ` Sascha Hauer
2013-07-24 14:35 ` Jason Cooper
2013-07-24 17:01 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox