On 10.05.21 09:20, Fangsuo Wu wrote: > Jan, > Thanks for your reply. The environment I used is listed below. BTW, I > can run latency test successfully. > > 1. The revision of Xenomai: xenomai-3.1.tar.bz2 > 2. Soc: dual ARM cortex A7 > 3. How I built application libraries: > ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" > LDFLAGS="-march=armv7-a -mfpu=vfp3" --build=i686-pc-linux-gnu > --host=arm-linux-gnueabihf --with-core=cobalt --enable-smp > --enable-pshared > make DESTDIR=/home/data/nfs_test/ install > 4. The kernel I used is 4.19 so I applied > ipipe-core-4.19.55-arm-5.patch, and manually enabled > CONFIG_IPIPE_ARM_KUSER_TSC. The full config file is: >
OK - our qemu-armhf target [1] is multicore A7 as well. Do you see the problem in QEMU, too? Do any of the extra CFLAGS or LDFLAGS you pass play a role here? We compile in CI only with "--enable-smp --enable-lazy-setsched --enable-debug=symbols" - maybe "--enable-pshared"... Jan [1] https://source.denx.de/Xenomai/xenomai-images/-/jobs/265962#L387 -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux