This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: a question regarding vectors.s


as far as I know abt vectors.s this file will call a macro
(hal_hardware_init or something similar one)to initialize all the chip
selects & there related registers. this macro will be present in some .s
file(ex: fads.s)

bye
vara
 	   _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/	
    	  _/  Varalakshmi.V             _/                                  
    	 _/  Research Engg.            _/                                  
        _/  C-DOT,Bangalore           _/                                  
       _/  INDIA-52                  _/                                  
      _/  Ph:(080)2263399 Extn-205  _/				     
     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

On Fri, 19 Oct 2001, kiki w wrote:

> Hi there, 
> 
> Now we are using eCos to develop code for a custom
> board with ARM7TDMI core. When we generate the 
> library file using eCos, we included kernel package
> only.
> We changed the target.ld file according to the memory
> layout of our board and now we could download the code
> and run prefectly.
> 
> But there is one thing I am not quite sure, before I
> can 
> download the code into the board, I have to set up
> several registers such as EBI_CSR0, EBI_CSRI( chip 
> select register) and SF_PMR( protect mode register)
> to enable the access to the on chip and on board
> memory.I think maybe there will be a way for me to set
> up all these registers in the vectors.s file, I
> checked the eCos file and find one file  under the
> directry
> ecos\packages\hal\arm\arch\current\src\vectors.s
> 
> Can I modify this file to set up the above registers
> and generate the library again(get vectors.o file) ? 
> If I can, how to modify?
> Thanks so much!!.
> 
> kiki
> get the vectors.s file? 
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]