[openfirmware] OFW x86 MMU Setup

Andrea r&d4 at dave-tech.it
Fri Jun 20 17:12:25 CEST 2008


>> Can you tell me where this kind of mappings (if any, of course) are 
>> done in OFW? (I thinks it's not strictly OFW dependent but only 
>> platform dependent.. but it will be usefull anyway to know where to 
>> look inside OFW for the required changes)
> 
> The MSR setup is done in two places:
>  lxdevel/romreset.bth lines 89-103
>  lxdevel/msrinit.fth  - table at beginning of file, routine to process 
> that table at line 262
> 
> The MSRs setup in romreset.bth is necessary for early startup, to get 
> the memory working.  The rest of them can be deferred until later.
> 
> 

Yes, it should be in msrinit.fth because the "problem" appear as soon as 
I call set-msrs (after stop and "interacting" the OFW boot sequence, of 
course). romreset.bth should not be the problem here, because I step 
inside it and, at the end of its assembly, everything still look fine

I still cannot find the right msr.. I think you know the Geode/CS5535 
architecture better than me, any clue about which one should be?
(our mrsinit is the same as lxdevel at the moment)

TIA,

-- 

Andrea

DAVE Srl - Electronics System House
e-mail address: r&d4 at dave-tech.it





More information about the openfirmware mailing list