From: Niklas Cassel <Niklas.Cassel@wdc.com>
To: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>,
"gerg@kernel.org" <gerg@kernel.org>,
"linux-riscv@lists.infradead.org"
<linux-riscv@lists.infradead.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/2] riscv: support ELF format binaries in nommu mode
Date: Wed, 1 Mar 2023 09:46:40 +0000 [thread overview]
Message-ID: <Y/8e/7lfr0iWxnAd@x1-carbon> (raw)
In-Reply-To: <3719a4f0-1a5a-4661-a6d7-5d4f67d7b7e8@opensource.wdc.com>
On Wed, Mar 01, 2023 at 07:49:05AM +0900, Damien Le Moal wrote:
(snip)
> > Adding Damien, as IIRC he's had some hacked up userspace bits for the
> > K210. I'm yet to get anything running, but it'd be great if we get this
> > to a point where I can actually boot test this on QEMU (I'm just doing
> > builds now).
>
> +Niklas
>
> Niklas, didn't you add a nommu qemu build for buildroot ? Can't find the config
> though...
Yes, I did.
In buildroot:
$ make qemu_riscv64_nommu_virt_defconfig
The QEMU command line generated by buildroot:
qemu-system-riscv64 -M virt -bios none -kernel output/images/Image -append "rootwait root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -nographic -cpu rv64,mmu=off # qemu_riscv64_nommu_virt_defconfig
Compared to a regular riscv64 QEMU command line, the relevant parameter is:
-cpu rv64,mmu=off
Kind regards,
Niklas
next prev parent reply other threads:[~2023-03-01 9:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 13:51 Greg Ungerer
2023-02-28 13:51 ` [PATCH 1/2] binfmt_elf_fdpic: support 64-bit systems Greg Ungerer
2023-03-21 22:49 ` Palmer Dabbelt
2023-03-29 13:48 ` Greg Ungerer
2023-04-19 3:27 ` Palmer Dabbelt
2023-04-20 14:58 ` Greg Ungerer
2023-07-10 23:18 ` Palmer Dabbelt
2023-07-11 11:53 ` Greg Ungerer
2023-02-28 13:51 ` [PATCH 2/2] riscv: support the elf-fdpic binfmt loader Greg Ungerer
2023-02-28 21:52 ` [PATCH 0/2] riscv: support ELF format binaries in nommu mode Palmer Dabbelt
2023-02-28 22:44 ` Maciej W. Rozycki
2023-02-28 22:49 ` Damien Le Moal
2023-03-01 0:24 ` Greg Ungerer
2023-03-01 1:14 ` Damien Le Moal
2023-03-01 9:46 ` Niklas Cassel [this message]
2023-03-01 0:20 ` Greg Ungerer
2023-03-15 3:58 ` Palmer Dabbelt
2023-03-15 4:12 ` Damien Le Moal
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=Y/8e/7lfr0iWxnAd@x1-carbon \
--to=niklas.cassel@wdc.com \
--cc=damien.lemoal@opensource.wdc.com \
--cc=gerg@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.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