From: Michael Engel <engel@numerik.math.uni-siegen.de>
To: axp-list@redhat.com
Subject: aboot expert help wanted ...
Date: Mon, 27 Jul 1998 23:21:55 +0200 (MET DST) [thread overview]
Message-ID: <199807272121.XAA23645@fourier.numerik.math.uni-siegen.de> (raw)
Hi,
[sorry if you already saw a similar posting on the alpha-kernel-list with a
title of "TurboChannel Alpha". As I got no messages on that list over
the last few days, I decided to try it here with a different subject.]
I'd like to start a port of Linux to the TurboChannel DEC3000 Alpha systems.
This will be based on (of course) the existing Alpha sources and code
and experience from the DECstation port (if you're interested in that,
please take a look at http://decstation.unix-ag.org) - the DECstation
systems 5000/2x (codenamed "Maxine") are very similar to the TurboChannel
Alpha systems, they use the same ASIC as well as NCR53C94 SCSI
controllers, Z8530 SCCs, Lance ethernet etc .... I bought a used
DEC 3000/300X some days ago (48 MB RAM, RZ26 hard disk, PMAGD-AA
3D accelerated graphics adapter) and started experimenting.
The first thing I tried was compiling aboot. The most recent version
I found was 0.5 - could someone please confirm that this is the latest
version? After some tweaking aboot compiled fine on my AXPpci33 (the
definition of memset in include/asm-alpha/string.h used __constant_c_memset
which wasn't defined anywhere. Btw., I'm using kernel 2.0.34 at the moment).
When booting aboot from a SCSI floppy drive, I get the following output:
aboot: Linux/Alpha SRM bootloader version 0.5
?02 KSP INVAL
PC= 00000000.00000000 PSL= 00000000.00001F00
>>>
It seems that $30 (ksp), which is used to save registers in the dispatch
subroutine, is neither initialized by the firmware nor the aboot code and
that causes the crash. As I'm new to Alpha assembler, I'm not quite sure how
to initialize the stack pointer correctly. I tried
stack: .quad 0,0,0,0,0,0,0,0,0,0,0 .....
/* define a couple of empty quads, actually about 128 quads */
and then
lda $30, stack
which immediately caused the machine to crash :(. I'm almost sure this is _not_
the correct way to initialise the stack, but I'm not sure how to do it right,
maybe it's only an alignment issue or perhaps s.th. completely different ...
Opinions from Alpha assembler experts, please ? ;)
Btw., what literature would you suggest for learning Alpha assembler ? I have
digital's Alpha Architecture Manual and OSF/1 Assembly Programming Guide here,
is there something else ?
Any help is greatly appreciated,
best regards,
Michael Engel (engel@numerik.math.uni-siegen.de)
next reply other threads:[~1998-07-27 21:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-27 21:21 Michael Engel [this message]
1998-07-28 6:25 ` aboot expert help wanted Richard Henderson
1998-07-28 8:46 ` Wes Bauske
1998-07-28 8:45 ` Martin Ostermann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox