From: Jules Maselbas <jmaselbas@kalray.eu>
To: barebox@lists.infradead.org
Cc: Clement Leger <clement.leger@bootlin.com>,
Louis Morhet <lmorhet@kalray.eu>, Luc Michel <lmichel@kalray.eu>,
Yann Sionneau <ysionneau@kalray.eu>,
Jules Maselbas <jmaselbas@kalray.eu>
Subject: [PATCH v2 00/11] kvx arch update
Date: Mon, 17 Jan 2022 23:19:06 +0100 [thread overview]
Message-ID: <20220117221917.26970-1-jmaselbas@kalray.eu> (raw)
This series has updates for the KVX architecture, with some fixes and
with the addition of kvx specific drivers for the otp-nvmem and socinfo.
With this series it is now possible to run barebox on qemu, however
our qemu port isn't upstreamed yet, it can still be compiled. To do
so you will need to check this git repo [1] and follow the build
instructions.
To compile barebox for the KVX architecture there is a pre-built
toolchain that can be downloaded here [2]
The following commands should build an run barebox on qemu:
$ PATH=<path/to/gcc-kalray-kvx-v4.7.0-cd2>/bin:$PATH ARCH=kvx make generic_defconfig all
$ qemu-system-kvx -m 1G -nographic -kernel barebox
[1] https://github.com/kalray/qemu-builder
[2] https://github.com/kalray/build-scripts/releases/tag/v4.7.0-cd2
---
Changes in v2:
- rebased on master
- updated with Clement's new email address
- droped two patches (the config and device-tree update) as there are
not needed by qemu and the device-tree requires drivers not upstreamed
yet.
- small fixup on the nvmem driver
Clement Leger (6):
common: elf: add elf_load_binary
kvx: enable FITIMAGE support
nvmem: add kvx otp non volatile regbank support
kvx: add kvx_sfr_field_val
drivers: add soc hierarchy properly
soc: add kvx_socinfo driver
Jules Maselbas (4):
kvx: dma: Remove arch dma_map/unmap_single
kvx: Move LINUX_BOOT_PARAM_MAGIC in asm/common.h
kvx: Accept LINUX_BOOT_PARAM_MAGIC as a valid magic value
clocksource: kvx: Register as postcore_platform_driver
Louis Morhet (1):
watchdog: kvx: do not disable watchdog on probe
arch/kvx/Kconfig | 1 +
arch/kvx/cpu/cpu.c | 2 +-
arch/kvx/include/asm/bootm.h | 11 ---
arch/kvx/include/asm/common.h | 3 +-
arch/kvx/include/asm/sfr.h | 4 +
arch/kvx/lib/bootm.c | 33 +++++++-
arch/kvx/lib/dma-default.c | 38 ---------
common/elf.c | 83 ++++++++++++++-----
drivers/Kconfig | 2 +-
drivers/clocksource/kvx_timer.c | 2 +-
drivers/nvmem/Kconfig | 7 ++
drivers/nvmem/Makefile | 3 +
drivers/nvmem/kvx-otp-nv.c | 98 ++++++++++++++++++++++
drivers/soc/Kconfig | 6 ++
drivers/soc/Makefile | 1 +
drivers/soc/kvx/Kconfig | 10 +++
drivers/soc/kvx/Makefile | 1 +
drivers/soc/kvx/kvx_socinfo.c | 141 ++++++++++++++++++++++++++++++++
drivers/watchdog/kvx_wdt.c | 4 +-
include/elf.h | 1 +
20 files changed, 371 insertions(+), 80 deletions(-)
delete mode 100644 arch/kvx/include/asm/bootm.h
create mode 100644 drivers/nvmem/kvx-otp-nv.c
create mode 100644 drivers/soc/Kconfig
create mode 100644 drivers/soc/kvx/Kconfig
create mode 100644 drivers/soc/kvx/Makefile
create mode 100644 drivers/soc/kvx/kvx_socinfo.c
--
2.17.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2022-01-17 22:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-17 22:19 Jules Maselbas [this message]
2022-01-17 22:19 ` [PATCH v2 01/11] kvx: dma: Remove arch dma_map/unmap_single Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 02/11] kvx: Move LINUX_BOOT_PARAM_MAGIC in asm/common.h Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 03/11] kvx: Accept LINUX_BOOT_PARAM_MAGIC as a valid magic value Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 04/11] common: elf: add elf_load_binary Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 05/11] kvx: enable FITIMAGE support Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 06/11] clocksource: kvx: Register as postcore_platform_driver Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 07/11] watchdog: kvx: do not disable watchdog on probe Jules Maselbas
2022-01-19 14:25 ` Ahmad Fatoum
2022-01-17 22:19 ` [PATCH v2 08/11] nvmem: add kvx otp non volatile regbank support Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 09/11] kvx: add kvx_sfr_field_val Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 10/11] drivers: add soc hierarchy properly Jules Maselbas
2022-01-17 22:19 ` [PATCH v2 11/11] soc: add kvx_socinfo driver Jules Maselbas
2022-01-18 8:09 ` [PATCH v2 00/11] kvx arch update 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=20220117221917.26970-1-jmaselbas@kalray.eu \
--to=jmaselbas@kalray.eu \
--cc=barebox@lists.infradead.org \
--cc=clement.leger@bootlin.com \
--cc=lmichel@kalray.eu \
--cc=lmorhet@kalray.eu \
--cc=ysionneau@kalray.eu \
/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