Patch to Proll to run in ROM, Qemu support
Quoted 2 lines · On Thu, 11 Nov 2004 20:52:46 +0100 "Blue Swirl" <[email protected]> wrote:
Do any of you linux gurus feel that Qemu emulating Sun4m could be useful for your kernel debugging businesses?
It certainly could be. It could decrease the reboot debugging cycle, if anything.
Hi,
I've modified Proll so that it can be used in a ROM, which is needed for QEMU. All stuff in .data are moved to either .text or .bss.
The patch adds a directory for QEMU-specific files, which are basically MrCoffee ones but just unnecessary stuff thrown out.
The new font file is preprocessed so that no bit twisting is needed at startup. This and some of the other modifications should be useful for other setups as well.
Do any of you linux gurus feel that Qemu emulating Sun4m could be useful for your kernel debugging businesses?
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.com/
Quoted 2 lines
It certainly could be. It could decrease the reboot debugging cycle, if anything.
Well, how about this:
time ./sparc-softmmu/qemu-system-sparc -L .. -kernel vmlinux-2.6.8.1.elf
Quoted 1 line
/dev/null
warning: could not open /dev/net/tun: no virtual network emulation Segmentation fault
real 0m1.440s user 0m0.330s sys 0m0.100s
Qemu startup, Proll boot, Linux start and crash in 1.4 seconds. The crash happens at srmmu_allocate_ptable_skeleton. Unfortunately attaching a native remote GDB debugger to emulated kernel target is not working completely yet, but debugging host Qemu is OK.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.com/