From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [RFC v2 00/10] MIPS: barebox as a first stage loader on the Black Swift board
Date: Mon, 21 Sep 2015 02:23:43 +0300 [thread overview]
Message-ID: <1442791433-10892-1-git-send-email-antonynpavlov@gmail.com> (raw)
This patchseries adds necessary AR9331 SoC low level initialization routines.
The patchseries makes it possible to use barebox as a first stage loader
on the Black Swift board and, I suppose, other widespread AR9331-based boards.
The patchseries is heavily based on Oleksij Rempel's work on barebox for TP-Link MR3020.
TODOs:
* add TP-Link MR3020 support (see http://openocd.zylin.com/gitweb?p=openocd.git;a=commitdiff;h=f59d2d9ecfee8899df531b87b7acaa468725f238);
* clean up Black Swift GPIO code (pbl_reg_set (1 << 18), 0xb80600ac);
* check macros names linux kernel source compartibility;
* DT compatible string vendor "smartlx" appears un-documented.
The site http://www.smartlx.ru/ is suspended.
Changes since RFC v1:
* add UART initialization routune for DEBUG_LL and NMON;
* add macros for GPIO_FUNCTION_1 register initialization;
* add ar71xx GPIO driver.
Antony Pavlov (9):
MIPS: ar933x: pbl: add pbl_ar9331_ddr2_config macro
MIPS: mach-ath79: add pbl_ar9331_uart_enable macro
MIPS: mach-ath79: add debug_ll_ar9331_init macro
MIPS: ath79: add black-swift board support
MIPS: add black-swift_defconfig
gpio: add ath79-gpio driver for Atheros MIPS SoCs
MIPS: ath79: use gpiolib
MIPS: dts: ar9331.dtsi: add gpio
WIP: MIPS: black-swift: use GPIO
Oleksij Rempel (1):
MIPS: ar933x: pbl: add pbl_ar9331_pll macro
arch/mips/Kconfig | 1 +
arch/mips/Makefile | 1 +
arch/mips/boards/black-swift/Makefile | 1 +
arch/mips/boards/black-swift/board.c | 27 ++++
.../black-swift/include/board/board_pbl_start.h | 41 ++++++
arch/mips/boot/start.S | 2 +
arch/mips/configs/black-swift_defconfig | 45 +++++++
arch/mips/dts/ar9331.dtsi | 10 ++
arch/mips/dts/black-swift.dts | 60 +++++++++
arch/mips/include/asm/pbl_macros.h | 32 +++++
arch/mips/mach-ath79/Kconfig | 6 +
arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 41 ++++++
arch/mips/mach-ath79/include/mach/debug_ll.h | 29 ++++
arch/mips/mach-ath79/include/mach/pbl_macros.h | 139 ++++++++++++++++++++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-ath79.c | 146 +++++++++++++++++++++
16 files changed, 582 insertions(+)
create mode 100644 arch/mips/boards/black-swift/Makefile
create mode 100644 arch/mips/boards/black-swift/board.c
create mode 100644 arch/mips/boards/black-swift/include/board/board_pbl_start.h
create mode 100644 arch/mips/configs/black-swift_defconfig
create mode 100644 arch/mips/dts/black-swift.dts
create mode 100644 arch/mips/mach-ath79/include/mach/pbl_macros.h
create mode 100644 drivers/gpio/gpio-ath79.c
--
2.5.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2015-09-20 23:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-20 23:23 Antony Pavlov [this message]
2015-09-20 23:23 ` [RFC v2 01/10] MIPS: ar933x: pbl: add pbl_ar9331_pll macro Antony Pavlov
2015-09-20 23:23 ` [RFC v2 02/10] MIPS: ar933x: pbl: add pbl_ar9331_ddr2_config macro Antony Pavlov
2015-09-20 23:23 ` [RFC v2 03/10] MIPS: mach-ath79: add pbl_ar9331_uart_enable macro Antony Pavlov
2015-09-20 23:23 ` [RFC v2 04/10] MIPS: mach-ath79: add debug_ll_ar9331_init macro Antony Pavlov
2015-09-20 23:23 ` [RFC v2 05/10] MIPS: ath79: add black-swift board support Antony Pavlov
2015-09-20 23:23 ` [RFC v2 06/10] MIPS: add black-swift_defconfig Antony Pavlov
2015-09-20 23:23 ` [RFC v2 07/10] gpio: add ath79-gpio driver for Atheros MIPS SoCs Antony Pavlov
2015-09-20 23:23 ` [RFC v2 08/10] MIPS: ath79: use gpiolib Antony Pavlov
2015-09-20 23:23 ` [RFC v2 09/10] MIPS: dts: ar9331.dtsi: add gpio Antony Pavlov
2015-09-20 23:23 ` [RFC v2 10/10] WIP: MIPS: black-swift: use GPIO Antony Pavlov
2015-09-23 4:53 ` [RFC v2 00/10] MIPS: barebox as a first stage loader on the Black Swift board Sascha Hauer
2015-09-23 6:11 ` Antony Pavlov
2015-09-23 8:32 ` Sascha Hauer
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=1442791433-10892-1-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/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