public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH 0/5] RISC-V support
Date: Fri, 10 Jan 2020 18:26:01 +0100	[thread overview]
Message-ID: <cover.1578677166.git.jan.kiszka@siemens.com> (raw)

This is enables the first RISC-V target under Isar, namely QEMU.

The riscv64 arch is not yet an official port, so we need to pull from
fragile sid. Therefore, I'm not yet adding this to any CI.

I order to run the image, you need to install qemu-system-riscv64 and
opensbi (from sid) prior to trying 'start_vm -a riscv64 -d sid-ports'.
The reward in the end:

root@isar:~# uname -a
Linux isar 5.4.0-2-riscv64 #1 SMP Debian 5.4.8-1 (2020-01-05) riscv64 GNU/Linux

Jan

PS: Looking at meta-isar/conf/multiconfig once again, specifically the
qemu targets, it seems they could benefit from some cleanups...

Jan Kiszka (5):
  meta: Add debian-sid-ports distro config
  meta: base/isar-apt: Add RISC-V architecture
  meta: Allow cross-compilation for RISC-V
  start_vm: Add RISC-V 64-bit support
  meta-isar: Add qemuriscv64 virtual target

 meta-isar/conf/machine/qemuriscv64.conf             |  7 +++++++
 .../conf/multiconfig/qemuriscv64-sid-ports.conf     | 21 +++++++++++++++++++++
 .../recipes-kernel/example-module/example-module.bb |  1 +
 meta/classes/dpkg-base.bbclass                      |  2 ++
 meta/conf/distro/debian-sid-ports.conf              | 21 +++++++++++++++++++++
 meta/conf/distro/debian-sid-ports.list              |  2 ++
 meta/conf/distro/debian-sid.list                    |  2 ++
 .../base-apt/files/distributions.in                 |  2 +-
 .../buildchroot/buildchroot-host.bb                 |  7 +++++++
 .../crossbuild-essential-riscv64_0.1-isar.bb        |  8 ++++++++
 .../isar-apt/files/distributions.in                 |  2 +-
 scripts/start_vm                                    |  4 ++++
 12 files changed, 77 insertions(+), 2 deletions(-)
 create mode 100644 meta-isar/conf/machine/qemuriscv64.conf
 create mode 100644 meta-isar/conf/multiconfig/qemuriscv64-sid-ports.conf
 create mode 100644 meta/conf/distro/debian-sid-ports.conf
 create mode 100644 meta/conf/distro/debian-sid-ports.list
 create mode 100644 meta/conf/distro/debian-sid.list
 create mode 100644 meta/recipes-devtools/crossbuild-essential-riscv64/crossbuild-essential-riscv64_0.1-isar.bb

-- 
2.16.4


             reply	other threads:[~2020-01-10 17:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10 17:26 Jan Kiszka [this message]
2020-01-10 17:26 ` [PATCH 1/5] meta: Add debian-sid-ports distro config Jan Kiszka
2020-01-10 17:26 ` [PATCH 2/5] meta: base/isar-apt: Add RISC-V architecture Jan Kiszka
2020-01-10 17:26 ` [PATCH 3/5] meta: Allow cross-compilation for RISC-V Jan Kiszka
2020-01-10 17:26 ` [PATCH 4/5] start_vm: Add RISC-V 64-bit support Jan Kiszka
2020-01-10 17:26 ` [PATCH 5/5] meta-isar: Add qemuriscv64 virtual target Jan Kiszka

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=cover.1578677166.git.jan.kiszka@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.com \
    /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