[En-Nut-Discussion] RE : Re: porting the NutOS to AVR32

WEHBI Rami r_wehbi at yahoo.fr
Tue Apr 24 15:02:21 CEST 2007


Haralad,
   
  I will start modifying the arch files, 
   
  my target is the EVK1100 which contains AVR32UC3A  as a MCU a 32-bit one. I will check the configuration part as soon as I am done. 
   
  it was you who designed the NutOS ?
   
  thanks for your help,
   
  Rami,
   
   
   
  

Harald Kipp <harald.kipp at egnite.de> a écrit :
  Rami,

Some time ago I created a simple document, which describes a few steps 
for porting Nut/OS to the Gameboy Advance.
http://www.ethernut.de/en/portarm/gbaxport2.html

Almost all platform dependent parts are located in nut/arch, where I'd 
create a new subdirectory avr32, which should contain the source 
directories dev, init and os. The latter is the one to be looked at 
first, as this contains the high level initialization as well as context 
switching. Most probably you'd need a directory ldscript. This is not 
required for the AVR 8-bit, because avr-libc handles this very well, but 
the arm port needed this. Btw. it is a good idea to use nut/arch/arm as 
a reference and compare it with nut/arch/avr so you get a better idea 
about what will be required.

Sometimes a tricky part is the runtime library. Nut/OS provides its own 
malloc and stdio, but makes use of an external library's stdlib or 
string functions. Sometimes the external library doesn't allow this 
because of cross referencing. In the worst case you may use nut/c 
instead of an external library, which provides all basic functions 
(except integer division).

Further it is required to enhance the Configurator scripts. Some 
background information is available at
http://www.ethernut.de/en/documents/ntn-5_config.html
Note, that it is not required to learn Lua. The configuration files are 
quite simple to understand.

Which target board do you intend to use? I own an STK1000. Due to lack 
of time I didn't do anything with it except switching it on and off. 
Though I'd be happy to use it for assisting your efforts.

Harald


WEHBI Rami schrieb:
> Hello! 
> 
> I want to use Nutos on the AVR32 target, which actually not supported. 
> I need some design documents of nutos or hints to port it. More precisely, I need the list of all the files to be modified.
> 
> Thanks for the help,
> 
> Regards,
> Rami
> 
> 

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion


             
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.


More information about the En-Nut-Discussion mailing list