[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!
From: |
Alistair Francis |
Subject: |
Re: [Qemu-devel] Maintainers, please tell us how to boot your machines! |
Date: |
Wed, 13 Mar 2019 14:58:09 -0700 |
On Tue, Mar 12, 2019 at 11:22 AM Markus Armbruster <address@hidden> wrote:
>
> Dear board code maintainers,
...
>
>
> Machines with at least one maintainer:
>
...
>
> = hw/arm/netduino2.c =
> Alistair Francis <address@hidden> (maintainer:Netduino 2)
> Peter Maydell <address@hidden> (maintainer:Netduino 2)
> address@hidden (open list:ARM)
No Linux support here (at least that I ever tried), just baremetal applications.
There are steps on booting here:
https://github.com/alistair23/qemu/wiki/Getting-Started
The QEMU command line ends up being:
./arm-softmmu/qemu-system-arm -M netduino2 -nographic -kernel main.elf
-chardev stdio,mux=on,id=terminal -serial /dev/null -serial
chardev:terminal -serial /dev/null -serial chardev:terminal -monitor
chardev:terminal
The images are avalible here (in source):
https://github.com/alistair23/CSSE3010-QEMU-Examples
I can look at uploading binaries somewhere if required.
>
...
>
> = hw/arm/xilinx_zynq.c =
> "Edgar E. Iglesias" <address@hidden> (maintainer:Xilinx Zynq)
> Alistair Francis <address@hidden> (maintainer:Xilinx Zynq)
> Peter Maydell <address@hidden> (maintainer:Xilinx Zynq)
> address@hidden (open list:Xilinx Zynq)
>
> = hw/arm/xlnx-versal-virt.c =
> Alistair Francis <address@hidden> (maintainer:Xilinx ZynqMP)
> "Edgar E. Iglesias" <address@hidden> (maintainer:Xilinx ZynqMP)
> Peter Maydell <address@hidden> (maintainer:Xilinx ZynqMP)
> address@hidden (open list:Xilinx ZynqMP)
>
> = hw/arm/xlnx-zcu102.c =
> Alistair Francis <address@hidden> (maintainer:Xilinx ZynqMP)
> "Edgar E. Iglesias" <address@hidden> (maintainer:Xilinx ZynqMP)
> Peter Maydell <address@hidden> (maintainer:Xilinx ZynqMP)
> address@hidden (open list:Xilinx ZynqMP)
...
>
> = hw/microblaze/xlnx-zynqmp-pmu.c =
> Alistair Francis <address@hidden> (maintainer:Xilinx ZynqMP)
> "Edgar E. Iglesias" <address@hidden> (maintainer:Xilinx ZynqMP)
> Peter Maydell <address@hidden> (maintainer:Xilinx ZynqMP)
> address@hidden (open list:Xilinx ZynqMP)
Edgar has these covered.
>
...
>
> = hw/riscv/sifive_e.c =
> Palmer Dabbelt <address@hidden> (supporter:RISC-V)
> Alistair Francis <address@hidden> (supporter:RISC-V)
> Sagar Karandikar <address@hidden> (supporter:RISC-V)
> Bastian Koppelmann <address@hidden> (supporter:RISC-V)
> address@hidden (open list:RISC-V)
>
> = hw/riscv/sifive_u.c =
> Palmer Dabbelt <address@hidden> (supporter:RISC-V)
> Alistair Francis <address@hidden> (supporter:RISC-V)
> Sagar Karandikar <address@hidden> (supporter:RISC-V)
> Bastian Koppelmann <address@hidden> (supporter:RISC-V)
> address@hidden (open list:RISC-V)
>
> = hw/riscv/spike.c =
> Palmer Dabbelt <address@hidden> (supporter:RISC-V)
> Alistair Francis <address@hidden> (supporter:RISC-V)
> Sagar Karandikar <address@hidden> (supporter:RISC-V)
> Bastian Koppelmann <address@hidden> (supporter:RISC-V)
> address@hidden (open list:RISC-V)
>
> = hw/riscv/virt.c =
> Palmer Dabbelt <address@hidden> (supporter:RISC-V)
> Alistair Francis <address@hidden> (supporter:RISC-V)
> Sagar Karandikar <address@hidden> (supporter:RISC-V)
> Bastian Koppelmann <address@hidden> (supporter:RISC-V)
> address@hidden (open list:RISC-V)
>
I use OpenEmbedded to build images and run Linux on these. The
meta-riscv layer is a good starting point for that:
https://github.com/riscv/meta-riscv
Fedora images also work and there is information on that here:
https://fedoraproject.org/wiki/Architectures/RISC-V/Installing
The Fedora command line ends up looking like this:
qemu-system-riscv64 \
-nographic \
-machine virt \
-smp 4 \
-m 2G \
-kernel bbl \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-device,rng=rng0 \
-append "console=ttyS0 ro root=/dev/vda1" \
-device virtio-blk-device,drive=hd0 \
-drive file=Fedora-Developer-Rawhide-xxxx.n.0-sda.raw,format=raw,id=hd0 \
-device virtio-net-device,netdev=usernet \
-netdev user,id=usernet,hostfwd=tcp::10000-:22
and the Fedora images can be downloaded from: http://185.97.32.145/koji/builds
Alistair
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, (continued)
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, BALATON Zoltan, 2019/03/13
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Edgar E. Iglesias, 2019/03/13
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Stafford Horne, 2019/03/13
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!,
Alistair Francis <=
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Peter.Chubb, 2019/03/13
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Mark Cave-Ayland, 2019/03/14
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Joel Stanley, 2019/03/18
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Markus Armbruster, 2019/03/19
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Peter Maydell, 2019/03/19
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Anthony PERARD, 2019/03/20
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Philippe Mathieu-Daudé, 2019/03/21
- Re: [Qemu-devel] Maintainers, please tell us how to boot your machines!, Guan Xuetao, 2019/03/28