[Xenomai] rt-socket-can "no device" problem with advantech PCM-26D2CA CAN board

2016-09-02 Thread Jack Lee
> Hello, > > Am 02.09.2016 um 10:19 schrieb Jack Lee: > >> Hello, > >> > >> Am 02.09.2016 um 09:23 schrieb Jack Lee: > >>>> Hello, > >>>> > >>>> Am 02.09.2016 um 08:23 schrieb Jack Lee: > >>&

[Xenomai] rt-socket-can "no device" problem with advantech PCM-26D2CA CANboard [CLOSED]

2016-09-05 Thread Jack Lee
0xc302: >case 0xc304: > nb_ports = pdev->device & 0x7; > offset = 0x400; > shift = 2; > break; 301c339,340 ret = rtcan_adv_pci_add_chan(pdev, channel, bar, offset, shift, > _dev); 311a351 > shift, --- -- Original --

[Xenomai] rt-socket-can "no device" problem with advantech PCM-26D2CA CANboard

2016-09-03 Thread Jack Lee
> Hello, > > Am 03.09.2016 um 02:54 schrieb Jack Lee: > ...snip... > > > I am back.-- > > I modified the source code and compiled the xeno_can_adv_pci.ko with > > "make CONFIG_XENO_...=m -C $(krnsrc) > > M=$(krnsrc)/drivers/xe

[Xenomai] rt-socket-can "no device" problem with advantech PCM-26D2CA CAN board

2016-09-02 Thread Jack Lee
> Hello, > > Am 02.09.2016 um 10:19 schrieb Jack Lee: > >> Hello, > >> > >> Am 02.09.2016 um 09:23 schrieb Jack Lee: > >>>> Hello, > >>>> > >>>> Am 02.09.2016 um 08:23 schrieb Jack Lee: > >>&

[Xenomai] rt-socket-can "no device" problem with advantech PCM-26D2CA CAN board

2016-09-02 Thread Jack Lee
Hi, everyone?? I am using the advantech PCM-26D2CA CAN board, its details can be found here at http://www.advantech.com/products/14263729-aaa3-4552-b990-99d16cdfee24/pcm-26d2ca/mod_9a1e9dbf-e22d-4770-a896-cecf40607084. The original driver works fine, but I need it to be realtime. rt-can

[Xenomai] rt-socket-can "no device" problem with advantech PCM-26D2CA CANboard

2016-09-03 Thread Jack Lee
> Hello, > > Am 03.09.2016 um 02:54 schrieb Jack Lee: > ...snip... > > > I am back.-- > > I modified the source code and compiled the xeno_can_adv_pci.ko with > > "make CONFIG_XENO_...=m -C $(krnsrc) > > M=$(krnsrc)/drivers/xe

[Xenomai] "Ctrl + C" makes system crashed when exitting from"cross-link"

2016-09-11 Thread Jack Lee
> -- Original -- > From: "Philippe Gerum";<r...@xenomai.org>; > Date: Sep 11, 2016 > To: "Jack Lee"<jackle...@foxmail.com>; "xenomai"<xenomai@xenomai.org>; > Subject: Re: [Xenomai] "Ctrl + C&q

[Xenomai] "Ctrl + C" makes system crashed when exitting from"cross-link"

2016-09-14 Thread Jack Lee
On 09/13/2016 09:00 PM, Philippe Gerum wrote: On 09/13/2016 11:13 AM, Jack Lee wrote: Sometimes, the system just dies absolutely, and I could only press the power key to power off and restart the computer. Sometimes, "cross-link" can not exit even using the "kill" command,

[Xenomai] "Ctrl + C" makes system crashed when exitting from"cross-link"

2016-09-13 Thread Jack Lee
> On 09/12/2016 05:30 AM, Jack Lee wrote: > >> -- Original -- > >> From: "Philippe Gerum";<r...@xenomai.org>; > >> Date: Sep 11, 2016 > >> To: "Jack Lee"<jackle...@foxmail.com>; "xenomai

[Xenomai] "Ctrl + C" makes system crashed when exitting from "cross-link"

2016-09-11 Thread Jack Lee
Hello, everyone! My computer is Advantech MIO-5251, (the J1900 version, http://www.advantech.com/products/bc6786b7-b69b-4fdd-9b63-79180dbd5dcb/mio-5251/mod_ff8534cc-e858-40ba-9bc2-386f19bfee4a) linux kernel version is 4.1.18, xenomai version is 3.0.2, system is lubuntu 16.04. I remove the

Re: [Xenomai] multiple definition of `xenomai_main'

2016-10-10 Thread Jack Lee
On 10/10/2016 02:56 PM, Philippe Gerum wrote: On 10/10/2016 04:10 AM, Shen Felix wrote: Hi, I am building Etherlab ethercat master application with RTDM interface. The steps I used as follows: step 1. Installing the Xenomai libraries and toolsA. get Xenomail release tarball:

Re: [Xenomai] Real-time Performance Improvement

2016-09-28 Thread Jack Lee
On 09/29/2016 02:57 AM, Philippe Gerum wrote: On 09/26/2016 05:08 AM, Jack Lee wrote: On 09/22/2016 02:43 PM, Jack Lee wrote: Hi, everyone, My board is advantech MIO-5251 (J1900 version), linux kernel version is 4.1.18, xenomai version is 3.0.3. As mentioned before, the real-time

[Xenomai] Something interesting about advantech board that may influence real-time performance

2016-10-14 Thread Jack Lee
I recently want to access GPIO of the advantech MIO-5251 board. I found that the GPIO was attached to iManager which was connect to the CPU by LPC. The iManager is an advantech device to manage the whole system, including temperature and fan "embedded controller ..." item was found in

[Xenomai] Linux 4.1.18 with xenomai 3.0.3, libraries build failed

2017-11-26 Thread Jack Lee
My board cpu is intel Atom N2800, OS is Lubuntu 17.10, gcc version is 7.2.0. Since the newest 3.0.6 cannot setup on my board, I tried the older version. It works now. But when I build the xenomai libraries, it encounters the following error: -r and -pie can not be used together. then I

[Xenomai] something wrong with drivers/xenomai/net/driver/r8169.c

2017-11-29 Thread Jack Lee
When I build Linux 4.9.51 with the latest xenomai-3-7a038dfad8d1e48b065542c8cc2e39f6b5ee4f82.tar.bz2 there get an error.   CC [M]  drivers/xenomai/net/drivers/r8169.o

[Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

2017-11-20 Thread Jack Lee
Hello, My board cpu is Intel Atom CPU N2800. I am using xenomai 3.0.6 with linux 4.9.51. I get the following error when compiling the kernel. Can anyone give me some help? Thanks! CC arch/x86/xenomai/machine.o In file included from arch/x86/xenomai/machine.c:22:0:

Re: [Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

2017-11-21 Thread Jack Lee
On 11/21/2017 04:01 PM, Henning Schild wrote: Am Tue, 21 Nov 2017 08:28:11 +0100 schrieb Leopold Palomo-Avellaneda <l...@alaxarxa.net>: On 21/11/17 06:52, Jack Lee wrote: Hello, My board cpu is Intel Atom CPU N2800. I am using xenomai 3.0.6 with linux 4.9.51. I get the following