[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openrisc] Hello World



Heya !
 
This is for everybody trying to run simple Hello World.
 
I have included a simple uart test case in or1k/orp/orp_soc/sw/uart. The easiest way to build, run it on or1ksim and on or1200 rtl is to go to or1k/orp/orp_soc/sim/run and run '../../bin/run_sw build', '../bin/run_sw single 18' and '../bin/run_rtl_regression single 18'.
 
When run on or1ksim you will get uart0.tx file with 'Hello World'. Also another file will be created in ../log/s-uart-nocache-or1ksim.log.
 
You can also run uart-icdc version. This one enables caches.
 
Uart data rate is set according to or1k/orp/orp_soc/sw/support/board.h.
 
regards,
Damjan