summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/beagle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove subdir-objects from BSP configure.acSebastian Huber2018-04-121-1/+1
| | | | | | | The subdir-objects do not work currently due to BSP sources in bsps and c and the existing build tree layout. Update #3387.
* bsps: Remove empty gnatinstallhandler.cSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bootcard.c to bspsSebastian Huber2018-04-121-1/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove headers from librtemsbsp_a_SOURCESSebastian Huber2018-04-121-1/+0
| | | | | | | | This was used by the not supported "make dist". This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-121-6/+4
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-111-1/+1
| | | | | | | | | | | This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
* build: Remove DISTCLEANFILESSebastian Huber2018-04-091-1/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Move generic IRQ support to bspsSebastian Huber2018-04-091-6/+2
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-091-39/+39
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-041-3/+0
| | | | | | | | Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Add shared-sources.amSebastian Huber2018-04-041-0/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-2/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* bsps: Rework cache manager implementationSebastian Huber2018-01-311-5/+1
| | | | | | | | | | | | | | | | | | The previous cache manager support used a single souce file (cache_manager.c) which included an implementation header (cache_.h). This required the use of specialized include paths to find the right header file. Change this to include a generic implementation header (cacheimpl.h) in specialized source files. Use the following directories and files: * bsps/shared/cache * bsps/@RTEMS_CPU@/shared/cache * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c Update #3285.
* Remove make preinstallChris Johns2018-01-2511-1078/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* bsps: Use CPPASCOMPILE for startfileSebastian Huber2018-01-021-5/+4
| | | | Update #3254.
* bsps: Add EXTRA_DIST to all BSP Makefile.amSebastian Huber2018-01-021-1/+2
| | | | | | | | | | This makes it possible to easily use EXTRA_DIST += foobar in fragments. Update #3254.
* bsps: Include bsp.am in all BSP Makefile.amSebastian Huber2018-01-021-0/+1
| | | | Update #3254.
* ARM BSPs: Simplify bsp_specsJoel Sherrill2017-12-191-5/+1
| | | | Updates #3520.
* bsps/arm: Fix move <libcpu/arm-cp15.h> to cpukitSebastian Huber2017-12-152-5/+0
| | | | Update #3254.
* arm/*/bsp_specs: Remove extra space to increase consistencyJoel Sherrill2017-11-291-1/+1
| | | | Updates #3520.
* libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill2017-11-271-1/+1
| | | | Updates #3250.
* bsps: Provide <tm27.h> in each BSPSebastian Huber2017-11-273-2/+3
| | | | | | | | | Since the <tm27.h> is highly BSP-dependent and used only by the tm27 test program we must provide this header file for each BSP. Without the preinstall build target each header file must have a unique source header file. Update #3254.
* Remove coverhd.hSebastian Huber2017-11-242-6/+1
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber2017-11-221-1/+1
| | | | | | | | | Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify the BSP configuration and documentation. Change defaults to: BSP_PRESS_KEY_FOR_RESET=0 BSP_RESET_BOARD_AT_EXIT=1 BSP_PRINT_EXCEPTION_CONTEXT=1
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+1
| | | | Update #3239.
* bsps: Generalize bsp_fdt_map_intr()Sebastian Huber2017-09-221-2/+2
| | | | | | | Pass all interrupt cells to bsp_fdt_map_intr() since some platforms use an array to describe an interrupt. Update #3090.
* bsps: Clock_driver_support_install_isr()Sebastian Huber2017-09-181-5/+2
| | | | | | | Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
* Simplify and unify BSP_output_charSebastian Huber2017-09-121-3/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* bsps: Add BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREASebastian Huber2017-08-221-0/+3
|
* beagle/i2c/bbb-i2c.c: Eliminiate set but not used warningJoel Sherrill2017-07-281-1/+2
|
* bsp/beagle: Add FDT support for Beaglebone BlackSichen Zhao2017-07-124-1/+21
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-201-6/+6
| | | | | | 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.
* Fix beagle i2c file bbb-i2c.c comment issuesSichen Zhao2017-06-151-19/+23
|
* Add the i2c driver for Beaglebone BlackSichen Zhao2017-06-144-141/+629
| | | | | | | | | | Update ticket #2891 and my GSOC project add c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c modify c/src/lib/libbsp/arm/beagle/include/i2c.h modify c/src/lib/libbsp/arm/beagle/include/bbb-gpio.h modify c/src/lib/libcpu/arm/shared/include/am335x.h modify c/src/lib/libbsp/arm/beagle/Makefile.am Now can read the EEPROM by i2c, the test application link is: https://github.com/hahchenchen/GSOC-test-application
* Remove beagle old i2c codeSichen Zhao2017-06-143-633/+0
| | | | | | modify c/src/lib/libbsp/arm/beagle/Makefile.am modify c/src/lib/libbsp/arm/beagle/include/i2c.h delete c/src/lib/libbsp/arm/beagle/misc/i2c.c
* bsp/beagle: Fix warningsSebastian Huber2017-03-081-0/+1
|
* libdebugger: Build for ARM's without a CP15.Chris Johns2016-12-021-0/+1
|
* beagle: pwm polishingPunit Vara2016-07-174-309/+568
| | | | | | | | | . added a README to pwm . added select_pwmss() to select pwmss-generic registers, as opposed to PWM-specific registers . added pwmss_clock_en_status(), beagle_pwmss_is_running() and pwmss_tb_clock_check() . other API improvements . style improvements
* Beaglebone: Update PWM driver imported from BBBIOPunit Vara2016-07-043-385/+515
| | | | | | This patch adapts the previously added Beaglebone PWM code from BBBIO to RTEMS. This work was done in the context of the Google Summer of Code 2016, and further patches will follow to improve the code quality and documentation.
* Beaglebone: Add original BBBIO PWM driverPunit Vara2016-07-042-0/+448
| | | | | | | | | This patch adds the PWM driver code for the Beaglebone Black from BBBIO: https://github.com/VegetableAvenger/BBBIOlib/blob/master/BBBio_lib/BBBiolib_PWMSS.c This commit is for tracking purposes only; the next commit will adapt the code for RTEMS.
* bsps/arm: Change code to explicit selection of cache implementation for ARM ↵Pavel Pisa2016-07-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* libchip: Simplify RTC driverSebastian Huber2016-07-041-1/+0
|
* bsps: Include missing <rtems/bspIo.h>Sebastian Huber2016-06-241-0/+2
|
* am335x irq handling improvementMartin Galvan2016-02-281-40/+42
| | | | | | | | | | | | | This patch makes the following changes to the Beaglebone IRQ handling code: - Disable support for nested interrupts. - Detect spurious IRQs using the SPURIOUSIRQ field of the INTC_SIR_IRQ register. - Acknowledge spurious IRQs by setting the NewIRQAgr bit of the INTC_CONTROL register. This cleans the SPURIOUSIRQ field and allows new interrupts to be generated. - Improve the get_mir_reg function a bit. Closes #2580.
* arm: Fixed typo in file bbb-gpio.cpunitvara2016-02-191-1/+1
| | | | | | This patch fixes typo "moode". Signed-off: Punit Vara <punitvara@gmail.com>
* Use linker set for libio initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* arm/beagle: Add per-section compilation and linking supportAun-Ali Zaidi2016-01-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both the BeagleBoards and the BeagleBones produce identical sized binaries. BeagleBoard Series ================== The size of the sample executables without this option were: text data bss dec hex filename 62616 1512 264177020 264241148 fbffffc minimum.exe 94228 1852 264145056 264241136 fbffff0 base_sp.exe 114556 1940 264124632 264241128 fbfffe8 nsecs.exe 191972 2328 264046828 264241128 fbfffe8 capture.exe 206412 1880 264032848 264241140 fbffff4 cdtest.exe 180680 2228 264058220 264241128 fbfffe8 paranoia.exe 107280 1716 264132132 264241128 fbfffe8 hello.exe 554392 5764 263680988 264241144 fbffff8 fileio.exe 97888 1852 264141396 264241136 fbffff0 ticker.exe 271728 6624 263962784 264241136 fbffff0 loopback.exe 593260 1984 263645896 264241140 fbffff4 cxx_iostream.exe 448400 12740 263779992 264241132 fbfffec pppd.exe 96224 1772 264143156 264241152 fc00000 unlimited.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 30560 1212 264209364 264241136 fbffff0 minimum.exe 87656 1828 264151660 264241144 fbffff8 base_sp.exe 108076 1916 264131144 264241136 fbffff0 nsecs.exe 183540 2296 264055292 264241128 fbfffe8 capture.exe 197908 1856 264041384 264241148 fbffffc cdtest.exe 173976 2204 264064956 264241136 fbffff0 paranoia.exe 99752 1684 264139692 264241128 fbfffe8 hello.exe 537888 5740 263697524 264241152 fc00000 fileio.exe 91312 1828 264148004 264241144 fbffff8 ticker.exe 251360 6512 263983256 264241128 fbfffe8 loopback.exe 416176 1952 263823012 264241140 fbffff4 cxx_iostream.exe 415312 12584 263813252 264241148 fbffffc pppd.exe 89068 1740 264150344 264241152 fc00000 unlimited.exe BeagleBone Series ================= The size of the sample executables without this option were: text data bss dec hex filename 62616 1512 264177020 264241148 fbffffc minimum.exe 94520 1932 264144700 264241152 fc00000 base_sp.exe 114844 2020 264124280 264241144 fbffff8 nsecs.exe 192260 2408 264046476 264241144 fbffff8 capture.exe 206708 1960 264032456 264241124 fbfffe4 cdtest.exe 180976 2308 264057860 264241144 fbffff8 paranoia.exe 107280 1716 264132132 264241128 fbfffe8 hello.exe 554688 5844 263680596 264241128 fbfffe8 fileio.exe 98180 1932 264141040 264241152 fc00000 ticker.exe 272016 6704 263962432 264241152 fc00000 loopback.exe 593260 1984 263645896 264241140 fbffff4 cxx_iostream.exe 448696 12820 263779632 264241148 fbffffc pppd.exe 96224 1772 264143156 264241152 fc00000 unlimited.exe The size of the sample executables with this option enabled were: text data bss dec hex filename 30560 1212 264209364 264241136 fbffff0 minimum.exe 87944 1908 264151276 264241128 fbfffe8 base_sp.exe 108364 1996 264130792 264241152 fc00000 nsecs.exe 183828 2376 264054940 264241144 fbffff8 capture.exe 198196 1936 264041000 264241132 fbfffec cdtest.exe 174264 2284 264064604 264241152 fc00000 paranoia.exe 99752 1684 264139692 264241128 fbfffe8 hello.exe 538176 5820 263697140 264241136 fbffff0 fileio.exe 91600 1908 264147620 264241128 fbfffe8 ticker.exe 251648 6592 263982904 264241144 fbffff8 loopback.exe 416176 1952 263823012 264241140 fbffff4 cxx_iostream.exe 415600 12664 263812868 264241132 fbfffec pppd.exe 89068 1740 264150344 264241152 fc00000 unlimited.exe
* beagle sdcard.sh: objcopy 4.12Ben Gras2015-12-271-1/+1
| | | | Fixes #2505.
* Beaglebone Black: Fix rtems_gpio_bsp_disable_interrupt disabling all the ↵Martin Galvan2015-12-161-1/+1
| | | | | | | | | | GPIO interrupts Currently, rtems_gpio_bsp_disable_interrupt disables the interrupts for all the pins, not just the one that actually caused the interrupt. This patch fixes that issue. Closes #2497.
* bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber2015-12-101-1/+0
| | | | | | Use the bsp_predriver_hook() instead. Update #2408.