summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/beagle (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-12-19ARM BSPs: Simplify bsp_specsJoel Sherrill1-5/+1
Updates #3520.
2017-12-15bsps/arm: Fix move <libcpu/arm-cp15.h> to cpukitSebastian Huber2-5/+0
Update #3254.
2017-11-29arm/*/bsp_specs: Remove extra space to increase consistencyJoel Sherrill1-1/+1
Updates #3520.
2017-11-27libbsp/*/*/configure.ac: Remove references to bsp_specs in AC_CONFIG_SRCDIRJoel Sherrill1-1/+1
Updates #3250.
2017-11-27bsps: Provide <tm27.h> in each BSPSebastian Huber3-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.
2017-11-24Remove coverhd.hSebastian Huber2-6/+1
This header file contained timing overhead values which are hard to maintain. Update #3254.
2017-11-22bsps: Simplify RTEMS_BSP_CLEANUP_OPTIONSSebastian Huber1-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
2017-11-17getentropy: Add cpu counter based implementation.Christian Mauderer1-0/+1
Update #3239.
2017-09-22bsps: Generalize bsp_fdt_map_intr()Sebastian Huber1-2/+2
Pass all interrupt cells to bsp_fdt_map_intr() since some platforms use an array to describe an interrupt. Update #3090.
2017-09-18bsps: Clock_driver_support_install_isr()Sebastian Huber1-5/+2
Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
2017-09-12Simplify and unify BSP_output_charSebastian Huber1-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.
2017-08-22bsps: Add BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREASebastian Huber1-0/+3
2017-07-28beagle/i2c/bbb-i2c.c: Eliminiate set but not used warningJoel Sherrill1-1/+2
2017-07-12bsp/beagle: Add FDT support for Beaglebone BlackSichen Zhao4-1/+21
2017-06-20bsps: Improve interrupt vector enable/disable APISebastian Huber1-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.
2017-06-15Fix beagle i2c file bbb-i2c.c comment issuesSichen Zhao1-19/+23
2017-06-14Add the i2c driver for Beaglebone BlackSichen Zhao4-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
2017-06-14Remove beagle old i2c codeSichen Zhao3-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
2017-03-08bsp/beagle: Fix warningsSebastian Huber1-0/+1
2016-12-02libdebugger: Build for ARM's without a CP15.Chris Johns1-0/+1
2016-07-17beagle: pwm polishingPunit Vara4-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
2016-07-04Beaglebone: Update PWM driver imported from BBBIOPunit Vara3-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.
2016-07-04Beaglebone: Add original BBBIO PWM driverPunit Vara2-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.
2016-07-04bsps/arm: Change code to explicit selection of cache implementation for ARM ↵Pavel Pisa1-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
2016-07-04libchip: Simplify RTC driverSebastian Huber1-1/+0
2016-06-24bsps: Include missing <rtems/bspIo.h>Sebastian Huber1-0/+2
2016-02-28am335x irq handling improvementMartin Galvan1-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.
2016-02-19arm: Fixed typo in file bbb-gpio.cpunitvara1-1/+1
This patch fixes typo "moode". Signed-off: Punit Vara <punitvara@gmail.com>
2016-02-03Use linker set for libio initializationSebastian Huber1-2/+0
Update #2408.
2016-01-09arm/beagle: Add per-section compilation and linking supportAun-Ali Zaidi1-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
2015-12-27beagle sdcard.sh: objcopy 4.12Ben Gras1-1/+1
Fixes #2505.
2015-12-16Beaglebone Black: Fix rtems_gpio_bsp_disable_interrupt disabling all the ↵Martin Galvan1-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.
2015-12-10bsps: Delete superfluous bsp_pretasking_hook()Sebastian Huber1-1/+0
Use the bsp_predriver_hook() instead. Update #2408.
2015-11-03Leftover gpio function renameBen Gras1-3/+3
Rename rtems_bsp_select_specific_io to rtems_gpio_bsp_select_specific_io. Should've gone with 5c337d7. Fixes #2456.
2015-10-21Fixes GPIO APIs Naming Convention and CommentsSudarshan Rajagopalan1-4/+4
Closes #2435.
2015-09-10Beaglebone: fix missing clobber in inline assembly.Marcos Diaz1-1/+7
flush_data_cache uses R0 directly but doesn't list it as a clobbered register. Compiling with -O3 made this code break, since the function that calls flush_data_cache already uses r0. closes #2416.
2015-08-18Beagle: GPIO support (for BBB)Ketul Shah6-1/+706
GPIO Driver Development for BeagleBone Black based on the generic GPIO API
2015-05-28beagle bsp: RTC support for BBBragunath3-0/+283
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-25/+10
Update #2271.
2015-03-20Replace www.rtems.com with www.rtems.orgSebastian Huber6-6/+6
2015-03-14beagle bsp: delete TIMER_FREQ, TIMER_COUNTBen Gras1-4/+0
unused and poorly named (no prefix) and colliding with sp68. Closes #2302.
2014-12-15bsp/beagle: Fix some warningsBen Gras2-3/+3
The extra includes in console_*.c are to solve a 'no previous prototype' warning. Solves #2212 in trac.
2014-12-05beagle bsp: disable watchdog on am335xBen Gras1-0/+9
On recent u-boots, the watchdog is turned on / left enabled. The Beaglebone Black rev. C ships with such a u-boot internally so any application booting from it must disable the watchdog. Therefore this change is needed to boot an RTEMS app out-of-the-box on a BBB Rev C - otherwise the user button must be held during boot (to bypass the stock uboot) or the internal uboot must be updated. To allow for a better out-of-the-box experience, we just turn off the watchdog.
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-11-04Regenerated preinstall.am file.Chris Johns1-0/+1
2014-11-03BSP for several Beagle productsBen Gras36-3221/+1485
Specifically the beagleboard, beagleboard xM, beaglebone, beaglebone black. More info on these targets: http://www.beagleboard.org/ This commit forms a basic BSP by combining Claas's work with . new clock and irq code and definitions for beagle targets (beagleboard and beaglebones), mostly reused from the Minix codebase, thus making irqs, ticks and non-polled console mode work too . new timer code for ns timing with high timer resolution, 24MHz on the AM335X and 13MHz on the DM37XX . select the console uart based on target at configure time . removing all the lpc32xx-specific macros and code and other unused code and definitions that the beagle bsp was based on . re-using some standard functions instead of lpc32xx versions . fixed some whitespace problem in preinstall.am . fixed some compile warnings . configure MMU: set 1MB sections directly in the TTBR, just to show the difference between cacheable RAM and non-cacheable device memory and invalid ranges; this lets us turn on caches and not rely on boot loader MMU configuration. Verified to work when MMU is initially either on or off when RTEMS gets control. Thanks for testing, commentary, improvements and fixes to Chris Johns, Brandon Matthews, Matt Carberry, Romain Bornet, AZ technology and others. Signed-Off-By: Ben Gras <beng@shrike-systems.com>
2014-11-03Added BeagleBoard BSPClaas Ziemke28-0/+4594
Coding done in course of GSoC2012. Commit edited to be brought up-to-date with mainline by Ben Gras <beng@shrike-systems.com>.