From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
barebox@lists.infradead.org,
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: [PATCH 0/5] Initial support for Marvell Dove SoCs
Date: Sun, 12 May 2013 15:09:01 +0200 [thread overview]
Message-ID: <1368364146-6024-1-git-send-email-sebastian.hesselbarth@gmail.com> (raw)
With latest patches from Thomas Petazzoni, barebox now has support for
Marvell MVEBU SoCs. Besides Armada 370/XP there is also Dove and famous
Kirkwood within this SoC family. Therefore, this patch set adds initial
support for the Marvell Dove SoC.
First, recently introduced tools for Marvell MVEBU SoCs are updated to
also reference Dove. The kwboot tools is also extended, as Dove requires
a different procedure for UART bootmode. (Patches 1-2)
Then initial SoC code and clocksource is added, as the timer found on
Dove and Kirkwood is slightly different from Armada 370/XP. It is named
after the Marvell MVEBU SoC subset Orion which Dove and Kirkwood belong
to. (Patch 3)
As first board using Dove, the SolidRun CuBox is added. The whole patch
set also have been tested on that board. (Patch 4)
As setup for the different Marvell MVEBU SoCs depends on the SoC and
to avoid irritation about source file names, existing setup source for
Armada 370/XP is renamed to reflect the purpose of the source file.
(Patch 5)
Note: For Dove and Kirkwood, Linux expects the internal registers to be
remapped to different addresses for some ancient reasons. Linux for Armada
370/XP does not have this requirement. To avoid messing with lowlevel
routines (e.g. debug_ll.h), I do not remap the internal registers in
barebox.
I rather suggest to have some mach hooks at start_linux to perform such
tweaks required to boot linux.
Sebastian Hesselbarth (5):
scripts: kwbimage: add references to Marvell Dove SoC
scripts: kwboot: add support for Marvell Dove
arm: initial support for Marvell Dove SoCs
arm: add basic support for SolidRun CuBox
arm: mach-mvebu: rename Armada 370/XP core code
arch/arm/Kconfig | 1 -
arch/arm/Makefile | 1 +
arch/arm/boards/solidrun-cubox/Makefile | 2 +
arch/arm/boards/solidrun-cubox/config.h | 4 +
arch/arm/boards/solidrun-cubox/kwbimage.cfg | 39 ++++++
arch/arm/boards/solidrun-cubox/lowlevel.c | 26 ++++
arch/arm/boards/solidrun-cubox/solidrun-cubox.c | 28 ++++
arch/arm/configs/solidrun_cubox_defconfig | 9 ++
arch/arm/mach-mvebu/Kconfig | 21 +++
arch/arm/mach-mvebu/Makefile | 4 +-
arch/arm/mach-mvebu/armada-370-xp.c | 142 ++++++++++++++++++++
arch/arm/mach-mvebu/core.c | 142 --------------------
arch/arm/mach-mvebu/dove.c | 161 +++++++++++++++++++++++
arch/arm/mach-mvebu/include/mach/dove-regs.h | 59 +++++++++
arch/arm/mach-mvebu/include/mach/dove.h | 23 ++++
drivers/clocksource/Kconfig | 4 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/orion.c | 76 +++++++++++
scripts/kwbimage.c | 9 +-
scripts/kwboot.c | 31 +++--
20 files changed, 626 insertions(+), 157 deletions(-)
create mode 100644 arch/arm/boards/solidrun-cubox/Makefile
create mode 100644 arch/arm/boards/solidrun-cubox/config.h
create mode 100644 arch/arm/boards/solidrun-cubox/kwbimage.cfg
create mode 100644 arch/arm/boards/solidrun-cubox/lowlevel.c
create mode 100644 arch/arm/boards/solidrun-cubox/solidrun-cubox.c
create mode 100644 arch/arm/configs/solidrun_cubox_defconfig
create mode 100644 arch/arm/mach-mvebu/armada-370-xp.c
delete mode 100644 arch/arm/mach-mvebu/core.c
create mode 100644 arch/arm/mach-mvebu/dove.c
create mode 100644 arch/arm/mach-mvebu/include/mach/dove-regs.h
create mode 100644 arch/arm/mach-mvebu/include/mach/dove.h
create mode 100644 drivers/clocksource/orion.c
---
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: barebox@lists.infradead.org
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2013-05-12 13:09 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-12 13:09 Sebastian Hesselbarth [this message]
2013-05-12 13:09 ` [PATCH 1/5] scripts: kwbimage: add references to Marvell Dove SoC Sebastian Hesselbarth
2013-05-12 13:09 ` [PATCH 2/5] scripts: kwboot: add support for Marvell Dove Sebastian Hesselbarth
2013-05-12 16:48 ` Thomas Petazzoni
2013-05-12 13:09 ` [PATCH 3/5] arm: initial support for Marvell Dove SoCs Sebastian Hesselbarth
2013-05-12 16:49 ` Thomas Petazzoni
2013-05-12 16:51 ` Sebastian Hesselbarth
2013-05-12 17:19 ` Thomas Petazzoni
2013-05-12 17:26 ` Sebastian Hesselbarth
2013-05-13 7:58 ` Sascha Hauer
2013-05-13 9:17 ` Sebastian Hesselbarth
2013-05-13 10:57 ` Sascha Hauer
2013-05-13 13:06 ` Sebastian Hesselbarth
2013-05-13 14:11 ` Sascha Hauer
2013-05-13 14:23 ` Thomas Petazzoni
2013-05-13 15:14 ` Sebastian Hesselbarth
2013-05-13 16:12 ` Sebastian Hesselbarth
2013-05-13 16:21 ` Thomas Petazzoni
2013-05-13 16:30 ` Sebastian Hesselbarth
2013-05-13 16:34 ` Thomas Petazzoni
2013-05-13 16:48 ` Sebastian Hesselbarth
2013-05-13 17:14 ` Thomas Petazzoni
2013-05-13 17:42 ` Sebastian Hesselbarth
2013-05-15 5:55 ` Sascha Hauer
2013-05-15 6:20 ` Sebastian Hesselbarth
2013-05-15 6:39 ` Sascha Hauer
2013-05-15 6:48 ` Sebastian Hesselbarth
2013-05-15 7:29 ` Thomas Petazzoni
2013-05-15 8:03 ` Lucas Stach
2013-05-15 8:11 ` Thomas Petazzoni
2013-05-15 7:26 ` Thomas Petazzoni
2013-05-15 8:11 ` Sascha Hauer
2013-05-15 8:19 ` Thomas Petazzoni
2013-05-12 13:09 ` [PATCH 4/5] arm: add basic support for SolidRun CuBox Sebastian Hesselbarth
2013-05-12 20:28 ` [PATCH v2 " Sebastian Hesselbarth
2013-05-12 13:09 ` [PATCH 5/5] arm: mach-mvebu: rename Armada 370/XP core code Sebastian Hesselbarth
2013-05-12 16:50 ` Thomas Petazzoni
2013-05-12 16:53 ` Sebastian Hesselbarth
2013-05-12 20:29 ` [PATCH v2 " Sebastian Hesselbarth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1368364146-6024-1-git-send-email-sebastian.hesselbarth@gmail.com \
--to=sebastian.hesselbarth@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=thomas.petazzoni@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox