Drasko DRASKOVIC wrote:
> Hi Bahadir,
> I am also very interested in porting Codezero to OR1200 (OpenRisc 1k
> implementation).
> 
> For the very begining config has to be generated for or32-elf-gcc to be
> taken as a compiler, and necessary startup (bare metal) has to be re-written
> in OR1k assembly.
> 
> OR1ksim will be used for simulation instead of qemu.
> 
> I will be happy to see only this compiles and giving first signs of life,
> befor even thinking about OS concepts of memory mapping etc (I am still
> learning L4 specifics).
> 
> BR,
> Drasko
> 

Let me not hinder enthusiasm here but you need to understand your cpu
well before attempting any porting efforts.

I would try creating a single .S file where you can switch register
context between threads in assembler. Then maybe 2 simple routines that
would enable the memory management, and add virtual to physical mappings
to the page tables.

Once you are comfortable with the above, it may start making sense
transferring your work to a system like codezero.

-- 
Bahadir
_______________________________________________
codezero-devel mailing list
codezero-devel@lists.l4dev.org
http://lists.l4dev.org/mailman/listinfo/codezero-devel

Reply via email to