Feature synchronisation with FASTSYNCH on TS-7553
A message that is not in the archive (sent off-list or not yet received): 2129974902.198997874.1338366582292.JavaMail.root@spooler3-g27.priv.proxad.net
Hello,
I made a Xenomai 2.6 port on the TS-7553 SBC based on the cns2132/str8132 SoC (armv4 CPU) with a kernel 2.6.24. I wanted to test the port using the Xenomai tests binaries (switchtest, clocktest, latency,...) but I'm having configuration issues in the feature synchronisation between user-space and kernel-space:
$ /usr/xenomai/bin/switchtest Xenomai : incompatible feature set (userland requires "fastsynch nosmp", kernel provides "sa1100 eabi tsc nofastsynch", missing="fastsynch").
I compiled the kernel and user-space following exactly the procedure for ARM in the README.INSTALL.
In the kernel configuration for the CPU (arch/arm/mm/Kconfig), CPU_32v4 is selected which disables XENO_FASTSYNCH_DEP.
Therefore the kernel configuration has correct features but in the log of the user-space configure script CONFIG_XENO_FASTSYNCH_TRUE is set.
I understood that the user-space configuration is based on the kernel .config but in my case the .config does not contain any line with CONFIG_XENO_FASTSYNCH (not even a commented one), it contains only CONFIG_CPU_32v4 set to y.
Does anybody have an idea about what i missed ?
By the way, what is this FASTSYNCH feature and what does it provide ?
Thank you,
Signature · 1 line
REBILLAT Aubin
Quoted 19 lines · On 05/30/2012 11:08 AM, [email protected] wrote:
Hello,
I made a Xenomai 2.6 port on the TS-7553 SBC based on the cns2132/str8132 SoC (armv4 CPU) with a kernel 2.6.24. I wanted to test the port using the Xenomai tests binaries (switchtest, clocktest, latency,...) but I'm having configuration issues in the feature synchronisation between user-space and kernel-space:
$ /usr/xenomai/bin/switchtest Xenomai : incompatible feature set (userland requires "fastsynch nosmp", kernel provides "sa1100 eabi tsc nofastsynch", missing="fastsynch").I compiled the kernel and user-space following exactly the procedure for ARM in the README.INSTALL.
In the kernel configuration for the CPU (arch/arm/mm/Kconfig),CPU_32v4is selected which disablesXENO_FASTSYNCH_DEP.
Therefore the kernel configuration has correct features but in the log of the user-space configure scriptCONFIG_XENO_FASTSYNCH_TRUEis set.
Quoted 6 lines
I understood that the user-space configuration is based on the kernel .config but in my case the .config does not contain any line with
CONFIG_XENO_FASTSYNCH(not even a commented one), it contains onlyCONFIG_CPU_32v4set to y.Does anybody have an idea about what i missed ?
You are probably the first person to have ever tried Xenomai on processors with CPU_32v4, only CPU_32v4T was tested. What you are missing is probably simply this patch:
ksrc/arch/arm/Kconfig +1 -1
@@ -4,7 +4,7 @@ config XENO_GENERIC_STACKPOOL config XENO_FASTSYNCH_DEP bool - default y if (CPU_32v3 || CPU_32v4T || CPU_32v5) && !SMP || CPU_32v6 || CPU_32v7 + default y if (CPU_32v3 || CPU_32v4 || CPU_32v4T || CPU_32v5) && !SMP || CPU_32v6 || CPU_32v7 config XENO_FASTSYNCH bool
Quoted 1 line
By the way, what is this FASTSYNCH feature and what does it provide ?
fast user-space mutexes (and condvars if using xenomai-forge).
Signature · 1 line
Gilles.
Quoted 11 lines · On 05/30/2012 11:08 AM, [email protected] wrote:
Hello,
I made a Xenomai 2.6 port on the TS-7553 SBC based on the cns2132/str8132 SoC (armv4 CPU) with a kernel 2.6.24. I wanted to test the port using the Xenomai tests binaries (switchtest, clocktest, latency,...) but I'm having configuration issues in the feature synchronisation between user-space and kernel-space:
$ /usr/xenomai/bin/switchtest Xenomai : incompatible feature set (userland requires "fastsynch nosmp", kernel provides "sa1100 eabi tsc nofastsynch", missing="fastsynch").
By the way, if you want user-space tsc emulation, you should add support for your processor to configure.in, so that you can enable tsc in user-space with --enable-arm-tsc=str8132.
Signature · 1 line
Gilles.
Quoted 17 lines
Quoted 11 lines
Hello,
I made a Xenomai 2.6 port on the TS-7553 SBC based on the cns2132/str8132
SoC (armv4 CPU) with a kernel 2.6.24. I wanted to test the port using the
Xenomai tests binaries (switchtest, clocktest, latency,...) but I'm having
configuration issues in the feature synchronisation between user-space
and kernel-space:Quoted 5 lines
$ /usr/xenomai/bin/switchtest Xenomai : incompatible feature set (userland requires "fastsynch nosmp", kernel provides "sa1100 eabi tsc nofastsynch", missing="fastsynch").
Quoted 5 lines
By the way, if you want user-space tsc emulation, you should add support
for your processor to configure.in, so that you can enable tsc in user-space with --enable-arm-tsc=str8132.
I applied the fixes and I have now all the features synced.
Than you very much for your help,
Signature · 1 line
REBILLAT Aubin