summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/raspberrypi (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-10-02arm/raspberrypi: Enable HYP to SVC switch for this BSP.Pavel Pisa2-0/+7
This support is required when newer firmware is used on Raspberry Pi 2 boards. Updates #2783
2016-10-02arm/raspberrypi: use cache manager operations to flush/invalidate all cache ↵Pavel Pisa1-7/+7
levels. This fix strange behavior where some stale content has been stored in level 2 cache before RTEMS has been start from U-boot which has reappeared after MMU enable and shadow vector table at start of SDRAM. Updates #2782 Updates #2783
2016-10-02bsps/arm: Change code to explicit selection of cache implementation for ARM ↵Pavel Pisa2-8/+4
BSPs. The original ARM architecture wide cache_.h is changed to dummy version for targets not implementing/enablig cache at all. The ARM targets equipped by cache should include appropriate implementation. Next options are available for now c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h basic ARM cache integrated on the CPU core directly which requires only CP15 oparations c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h support for case where ARM L2C-310 cache controller is used. It is accessible as mmaped peripheral. c/src/lib/libbsp/arm/shared/armv7m/include/cache_.h Cortex-M specific cache support Updates #2782 Updates #2783
2016-10-02arm/raspberrypi: ensure that RTEMS application image can be started by U-boot.Pavel Pisa2-1/+39
The current versions of U-boot start kernel/RTEMS application image with instruction and data caches enabled and it sets exception base register to new address after its self-relocation. ldr r0, [r9, #GD_RELOCADDR] /* r0 = gd->relocaddr */ mcr p15, 0, r0, c12, c0, 0 /* Set VBAR */ Included changes in bsp_start_hook_0 restore default state to allow RTEMS image to run after startup from newer U-boot version on Raspberry Pi. Clear interrupt enable registers in interrupt controller to ensure that RTEMS starts from well defined state. Updates #2783
2015-07-07RaspberryPi: Use rtems_configuration_get_microseconds_per_tick to set clock ↵Jan Sommer1-2/+4
counter timer interrupt was hard coded to 10 ms per tick. Fix uses the setting of CONFIGURE_MICROSECONDS_PER_TICK to compute the correct start value for the counter See for more information: http://permalink.gmane.org/gmane.os.rtems.user/22691
2015-05-21Multiple bsp_specs: Change *(old_endfile) to %(old_endfile)Joel Sherrill1-1/+1
Fix typo. closes 2345.
2015-05-20bsps: Convert clock drivers to use a timecounterAlexander Krutwig1-11/+1
Update #2271.
2015-04-09Add hardware FPU flags for Raspberry Pi 2 BSPAlan Cudmore1-1/+1
2015-03-16preliminary Raspberry Pi Model 2 supportAlan Cudmore6-22/+55
This patch adds a BSP variant for the Raspberry Pi 2. You can build both variants by configuring with the option --enable-rtemsbsp="raspberrypi2 raspberrypi" For the current BSP, the only change was the peripheral register base address and the compiler options. The raspberrypi/make/custom rules were re-factored: raspberrypi.inc -- Common rules raspberrypi.cfg -- Raspberry Pi 1 specific rule/optons raspberrypi2.cfg -- Raspberry Pi 2 specific rule/options I tested hello, ticker, unlimited, and paranoia on both the Pi (Model A+) and Pi 2.
2015-03-06raspberrypi: Do not include default IRQ handler and BSP specific oneJoel Sherrill1-1/+0
This was tripping a linker error in the dl0[12] tests. closes 2247.
2014-12-05Update bug report URLSebastian Huber1-1/+1
2014-11-27bsps/arm: Add .nocache sectionSebastian Huber1-0/+2
This section can be use to provide a cache coherent memory area via rtems_cache_coherent_add_area().
2014-11-20ARM removed shared/abort from several ARM BSPsAlan Cudmore1-1/+0
2014-10-20arm/raspberrypi: Fix warningsJoel Sherrill2-64/+64
2014-09-18bsps: Fix build errorSebastian Huber2-5/+0
Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
2014-09-16Use correct prototype of benchmark_timer_read()Joel Sherrill1-2/+2
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.
2014-09-04raspberrypi: Use shared bspreset.cJoel Sherrill2-36/+1
2014-08-28Regenerate all preinstall.am files.Joel Sherrill1-6/+6
Apparently, at some point automake output changed and these were not updated.
2014-07-01bsps/arm: Rename bsp_mm_config_tableSebastian Huber1-7/+3
Rename bsp_mm_config_table to arm_cp15_start_mmu_config_table and rename bsp_mm_config_table_size to arm_cp15_start_mmu_config_table_size to be in line with the other names in <bsp/arm-cp15-start.h>.
2014-06-06bsps/arm: Define ARM_CP15_TEXT_SECTIONSebastian Huber1-0/+2
Define ARM_CP15_TEXT_SECTION to BSP_START_TEXT_SECTION so that the start code is in the right section.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns14-14/+14
2014-03-13bsp/raspberrypi: Add arm-errata.h and arm-release-id.hRalf Kirchner2-0/+10
2014-02-14score: Add CPU counter supportSebastian Huber1-0/+2
Add a CPU counter interface to allow access to a free-running counter. It is useful to measure short time intervals. This can be used for example to enable profiling of critical low-level functions. Add two busy wait functions rtems_counter_delay_ticks() and rtems_counter_delay_nanoseconds() implemented via the CPU counter.
2013-12-09doxygen: refactored doxygen in libbsp to illustrate new rule setDaniel Ramirez1-1/+1
2013-11-27raspberrypi doxygen refactoringDaniel Ramirez14-18/+92
2013-10-27bsps/arm: ARMV7_MMU_DATA_READ_WRITE_SHAREABLESebastian Huber1-12/+6
Delete ARMV7_MMU_DATA_READ_WRITE_SHAREABLE and move RTEMS_SMP specific MMU attribute settings to arm-cp15.h.
2013-10-27Modify raspberrypi mm_config_table to map GPIO and registers.Hesham AL-Matary1-2/+6
Changes include reverting back to setting all page-table section entries as invalid and modify mm_config_table to apply the correct memory attributes for raspbberypi memory sections at startup. The newly added entry at mm_config_table maps raspberrypi GPIO and other registers found at raspberrypi.h
2013-10-03Shared MMU initialization for ARM BSPs and RaspberryPi MMU supportHesham AL-Matary5-21/+92
Add support for MMU initialization for RaspberryPi. Introduce new shared MMU configuration table that can be used by other BSPs that call the arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache function. Demonstrate the use of the generic table with RaspberryPi.
2013-09-16raspberrypi.cfg: Remove CVS IdJoel Sherrill1-2/+0
2013-08-09Use $(EXEEXT) [defaults to "exe"] to generate binariesNick Withers1-2/+2
2013-05-06bsp/raspberrypi: Use shared start codeSebastian Huber1-60/+2
2013-05-06bsp/raspberrypi: Enable unaligned accessAlan Cudmore1-1/+1
2013-03-24bsp/raspberrypi: New BSPAlan Cudmore20-0/+1530