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

Edwin van den Oetelaar edwin at oetelaar.com
Tue Apr 24 16:38:25 CEST 2007


I have a target device called AVR32 NGW100 porting to this (now linux based) board would be interesting too.
Best regards,
Edwin van den Oetelaar

WEHBI Rami wrote:
> 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



More information about the En-Nut-Discussion mailing list