Subject: Re: Booting from 2940UW Controller
To: None <t1345@hopi.dtcc.edu>
From: James Tuman Nelson <jimtnelson@earthlink.net>
List: port-macppc
Date: 04/23/2001 21:57:09
I re-flashed the 2940UW with v4.1 (non-A/V).  Still not able to boot. 
Get same response as before.

However, when I look at the words and .properties, they are identical
for both AV and non-AV versions!  Further, the number of bytes is
identical.  It is as though both flash programs are identical.  I will
check sources of these firmware flashes.

So, how would one set up a floppy or Jaz disk to boot the kernel and
then mount the 2940 scsi drive root, /usr, and so forth partitions?

I will move my 2940UW to the other end of the PCI expansion bus and see
if that changes anything.

My open firmware settings are as below:

2940UW Flashed with v4.1 A/V or with v4.1

 ok
0 > dev pci1/@F  ok
0 > pwd /bandit@F2000000/ADPT,2940UW@F ok
0 > words
decompress_property             decompress      init-d          dtd     
       mpos-ptr
op++=mpos       opc!            set-mpos        check-op       
flush-buffer    op-off
write-buffer    proplen         propadr         buf-offset      buflen  
       bufst
st!             mpos!           mpos@           op@             t@      
       t!
ipc@++          ip++            ipc@            mpos            op      
       ip
t               p_state         s_e             s_md            s_cm    
       s_mt
s_f             s_m1            s_st
 ok
0 > .properties
vendor-id               00009004
device-id               00008178
revision-id             00000000
class-code              00010000
interrupts              00000001
min-grant               00000008
max-latency             00000008
devsel-speed            00000001
fast-back-to-back
AAPL,interrupts         00000019
AAPL,slot-name          C1
fcode-rom-offset        00000000
name                    ADPT,2940UW
device_type             scsi-2                                Note:  I
used he power domain v6 to its defaults, including ultrawide, and got
same result.
model                   ADPT,917306-01
compatible              ADPT,AIC-7880
ADPT,fcode-date         30322F32 362F3939 00
reg                     00007800 00000000 00000000  00000000 00000000
                        02007814 00000000 00000000  00000000 00000100
                        02007830 00000000 00000000  00000000 00010000
power-consumption       00000000 00000000 007270E0 007270E0 00000000
00000000 007B98A0 007B98A0
driver,AAPL,MacOS,PowerPC
                        4A6F7921 70656666 70777063 00000001 B2FC745A
00000000 00000000 00000000
                        00030002 00000000 FFFFFFFF 00000000 0001957C
0001957C 0001957C 00000540
                        00040400 FFFFFFFF 00000000 000040F8 00001B34
00001353 00019AC0 02010400
                        FFFFFFFF 00000000 00000000 00000000 000004B4
00000080 04040400 00000000
                        FFFFFFFF 00000000 FFFFFFFF 00000000 FFFFFFFF
00000000 00000004 00000029
                        00000001 00000148 00000174 00000490 00000001
00000002 00000000 00000000
                        00000000 0000001E 00000000 00000000 00000012
00000000 00000000 00000002
                        0000001E 00000000 00000022 00000000 00000000
00000006 00000020 00000000
                        ... 0001AE13 bytes total
assigned-addresses      82007830 00000000 80810000  00000000 00010000
                        82007814 00000000 80800000  00000000 00000100

 ok
0 >



Jim

Chris Tribo wrote:
> 
> On Mon, 23 Apr 2001, James T. Nelson wrote:
> 
> > I updated the 2940 firmware to the latest version, using the AV version.
> > Evidently, that was  mistake.  I also have the non-AV version of firmware
> > for teh 2940.  Would it make sense to flash the 2940 with the non AV
> > version?  Sounds like it would.    My 7500 was not purchased as an AV
> > system.
> 
>         From what I read in the last message, yes. and it won't work
> without it. The AV firmware version doesn't have enough OpenFirmware
> support, it would require the Apple ROM to do the init through some type
> of ROM glue or hook/kludge, probably something left over from NuBus.
> 
> > Can I use a floppy bootloader and kernel, such as the install disk.  There
> > must be an "fstab" on the floppy that must be edited to make this work.
> 
>         Do you really want to wait 5 minutes for your machine to boot from
> a compressed floppy image? I sure don't. a boot CDROM or ZIP maybe.
> 
> > I still do not understand why I cannot boot using ofwboot that is loaded
> > from the installation disk, and then just enter the location of the netbsd
> > that is to be booted.  The installation notes imply that this should be
> > possible, eg:
> 
>         Because it has the AV firmware, as was previosly mentioned, but
> why would you want to in the first place, when you can just boot from the
> device directly? If the card had the other firmware, that command probably
> would work. Otherwise, you would have to boot the kernel from another
> device and then mount the drives attached to the 2940 as root/usr/etc.
> 
> > 0> boot  fd:0  /bandit/ADPT,2940UW/@6:0,netbsd
> >
> > Is this a limitation of ofwboot, or of the system architecture.  The apple
> > boot loader /AAPL,ROM has no trouble pulling this off, somehow.
> 
>         Because the AV firmware probably has a hook into the Apple ROM
> that initializes the card and allows it to be booted as such.
> 
> > Actually, when i execute:
> >
> > 0> boot fd:0 -a
> >
> > I get the prompt, "Boot:".  Is this "ofwboot" talking to me?
> 
>         Yes. boot /bandit/ADPT,2940UW/@6:0 -a would get you the same
> ofwboot if it had the right firmware from what I understand.
> 
>         Chris