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

4.115
Last change on this file since a2e1e30d was 53dd6d61, checked in by Ben Gras <beng@…>, on 11/03/14 at 18:53:40

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
Line 
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
21RTEMS_BSPOPTS_SET([IS_DM3730],[beagleboard*],[1])
22RTEMS_BSPOPTS_HELP([IS_DM3730],[true if SOC is DM3730])
23
24RTEMS_BSPOPTS_SET([IS_AM335X],[beaglebone*],[1])
25RTEMS_BSPOPTS_HELP([IS_AM335X],[true if SOC is AM335X])
26
27RTEMS_BSPOPTS_SET([CONSOLE_BAUD],[*],[115200])
28RTEMS_BSPOPTS_HELP([CONSOLE_BAUD],[initial baud for console UART])
29
30RTEMS_BSPOPTS_SET([CONSOLE_POLLED],[*],[0])
31RTEMS_BSPOPTS_HELP([CONSOLE_POLLED],[polled console i/o (e.g. to run testsuite)])
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.