From: Oleksij Rempel <o.rempel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [PATCH v3 00/10] MIPS: migrate to multiimage support
Date: Tue, 27 Nov 2018 10:19:25 +0100 [thread overview]
Message-ID: <20181127091935.2992-1-o.rempel@pengutronix.de> (raw)
20181127 v3:
- remove ENTRY(pbl_start)
- rework ENTRY_FUNCTION, ENTRY_FUNCTION_END
- move HAVE_PBL_MULTI_IMAGES to the CONFIG_MIPS
- remove arch/mips/boot/start-pbl.S
20181127 v2:
- rebase against latest next
- fix trailing spaces in arch/mips/dts/Makefile
20181126 v1:
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: remove useless board files
arch/mips/Kconfig | 7 +-
arch/mips/Makefile | 30 +------
arch/mips/boards/8devices-lima/Makefile | 1 +
.../board/board_pbl_start.h => lowlevel.S} | 26 ++----
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} | 16 ++--
.../boards/dptechnics-dpt-module/Makefile | 1 +
.../board/board_pbl_start.h => lowlevel.S} | 13 +--
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} | 13 +--
arch/mips/boards/loongson-ls1b/Makefile | 2 +-
.../board/board_pbl_start.h => lowlevel.S} | 13 +--
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} | 15 ++--
arch/mips/boards/ritmix-rzx50/Makefile | 2 +-
.../ritmix-rzx50/include/board/debug_ll.h | 23 -----
.../board/board_pbl_start.h => lowlevel.S} | 13 +--
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} | 16 ++--
arch/mips/boards/tplink-wdr4300/Makefile | 2 +-
arch/mips/boards/tplink-wdr4300/board.c | 28 ------
.../board/board_pbl_start.h => lowlevel.S} | 26 ++----
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 | 44 ---------
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 | 53 +++++++++++
arch/mips/mach-ar231x/include/mach/debug_ll.h | 1 -
arch/mips/mach-ath79/Kconfig | 16 ++--
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 +-
.../mach-loongson/include/mach/debug_ll.h | 1 -
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 +-
68 files changed, 354 insertions(+), 814 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} (86%)
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} (59%)
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} (88%)
rename arch/mips/boards/loongson-ls1b/{include/board/board_pbl_start.h => lowlevel.S} (86%)
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} (94%)
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} (88%)
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} (86%)
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/boot/start-pbl.S
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
next reply other threads:[~2018-11-27 9:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-27 9:19 Oleksij Rempel [this message]
2018-11-27 9:19 ` [PATCH v3 01/10] images: piggy: use "a" instead of #alloc flag Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 02/10] MIPS: add arch/mips/lib/pbl.lds.S Oleksij Rempel
2018-11-30 7:41 ` Sascha Hauer
2018-11-27 9:19 ` [PATCH v3 03/10] pbl: enable MIPS for PBL_RELOCATABLE Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 04/10] MIPS: start: preserve DTB pointer for later use Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 05/10] MIPS: multiimage: add ENTRY_FUNCTION macros Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 06/10] MIPS: mutliimage: pass devicetree from PBL to the main_entry Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 07/10] MIPS: put main_entry to __bare_init section Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 08/10] MIPS: port all mach* to multiimage Oleksij Rempel
2018-12-05 8:50 ` Antony Pavlov
2018-12-05 13:58 ` Oleksij Rempel
2018-12-06 9:15 ` Sascha Hauer
2018-12-07 7:09 ` Oleksij Rempel
2018-12-11 11:31 ` Antony Pavlov
2018-12-13 7:10 ` Sascha Hauer
2018-11-27 9:19 ` [PATCH v3 09/10] MIPS: remove HAS_NO_BOARD_HL_CODE support Oleksij Rempel
2018-11-27 9:19 ` [PATCH v3 10/10] MIPS: remove useless board files Oleksij Rempel
2018-11-30 7:46 ` [PATCH v3 00/10] MIPS: migrate to multiimage support Sascha Hauer
2018-11-30 9:41 ` Antony Pavlov
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=20181127091935.2992-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