mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH v2 0/9] MIPS: ath79: add ar9331 pbl support
Date: Tue,  3 Nov 2015 08:23:47 +0300	[thread overview]
Message-ID: <1446528236-30236-1-git-send-email-antonynpavlov@gmail.com> (raw)

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

-- 
2.6.2


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

             reply	other threads:[~2015-11-03  5:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03  5:23 Antony Pavlov [this message]
2015-11-03  5:23 ` [PATCH v2 1/9] MIPS: ath79: add pbl_ar9331_pll macro Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 2/9] MIPS: ath79: add pbl_ar9331_ddr2_config macro Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 3/9] MIPS: ath79: add pbl_ar9331_uart_enable macro Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 4/9] MIPS: ath79: add debug_ll_ar9331_init macro Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 5/9] MIPS: ath79: add black-swift board support Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 6/9] MIPS: ath79: add black-swift_defconfig Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 7/9] MIPS: ath79: add pbl_ar9331_ddr1_config macro Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 8/9] MIPS: tplink-mr3020: add pbl low level init Antony Pavlov
2015-11-03  5:23 ` [PATCH v2 9/9] MIPS: tplink-mr3020_defconfig: enable pbl; make image shorter Antony Pavlov
2015-11-03  7:26 ` [PATCH v2 0/9] MIPS: ath79: add ar9331 pbl support 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=1446528236-30236-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