mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1 0/3] provide QCA AR9344 support
@ 2017-08-01 18:06 Oleksij Rempel
  2017-08-01 18:06 ` [PATCH v1 1/3] MIPS: ath79: provide CONFIG_SOC_QCA_AR9331 option Oleksij Rempel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Oleksij Rempel @ 2017-08-01 18:06 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

This patch set is providing initial support for QCA AR9344 SoC.
So far it provides PLL and DDR2 initialization.
UART and SPI controller should work as well.

Following variants was tested:
- load PBL to SRAM over JTAG for PLL and DDR2 initialization or configure
  them with JTAG.
- load and start complete zbarebox.bin or barebox.bin to previously configured
  DDR2 RAM. Both variants are working.
- start zbarebox.bin from SPI flash

JTAG config for OpenOCD can be found here:
https://github.com/olerem/openocd/commits/ar9344
or maybe later upstrean in OpenOCD directly.

Oleksij Rempel (3):
  MIPS: ath79: provide CONFIG_SOC_QCA_AR9331 option
  MIPS: ath79: add initial QCA AR9344 SoC support
  MIPS: ath79: add TP-Link WDR4300 board support

 arch/mips/Makefile                                 |   1 +
 arch/mips/boards/tplink-wdr4300/Makefile           |   1 +
 arch/mips/boards/tplink-wdr4300/board.c            |  28 ++
 .../tplink-wdr4300/include/board/board_pbl_start.h |  62 +++
 arch/mips/configs/tplink-wdr4300_defconfig         |  50 ++
 arch/mips/dts/ar9344.dtsi                          |  53 ++
 arch/mips/dts/ar9344_tl_wdr3400.dts                |  47 ++
 arch/mips/mach-ath79/Kconfig                       |  15 +
 arch/mips/mach-ath79/include/mach/ar71xx_regs.h    |   9 +
 arch/mips/mach-ath79/include/mach/debug_ll.h       | 167 +------
 .../mips/mach-ath79/include/mach/debug_ll_ar9331.h | 176 +++++++
 .../mips/mach-ath79/include/mach/debug_ll_ar9344.h | 191 ++++++++
 .../include/mach/pbl_ll_init_ar9344_1.1.h          | 540 +++++++++++++++++++++
 13 files changed, 1182 insertions(+), 158 deletions(-)
 create mode 100644 arch/mips/boards/tplink-wdr4300/Makefile
 create mode 100644 arch/mips/boards/tplink-wdr4300/board.c
 create mode 100644 arch/mips/boards/tplink-wdr4300/include/board/board_pbl_start.h
 create mode 100644 arch/mips/configs/tplink-wdr4300_defconfig
 create mode 100644 arch/mips/dts/ar9344.dtsi
 create mode 100644 arch/mips/dts/ar9344_tl_wdr3400.dts
 create mode 100644 arch/mips/mach-ath79/include/mach/debug_ll_ar9331.h
 create mode 100644 arch/mips/mach-ath79/include/mach/debug_ll_ar9344.h
 create mode 100644 arch/mips/mach-ath79/include/mach/pbl_ll_init_ar9344_1.1.h

-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v1 0/3] provide basic support for TP-Link WDR4300
@ 2017-08-09 15:51 Oleksij Rempel
  2017-08-09 15:51 ` [PATCH v1 3/3] MIPS: ath79: add TP-Link WDR4300 board support Oleksij Rempel
  0 siblings, 1 reply; 6+ messages in thread
From: Oleksij Rempel @ 2017-08-09 15:51 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

this set also including support of QCA AR9344 too.

Oleksij Rempel (3):
  MIPS: ath79: provide CONFIG_SOC_QCA_AR9331 option
  MIPS: ath79: add initial QCA AR9344 SoC support
  MIPS: ath79: add TP-Link WDR4300 board support

 arch/mips/Makefile                                 |   1 +
 arch/mips/boards/tplink-wdr4300/Makefile           |   1 +
 arch/mips/boards/tplink-wdr4300/board.c            |  28 ++
 .../tplink-wdr4300/include/board/board_pbl_start.h |  62 +++
 arch/mips/configs/tplink-wdr4300_defconfig         |  78 +++
 arch/mips/dts/ar9344.dtsi                          |  53 ++
 arch/mips/dts/ar9344_tl_wdr4300.dts                |  63 +++
 arch/mips/mach-ath79/Kconfig                       |  15 +
 arch/mips/mach-ath79/include/mach/ar71xx_regs.h    |   9 +
 arch/mips/mach-ath79/include/mach/debug_ll.h       | 167 +------
 .../mips/mach-ath79/include/mach/debug_ll_ar9331.h | 176 +++++++
 .../mips/mach-ath79/include/mach/debug_ll_ar9344.h | 191 ++++++++
 .../include/mach/pbl_ll_init_ar9344_1.1.h          | 540 +++++++++++++++++++++
 13 files changed, 1226 insertions(+), 158 deletions(-)
 create mode 100644 arch/mips/boards/tplink-wdr4300/Makefile
 create mode 100644 arch/mips/boards/tplink-wdr4300/board.c
 create mode 100644 arch/mips/boards/tplink-wdr4300/include/board/board_pbl_start.h
 create mode 100644 arch/mips/configs/tplink-wdr4300_defconfig
 create mode 100644 arch/mips/dts/ar9344.dtsi
 create mode 100644 arch/mips/dts/ar9344_tl_wdr4300.dts
 create mode 100644 arch/mips/mach-ath79/include/mach/debug_ll_ar9331.h
 create mode 100644 arch/mips/mach-ath79/include/mach/debug_ll_ar9344.h
 create mode 100644 arch/mips/mach-ath79/include/mach/pbl_ll_init_ar9344_1.1.h

-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-09 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-01 18:06 [PATCH v1 0/3] provide QCA AR9344 support Oleksij Rempel
2017-08-01 18:06 ` [PATCH v1 1/3] MIPS: ath79: provide CONFIG_SOC_QCA_AR9331 option Oleksij Rempel
2017-08-01 18:06 ` [PATCH v1 2/3] MIPS: ath79: add initial QCA AR9344 SoC support Oleksij Rempel
2017-08-01 18:06 ` [PATCH v1 3/3] MIPS: ath79: add TP-Link WDR4300 board support Oleksij Rempel
2017-08-03 14:30   ` Oleksij Rempel
2017-08-09 15:51 [PATCH v1 0/3] provide basic support for TP-Link WDR4300 Oleksij Rempel
2017-08-09 15:51 ` [PATCH v1 3/3] MIPS: ath79: add TP-Link WDR4300 board support Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox