question about test case sp30

Harris, Andrew Andrew.Harris at jhuapl.edu
Sun Aug 31 00:38:39 UTC 2003


Hi -

	I'm having some problems running the RTEMS test suite on my board.
I am using an MVME2604/MVME712 board with the mvme2307 BSP.  For example, on
test #30, the docs say that "task 1" should print every 5 seconds, "task 2"
should print every 10 seconds, and "task 3" every 30 seconds.  This isn't
what's happening and the docs say that this may mean that "the calendar time
does not correspond correctly with the number of ticks", but I'm not sure
what this means.  Does this mean I need to modify
CONFIGURE_MICROSECONDS_PER_TICK and change it from the default of 10,000?

	Also, here are some comments I have about the boot output from TEST
30.

	* If the "Memory Size" in the output below says 2000000 do I need to
adjust the "linkcmds" file to reflect this?  I noticed in
powerpc/motorola_powerpc/startup/linkcmds that within "MEMORY", the "CODE"
element has a LENGTH of 0x400000, which is only 4MB.
	* Below in the output, the OpenPIC Version is "?", and it thinks
there are 2 CPUs.  This is wierd, isn't it?  What does this mean?  I can't
seem to find any documentation on openPIC.
	* It seems there is a slight bug in powerpc/shared/irq/irq_init.c
where it tries to print currentBoard, it's not displayed correctly.  It's
displayed as "i" below, but, in my case it should print 15, I think.
	* How do I enable DEBUG flags when I compile the BSP?  I want to
enable things like "SHOW_MORE_INIT_SETTINGS", "TEST_RAW_EXCEPTION_CODE", and
"DEBUG", etc.  But I can't figure out how to do this with configure.  The
configure help says there are things like "CFLAGS_FOR_BUILD",
"CFLAGS_FOR_HOST", and "CFLAGS_FOR_TARGET", but if I want to build a BSP
(mvme2307), what do I use?  Also, I assume these are environment variables
that I need to set?

thanks for any help,
-andrew

---

Network Boot File load in progress... To abort hit <BREAK>

Bytes Received =&156940, Bytes Loaded =&156940
Bytes/Second   =&78470, Elapsed Time =2 Second(s)

Residual-Data Located at: $01F78000

Model: 000000000000000000000000000(e2)
Serial: MOT040D86B
Processor/Bus frequencies (Hz): 333378656/66671872
Time Base Divisor: 4000
Memory Size: 2000000
Original MSR: 3040
Original HID0: 82
Original R31: 0

PCI: Probing PCI hardware

RTEMS 4.x/PPC load:
Uncompressing the kernel...
Kernel at 0x00000000, size=0x38db0
Initrd at 0x00000000, size=0x0
Residual data at 0x00039000
Command line at 0x00040000
done
Now booting...
-----------------------------------------
Welcome to rtems-ss-20030417(PowerPC/PowerPC 604/mvme2307) on MVME 2600 with
MVM
E712M
-----------------------------------------
OpenPIC found at C1000000.
OpenPIC Version ? (2 CPUs and 17 IRQ sources) at 0xC1000000
OpenPIC Vendor 0 (Motorola), Device 0 (Raven), Stepping 2
OpenPIC timer frequency is 8333738 Hz
Please add code for PCI/ISA bridge init to
libbsp/powerpc/shared/irq/irq_init.c
If your card works correctly please add a test and set known_cpi_isa_bridge
to t
rue
currentBoard = i
Universe II PCI-VME bridge detected at 0xC1041000, IRQ 11
Universe Master Ports:
Port  VME-Addr   Size       PCI-Adrs   Mode:
0:    0xFFFFE000 0x00000000 0xFFFFF000 A??, Pgm, Sup
1:    0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
2:    0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
3:    0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
4:    0xFFFFE000 0x00000000 0xFFFFF000 A??, Pgm, Sup
5:    0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
6:    0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
7:    0xFFFE0000 0x00000000 0xFFFF0000 A??, Pgm, Sup
Universe Slave Ports:
Port  VME-Addr   Size       PCI-Adrs   Mode:
0:    0xFFFFF000 0x00000000 0xFFFFE000 A??, Pgm, Dat, Sup, Usr
1:    0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
2:    0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
3:    0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
4:    0xFFFFF000 0x00000000 0xFFFFE000 A??, Pgm, Dat, Sup, Usr
5:    0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
6:    0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
7:    0xFFFF0000 0x00000000 0xFFFE0000 A??, Pgm, Dat, Sup, Usr
Overriding main IRQ line PCI info with 5
Registering /dev/console as minor 0 (==/dev/ttyS0)

*** TEST 30 ***
TA1  - rtems_clock_get - 09:00:00   12/31/1988
TA2  - rtems_clock_get - 09:00:00   12/31/1988
TA3  - rtems_clock_get - 09:00:00   12/31/1988
TA1  - rtems_clock_get - 09:00:10   12/31/1988
TA2  - rtems_clock_get - 09:00:15   12/31/1988
TA3  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:20   12/31/1988
TA2  - rtems_clock_get - 09:00:30   12/31/1988
TA1  - rtems_clock_get - 09:00:30   12/31/1988
*** END OF TEST 30 ***



---
Andrew Harris        andrew.harris at jhuapl.edu
JHU/APL              (443) 778-3093 



More information about the users mailing list