All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Cpusets and the cpu_affinity test
@ 2017-05-01 21:19 Jackson Jones
  2017-05-02  9:20 ` Henning Schild
  0 siblings, 1 reply; 5+ messages in thread
From: Jackson Jones @ 2017-05-01 21:19 UTC (permalink / raw)
  To: xenomai

I am having trouble getting the cpu_affinity test to run. The check for CPU
restriction always fails. I have tried to remedy this by setting the
bootargs.

1.) I am running an NXP i.MX6 QUAD/DUAL VAR-SOM-MX6 based board (Variscite
var_som_mx6). The kernel is an 4.1.15 NXT/Variscite kernel (with the BSP
patched in). I patched in the ipipe-core-4.1.15-arm-8.patch.

2.) I am running Xenomai 3.0.3

3.) The Linux distro is Debian Jessie 8.7 (provided by Variscite and Linaro)

4.) The gcc version is 4.9.2, the libc versioni is 2.19.

5.) My configure options are:
./configure \
    --with-core=cobalt \
    --enable-smp \
    --enable-registry \
    --enable-pshared \
    --enable-dlopen-libs \
    --enable-sanity \
    --disable-tls \
    --enable-valgrind-client \
    --disable-assert

6.) Here are the uboot parameters (bootargs):
setenv videoargs 'if hdmidet; then setenv bootargs ${bootargs}
video=mxcfb0:dev=hdmi,1024x768M@60,if=RGB24; else setenv bootargs
${bootargs} video=mxcfb0:dev=ldb,bpp=32; fi; setenv bootargs
xenomai.supported_cpus=0x0000000f isolcpus=1 ${bootargs} vmalloc=400M
fbmem=32M fbcon=32M gpumem=32M galcore.contiguousSize=201326592
galcore.contiguousBase=0x00000000 video=mxcfb1:off video=mxcfb2:off
video=mxcfb3:off;'

7.) I have attached the kernel configuration.

I noticed that if I leave any cpus out of the supported cpus, the kernel
will hang (e.g. if I put a 7 instead of F).

I have read through all the documentation and have not found an answer.

Thanks in advance for any help.


Sincerely,

Jackson Jones

Stellartech Research Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 111084 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20170501/1e5c6f2d/attachment.obj>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-05-04  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-01 21:19 [Xenomai] Cpusets and the cpu_affinity test Jackson Jones
2017-05-02  9:20 ` Henning Schild
2017-05-02  9:23   ` Henning Schild
     [not found]     ` <CADXNiGX-djx=SXt3e_eojpGahVeSe47R9o3Dk6REYH5TFwqRhw@mail.gmail.com>
2017-05-03  9:24       ` Henning Schild
2017-05-04  0:04         ` Jackson Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.