RTEMS (+epics) on a mvme167: Problems with environ

Jan C. Bernauer bernauer at mit.edu
Fri Jul 16 15:19:16 UTC 2010


  Hi,

  I am struggling to get RTEMS+EPICS working on an mvme167 (m68k based
vme cpu).

Tools are installed, and the test programs I tried seem to work.
However, trying to run rtemsTestHarness from EPICS fails when strncmp
tries to access a null pointer.
I traced it back to setenv: A test program with the rtems shell also
fails on setenv.
As far as I see, the environ pointer is 0.

How should the BSP set this up? Just malloc a block of memory at init time?

Best regards,
Jan C. Bernauer




More information about the users mailing list