Le 21/01/2018 à 20:57, Rob Landley a écrit : > On 01/18/2018 01:38 PM, Laurent Vivier wrote: >> Only add MC68040 MMU page table processing and related >> registers (Special Status Word, Translation Control Register, >> User Root Pointer and Supervisor Root Pointer). >> >> Transparent Translation Registers, DFC/SFC and pflush/ptest >> will be added later. > > I built qemu from thursday's git and qemu-system-m68k -M ? doesn't have > an obvious board emulation I can aim a linux kernel at. Is there a qemu > tree I should test, or...? > > (I want to help out and test this stuff, but don't have context...)
For the moment, I didn't push a machine type that supports a M68040 CPU. If you wan to test it, you can try my try branch at: https://github.com/vivier/qemu-m68k.git branch q800-dev with machine type "-M q800" emulating a Macintosh Quadra 800. The command line I usually use is: qemu-system-m68k -M q800 -serial none -serial mon:stdio -m 1000M \ -drive file=virtm68k-etch.qcow2,format=qcow2 \ -net nic,model=dp83932,addr=09:00:07:12:34:57 \ -net bridge,helper=/usr/libexec/qemu-bridge-helper,br=virbr0 \ -append "root=/dev/sda2 rw console=ttyS0 console=tty"\ -kernel vmlinux-4.8.0-2-m68k -initrd initrd.img-4.8.0-2-m68k \ -g 1600x800x24 Thanks, Laurent