Message ID | 20190927090453.24712-1-laurent@vivier.eu |
---|---|
Headers | show |
Series | hw/m68k: add Apple Machintosh Quadra 800 machine | expand |
On 9/27/19 11:04 AM, Laurent Vivier wrote: > I'm rebasing some of these patches for seven years now, > too many years... > > if you want to test the machine, I'm sorry, it doesn't boot > a MacROM, but you can boot a linux kernel from the command line. > > You can install your own disk using debian-installer, with: > > ... > -M q800 \ > -serial none -serial mon:stdio \ > -m 1000M \ > -net nic,model=dp83932,addr=09:00:07:12:34:57 \ > -append "console=ttyS0 vga=off" \ > -kernel vmlinux-4.16.0-1-m68k \ > -initrd initrd.gz \ > -drive file=debian-10.0-m68k-NETINST-1.iso,media=cdrom \ > -drive file=m68k.qcow2,format=qcow2 \ > -nographic > > If you use a graphic adapter instead of "-nographic", you can use "-g" to set the > size of the display (I use "-g 1600x800x24"). > > 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_ > > and boot with: > > ... > -append "root=/dev/sda2 rw console=ttyS0 console=tty \ > -kernel vmlinux-4.16.0-1-m68k \ > -initrd initrd.img-4.16.0-1-m68k > > NOTE: DHCP doesn't work but you can assign a static IP address. Series: Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> (on x86 host)
Patchew URL: https://patchew.org/QEMU/20190927090453.24712-1-laurent@vivier.eu/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20190927090453.24712-1-laurent@vivier.eu Subject: [PATCH v13 0/9] hw/m68k: add Apple Machintosh Quadra 800 machine === TEST SCRIPT BEGIN === #!/bin/bash git rev-parse base > /dev/null || exit 0 git config --local diff.renamelimit 0 git config --local diff.renames True git config --local diff.algorithm histogram ./scripts/checkpatch.pl --mailback base.. === TEST SCRIPT END === Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 Switched to a new branch 'test' 922e2f1 BootLinuxConsoleTest: Test the Quadra 800 e3bd2d5 hw/m68k: define Macintosh Quadra 800 5f04265 hw/m68k: add a dummy SWIM floppy controller c38a597 hw/m68k: add Nubus macfb video card ada0ee1 hw/m68k: add Nubus support 96c965a hw/m68k: implement ADB bus support for via 5182aca hw/m68k: add VIA support 77f0533 dp8393x: manage big endian bus aea47c6 esp: add pseudo-DMA as used by Macintosh === OUTPUT BEGIN === 1/9 Checking commit aea47c6bfc48 (esp: add pseudo-DMA as used by Macintosh) 2/9 Checking commit 77f053352d12 (dp8393x: manage big endian bus) 3/9 Checking commit 5182acaded8e (hw/m68k: add VIA support) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #84: new file mode 100644 ERROR: code indent should never use tabs #368: FILE: hw/misc/mac_via.c:280: +^I^I 16630) / 16630 * 16630);$ ERROR: space prohibited after that '&&' (ctx:WxW) #450: FILE: hw/misc/mac_via.c:362: + if (!(v1s->last_b & VIA1B_vRTCClk) && (s->b & VIA1B_vRTCClk)) { ^ total: 2 errors, 1 warnings, 885 lines checked Patch 3/9 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. 4/9 Checking commit 96c965aa05fb (hw/m68k: implement ADB bus support for via) 5/9 Checking commit ada0ee13074b (hw/m68k: add Nubus support) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #65: new file mode 100644 total: 0 errors, 1 warnings, 531 lines checked Patch 5/9 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. 6/9 Checking commit c38a5975734d (hw/m68k: add Nubus macfb video card) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #76: new file mode 100644 total: 0 errors, 1 warnings, 597 lines checked Patch 6/9 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. 7/9 Checking commit 5f0426584a10 (hw/m68k: add a dummy SWIM floppy controller) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #63: new file mode 100644 total: 0 errors, 1 warnings, 591 lines checked Patch 7/9 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. 8/9 Checking commit e3bd2d5737f9 (hw/m68k: define Macintosh Quadra 800) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #71: new file mode 100644 total: 0 errors, 1 warnings, 530 lines checked Patch 8/9 has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS. 9/9 Checking commit 922e2f108ba1 (BootLinuxConsoleTest: Test the Quadra 800) === OUTPUT END === Test command exited with code: 1 The full log is available at http://patchew.org/logs/20190927090453.24712-1-laurent@vivier.eu/testing.checkpatch/?type=message. --- Email generated automatically by Patchew [https://patchew.org/]. Please send your feedback to patchew-devel@redhat.com