mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [PATCH v1 00/10] MIPS: migrate to multiimage support
Date: Mon, 26 Nov 2018 10:17:57 +0100	[thread overview]
Message-ID: <20181126091807.19398-1-o.rempel@pengutronix.de> (raw)

This patch series is a huge move to a multiimage support.
As long as we do not have lots of boards, it is better to do it now.
The most painful patch is "MIPS: port all mach* to multiimage", since
it was too hard to split the work to multiple step, it is all-in-one
patch. I hope my children will forgive me this... ;)

Oleksij Rempel (10):
  images: piggy: use "a" instead of #alloc flag
  MIPS: add arch/mips/lib/pbl.lds.S
  pbl: enable MIPS for PBL_RELOCATABLE
  MIPS: start: preserve DTB pointer for later use
  MIPS: multiimage: add ENTRY_FUNCTION macros
  MIPS: mutliimage: pass devicetree from PBL to the main_entry
  MIPS: put main_entry to __bare_init section
  MIPS: port all mach* to multiimage
  MIPS: remove HAS_NO_BOARD_HL_CODE support
  MIPS: multiimage: remove useless board files

 arch/mips/Kconfig                             | 10 ++-
 arch/mips/Makefile                            | 30 +------
 arch/mips/boards/8devices-lima/Makefile       |  1 +
 .../board/board_pbl_start.h => lowlevel.S}    | 27 ++----
 arch/mips/boards/Makefile                     | 11 +++
 arch/mips/boards/black-swift/Makefile         |  2 +-
 arch/mips/boards/black-swift/board.c          | 27 ------
 .../board/board_pbl_start.h => lowlevel.S}    | 17 ++--
 .../boards/dptechnics-dpt-module/Makefile     |  1 +
 .../board/board_pbl_start.h => lowlevel.S}    | 14 +--
 arch/mips/boards/img-ci20/Makefile            |  2 +-
 arch/mips/boards/img-ci20/board.c             | 27 ------
 .../boards/img-ci20/include/board/debug_ll.h  | 23 -----
 .../board/board_pbl_start.h => lowlevel.S}    | 14 ++-
 arch/mips/boards/loongson-ls1b/Makefile       |  2 +-
 .../board/board_pbl_start.h => lowlevel.S}    | 14 ++-
 arch/mips/boards/loongson-ls1b/serial.c       | 10 ---
 arch/mips/boards/netgear-wg102/Makefile       |  1 +
 .../board/board_pbl_start.h => lowlevel.S}    | 20 +++--
 arch/mips/boards/qemu-malta/Makefile          |  2 +-
 arch/mips/boards/qemu-malta/init.c            | 29 ------
 .../board/board_pbl_start.h => lowlevel.S}    | 16 ++--
 arch/mips/boards/ritmix-rzx50/Makefile        |  2 +-
 .../ritmix-rzx50/include/board/debug_ll.h     | 23 -----
 .../board/board_pbl_start.h => lowlevel.S}    | 14 ++-
 arch/mips/boards/ritmix-rzx50/serial.c        | 27 ------
 arch/mips/boards/tplink-mr3020/Makefile       |  2 +-
 arch/mips/boards/tplink-mr3020/board.c        | 27 ------
 .../board/board_pbl_start.h => lowlevel.S}    | 17 ++--
 arch/mips/boards/tplink-wdr4300/Makefile      |  2 +-
 arch/mips/boards/tplink-wdr4300/board.c       | 28 ------
 .../board/board_pbl_start.h => lowlevel.S}    | 27 ++----
 arch/mips/boot/Makefile                       |  4 +-
 arch/mips/boot/dtb.c                          | 16 +++-
 arch/mips/boot/main_entry-pbl.c               | 15 ++--
 arch/mips/boot/main_entry.c                   | 11 ++-
 arch/mips/boot/start-pbl.S                    |  1 -
 arch/mips/boot/start.S                        |  7 ++
 arch/mips/configs/8devices-lima_defconfig     | 83 -----------------
 ...plink-mr3020_defconfig => ath79_defconfig} |  9 +-
 arch/mips/configs/black-swift_defconfig       | 54 -----------
 .../configs/dptechnics-dpt-module_defconfig   | 89 -------------------
 arch/mips/configs/img-ci20_defconfig          | 45 ----------
 arch/mips/configs/qemu-malta_defconfig        | 12 +--
 arch/mips/configs/tplink-wdr4300_defconfig    | 82 -----------------
 ...itmix-rzx50_defconfig => xburst_defconfig} |  8 +-
 arch/mips/dts/Makefile                        | 15 +++-
 arch/mips/include/asm/asm.h                   | 29 ++++++
 arch/mips/lib/pbl.lds.S                       | 54 +++++++++++
 arch/mips/mach-ar231x/include/mach/debug_ll.h |  2 +-
 arch/mips/mach-ath79/Kconfig                  | 22 ++++-
 arch/mips/mach-ath79/include/mach/debug_ll.h  | 12 ++-
 .../mach-ath79/include/mach/debug_ll_ar9331.h |  2 +-
 .../mach-ath79/include/mach/debug_ll_ar9344.h |  4 +-
 .../mips/mach-ath79/include/mach/pbl_macros.h |  5 +-
 arch/mips/mach-loongson/Kconfig               |  1 +
 .../mach-loongson/include/mach/debug_ll.h     |  2 +-
 arch/mips/mach-malta/Kconfig                  |  9 +-
 arch/mips/mach-malta/include/mach/debug_ll.h  | 10 ++-
 arch/mips/mach-xburst/Kconfig                 | 14 ++-
 arch/mips/mach-xburst/include/mach/debug_ll.h | 14 ++-
 images/Makefile                               |  7 +-
 images/Makefile.ar231x                        |  3 +
 images/Makefile.ath79                         | 20 +++++
 images/Makefile.loongson                      |  3 +
 images/Makefile.malta                         |  3 +
 images/Makefile.xburst                        |  7 ++
 images/piggy.S                                |  2 +-
 pbl/Kconfig                                   |  2 +-
 69 files changed, 377 insertions(+), 770 deletions(-)
 create mode 100644 arch/mips/boards/8devices-lima/Makefile
 rename arch/mips/boards/8devices-lima/{include/board/board_pbl_start.h => lowlevel.S} (78%)
 create mode 100644 arch/mips/boards/Makefile
 delete mode 100644 arch/mips/boards/black-swift/board.c
 rename arch/mips/boards/black-swift/{include/board/board_pbl_start.h => lowlevel.S} (84%)
 create mode 100644 arch/mips/boards/dptechnics-dpt-module/Makefile
 rename arch/mips/boards/dptechnics-dpt-module/{include/board/board_pbl_start.h => lowlevel.S} (55%)
 delete mode 100644 arch/mips/boards/img-ci20/board.c
 delete mode 100644 arch/mips/boards/img-ci20/include/board/debug_ll.h
 rename arch/mips/boards/img-ci20/{include/board/board_pbl_start.h => lowlevel.S} (85%)
 rename arch/mips/boards/loongson-ls1b/{include/board/board_pbl_start.h => lowlevel.S} (83%)
 delete mode 100644 arch/mips/boards/loongson-ls1b/serial.c
 rename arch/mips/boards/netgear-wg102/{include/board/board_pbl_start.h => lowlevel.S} (87%)
 delete mode 100644 arch/mips/boards/qemu-malta/init.c
 rename arch/mips/boards/qemu-malta/{include/board/board_pbl_start.h => lowlevel.S} (92%)
 delete mode 100644 arch/mips/boards/ritmix-rzx50/include/board/debug_ll.h
 rename arch/mips/boards/ritmix-rzx50/{include/board/board_pbl_start.h => lowlevel.S} (85%)
 delete mode 100644 arch/mips/boards/ritmix-rzx50/serial.c
 delete mode 100644 arch/mips/boards/tplink-mr3020/board.c
 rename arch/mips/boards/tplink-mr3020/{include/board/board_pbl_start.h => lowlevel.S} (84%)
 delete mode 100644 arch/mips/boards/tplink-wdr4300/board.c
 rename arch/mips/boards/tplink-wdr4300/{include/board/board_pbl_start.h => lowlevel.S} (77%)
 delete mode 100644 arch/mips/configs/8devices-lima_defconfig
 rename arch/mips/configs/{tplink-mr3020_defconfig => ath79_defconfig} (90%)
 delete mode 100644 arch/mips/configs/black-swift_defconfig
 delete mode 100644 arch/mips/configs/dptechnics-dpt-module_defconfig
 delete mode 100644 arch/mips/configs/img-ci20_defconfig
 delete mode 100644 arch/mips/configs/tplink-wdr4300_defconfig
 rename arch/mips/configs/{ritmix-rzx50_defconfig => xburst_defconfig} (89%)
 create mode 100644 arch/mips/lib/pbl.lds.S
 create mode 100644 images/Makefile.ar231x
 create mode 100644 images/Makefile.ath79
 create mode 100644 images/Makefile.loongson
 create mode 100644 images/Makefile.malta
 create mode 100644 images/Makefile.xburst

-- 
2.19.1


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

             reply	other threads:[~2018-11-26  9:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26  9:17 Oleksij Rempel [this message]
2018-11-26  9:17 ` [PATCH v1 01/10] images: piggy: use "a" instead of #alloc flag Oleksij Rempel
2018-11-26 12:25   ` Antony Pavlov
2018-11-26 13:00     ` Oleksij Rempel
2018-11-26  9:17 ` [PATCH v1 02/10] MIPS: add arch/mips/lib/pbl.lds.S Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 03/10] pbl: enable MIPS for PBL_RELOCATABLE Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 04/10] MIPS: start: preserve DTB pointer for later use Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 05/10] MIPS: multiimage: add ENTRY_FUNCTION macros Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 06/10] MIPS: mutliimage: pass devicetree from PBL to the main_entry Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 07/10] MIPS: put main_entry to __bare_init section Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 08/10] MIPS: port all mach* to multiimage Oleksij Rempel
2018-11-26 12:13   ` Antony Pavlov
2018-11-26 13:02     ` Oleksij Rempel
2018-11-26 13:01   ` Antony Pavlov
2018-11-26 13:54     ` Oleksij Rempel
2018-11-26 14:15       ` Sascha Hauer
2018-11-26  9:18 ` [PATCH v1 09/10] MIPS: remove HAS_NO_BOARD_HL_CODE support Oleksij Rempel
2018-11-26  9:18 ` [PATCH v1 10/10] MIPS: multiimage: remove useless board files Oleksij Rempel
2018-11-26 12:22   ` Antony Pavlov
2018-11-26 13:01     ` Oleksij Rempel

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=20181126091807.19398-1-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --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