DFS on PowerBook5,4
Marco Trillo
marcotrillo at gmail.com
Sun Nov 2 14:33:38 PST 2008
Hi,
On Sun, Nov 2, 2008 at 10:01 PM, Andreas Tobler <andreast-list at fgznet.ch> wrote:
> The problem I have, I do not know how and what to tell gpio to do the right
> thing.
>
> At OF prompt I can set set-dfs-high and my PB comes up in full speed,
> 1.5GHz.
>
> Having a look at set-dfs-high:
>
> set-dfs-high
> pvr@ 10 rshift 8003 <> if
> exit
> else
> 5 1 gpio! 1 ms hid1@ 1 1f 9 - lshift andc hid1!
> then
> ; ok
>
> I see that I have to do something with gpio. But I do not know what and how.
> The difference from set-dfs-high @ OF level and my implementation attempt is
> the gpio part which is missing right now.
Hmm... for the GPIO part, you might want to try the following ugly hack:
#include <machine/pio.h>
out8(0x8000006b, 0x5);
DELAY(1000); /* wait 1 ms */
... I think it will do the same as "5 1 gpio! 1 ms" in OF, but of
course, no warranty for that :)
Regards
Marco
More information about the freebsd-ppc
mailing list