Subject: Re: com0 on JavaStation isn't assigned an interrupt
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Aymeric Vincent <xmimic@free.fr>
List: port-sparc
Date: 12/10/2001 05:04:35
"Valeriy E. Ushakov" <uwe@ptc.spbu.ru> writes:

> It's OBP2 - both the "2.30" and the presence of zs in the device tree
> indicate that.

I agree it's not open firmware, but it's OBP3. I have to add an entry
like this in order for the patch to get triggered:
        { "SUNW,JavaStation-1", PROM_OBP_V3,    patch_js1_obp2  },

> Does prom patch fails for you?  I tested it on my OBP2 box.

Yes, after plugging the screen to the javastation, I can see that
prom_interpret() fails with "Memory Address not aligned".
I know it's certainly prom_interpret because the output looks like:

Patching OBP3 for SUNW,JavaStation-1
su: adding "interrupts"Memory Address not aligned

> Also I don't understand the reference to F-code.

Oops, forget about that: I was speaking of Forth, and was reading
"F-code" for the first time in a bunch of docs on the web, and so I used
the wrong word...

> Try to break into prom and before booting NetBSD issue these commands:
> 
>     " /obio/su" open-dev d# 13 " interrupts" integer-attribute close-dev

I'll try that later when I can plug a keyboard to it.

thanks,
 Aymeric