Skip to content

MIPS: ath79: add ar9331 pbl support

Antony Pavlov barebox 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyApplied
  2. v19 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* make commit messages more consistent;
* add 'Future works' to cover letter.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9MIPS: ath79: add pbl_ar9331_pll macroarch/mips/include/asm/pbl_macros.h arch/mips/mach-ath79/include/mach/ar71xx_regs.h arch/mips/mach-ath79/include/mach/pbl_macros.h+65 -00 replies
2/9MIPS: ath79: add pbl_ar9331_ddr2_config macroarch/mips/mach-ath79/include/mach/ar71xx_regs.h arch/mips/mach-ath79/include/mach/pbl_macros.h+109 -00 replies
3/9MIPS: ath79: add pbl_ar9331_uart_enable macroarch/mips/include/asm/pbl_macros.h arch/mips/mach-ath79/include/mach/ar71xx_regs.h arch/mips/mach-ath79/include/mach/pbl_macros.h+21 -00 replies
4/9MIPS: ath79: add debug_ll_ar9331_init macroarch/mips/mach-ath79/include/mach/debug_ll.h+29 -00 replies
5/9MIPS: ath79: add black-swift board supportarch/mips/Makefile arch/mips/boards/black-swift/Makefile arch/mips/boards/black-swift/board.c +3 more+110 -00 replies
6/9MIPS: ath79: add black-swift_defconfigarch/mips/configs/black-swift_defconfig+46 -00 replies
7/9MIPS: ath79: add pbl_ar9331_ddr1_config macroarch/mips/mach-ath79/include/mach/pbl_macros.h+43 -00 replies
8/9MIPS: tplink-mr3020: add pbl low level initarch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h+6 -00 replies
9/9MIPS: tplink-mr3020_defconfig: enable pbl; make image shorterarch/mips/configs/tplink-mr3020_defconfig+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] MIPS: ath79: add ar9331 pbl support

This patchseries adds full clock and RAM initialization for AR9331-based boards: now barebox can start without any other bootloader's help.

This series tested with TP-Link MR3020 (DDR1 RAM) and Black Swift (DDR2 RAM) boards.

See also
https://github.com/pepe2k/u-boot_mod

Future works:

* add 'check run from ROM' commit by Oleksij Rempel (do 0xbfc test);
* enable more GPIO features (see 'pbl_reg_set (1 << 18), 0xb80600ac').

Changes since v1:

* make commit messages more consistent;
* add 'Future works' to cover letter.

Antony Pavlov (8):
MIPS: ath79: add pbl_ar9331_ddr2_config macro
MIPS: ath79: add pbl_ar9331_uart_enable macro
MIPS: ath79: add debug_ll_ar9331_init macro
MIPS: ath79: add black-swift board support
MIPS: ath79: add black-swift_defconfig
MIPS: ath79: add pbl_ar9331_ddr1_config macro
MIPS: tplink-mr3020: add pbl low level init
MIPS: tplink-mr3020_defconfig: enable pbl; make image shorter

Oleksij Rempel (1):
MIPS: ath79: add pbl_ar9331_pll macro

 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 +++++
 .../tplink-mr3020/include/board/board_pbl_start.h  |   6 +
 arch/mips/configs/black-swift_defconfig            |  46 ++++++
 arch/mips/configs/tplink-mr3020_defconfig          |   3 +
 arch/mips/dts/black-swift.dts                      |  34 ++++
 arch/mips/include/asm/pbl_macros.h                 |  32 ++++
 arch/mips/mach-ath79/Kconfig                       |   6 +
 arch/mips/mach-ath79/include/mach/ar71xx_regs.h    |  24 +++
 arch/mips/mach-ath79/include/mach/debug_ll.h       |  29 ++++
 arch/mips/mach-ath79/include/mach/pbl_macros.h     | 182 +++++++++++++++++++++
 13 files changed, 432 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
Signature · 7 lines
2.6.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox