Patch: Sparc system support (3/3)
Quoted 3 lines
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:
tftp.c~ 2004-09-18 11:29:01.000000000 +0200 renamed from tftp.c 2004-09-18 11:49:34.000000000 +0200 +1 -1
@@ -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
From: "Blue Swirl" <[email protected]>
Date: Sat, 18 Sep 2004 20:36:22 +0200
Hi,
Quoted 1 line
Today I got Proll loading Linux completely for the first time.
That's wonderful news! Thanks for your work.
Signature · 6 lines
Pavel Janík
It "works"...sorta. It will compile the kernel. But in my development
using lots of STL and C++, I've become an expert at generating "Internal
compiler error" with it. YMMV.
-- Bob McElrath in linux-kernel about RH GCC 2.96