[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Patch: Sparc system support (3/3)

From: Blue Swirl
Subject: Re: [Qemu-devel] Patch: Sparc system support (3/3)
Date: Sat, 18 Sep 2004 20:36:22 +0200

One question: doesn't the sun machine that you emulate requires SCSI devices for storage? (if I recall correctly, only the UltraSparc based machines came
with IDE drives)..

Eventually yes, for now my aim is to get a simple diskless client booting. Sun4m architecture was used in diskless JavaStations as well as complete workstations with SCSI disks, so it's easy scale the system.

Today I got Proll loading Linux completely for the first time. Linux starts executing, but stops at an unimplemented instruction, which shouldn't even be there. Mysterious. Could be related to the UDP checksum problems.

If you want to try it, please convert the Proll ELF executable to binary with objdump on Sparc machine like this:
objcopy -O binary proll.elf proll.bin

It can load a.out format kernel:
elftoaout -o 0A00020F.PROL vmlinux
qemu-system-sparc -tftp 0A00020F.PROL -user-net -kernel proll.bin

Oh, and tftp patch needs a small hack:
--- slirp/tftp.c        2004-09-18 11:49:34.000000000 +0200
+++ slirp/tftp.c~       2004-09-18 11:29:01.000000000 +0200
@@ -280,7 +280,7 @@

  /* do sanity checks on the filename */

-  if ((spt->filename[0] == '/')
+  if ((spt->filename[0] != '/')
      || (spt->filename[strlen(spt->filename) - 1] == '/')
      ||  strstr(spt->filename, "/../")) {
    n = 2; /* access violation */

Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

reply via email to

[Prev in Thread] Current Thread [Next in Thread]