[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Poking at m68k gitorious branch.
From: |
Rob Landley |
Subject: |
[Qemu-devel] Poking at m68k gitorious branch. |
Date: |
Wed, 18 Apr 2012 18:24:41 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 |
My aboriginal linux project has bootable system images for a bunch of
targets (see http://landley.net/aboriginal/bin) and I want to add m68k.
For years it's been building a stub m68k system image, but the
run-emulator.sh script that should theoretically launch it is just a stub.
A user once got my m68k root filesystem running under the Aranym
emulator, so I know my cross compiler and root filesystem work. But I
haven't got an m68k kernel qemu can boot, or a qemu that can boot it.
A year or so back I poked at the m68k gitorious branch:
git://gitorious.org/qemu-m68k/qemu-m68k
But it wasn't finished and I got distracted.
I just did a fresh clone of the branch (for some reason pull said I'd
diverged by ~100 commits and there was a conflict? I'm guessing the
patch series that got posted here, maybe?), built a kernel with the
attached .config and the cross-compiler-m68k from the above aboriginal
binary directory url, and took a wild guess at qemu/kernel command line
arguments, currently just trying to get boot messages on the serial console:
qemu-system-m68k -nographic -no-reboot -kernel vmlinux \
-append "console=ttyS0 panic=1"
The result was:
QEMU 1.0,1 monitor - type 'help' for more information
(qemu) QEMU 1.0,1 monitor - type 'help' for more information
(qemu) qemu: fatal: Illegal instruction: 7f45 @ 00000000
D0 = 00000808 A0 = 0021e744 F0 = 7fff ffffffffffffffff
D1 = c4653600 A1 = 0021e6ae F1 = 7fff ffffffffffffffff
D2 = 27000021 A2 = 00001000 F2 = 7fff ffffffffffffffff
D3 = e768002c A3 = 00233000 F3 = 7fff ffffffffffffffff
D4 = 00000000 A4 = 00000000 F4 = 7fff ffffffffffffffff
D5 = 00000000 A5 = 00000000 F5 = 7fff ffffffffffffffff
D6 = 00000000 A6 = 00000ff8 F6 = 7fff ffffffffffffffff
D7 = 0022db50 A7 = 00000ff0 F7 = 7fff ffffffffffffffff
PC = 00000000 SR = 2700 ----- Aborted
Which is a bit of a dead end. I'd guess that "vmlinux" isn't the right
binary, except there isn't an arch/m68k/boot directory...
Laurent: do you have any hints for me?
Thanks,
Rob
--
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation. Pick one.
m68kconfig
Description: Text document
- [Qemu-devel] Poking at m68k gitorious branch.,
Rob Landley <=