[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OF_eval ...



昔の話ですが…

<199803010916.SAA10511@ruri.iri.co.jp>の記事において
tsubai@iri.co.jpさんは書きました。

> なぜこんなことをしたいかというと、powermac で
> OF_open("/bandit/ATY,mach64") のようにして frame buffer を open
> しようとすると帰って来なくなっちゃうんです。

今日、なんとなく linux-ppc の中の prom.c を見ていたら

 * If we have a display that we don't know how to drive,
 * we will want to try to execute OF's open method for it
 * later.  However, OF may fall over if we do that after
 * we've taken over the MMU and done set_prom_callback.
 * So we check whether we will need to open the display,
 * and if so, open it now.

なんてことが書いてありました。そこで boot loader の中で
OF_open("/valkylie");
させてみたところ、ちゃんと video 信号が出てきた上で
次に進んでいるようです。

ただ私のところではいまだ kernel は boot してません。
#上記の boot loader は Dan の boot FD のもの。

604e + OpenFirmware 1.0.5 以外の組みあわせで
動いている方っています?
---
tsutsui@ceres.dti.ne.jp