This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /upstream/20070918/experiments/test_netbsd_pmax_install.expect
Parent Directory
| Revision Log
Revision
34 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 8 16:21:17 2007 UTC
(16 years, 9 months ago)
by
dpavlin
Original Path:
trunk/experiments/test_netbsd_pmax_install.expect
File length: 1003 byte(s)
Diff to
previous 30
++ trunk/HISTORY (local)
$Id: HISTORY,v 1.1480 2007/02/19 01:34:42 debug Exp $
20061029 Changing usleep(1) calls in the debugger to usleep(10000)
20061107 Adding a new disk image option (-d o...) which sets the ISO9660
filesystem base offset; also making some other hacks to allow
NetBSD/dreamcast and homebrew demos/games to boot directly
from a filesystem image.
Moving Dreamcast-specific stuff in the documentation to its
own page (dreamcast.html).
Adding a border to the Dreamcast PVR framebuffer.
20061108 Adding a -T command line option (again?), for halting the
emulator on unimplemented memory accesses.
20061109 Continuing on various SH4 and Dreamcast related things.
The emulator should now halt on more unimplemented device
accesses, instead of just printing a warning, forcing me to
actually implement missing stuff :)
20061111 Continuing on SH4 and Dreamcast stuff.
Adding a bogus Landisk (SH4) machine mode.
20061112 Implementing some parts of the Dreamcast GDROM device. With
some ugly hacks, NetBSD can (barely) mount an ISO image.
20061113 NetBSD/dreamcast now starts booting from the Live CD image,
but crashes randomly quite early on in the boot process.
20061122 Beginning on a skeleton interrupt.h and interrupt.c for the
new interrupt subsystem.
20061124 Continuing on the new interrupt system; taking the first steps
to attempt to connect CPUs (SuperH and MIPS) and devices
(dev_cons and SH4 timer interrupts) to it. Many things will
probably break from now on.
20061125 Converting dev_ns16550, dev_8253 to the new interrupt system.
Attempting to begin to convert the ISA bus.
20061130 Incorporating a patch from Brian Foley for the configure
script, which checks for X11 libs in /usr/X11R6/lib64 (which
is used on some Linux systems).
20061227 Adding a note in the man page about booting from Dreamcast
CDROM images (i.e. that no external kernel is needed).
20061229 Continuing on the interrupt system rewrite: beginning to
convert more devices, adding abort() calls for legacy interrupt
system calls so that everything now _has_ to be rewritten!
Almost all machine modes are now completely broken.
20061230 More progress on removing old interrupt code, mostly related
to the ISA bus + devices, the LCA bus (on AlphaBook1), and
the Footbridge bus (for CATS). And some minor PCI stuff.
Connecting the ARM cpu to the new interrupt system.
The CATS, NetWinder, and QEMU_MIPS machine modes now work with
the new interrupt system :)
20061231 Connecting PowerPC CPUs to the new interrupt system.
Making PReP machines (IBM 6050) work again.
Beginning to convert the GT PCI controller (for e.g. Malta
and Cobalt emulation). Some things work, but not everything.
Updating Copyright notices for 2007.
20070101 Converting dev_kn02 from legacy style to devinit; the 3max
machine mode now works with the new interrupt system :-]
20070105 Beginning to convert the SGI O2 machine to the new interrupt
system; finally converting O2 (IP32) devices to devinit, etc.
20070106 Continuing on the interrupt system redesign/rewrite; KN01
(PMAX), KN230, and Dreamcast ASIC interrupts should work again,
moving out stuff from machine.h and devices.h into the
corresponding devices, beginning the rewrite of i80321
interrupts, etc.
20070107 Beginning on the rewrite of Eagle interrupt stuff (PReP, etc).
20070117 Beginning the rewrite of Algor (V3) interrupts (finally
changing dev_v3 into devinit style).
20070118 Removing the "bus" registry concept from machine.h, because
it was practically meaningless.
Continuing on the rewrite of Algor V3 ISA interrupts.
20070121 More work on Algor interrupts; they are now working again,
well enough to run NetBSD/algor. :-)
20070122 Converting VR41xx (HPCmips) interrupts. NetBSD/hpcmips
can be installed using the new interrupt system :-)
20070123 Making the testmips mode work with the new interrupt system.
20070127 Beginning to convert DEC5800 devices to devinit, and to the
new interrupt system.
Converting Playstation 2 devices to devinit, and converting
the interrupt system. Also fixing a severe bug: the interrupt
mask register on Playstation 2 is bitwise _toggled_ on writes.
20070128 Removing the dummy NetGear machine mode and the 8250 device
(which was only used by the NetGear machine).
Beginning to convert the MacPPC GC (Grand Central) interrupt
controller to the new interrupt system.
Converting Jazz interrupts (PICA61 etc.) to the new interrupt
system. NetBSD/arc can be installed again :-)
Fixing the JAZZ timer (hardcoding it at 100 Hz, works with
NetBSD and it is better than a completely dummy timer as it
was before).
Converting dev_mp to the new interrupt system, although I
haven't had time to actually test it yet.
Completely removing src/machines/interrupts.c, cpu_interrupt
and cpu_interrupt_ack in src/cpu.c, and
src/include/machine_interrupts.h! Adding fatal error messages
+ abort() in the few places that are left to fix.
Converting dev_z8530 to the new interrupt system.
FINALLY removing the md_int struct completely from the
machine struct.
SH4 fixes (adding a PADDR invalidation in the ITLB replacement
code in memory_sh.c); the NetBSD/dreamcast LiveCD now runs
all the way to the login prompt, and can be interacted with :-)
Converting the CPC700 controller (PCI and interrupt controller
for PM/PPC) to the new interrupt system.
20070129 Fixing MACE ISA interrupts (SGI IP32 emulation). Both NetBSD/
sgimips' and OpenBSD/sgi's ramdisk kernels can now be
interacted with again.
20070130 Moving out the MIPS multi_lw and _sw instruction combinations
so that they are auto-generated at compile time instead.
20070131 Adding detection of amd64/x86_64 hosts in the configure script,
for doing initial experiments (again :-) with native code
generation.
Adding a -k command line option to set the size of the dyntrans
cache, and a -B command line option to disable native code
generation, even if GXemul was compiled with support for
native code generation for the specific host CPU architecture.
20070201 Experimenting with a skeleton for native code generation.
Changing the default behaviour, so that native code generation
is now disabled by default, and has to be enabled by using
-b on the command line.
20070202 Continuing the native code generation experiments.
Making PCI interrupts work for Footbridge again.
20070203 More native code generation experiments.
Removing most of the native code generation experimental code,
it does not make sense to include any quick hacks like this.
Minor cleanup/removal of some more legacy MIPS interrupt code.
20070204 Making i80321 interrupts work again (for NetBSD/evbarm etc.),
and fixing the timer at 100 Hz.
20070206 Experimenting with removing the wdc interrupt slowness hack.
20070207 Lowering the number of dyntrans TLB entries for MIPS from
192 to 128, resulting in a minor speed improvement.
Minor optimization to the code invalidation routine in
cpu_dyntrans.c.
20070208 Increasing (experimentally) the nr of dyntrans instructions per
loop from 60 to 120.
20070210 Commenting out (experimentally) the dyntrans_device_danger
detection in memory_rw.c.
Changing the testmips and baremips machines to use a revision 2
MIPS64 CPU by default, instead of revision 1.
Removing the dummy i960, IA64, x86, AVR32, and HP PA-RISC
files, the PC bios emulation, and the Olivetti M700 (ARC) and
db64360 emulation modes.
20070211 Adding an "mp" demo to the demos directory, which tests the
SMP functionality of the testmips machine.
Fixing PReP interrupts some more. NetBSD/prep now boots again.
20070216 Adding a "nop workaround" for booting Mach/PMAX to the
documentation; thanks to Artur Bujdoso for the values.
Converting more of the MacPPC interrupt stuff to the new
system.
Beginning to convert BeBox interrupts to the new system.
PPC603e should NOT have the PPC_NO_DEC flag! Removing it.
Correcting BeBox clock speed (it was set to 100 in the NetBSD
bootinfo block, but should be 33000000/4), allowing NetBSD
to start without using the (incorrect) PPC_NO_DEC hack.
20070217 Implementing (slow) AltiVec vector loads and stores, allowing
NetBSD/macppc to finally boot using the GENERIC kernel :-)
Updating the documentation with install instructions for
NetBSD/macppc.
20070218-19 Regression testing for the release.
============== RELEASE 0.4.4 ==============
Revision
30 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 8 16:20:40 2007 UTC
(16 years, 9 months ago)
by
dpavlin
Original Path:
trunk/experiments/test_netbsd_pmax_install.expect
File length: 1005 byte(s)
Diff to
previous 28
++ trunk/HISTORY (local)
$Id: HISTORY,v 1.1325 2006/08/15 15:38:37 debug Exp $
20060723 More Transputer instructions (pfix, nfix, opr, mint, ldl, ldlp,
eqc, rev, ajw, stl, stlf, sthf, sub, ldnl, ldnlp, ldpi, move,
wcnt, add, bcnt).
Adding more SPARC instructions (andcc, addcc, bl, rdpr).
Progress on the igsfb framebuffer used by NetBSD/netwinder.
Enabling 8-bit fills in dev_fb.
NetBSD/netwinder 3.0.1 can now run from a disk image :-)
20060724 Cleanup/performance fix for 64-bit virtual translation table
updates (by removing the "timestamp" stuff). A full NetBSD/pmax
3.0.1 install for R4400 has dropped from 667 seconds to 584 :)
Fixing the igsfb "almost vga" color (it is 24-bit, not 18-bit).
Adding some MIPS instruction combinations (3*lw, and 3*addu).
The 8048 keyboard now turns off interrupt enable between the
KBR_ACK and the KBR_RSTDONE, to work better with Linux 2.6.
Not causing PPC DEC interrupts if PPC_NO_DEC is set for a
specific CPU; NetBSD/bebox gets slightly further than before.
Adding some more SPARC instructions: branches, udiv.
20060725 Refreshing dev_pckbc.c a little.
Cleanups for the SH emulation mode, and adding the first
"compact" (16-bit) instructions: various simple movs, nop,
shll, stc, or, ldc.
20060726 Adding dummy "pcn" (AMD PCnet NIC) PCI glue.
20060727 Various cleanups; removing stuff from cpu.h, such as
running_translated (not really meaningful anymore), and
page flags (breaking into the debugger clears all translations
anyway).
Minor MIPS instruction combination updates.
20060807 Expanding the 3*sw and 3*lw MIPS instruction combinations to
work with 2* and 4* too, resulting in a minor performance gain.
Implementing a usleep hack for the RM52xx/MIPS32/MIPS64 "wait"
instruction (when emulating 1 cpu).
20060808 Experimenting with some more MIPS instruction combinations.
Implementing support for showing a (hardcoded 12x22) text
cursor in igsfb.
20060809 Simplifying the NetBSD/evbmips (Malta) install instructions
somewhat (by using a NetBSD/pmax ramdisk install kernel).
20060812 Experimenting more with the MIPS 'wait' instruction.
PCI configuration register writes can now be handled, which
allow PCI IDE controllers to work with NetBSD/Malta 3.0.1 and
NetBSD/cobalt 3.0.1. (Previously only NetBSD 2.1 worked.)
20060813 Updating dev_gt.c based on numbers from Alec Voropay, to enable
Linux 2.6 to use PCI on Malta.
Continuing on Algor interrupt stuff.
20060814 Adding support for routing ISA interrupts to two different
interrupts, making it possible to run NetBSD/algor :-)
20060814-15 Testing for the release.
============== RELEASE 0.4.2 ==============
Revision
28 -
(
view)
(
annotate)
-
[select for diffs]
Added
Mon Oct 8 16:20:26 2007 UTC
(16 years, 9 months ago)
by
dpavlin
Original Path:
trunk/experiments/test_netbsd_pmax_install.expect
File length: 1003 byte(s)
++ trunk/HISTORY (local)
$Id: HISTORY,v 1.1298 2006/07/22 11:27:46 debug Exp $
20060626 Continuing on SPARC emulation (beginning on the 'save'
instruction, register windows, etc).
20060629 Planning statistics gathering (new -s command line option),
and renaming speed_tricks to allow_instruction_combinations.
20060630 Some minor manual page updates.
Various cleanups.
Implementing the -s command line option.
20060701 FINALLY found the bug which prevented Linux and Ultrix from
running without the ugly hack in the R2000/R3000 cache isol
code; it was the phystranslation hint array which was buggy.
Removing the phystranslation hint code completely, for now.
20060702 Minor dyntrans cleanups; invalidation of physpages now only
invalidate those parts of a page that have actually been
translated. (32 parts per page.)
Some MIPS non-R3000 speed fixes.
Experimenting with MIPS instruction combination for some
addiu+bne+sw loops, and sw+sw+sw.
Adding support (again) for larger-than-4KB pages in MIPS tlbw*.
Continuing on SPARC emulation: adding load/store instructions.
20060704 Fixing a virtual vs physical page shift bug in the new tlbw*
implementation. Problem noticed by Jakub Jermar. (Many thanks.)
Moving rfe and eret to cpu_mips_instr.c, since that is the
only place that uses them nowadays.
20060705 Removing the BSD license from the "testmachine" include files,
placing them in the public domain instead; this enables the
testmachine stuff to be used from projects which are
incompatible with the BSD license for some reason.
20060707 Adding instruction combinations for the R2000/R3000 L1
I-cache invalidation code used by NetBSD/pmax 3.0, lui+addiu,
various branches followed by addiu or nop, and jr ra followed
by addiu. The time it takes to perform a full NetBSD/pmax R3000
install on the laptop has dropped from 573 seconds to 539. :-)
20060708 Adding a framebuffer controller device (dev_fbctrl), which so
far can be used to change the fb resolution during runtime, but
in the future will also be useful for accelerated block fill/
copy, and possibly also simplified character output.
Adding an instruction combination for NetBSD/pmax' strlen.
20060709 Minor fixes: reading raw files in src/file.c wasn't memblock
aligned, removing buggy multi_sw MIPS instruction combination,
etc.
20060711 Adding a machine_qemu.c, which contains a "qemu_mips" machine.
(It mimics QEMU's MIPS machine mode, so that a test kernel
made for QEMU_MIPS also can run in GXemul... at least to some
extent.) Adding a short section about how to run this mode to
doc/guestoses.html.
20060714 Misc. minor code cleanups.
20060715 Applying a patch which adds getchar() to promemul/yamon.c
(from Oleksandr Tymoshenko).
Adding yamon.h from NetBSD, and rewriting yamon.c to use it
(instead of ugly hardcoded numbers) + some cleanup.
20060716 Found and fixed the bug which broke single-stepping of 64-bit
programs between 0.4.0 and 0.4.0.1 (caused by too quick
refactoring and no testing). Hopefully this fix will not
break too many other things.
20060718 Continuing on the 8253 PIT; it now works with Linux/QEMU_MIPS.
Re-adding the sw+sw+sw instr comb (the problem was that I had
ignored endian issues); however, it doesn't seem to give any
big performance gain.
20060720 Adding a dummy Transputer mode (T414, T800 etc) skeleton (only
the 'j' and 'ldc' instructions are implemented so far). :-}
20060721 Adding gtreg.h from NetBSD, updating dev_gt.c to use it, plus
misc. other updates to get Linux 2.6 for evbmips/malta working
(thanks to Alec Voropay for the details).
FINALLY found and fixed the bug which made tlbw* for non-R3000
buggy; it was a reference count problem in the dyntrans core.
20060722 Testing stuff; things seem stable enough for a new release.
============== RELEASE 0.4.1 ==============
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.