How to verify RTEMS 4.11 SMP configuration

Sebastian Huber sebastian.huber at
Mon Jan 11 07:04:26 UTC 2016

Hello Justin,

On 08/01/16 17:57, Rice, Justin L. (GSFC-5820) wrote:
> Hi all,
> Can anyone provide guidance on the best way to verify RTEMS 4.11 SMP configuration for the sparc GR712RC processor? There are some SMP demos in the testsuites directory. However, the README file specifies that as of June 2011, the tests are known to run only on
> + pcp4 BSP using qemu with 2-4 cores
> + leon3 BSP using grsim with 4 cores

I deleted this obsolete information.

To verify that RTEMS runs on the GR712RC build the leon3 BSP using the 
--enable-smp and --enable-tests options. Use for example the attached 
script to run the tests via GRMON.

The GR712RC quick start guide should cover these topics.

> I also have tried to use application level services (such as rtems_get_processor_count), but the reports from these only seem to indicate a uniprocessor configuration.

We have an SMP chapter in the user manual.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

-------------- next part --------------
set dir /scratch/git-build/b-smp-leon3-d412e2f02596e834dbd5aa8b830dc303e91532c3-profiling/sparc-rtems4.11/c/leon3/testsuites

proc find_tests {folder} {
	set list_of_files {}

	# Append all test programs to a list of files.
	foreach i [glob -nocomplain -types f -directory $folder -- *.exe] {
		lappend list_of_files $i

	# Foreach directory recurse this procedure.
	foreach j [glob -nocomplain -types d -directory $folder -- *] {
		set list_of_files [concat $list_of_files [find_tests $j]]

	# Return the list of all the files.
	return $list_of_files

set tests [lsort -ascii [find_tests $dir]]

set exclude_list [list \

info sys
cctrl 0
cctrl 1

foreach t $tests {
	if { [lsearch -exact $exclude_list $t] == -1 } {
		load $t


More information about the users mailing list