[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH v7 10/10] hw/m68k: define Macintosh
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-block] [Qemu-devel] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800 |
Date: |
Mon, 27 May 2019 15:36:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 27/05/2019 15:32, Aleksandar Markovic wrote:
>
> On May 26, 2019 1:07 AM, "Laurent Vivier" <address@hidden
> <mailto:address@hidden>> wrote:
> >
> > If you want to test the machine, it doesn't yet boot a MacROM, but
> you can
> > boot a linux kernel from the command line.
> >
> > You can install your own disk using debian-installer with:
> >
> > ./qemu-system-m68k \
> > -M q800 \
> > -serial none -serial mon:stdio \
> > -m 1000M -drive file=m68k.qcow2,format=qcow2 \
> > -net nic,model=dp83932,addr=09:00:07:12:34:57 \
> > -append "console=ttyS0 vga=off" \
> > -kernel vmlinux-4.15.0-2-m68k \
> > -initrd initrd.gz \
> > -drive file=debian-9.0-m68k-NETINST-1.iso \
> > -drive file=m68k.qcow2,format=qcow2 \
> > -nographic
> >
>
> Hello Laurent,
Hello Aleksandar,
> How does one obtain vmlinux-4.15.0-2-m68 and init.rd?
>
you can find more details in the cover letter:
You can get the ISO from:
https://cdimage.debian.org/cdimage/ports/10.0/m68k/iso-cd/debian-10.0-m68k-NETINST-1.iso
and extract the kernel and initrd.gz:
guestfish --add debian-10.0-m68k-NETINST-1.iso --ro \
--mount /dev/sda:/ <<_EOF_
copy-out /install/cdrom/initrd.gz .
copy-out /install/kernels/vmlinux-4.16.0-1-m68k .
_EOF_
The mirror to use is: http://ftp.ports.debian.org/debian-ports/
when it fails, continue without boot loader.
In the same way, you can extract the kernel and the initramfs from the qcow2
image to use it with "-kernel" and "-initrd":
guestfish --add m68k.qcow2 --mount /dev/sda2:/ <<_EOF_
copy-out /boot/vmlinux-4.16.0-1-m68k .
copy-out /boot/initrd.img-4.16.0-1-m68k .
_EOF_
Thanks,
Laurent
- [Qemu-block] [PATCH v7 05/10] hw/m68k: implement ADB bus support for via, (continued)
- [Qemu-block] [PATCH v7 05/10] hw/m68k: implement ADB bus support for via, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 09/10] hw/m68k: add a dummy SWIM floppy controller, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 07/10] hw/m68k: add Nubus support, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 02/10] esp: add pseudo-DMA as used by Macintosh, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 03/10] dp8393x: manage big endian bus, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 10/10] hw/m68k: define Macintosh Quadra 800, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 08/10] hw/m68k: add Nubus support for macfb video card, Laurent Vivier, 2019/05/25
- [Qemu-block] [PATCH v7 01/10] escc: introduce a selector for the register bit, Laurent Vivier, 2019/05/25
- Re: [Qemu-block] [Qemu-devel] [PATCH v7 00/10] hw/m68k: add Apple Machintosh Quadra 800 machine, no-reply, 2019/05/25