From: Paul Repacholi <prep@prep.synonet.com>
Subject: Re: Digital Personal Workstation 433a need to run Linux
Date: 24 Dec 2000 02:59:13 +0800 [thread overview]
Message-ID: <87lmt70xry.fsf@k9.prep.synonet.com> (raw)
In-Reply-To: 3A4120C4.92127F8D@d-n-s.dk
Lennart Hansen <info@d-n-s.dk> writes:
> Okay i'v got it to start in SRM console (wee), can anyone telle me how
> to make it boot from cdrom ?
>
> And maby some link to SRM info ??
Well, let start by getting a bit picky...
You are looking at the SRM *Console*, not SRM.
The different machine have very different consoles; if
you type help to a 3000, you get 4 or 5 space lines. Do
the same to a 4100 or 8400 and you get several screens.
The whole mess consists of:
Diagnostics. Some of these run as part of Power On Self
Test, other by command. These are in addition to the
diags in the serial ROM that do a quick 'are we alive'
minimal check.
Console code. That the beast you talk to. Run the 'other
bits'. A mini shell. In fact I suspect some of the consoles
are in fact a very small VxWorks. That's why you get the
'unix booting' looks to it initializing.
Console Services. This is the code that, does IO to the
'physical' console, be that serial or graphics. Does
primitive reads and writes to devices for booting, dumping
and reading in firmware updates. The primitive IO and console
read/write services are useable by the OS when it is running.
PAL code. Priviledged Archetecture Library. The Alpha is an
'incomplete' Archetecture. Not everything in the Arch is in
the chip. Some things can be handed to the PAL code to sort
out. The SRM consoles contain both VMS and Unix PAL code.
Yes, they are different. Linux also has its verion of the
Unix PAL code as well. This is almost identical to the
normal Unix PAL code.
There is also the SROM code. This is the very first thing
that runs on an Alpha. In fact, until it has run, a 064
can even use its pins, or talk to memory. The Srom; reads
the configureation info via the interupt pins ( this is a
one shot deal ), sets up the chips IO configureation ( bus
width, voltage levels... Very chip dependant! ), sizes
the memory chips and finds 2MB of good memory to load the
flash into. It also has the Mini-Debuger and the FailSafe
Booter. To get to these you nee to get into the CPU console
on the board. ( If you have noticed a 10 pin header near
your CPU Chip, now you knnow what it is ;) ) The Failsafe
booter can load from a floppy is you flash is screwed...
Whwn the SROM code has found the 2MB, it then loads from
the 'system ROM', aka flash, and jumps to it. If you are
wondering where the SROM code is when it runs, well it
isn't anywhere! It is in the I-Cache, from location 0
on. The I-cache can't write back to memory, so you never
see it unless you fool with the Mini-debugger. You can
run an Alpha with NO memory, but only for a very small
value of run :|
Now for a quick intro.
Type help. If you see alphabios listed, the that will
switch to alphabios console. You need this for setting
up Mylex controllers.
SHOw DEVices show you the devices in you system. SCSI
is DK for disk ( a CDROM or floppy is just a disk! ),
MK for tape, JK or JB for some changers, and GK for
'other stuff'. IDE drive are DQ, floppys DV. If it
is an E-something, it's ethernet. F-something FDDI.
SHOw MEMory shows you memory config.
SHOw CONFiguration shows most of the hardware
info, plus stuff like E-net addresses.
SHOW just on its own may, depending on version show
you all the console variables. The main ones are;
device to boot, what to feed to the kernel when we boot
it, and what we do on powerup, reset etc. Boot or halt
are the common values here.
Traps... Device name change... DKA0 is sd?? to linux.
VMS wants a ':' after the device name, SRM does not.
The device name is DK(class)A(Controler-Letter)0(unit)
So EWC0 is the 3rd Tulip ethernet, MKB5 is the tape
on LUN 5 of the second SCSI controller. PKA0 is the
'port' of the first SCSI controller itself. DON'T
assume that SRM and linux order devices the same
way. DKA4 can end up as sdc and DKB2 and DKB3
can be sda and sdb.
Note also the bit about console services. If you
shove some horror SCSI controller into an alpha
you can not boot from it unless there is a 'console
driver' for it. In fact, it probably won't evn show.
If you can, get the manual. In fact for the bigger
machine, you MUST have the manual or you WILL screw
up come update time.
As new chips come out, so it is time for new console
code. New instructions are added to the PAL code so
older machines can run the code as well. This means
re-loading your flash ROM with the new code.
--
Paul Repacholi 1 Crescent Rd.,
+61 (08) 9257-1001 Kalamunda.
West Australia 6076
Raw, Cooked or Well-done, it's all half baked.
prev parent reply other threads:[~2000-12-23 18:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-20 19:18 Digital Personal Workstation 433a need to run Linux Lennart Hansen
2000-12-20 21:12 ` Lennart Hansen
2000-12-20 20:49 ` AB
2000-12-21 0:02 ` Lennart Hansen
2000-12-21 1:41 ` JJ
2000-12-23 18:03 ` Paul Repacholi
2000-12-23 18:59 ` Paul Repacholi [this message]
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