tsp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tsp-devel] Mise au point de TSP sur leon2


From: Arquer Stephane
Subject: [Tsp-devel] Mise au point de TSP sur leon2
Date: Thu, 21 Feb 2008 11:51:37 +0100

Bonjour,

Après quelques péripéties pour mettre en place le chipset ether de notre carte 
fille, celui-ci est fonctionnel (test réalisés avec un serveur http).
Je tente maintenant de faire fonctionner l'exemple tsp_stub_server sur cette 
cible (leon2 LGPL dans un fpga AX2000).
Ce même exemple fonctionne avec rtems sur cible pc386.

L'application se lance, mais côté client, il n'y a pas de connexion avec le 
serveur rpc.
J'ai modifié le fichier tsp_abs_types.h comme suit:

/* RTEMS */
#if defined (TSP_RTEMS)
# include <sys/types.h>          /* for types compatibility */
# include <rtems/stdint.h>
#if defined (pc386)
# define TSP_BYTE_ORDER TSP_LITTLE_ENDIAN
#else
# define TSP_BYTE_ORDER TSP_BIG_ENDIAN
#endif
# define TSP_SYSTEM_HAVE_NANOSLEEP
//# define TSP_SYSTEM_HAVE_THREADSAFE_USLEEP
# define TSP_HAVE_INT64 1
# define TSP_INT64_CONSTANT(val)  (val##LL)
# define TSP_GUINT64_FORMAT "llu"

#endif /* _TSP_RTEMS_ */

Y a-t-il d'autres particularités liées au leon2 à rajouter ?


Voici les traces:

*** TSP Stub server on Rtems 4.7.1***
CS8900 Rev 10, 3.3V, no EEPROM.
fin rtems_bsdnet_initialize_network
Lancement du portmapper sc= 0
Lancement du stub server
#=====================================================================#
# Launching <StubbedServer> for generation of 1000 Symbols at 3.692109 Hz
#=====================================================================#
   
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/core/ctrl/tsp_provider.c##TSP_cmd_line_parser##254:
 No GLU stream init provided on command line
  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/core/rpc/tsp_server.c##TSP_rpc_run##309:
 RPC server is being be started with ProgId=31230010
  
Debug||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/core/rpc/tsp_server.c##TSP_rpc_run##311:
 launching svc_run...
TSP Provider on PID 1 - URL #0 : <rpc://rtems_host/StubbedServer:0>
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/providers/stub/glue_stub_rtems.c##STUB_GLU_thread##207:
 TOP 1000 : t=0    Symbol1=0       Symbol2=4.05974e-320    Symbol3=3.75126
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/providers/stub/glue_stub_rtems.c##STUB_GLU_thread##207:
 TOP 2000 : t=0    Symbol1=0       Symbol2=4.05974e-320    Symbol3=3.75126
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/providers/stub/glue_stub_rtems.c##STUB_GLU_thread##207:
 TOP 3000 : t=0    Symbol1=0       Symbol2=4.05974e-320    Symbol3=3.75126
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/providers/stub/glue_stub_rtems.c##STUB_GLU_thread##207:
 TOP 4000 : t=0    Symbol1=0       Symbol2=4.05974e-320    Symbol3=3.75126
Info||/home/arquers/TSP/tsp-0.8.3-Source-Rtems/src/providers/stub/glue_stub_rtems.c##STUB_GLU_thread##207:
 TOP 5000 : t=0    Symbol1=0       Symbol2=4.05974e-320    Symbol3=3.75126



Salutations.


sa





reply via email to

[Prev in Thread] Current Thread [Next in Thread]