source: rtems/c/src/lib/libbsp/arm/beagle/configure.ac @ 0afac6a

4.115
Last change on this file since 0afac6a was 53dd6d61, checked in by Ben Gras <beng@…>, on Nov 3, 2014 at 6:53:40 PM

BSP for several Beagle products

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@…>

  • Property mode set to 100644
File size: 953 bytes
RevLine 
[7a66986]1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the BeagleBoards.
6#
7
8AC_PREREQ([2.68])
9AC_INIT([rtems-c-src-lib-libbsp-arm-beagle],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
10AC_CONFIG_SRCDIR([bsp_specs])
11RTEMS_TOP(../../../../../..)
12
13RTEMS_CANONICAL_TARGET_CPU
14AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.11.1])
15RTEMS_BSP_CONFIGURE
16
17RTEMS_PROG_CC_FOR_TARGET
18RTEMS_CANONICALIZE_TOOLS
19RTEMS_PROG_CCAS
20
[53dd6d61]21RTEMS_BSPOPTS_SET([IS_DM3730],[beagleboard*],[1])
22RTEMS_BSPOPTS_HELP([IS_DM3730],[true if SOC is DM3730])
[7a66986]23
[53dd6d61]24RTEMS_BSPOPTS_SET([IS_AM335X],[beaglebone*],[1])
25RTEMS_BSPOPTS_HELP([IS_AM335X],[true if SOC is AM335X])
[7a66986]26
[53dd6d61]27RTEMS_BSPOPTS_SET([CONSOLE_BAUD],[*],[115200])
28RTEMS_BSPOPTS_HELP([CONSOLE_BAUD],[initial baud for console UART])
[7a66986]29
[53dd6d61]30RTEMS_BSPOPTS_SET([CONSOLE_POLLED],[*],[0])
31RTEMS_BSPOPTS_HELP([CONSOLE_POLLED],[polled console i/o (e.g. to run testsuite)])
[7a66986]32
33RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
34RTEMS_BSP_LINKCMDS
35
36AC_CONFIG_FILES([Makefile])
37AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.