On Tue, Jun 29, 2004 at 06:50:29PM +0200, Sven Luther wrote: > The pegasos1 support is not complete, but i believe this is due to some > brokeness in the OF. The main problem being that the translate function > is broken, and altough phys has the right value (0x00010000) before > calling it, it is 0 afterwards. I suppose the initial value is taken > from &_stext, so it should be feasible to detect that this is the > correct value before calling the translate OF method, or fixing it if we > detect a Pegasos 1 with the model OF property. Comments on this would > also be welcome. There may be some interrupt level thing left on pegasos > 1 also, but i would need to check that. Well, the pegasos 1 seems to start with mmu enabled, but with BATs mapped 1:1. There is not much we can do unless we fix the translate method, i think. The attached patch tests if the machine is a pegasos 1 (but not 2) and sets the phys to 0x00010000 if this is the case. Another solution would be to test before doing the translate call, maybe this would be more elegant ? Friendly, Sven Luther