[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y/8e/7lfr0iWxnAd@x1-carbon>
Date: Wed, 1 Mar 2023 09:46:40 +0000
From: Niklas Cassel <Niklas.Cassel@....com>
To: Damien Le Moal <damien.lemoal@...nsource.wdc.com>
CC: Palmer Dabbelt <palmer@...belt.com>,
"gerg@...nel.org" <gerg@...nel.org>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/2] riscv: support ELF format binaries in nommu mode
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
Powered by blists - more mailing lists