summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/or1k (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-4/+4
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-1/+1
|
* or1k/generic_or1k/irq/irq.c: Include <rtems/inttypes.h> and fix printf() ↵Joel Sherrill2017-04-251-1/+2
| | | | format warning
* powerpc/shared/linkcmds.base: Add .rela.rtemsroset and .rela.rtemsrwsetJoel Sherrill2017-01-161-0/+2
|
* testsuite: Add test states to the testsuit configuration files.Chris Johns2016-12-071-1/+1
| | | | | | | | | | | | | | | | Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
* or1k/generic_or1k: Remove include of <rtems/console.h> from <bsp.h> and fix ↵Joel Sherrill2016-03-291-1/+0
| | | | warnings
* or1k/generic_or1k/include/bsp.h: Do not include <rtems/clockdrv.h>Joel Sherrill2016-03-271-1/+0
|
* or1k/generic_or1k: Add per-section compilation and linking supportJoel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updates #2577. For the generic_or1k BSP variant without this option sample executables sizes were as follows: text data bss dec hex filename 255044 1780 33297600 33554424 1fffff8 ticker.exe 188484 1496 33364448 33554428 1fffffc minimum.exe 829728 77432 32647264 33554424 1fffff8 cxx_iostream.exe 1110588 6112 32437728 33554428 1fffffc fileio.exe 881676 14420 32658304 33554400 1ffffe0 pppd.exe 428200 2556 33123648 33554404 1ffffe4 capture.exe 274012 1868 33278528 33554408 1ffffe8 nsecs.exe 398084 2184 33154144 33554412 1ffffec paranoia.exe 387348 7420 33159648 33554416 1fffff0 cdtest.exe 247752 1780 33304896 33554428 1fffffc base_sp.exe 253888 1808 33298720 33554416 1fffff0 unlimited.exe 261792 1752 33290880 33554424 1fffff8 hello.exe 569612 6792 32978016 33554420 1fffff4 loopback.exe For the generic_or1k BSP variant with this option sample executables sizes were as follows: text data bss dec hex filename 229804 1760 33314592 33546156 1ffdfac ticker.exe 118744 1424 33425984 33546152 1ffdfa8 minimum.exe 607344 29188 32909632 33546164 1ffdfb4 cxx_iostream.exe 1064124 6088 32475936 33546148 1ffdfa4 fileio.exe 801832 14156 32730176 33546164 1ffdfb4 pppd.exe 392908 2508 33150752 33546168 1ffdfb8 capture.exe 249932 1848 33294368 33546148 1ffdfa4 nsecs.exe 372320 2164 33171680 33546164 1ffdfb4 paranoia.exe 361148 6980 33178016 33546144 1ffdfa0 cdtest.exe 222004 1760 33322400 33546164 1ffdfb4 base_sp.exe 222812 1772 33321568 33546152 1ffdfa8 unlimited.exe 229764 1704 33314688 33546156 1ffdfac hello.exe 515572 6576 33024000 33546148 1ffdfa4 loopback.exe
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.
* bsp/generic_or1k: Delete unused extern declarationSebastian Huber2015-12-071-1/+0
|
* generic_or1k: Fix a typo in a commentHesham ALMatary2015-05-261-1/+1
|
* generic_or1k: Use the correct bsp_specs fileHesham ALMatary2015-05-262-11/+6
|
* bsps: Convert clock drivers to use a timecounterAlexander Krutwig2015-05-201-24/+26
| | | | Update #2271.
* Fix or1k C++ build failureHesham ALMatary2015-04-261-0/+7
| | | | Closes #2329
* Rename or1ksim BSP to generic_or1kHesham ALMatary2015-04-1924-255/+255
| | | | | | | or1ksim BSP was initially named after or1ksim simulator, and it was intented to only run there. But now it can also run on QEMU, jor1k and real FPGA boards without modifications. It makes more sense to give it a new generic name like generic_or1k.
* or1ksim: Fix bug at UART driver.Hesham ALMatary2015-04-143-29/+16
| | | | | | | | | | | Fix some UART register addresses and implementation bugs that were causing malfunction of console driver on real hardware. hello and ticker samples are tested and working fine now on mor1kx based SoC on Atlys FPGA board. BSP_OR1K_OR1KSIM_PERIPHCLK has been changed to 50MHz as with mor1kx/atlys SoC; this change has no effect on the current simulators that RTEMS run on.
* or1ksim-testsuite.tcfg: new fileJoel Sherrill2015-04-031-0/+5
|
* Update bug report URLSebastian Huber2014-12-052-2/+2
|
* or1k/or1ksim: Fix warningsJoel Sherrill2014-10-201-7/+12
|
* libbsp/or1ksim: Fix warnings.Hesham ALMatary2014-10-132-5/+12
|
* or1ksim: Console: implement uart_read_polledHesham ALMatary2014-09-291-2/+11
| | | | | | Implement uart_read_polled which is needed for any application that reads input from users. It works fine with pppd, capture, and all termios tests.
* bsps: Fix build errorSebastian Huber2014-09-182-5/+0
| | | | Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-1/+1
| | | | | | | | | | | | | | This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
* or1k: New cache manager.Hesham ALMatary2014-09-165-15/+85
| | | | | | Implement new cache functions for or1k and create new bspstart function for or1ksim to initialize instruction and data caches. Also, sim.cfg is modified to enable/confiure cache units.
* or1ksim: Update READMEHesham ALMatary2014-09-161-18/+20
| | | | | | Modify README to provide instruction on how to run or1ksim BSP on latest or1ksim emulator built from github repo and add commands to run or1ksim BSP on QEMU.
* or1ksim: Implement cpu counter functions.Hesham ALMatary2014-09-161-0/+24
|
* or1ksim: work-around to make or1ksim tick timer accurate.Hesham ALMatary2014-09-161-7/+28
| | | | | | | | | This patch avoids unexpected behavior when initializing tick timer registers. Initializing these registers fires unexpected exceptions and interrupts even though RTEMS has not enabled interrupts yet. So, a little long interval added to allow RTEMS to finish the remaining initialization work before running the application. The tick timer interval is adjusted to reflect an accurate timing for RTEMS applications.
* OpenRISC: Account for red-zone (fixup printf bug).Hesham ALMatary2014-09-161-1/+1
| | | | | | | | | | | | | | This patch allocate a space in the stack to account for red-zone that gcc may utilize for the use of leaf functions. Care must be taken to handle this red-zone from many places: 1- Upon creation of a new thread stack. 2- Once an interrupt entred. Also moving the enable-thread-dispach() and increment ISR level before checking if dispatch needed was required. The previous modifications solved the printf bug which disabled ticker to output strings after context switches that arise from Thread_Delay_ended.
* or1ksim/Makefile.am: Install shared tm27.h and regenerate preinstall.amJoel Sherrill2014-09-022-5/+5
|
* Regenerate all preinstall.am files.Joel Sherrill2014-08-281-6/+6
| | | | | Apparently, at some point automake output changed and these were not updated.
* preinstall: Regenerated files differ from the repo.Chris Johns2014-08-282-6/+8
|
* Add or1ksim (sim.cfg) configuration file and edit README.Hesham ALMatary2014-08-262-1/+123
| | | | | | | OpenRISC/or1ksim BSP: The new sim.cfg file configures or1ksim emulator with HW capabilities that the current RTEMS/or1ksim BSP supports. README: HOWTO run the or1ksim simulator.
* or1k/Makefile.am: libbsp_a_CPPFLAGS was defined twiceJoel Sherrill2014-08-251-1/+1
|
* or1ksim BSP: Include cache manager stubs, and re-generate preinstall.am files.Hesham ALMatary2014-08-253-36/+46
|
* Rename or1k_or1ksim BSP to or1ksimHesham ALMatary2014-08-251-0/+0
|
* Add new (first) OpenRISC BSP called or1ksim.Hesham ALMatary2014-08-2023-0/+1609
This BSP is intended to run on or1ksim (the main OpenRISC emulator). Fixed version according to Joel comments from the mailing list.