source: rtems/c/src/lib/libbsp/arm/beagle/TESTING @ 64f7724

4.115
Last change on this file since 64f7724 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: 796 bytes
Line 
1To build and run the tests for this BSP, use the RTEMS tester.
2The necessary software can be built with the RTEMS source builder.
3
4To build the BSP for testing:
5        - set CONSOLE_POLLED=1 in the configure environment, some tests
6          assume console i/o is polled
7        - add --enable-tests to the configure line
8
91. Qemu
10
11Linaro Qemu can emulate the beagleboard xm and so run all regression
12tests in software. Build the bbxm.bset from the RTEMS source builder and
13you will get qemu linaro that can run them. There is a beagleboardxm_qemu
14bsp in the RTEMS tester to invoke it with every test.
15
162. bbxm hardware
17
18This requires JTAG, see README.JTAG. Use the beagleboardxm bsp in the
19RTEMS tester. It starts gdb to connect to openocd to reset the target
20and load the RTEMS executable for each test iteration.
Note: See TracBrowser for help on using the repository browser.