public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/5] RISC-V support
@ 2020-01-10 17:26 Jan Kiszka
  2020-01-10 17:26 ` [PATCH 1/5] meta: Add debian-sid-ports distro config Jan Kiszka
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jan Kiszka @ 2020-01-10 17:26 UTC (permalink / raw)
  To: isar-users

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-10 17:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 17:26 [PATCH 0/5] RISC-V support Jan Kiszka
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox