* [Xenomai] Installing xenomai libraries ARM OMAP4460 @ 2015-09-19 14:58 vibnwis 2015-09-19 15:11 ` Gilles Chanteperdrix 0 siblings, 1 reply; 25+ messages in thread From: vibnwis @ 2015-09-19 14:58 UTC (permalink / raw) To: xenomai Hi All, Having installed Xenomai, I am wanting to test Xenomai. If I understood the guide correctly under the title "Installing the Xenomai libraries and tools", I would need to compile the libraries as well as the test apps. For that I need to do by executing the command below in the xenomai_root which in my case is xenomai_root=xenomai-3. However, the configure file is not found. I am totally confused of what have I done wrong? Any helps/advise would be appreciated. $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \ --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi- --with-core=cobalt Thank you Lim ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-19 14:58 [Xenomai] Installing xenomai libraries ARM OMAP4460 vibnwis @ 2015-09-19 15:11 ` Gilles Chanteperdrix 2015-09-19 15:14 ` Gilles Chanteperdrix 0 siblings, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-19 15:11 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sun, Sep 20, 2015 at 02:58:58AM +1200, vibnwis wrote: > Hi All, > > Having installed Xenomai, I am wanting to test Xenomai. > > If I understood the guide correctly under the title "Installing the Xenomai > libraries and tools", I would need to compile the libraries as well as the > test apps. For that I need to do by executing the command below in the > xenomai_root which in my case is xenomai_root=xenomai-3. However, the > configure file is not found. I am totally confused of what have I done > wrong? Any helps/advise would be appreciated. > > $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \ > --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi- --with-core=cobalt -march=armv4t works for ARM processors using the ARMv4T architecture revision. The cortex A9 in an omap4460 uses the ARMv7 architecture revision. So, you should pass -march=armv7 instead, or -mcpu=cortex-a9 the argument to the --host option should not include the leading dash. the variable xenomai_root should probably be an absolute path. And note that if you downloaded xenomai-3 from its git repository as opposed to its latest archive, you also need to call autoreconf -i to create the configure scrippt. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-19 15:11 ` Gilles Chanteperdrix @ 2015-09-19 15:14 ` Gilles Chanteperdrix 2015-09-20 0:09 ` vibnwis 0 siblings, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-19 15:14 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sat, Sep 19, 2015 at 05:11:06PM +0200, Gilles Chanteperdrix wrote: > On Sun, Sep 20, 2015 at 02:58:58AM +1200, vibnwis wrote: > > Hi All, > > > > Having installed Xenomai, I am wanting to test Xenomai. > > > > If I understood the guide correctly under the title "Installing the Xenomai > > libraries and tools", I would need to compile the libraries as well as the > > test apps. For that I need to do by executing the command below in the > > xenomai_root which in my case is xenomai_root=xenomai-3. However, the > > configure file is not found. I am totally confused of what have I done > > wrong? Any helps/advise would be appreciated. > > > > $xenomai_root/configure CFLAGS="-march=armv4t" LDFLAGS="-march=armv4t" \ > > --build=i686-pc-linux-gnu --host=arm-none-linux-gnueabi- --with-core=cobalt > > -march=armv4t works for ARM processors using the ARMv4T architecture > revision. The cortex A9 in an omap4460 uses the ARMv7 architecture > revision. So, you should pass -march=armv7 instead, or -mcpu=cortex-a9 Could also be -march=armv7-a > > the argument to the --host option should not include the leading > dash. > > the variable xenomai_root should probably be an absolute path. And > note that if you downloaded xenomai-3 from its git repository as > opposed to its latest archive, you also need to call autoreconf -i > to create the configure scrippt. If the toolchain you use has no support for floating point, you probably also want to use a toolchain with floating point support, such as the Denx ELDK 5 toolchain for the armv7a-hf architecture, or the Linaro toolchain. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-19 15:14 ` Gilles Chanteperdrix @ 2015-09-20 0:09 ` vibnwis 2015-09-20 8:04 ` vibnwis 2015-09-20 8:07 ` Gilles Chanteperdrix 0 siblings, 2 replies; 25+ messages in thread From: vibnwis @ 2015-09-20 0:09 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai I downloaded ipipe-ipipe-core-3.18.20-arm-5 and tried to run ./configure, file not found as well. In addition, I checked in the ./scripts directory, none of the configure or autoreconf exist. It is not the right source I have downloaded? Any comments please. ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 0:09 ` vibnwis @ 2015-09-20 8:04 ` vibnwis 2015-09-20 8:11 ` Gilles Chanteperdrix 2015-09-20 8:17 ` Gilles Chanteperdrix 2015-09-20 8:07 ` Gilles Chanteperdrix 1 sibling, 2 replies; 25+ messages in thread From: vibnwis @ 2015-09-20 8:04 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Thanks, I managed to get .configure by executing autoreconf -i. However, I am facing another problem. $xenomai_root/configure CC=arm-linux-gnueabihf- CFLAGS="-march=armv7-a -mfpu3=vfp" LDFLAGS="-march=armv7-a -mfpu=vfp3" --build=i686-pc-linux-gnu --host=${CC} --with-core=cobalt checking whether we build for Cobalt or Mercury core... cobalt checking build system type... i686-pc-linux-gnu checking host system type... Invalid configuration `/home/qws/linaro-gcc/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-': machine `/home/qws/linaro-gcc/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf' not recognized configure: error: /bin/bash config/config.sub /home/qws/linaro-gcc/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf- failed I have my Linaro toolchain set as CC=/home/qws/linaro-gcc/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf- and by setting the --host=${CC}, the configure refuse to recognise it. I tried without the suffix. See below. qws@qws-MacBookPro:~/PandaBoard-ee/xenomai-3$ $xenomai_root/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 checking whether we build for Cobalt or Mercury core... cobalt checking build system type... i686-pc-linux-gnu checking host system type... Invalid configuration `arm-linux-gnueabihf-': machine `arm-linux-gnueabihf' not recognized configure: error: /bin/bash config/config.sub arm-linux-gnueabihf- failed Any idea how to set the --host for Linaro toolchain? Thank in advance. On 20 September 2015 at 12:09, vibnwis <vibnwis@gmail.com> wrote: > I downloaded ipipe-ipipe-core-3.18.20-arm-5 and tried to run ./configure, > file not found as well. In addition, I checked in the ./scripts directory, > none of the configure or autoreconf exist. It is not the right source I > have downloaded? Any comments please. > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 8:04 ` vibnwis @ 2015-09-20 8:11 ` Gilles Chanteperdrix 2015-09-20 12:02 ` vibnwis 2015-09-20 8:17 ` Gilles Chanteperdrix 1 sibling, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-20 8:11 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sun, Sep 20, 2015 at 08:04:31PM +1200, vibnwis wrote: > Thanks, I managed to get .configure by executing autoreconf -i. However, I > am facing another problem. > > $xenomai_root/configure CC=arm-linux-gnueabihf- CFLAGS="-march=armv7-a > -mfpu3=vfp" LDFLAGS="-march=armv7-a -mfpu=vfp3" --build=i686-pc-linux-gnu > --host=${CC} --with-core=cobalt > (...) > Any idea how to set the --host for Linaro toolchain? My answer to your first mail already contained the answer to that question. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 8:11 ` Gilles Chanteperdrix @ 2015-09-20 12:02 ` vibnwis 0 siblings, 0 replies; 25+ messages in thread From: vibnwis @ 2015-09-20 12:02 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi Gilles and all, Having had bad experience with Linaro toolchain, arm-linux-gnueabihf-, I now change to arm-none-linux-. Unfortunately, I still get the same error messages. checking for arm-none-linux-gcc... arm-none-linux-gnueabi- checking whether the C compiler works... no configure: error: in `/home/qws/PandaBoard-ee': configure: error: C compiler cannot create executables I have googled for hours, but couldn't get anything positive. Please help. Thank you On 20 September 2015 at 20:11, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Sun, Sep 20, 2015 at 08:04:31PM +1200, vibnwis wrote: > > Thanks, I managed to get .configure by executing autoreconf -i. However, > I > > am facing another problem. > > > > $xenomai_root/configure CC=arm-linux-gnueabihf- CFLAGS="-march=armv7-a > > -mfpu3=vfp" LDFLAGS="-march=armv7-a -mfpu=vfp3" --build=i686-pc-linux-gnu > > --host=${CC} --with-core=cobalt > > (...) > > Any idea how to set the --host for Linaro toolchain? > > My answer to your first mail already contained the answer to that > question. > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 8:04 ` vibnwis 2015-09-20 8:11 ` Gilles Chanteperdrix @ 2015-09-20 8:17 ` Gilles Chanteperdrix 2015-09-20 9:39 ` vibnwis 1 sibling, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-20 8:17 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sun, Sep 20, 2015 at 08:04:31PM +1200, vibnwis wrote: > Any idea how to set the --host for Linaro toolchain? Actually, this is documented in Xenomai build instructions: https://xenomai.org/installing-xenomai-3-x/#Cross-compilation -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 8:17 ` Gilles Chanteperdrix @ 2015-09-20 9:39 ` vibnwis 2015-09-20 14:14 ` Gilles Chanteperdrix 2015-09-20 17:03 ` Gilles Chanteperdrix 0 siblings, 2 replies; 25+ messages in thread From: vibnwis @ 2015-09-20 9:39 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai I got the ,/configure to proceed a step further.It still complains that checking whether the C compiler works... no configure: error: in `/home/qws/PandaBoard-ee/xenomai-3': configure: error: C compiler cannot create executables See `config.log' for more details configure:2960: arm-linux-gnueabihf- --version >&5 /home/qws/PandaBoard-ee/xenomai-3/configure: line 2962: arm-linux-gnueabihf-: command not found configure:2971: $? = 127 configure:2960: arm-linux-gnueabihf- -v >&5 /home/qws/PandaBoard-ee/xenomai-3/configure: line 2962: arm-linux-gnueabihf-: command not found configure:2971: $? = 127 configure:2960: arm-linux-gnueabihf- -V >&5 /home/qws/PandaBoard-ee/xenomai-3/configure: line 2962: arm-linux-gnueabihf-: command not found configure:2971: $? = 127 configure:2960: arm-linux-gnueabihf- -qversion >&5 /home/qws/PandaBoard-ee/xenomai-3/configure: line 2962: arm-linux-gnueabihf-: command not found configure:2971: $? = 127 configure:2991: checking whether the C compiler works configure:3013: arm-linux-gnueabihf- -march=armv7-a -mfpu=vfp3 -march=armv7-a -mfpu=vfp3 conftest.c >&5 /home/qws/PandaBoard-ee/xenomai-3/configure: line 3015: arm-linux-gnueabihf-: command not found configure:3017: $? = 127 configure:3055: result: no Any comments would be very appreciated, please? Thank you On 20 September 2015 at 20:17, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Sun, Sep 20, 2015 at 08:04:31PM +1200, vibnwis wrote: > > Any idea how to set the --host for Linaro toolchain? > > Actually, this is documented in Xenomai build instructions: > https://xenomai.org/installing-xenomai-3-x/#Cross-compilation > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 9:39 ` vibnwis @ 2015-09-20 14:14 ` Gilles Chanteperdrix 2015-09-20 17:03 ` Gilles Chanteperdrix 1 sibling, 0 replies; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-20 14:14 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sun, Sep 20, 2015 at 09:39:08PM +1200, vibnwis wrote: > I got the ,/configure to proceed a step further.It still complains that > checking whether the C compiler works... no > configure: error: in `/home/qws/PandaBoard-ee/xenomai-3': > configure: error: C compiler cannot create executables > See `config.log' for more details > > (...) > > Any comments would be very appreciated, please? Once again, please read: http://xenomai.org/installing-xenomai-3-x/#Cross-compilation Or if you are looking for more information, see: https://www.sourceware.org/autobook/autobook/autobook_139.html#Cross-Compilation -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 9:39 ` vibnwis 2015-09-20 14:14 ` Gilles Chanteperdrix @ 2015-09-20 17:03 ` Gilles Chanteperdrix 2015-09-21 10:16 ` vibnwis 1 sibling, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-20 17:03 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sun, Sep 20, 2015 at 09:39:08PM +1200, vibnwis wrote: > I got the ,/configure to proceed a step further.It still complains that > checking whether the C compiler works... no > configure: error: in `/home/qws/PandaBoard-ee/xenomai-3': > configure: error: C compiler cannot create executables > See `config.log' for more details > > (...) > > Any comments would be very appreciated, please? Sorry, sent the mail to the wrong address. Once again, please read: http://xenomai.org/installing-xenomai-3-x/#Cross-compilation Or if you are looking for more information, see: https://www.sourceware.org/autobook/autobook/autobook_139.html#Cross-Compilation -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 17:03 ` Gilles Chanteperdrix @ 2015-09-21 10:16 ` vibnwis 2015-09-21 14:46 ` Gilles Chanteperdrix 0 siblings, 1 reply; 25+ messages in thread From: vibnwis @ 2015-09-21 10:16 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi Gilles, I managed to get autoreconf -if to work, and advanced to compiling the xenomai. However, yet not to the end. I got the following error. Then I switch xenomai-gch. The same error as well. Hence, I changed the CC to Ubuntu arm-linux-gnueabihf package. The same error too. The errors are as follow. checking for ARM machine... configure: error: Selecting a machine with --enable-arm-mach is mandatory and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf if I added --enable-arm-mach, I get error messages "checking for ARM machine... configure: error: Invalid machine selected: "yes"". Googles don't seem to get any positive resolution. Appreciate any comments. Thank you On 21 September 2015 at 05:03, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Sun, Sep 20, 2015 at 09:39:08PM +1200, vibnwis wrote: > > I got the ,/configure to proceed a step further.It still complains that > > checking whether the C compiler works... no > > configure: error: in `/home/qws/PandaBoard-ee/xenomai-3': > > configure: error: C compiler cannot create executables > > See `config.log' for more details > > > > (...) > > > > Any comments would be very appreciated, please? > > Sorry, sent the mail to the wrong address. > > Once again, please read: > http://xenomai.org/installing-xenomai-3-x/#Cross-compilation > > Or if you are looking for more information, see: > > https://www.sourceware.org/autobook/autobook/autobook_139.html#Cross-Compilation > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-21 10:16 ` vibnwis @ 2015-09-21 14:46 ` Gilles Chanteperdrix 2015-09-22 2:13 ` vibnwis 0 siblings, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-21 14:46 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: > Hi Gilles, > > I managed to get autoreconf -if to work, and advanced to compiling the > xenomai. However, yet not to the end. I got the following error. Then I > switch xenomai-gch. The same error as well. Hence, I changed the CC to > Ubuntu arm-linux-gnueabihf package. The same error too. The errors are as > follow. > > checking for ARM machine... configure: error: Selecting a machine with > --enable-arm-mach is mandatory > > and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf > > if I added --enable-arm-mach, I get error messages "checking for ARM > machine... configure: error: Invalid machine selected: "yes"". > > Googles don't seem to get any positive resolution. Appreciate any > comments. You are trying to compile an outdated version of Xenomai, Xenomai version 2.5 or earlier. You can have access to the installation instructions for that particular version in the sources (the file is named README.INSTALL at the top of the sources tree), or on the website, using the URL: http://xenomai.org/documentation/xenomai-2.5/README.INSTALL for instance, if installing the version 2.5. Replace 2.5 with the version you are actually installing. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-21 14:46 ` Gilles Chanteperdrix @ 2015-09-22 2:13 ` vibnwis 2015-09-22 2:21 ` Gilles Chanteperdrix 2015-09-22 2:28 ` vibnwis 0 siblings, 2 replies; 25+ messages in thread From: vibnwis @ 2015-09-22 2:13 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai On 22 September 2015 at 02:46, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: > > Hi Gilles, > > > > I managed to get autoreconf -if to work, and advanced to compiling the > > xenomai. However, yet not to the end. I got the following error. Then I > > switch xenomai-gch. The same error as well. Hence, I changed the CC to > > Ubuntu arm-linux-gnueabihf package. The same error too. The errors are as > > follow. > > > > checking for ARM machine... configure: error: Selecting a machine with > > --enable-arm-mach is mandatory > > > > and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" > > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp > > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf > > > > if I added --enable-arm-mach, I get error messages "checking for ARM > > machine... configure: error: Invalid machine selected: "yes"". > > > > Googles don't seem to get any positive resolution. Appreciate any > > comments. > > You are trying to compile an outdated version of Xenomai, Xenomai > version 2.5 or earlier. You can have access to the installation > instructions for that particular version in the sources (the file is > named README.INSTALL at the top of the sources tree), or on the > website, using the URL: > > http://xenomai.org/documentation/xenomai-2.5/README.INSTALL > > for instance, if installing the version 2.5. Replace 2.5 with the > version you are actually installing. > I use Xenomai-3 of which I use patches namely kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch patched the kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a configure file and finally make it xenomai libs and test apps. Under the installed is has two directory, dev and usr. Under the usr/ it has xenomai/bin, etc. Have I missed out anything? in terms getting it the test apps as well as the related device files to work. > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 2:13 ` vibnwis @ 2015-09-22 2:21 ` Gilles Chanteperdrix 2015-09-22 2:31 ` vibnwis 2015-09-22 2:28 ` vibnwis 1 sibling, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-22 2:21 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Tue, Sep 22, 2015 at 02:13:55PM +1200, vibnwis wrote: > On 22 September 2015 at 02:46, Gilles Chanteperdrix < > gilles.chanteperdrix@xenomai.org> wrote: > > > On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: > > > Hi Gilles, > > > > > > I managed to get autoreconf -if to work, and advanced to compiling the > > > xenomai. However, yet not to the end. I got the following error. Then I > > > switch xenomai-gch. The same error as well. Hence, I changed the CC to > > > Ubuntu arm-linux-gnueabihf package. The same error too. The errors are as > > > follow. > > > > > > checking for ARM machine... configure: error: Selecting a machine with > > > --enable-arm-mach is mandatory > > > > > > and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" > > > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp > > > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf > > > > > > if I added --enable-arm-mach, I get error messages "checking for ARM > > > machine... configure: error: Invalid machine selected: "yes"". > > > > > > Googles don't seem to get any positive resolution. Appreciate any > > > comments. > > > > You are trying to compile an outdated version of Xenomai, Xenomai > > version 2.5 or earlier. You can have access to the installation > > instructions for that particular version in the sources (the file is > > named README.INSTALL at the top of the sources tree), or on the > > website, using the URL: > > > > http://xenomai.org/documentation/xenomai-2.5/README.INSTALL > > > > for instance, if installing the version 2.5. Replace 2.5 with the > > version you are actually installing. > > > > I use Xenomai-3 of which I use patches namely > kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch patched the > kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a configure > file and finally make it xenomai libs and test apps. Under the installed is > has two directory, dev and usr. Under the usr/ it has xenomai/bin, etc. So, you got passed the error "Selecting a machine with --enable-arm-mach is mandatory" finally? It is a bit hard to follow your progress. > > Have I missed out anything? in terms getting it the test apps as well as > the related device files to work. To see if xenomai is installed correctly, see: http://xenomai.org/installing-xenomai-3-x/#Testing_the_installation For the device files, see Lennart answer here: http://xenomai.org/pipermail/xenomai/2015-September/035111.html -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 2:21 ` Gilles Chanteperdrix @ 2015-09-22 2:31 ` vibnwis 2015-09-22 3:51 ` Gilles Chanteperdrix 0 siblings, 1 reply; 25+ messages in thread From: vibnwis @ 2015-09-22 2:31 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai On 22 September 2015 at 14:21, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Tue, Sep 22, 2015 at 02:13:55PM +1200, vibnwis wrote: > > On 22 September 2015 at 02:46, Gilles Chanteperdrix < > > gilles.chanteperdrix@xenomai.org> wrote: > > > > > On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: > > > > Hi Gilles, > > > > > > > > I managed to get autoreconf -if to work, and advanced to compiling > the > > > > xenomai. However, yet not to the end. I got the following error. > Then I > > > > switch xenomai-gch. The same error as well. Hence, I changed the CC > to > > > > Ubuntu arm-linux-gnueabihf package. The same error too. The errors > are as > > > > follow. > > > > > > > > checking for ARM machine... configure: error: Selecting a machine > with > > > > --enable-arm-mach is mandatory > > > > > > > > and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" > > > > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp > > > > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf > > > > > > > > if I added --enable-arm-mach, I get error messages "checking for ARM > > > > machine... configure: error: Invalid machine selected: "yes"". > > > > > > > > Googles don't seem to get any positive resolution. Appreciate any > > > > comments. > > > > > > You are trying to compile an outdated version of Xenomai, Xenomai > > > version 2.5 or earlier. You can have access to the installation > > > instructions for that particular version in the sources (the file is > > > named README.INSTALL at the top of the sources tree), or on the > > > website, using the URL: > > > > > > http://xenomai.org/documentation/xenomai-2.5/README.INSTALL > > > > > > for instance, if installing the version 2.5. Replace 2.5 with the > > > version you are actually installing. > > > > > > > I use Xenomai-3 of which I use patches namely > > kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch patched the > > kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a > configure > > file and finally make it xenomai libs and test apps. Under the installed > is > > has two directory, dev and usr. Under the usr/ it has xenomai/bin, etc. > > So, you got passed the error "Selecting a machine with --enable-arm-mach > is mandatory" finally? It is a bit hard to follow your progress. > > Yes, I looked into configure.in, I found, it has only omap3 not omap4. By using --enable-arm-mach=omap3, it compiled to the end. But I could not get the latency to work as explained in the other discussion entitled Xenomai Tests. > > > Have I missed out anything? in terms getting it the test apps as well as > > the related device files to work. > > To see if xenomai is installed correctly, see: > http://xenomai.org/installing-xenomai-3-x/#Testing_the_installation > > For the device files, see Lennart answer here: > http://xenomai.org/pipermail/xenomai/2015-September/035111.html > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 2:31 ` vibnwis @ 2015-09-22 3:51 ` Gilles Chanteperdrix 2015-09-22 6:18 ` vibnwis 0 siblings, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-22 3:51 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Tue, Sep 22, 2015 at 02:31:40PM +1200, vibnwis wrote: > On 22 September 2015 at 14:21, Gilles Chanteperdrix < > gilles.chanteperdrix@xenomai.org> wrote: > > > On Tue, Sep 22, 2015 at 02:13:55PM +1200, vibnwis wrote: > > > On 22 September 2015 at 02:46, Gilles Chanteperdrix < > > > gilles.chanteperdrix@xenomai.org> wrote: > > > > > > > On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: > > > > > Hi Gilles, > > > > > > > > > > I managed to get autoreconf -if to work, and advanced to compiling > > the > > > > > xenomai. However, yet not to the end. I got the following error. > > Then I > > > > > switch xenomai-gch. The same error as well. Hence, I changed the CC > > to > > > > > Ubuntu arm-linux-gnueabihf package. The same error too. The errors > > are as > > > > > follow. > > > > > > > > > > checking for ARM machine... configure: error: Selecting a machine > > with > > > > > --enable-arm-mach is mandatory > > > > > > > > > > and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" > > > > > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp > > > > > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf > > > > > > > > > > if I added --enable-arm-mach, I get error messages "checking for ARM > > > > > machine... configure: error: Invalid machine selected: "yes"". > > > > > > > > > > Googles don't seem to get any positive resolution. Appreciate any > > > > > comments. > > > > > > > > You are trying to compile an outdated version of Xenomai, Xenomai > > > > version 2.5 or earlier. You can have access to the installation > > > > instructions for that particular version in the sources (the file is > > > > named README.INSTALL at the top of the sources tree), or on the > > > > website, using the URL: > > > > > > > > http://xenomai.org/documentation/xenomai-2.5/README.INSTALL > > > > > > > > for instance, if installing the version 2.5. Replace 2.5 with the > > > > version you are actually installing. > > > > > > > > > > I use Xenomai-3 of which I use patches namely > > > kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch patched the > > > kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a > > configure > > > file and finally make it xenomai libs and test apps. Under the installed > > is > > > has two directory, dev and usr. Under the usr/ it has xenomai/bin, etc. > > > > So, you got passed the error "Selecting a machine with --enable-arm-mach > > is mandatory" finally? It is a bit hard to follow your progress. > > > > Yes, I looked into configure.in, I found, it has only omap3 not omap4. By > using --enable-arm-mach=omap3, it compiled to the end. > But I could not get the latency to work as explained in the other > discussion entitled Xenomai Tests. So, you are not compiling xenomai-3. xenomai-3 does not have an --enable-arm-mach option. This contradicts what you said above. But then I do not see how you could compile the I-pipe patch for Linux 3.18, because Xenomai 2.5 or earlier do not compile with Linux 3.18. This all looks like nonsense to me. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 3:51 ` Gilles Chanteperdrix @ 2015-09-22 6:18 ` vibnwis 0 siblings, 0 replies; 25+ messages in thread From: vibnwis @ 2015-09-22 6:18 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai I had tried compiling 4 versions of xenomai at on the period of time. xenomai-gch on Pandaboard, xenomai-gch on i686 and xenomai-3 on i686 and ipipe-core on i686 because of the latency and dev issues. The xenomai-gch which I presumed It was the latest You are right about that. Apologies for the confusion. On 22 September 2015 at 15:51, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Tue, Sep 22, 2015 at 02:31:40PM +1200, vibnwis wrote: > > On 22 September 2015 at 14:21, Gilles Chanteperdrix < > > gilles.chanteperdrix@xenomai.org> wrote: > > > > > On Tue, Sep 22, 2015 at 02:13:55PM +1200, vibnwis wrote: > > > > On 22 September 2015 at 02:46, Gilles Chanteperdrix < > > > > gilles.chanteperdrix@xenomai.org> wrote: > > > > > > > > > On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: > > > > > > Hi Gilles, > > > > > > > > > > > > I managed to get autoreconf -if to work, and advanced to > compiling > > > the > > > > > > xenomai. However, yet not to the end. I got the following error. > > > Then I > > > > > > switch xenomai-gch. The same error as well. Hence, I changed the > CC > > > to > > > > > > Ubuntu arm-linux-gnueabihf package. The same error too. The > errors > > > are as > > > > > > follow. > > > > > > > > > > > > checking for ARM machine... configure: error: Selecting a machine > > > with > > > > > > --enable-arm-mach is mandatory > > > > > > > > > > > > and the command is ./configure CFLAGS="-march=armv7-a > -mfpu=vfp3" > > > > > > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt > --enable-smp > > > > > > --enable-pshared --build=x86_64-linux-gnu > --host=arm-linux-gnueabihf > > > > > > > > > > > > if I added --enable-arm-mach, I get error messages "checking for > ARM > > > > > > machine... configure: error: Invalid machine selected: "yes"". > > > > > > > > > > > > Googles don't seem to get any positive resolution. Appreciate any > > > > > > comments. > > > > > > > > > > You are trying to compile an outdated version of Xenomai, Xenomai > > > > > version 2.5 or earlier. You can have access to the installation > > > > > instructions for that particular version in the sources (the file > is > > > > > named README.INSTALL at the top of the sources tree), or on the > > > > > website, using the URL: > > > > > > > > > > http://xenomai.org/documentation/xenomai-2.5/README.INSTALL > > > > > > > > > > for instance, if installing the version 2.5. Replace 2.5 with the > > > > > version you are actually installing. > > > > > > > > > > > > > I use Xenomai-3 of which I use patches namely > > > > kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch > patched the > > > > kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a > > > configure > > > > file and finally make it xenomai libs and test apps. Under the > installed > > > is > > > > has two directory, dev and usr. Under the usr/ it has xenomai/bin, > etc. > > > > > > So, you got passed the error "Selecting a machine with > --enable-arm-mach > > > is mandatory" finally? It is a bit hard to follow your progress. > > > > > > Yes, I looked into configure.in, I found, it has only omap3 not > omap4. By > > using --enable-arm-mach=omap3, it compiled to the end. > > But I could not get the latency to work as explained in the other > > discussion entitled Xenomai Tests. > > So, you are not compiling xenomai-3. xenomai-3 does not have an > --enable-arm-mach option. This contradicts what you said > above. But then I do not see how you could compile the I-pipe patch > for Linux 3.18, because Xenomai 2.5 or earlier do not compile with > Linux 3.18. This all looks like nonsense to me. > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 2:13 ` vibnwis 2015-09-22 2:21 ` Gilles Chanteperdrix @ 2015-09-22 2:28 ` vibnwis 2015-09-22 3:52 ` Gilles Chanteperdrix 1 sibling, 1 reply; 25+ messages in thread From: vibnwis @ 2015-09-22 2:28 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Having no lucks, I switched it to ipipe-ipipe-core-3.18.20-arm-5.tar.bz2 which I presume it has all the patches required. One thing puzzled me when advanced to the second command below. I didn't see the Cobalt listed in the menuconfig. Is it right? but after succeeded compiling it, the cat include/generated/utsrelease.h | awk '{print $3}' | sed 's/\"//g' show the kernel version is like 3.18.20-ipipe. Can anyone explain when Cobalt is not listed in menuconfig, please? After installing kernel 3.18.20-ipipe, dmesg | grep -i xenomai show nothing, but dmesg | grep -i ipipe get the following. I had t assume it is working now. With ipipe-core-3.18.20, how would I produce xenomai/ipipe libs and test apps? Appreciate any comments please? [ 0.000000] Linux version 3.18.20-ipipe (qws@qws-MacBookPro) (gcc version 4.5 [ 0.623758] 3.18.20-ipipe #1 Not tainted [ 0.623996] [<c00d3194>] __ipipe_do_sync_stage+0x288/0x2d0 [ 0.624012] [<c0008634>] __ipipe_grab_irq+0x5c/0x70 [ 0.624329] CPU: 1 PID: 22 Comm: kblockd Not tainted 3.18.20-ipipe #1 [ 0.624474] [<c00844b4>] (trace_hardirqs_on_caller) from [<c05b77f4>] (__ipi) [ 0.624502] [<c05b77f4>] (__ipipe_fast_svc_irq_exit) from [<c0313648>] (_cle) [ 0.727939] Switched to clocksource ipipe_tsc 1. make CROSS_COMPILE=${CC} ARCH=arm omap2plus_defconfig 2. make CROSS_COMPILE=${CC} ARCH=arm menuconfig On 22 September 2015 at 14:13, vibnwis <vibnwis@gmail.com> wrote: > > > On 22 September 2015 at 02:46, Gilles Chanteperdrix < > gilles.chanteperdrix@xenomai.org> wrote: > >> On Mon, Sep 21, 2015 at 10:16:53PM +1200, vibnwis wrote: >> > Hi Gilles, >> > >> > I managed to get autoreconf -if to work, and advanced to compiling the >> > xenomai. However, yet not to the end. I got the following error. Then I >> > switch xenomai-gch. The same error as well. Hence, I changed the CC to >> > Ubuntu arm-linux-gnueabihf package. The same error too. The errors are >> as >> > follow. >> > >> > checking for ARM machine... configure: error: Selecting a machine with >> > --enable-arm-mach is mandatory >> > >> > and the command is ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" >> > LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp >> > --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf >> > >> > if I added --enable-arm-mach, I get error messages "checking for ARM >> > machine... configure: error: Invalid machine selected: "yes"". >> > >> > Googles don't seem to get any positive resolution. Appreciate any >> > comments. >> >> You are trying to compile an outdated version of Xenomai, Xenomai >> version 2.5 or earlier. You can have access to the installation >> instructions for that particular version in the sources (the file is >> named README.INSTALL at the top of the sources tree), or on the >> website, using the URL: >> >> http://xenomai.org/documentation/xenomai-2.5/README.INSTALL >> >> for instance, if installing the version 2.5. Replace 2.5 with the >> version you are actually installing. >> > > I use Xenomai-3 of which I use patches namely > kernel/cobalt/arch/arm/patches/ipipe-core-3.18.12-arm-4.patch patched the > kernel 3.18.12. And under Xenomai-3, I autoreconf -fi to create a configure > file and finally make it xenomai libs and test apps. Under the installed is > has two directory, dev and usr. Under the usr/ it has xenomai/bin, etc. > > Have I missed out anything? in terms getting it the test apps as well as > the related device files to work. > > >> -- >> Gilles. >> https://click-hack.org >> > > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 2:28 ` vibnwis @ 2015-09-22 3:52 ` Gilles Chanteperdrix 2015-09-22 5:55 ` vibnwis 0 siblings, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-22 3:52 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Tue, Sep 22, 2015 at 02:28:00PM +1200, vibnwis wrote: > Having no lucks, I switched it to ipipe-ipipe-core-3.18.20-arm-5.tar.bz2 > which I presume it has all the patches required. No it does not. See: http://xenomai.org/installing-xenomai-3-x/#Preparing_the_Cobalt_kernel -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-22 3:52 ` Gilles Chanteperdrix @ 2015-09-22 5:55 ` vibnwis 0 siblings, 0 replies; 25+ messages in thread From: vibnwis @ 2015-09-22 5:55 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai This is the ipipe-ipipe-core-3.18.20-arm-5. By typing make kernelversion, I got 3.18.20 qws@qws-MacBookPro:~/PandaBoard-2/ipipe-ipipe-core-3.18.20-arm-5$ make kernelversion 3.18.20 >From my observation in the menuconfig, it has ipipe integrated. And on target, uname -r return 3.18.20-ipipe On 22 September 2015 at 15:52, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Tue, Sep 22, 2015 at 02:28:00PM +1200, vibnwis wrote: > > Having no lucks, I switched it to ipipe-ipipe-core-3.18.20-arm-5.tar.bz2 > > which I presume it has all the patches required. > > No it does not. See: > http://xenomai.org/installing-xenomai-3-x/#Preparing_the_Cobalt_kernel > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 0:09 ` vibnwis 2015-09-20 8:04 ` vibnwis @ 2015-09-20 8:07 ` Gilles Chanteperdrix 2015-09-21 12:59 ` vibnwis 1 sibling, 1 reply; 25+ messages in thread From: Gilles Chanteperdrix @ 2015-09-20 8:07 UTC (permalink / raw) To: vibnwis; +Cc: xenomai On Sun, Sep 20, 2015 at 12:09:17PM +1200, vibnwis wrote: > I downloaded ipipe-ipipe-core-3.18.20-arm-5 and tried to run ./configure, > file not found as well. In addition, I checked in the ./scripts directory, > none of the configure or autoreconf exist. It is not the right source I > have downloaded? Any comments please. The configure script may be found in Xenomai sources tarball, it is not added by the I-pipe patch. You will need autoreconf if installing xenomai from a git repository checkout. autoreconf is not part of Xenomai sources distribution, it is a tool which should be provided by your distribution. For other requirements, see: http://xenomai.org/installing-xenomai-3-x/#Installing_the_Xenomai_libraries_and_tools If you have no experience building packages from sources using the autotools, I suggest you look for general information about that before starting and compiling xenomai, and asking question to this list every time something is missing. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-20 8:07 ` Gilles Chanteperdrix @ 2015-09-21 12:59 ` vibnwis 2015-09-21 13:33 ` vibnwis 0 siblings, 1 reply; 25+ messages in thread From: vibnwis @ 2015-09-21 12:59 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Hi Gilles, I have switched to xenomai-gch and natively compiling on Pandaboard. See the command below. The --build, --host have no effect since it is not cross-compiling. However, I face a problem here, it complains that "checking for ARM machine... configure: error: Invalid machine selected: "armv7" ". I have tried arm, arm-linux, arm-linux-gnueabihf, and blank. None of them work. Appreciate any comments please. ./configure --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --with-core=cobalt --enable-smp --enable-pshared --enable-arm-mach=armv7 On 20 September 2015 at 20:07, Gilles Chanteperdrix < gilles.chanteperdrix@xenomai.org> wrote: > On Sun, Sep 20, 2015 at 12:09:17PM +1200, vibnwis wrote: > > I downloaded ipipe-ipipe-core-3.18.20-arm-5 and tried to run ./configure, > > file not found as well. In addition, I checked in the ./scripts > directory, > > none of the configure or autoreconf exist. It is not the right source I > > have downloaded? Any comments please. > > The configure script may be found in Xenomai sources tarball, it is > not added by the I-pipe patch. You will need autoreconf if > installing xenomai from a git repository checkout. autoreconf is not > part of Xenomai sources distribution, it is a tool which should be > provided by your distribution. For other requirements, see: > > http://xenomai.org/installing-xenomai-3-x/#Installing_the_Xenomai_libraries_and_tools > > If you have no experience building packages from sources using the > autotools, I suggest you look for general information about that > before starting and compiling xenomai, and asking question to this > list every time something is missing. > > -- > Gilles. > https://click-hack.org > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-21 12:59 ` vibnwis @ 2015-09-21 13:33 ` vibnwis 2015-09-21 13:41 ` vibnwis 0 siblings, 1 reply; 25+ messages in thread From: vibnwis @ 2015-09-21 13:33 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai Further search found that in configure.in, it has only omap3 defined. I wonder if anyone know how would it work on omap4460 pandaboard? On 22 September 2015 at 00:59, vibnwis <vibnwis@gmail.com> wrote: > Hi Gilles, > I have switched to xenomai-gch and natively compiling on Pandaboard. See > the command below. The --build, --host have no effect since it is not > cross-compiling. However, I face a problem here, it complains that > "checking for ARM machine... configure: error: Invalid machine selected: > "armv7" > ". I have tried arm, arm-linux, arm-linux-gnueabihf, and blank. None of > them work. Appreciate any comments please. > > ./configure --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf > --with-core=cobalt --enable-smp --enable-pshared --enable-arm-mach=armv7 > > On 20 September 2015 at 20:07, Gilles Chanteperdrix < > gilles.chanteperdrix@xenomai.org> wrote: > >> On Sun, Sep 20, 2015 at 12:09:17PM +1200, vibnwis wrote: >> > I downloaded ipipe-ipipe-core-3.18.20-arm-5 and tried to run >> ./configure, >> > file not found as well. In addition, I checked in the ./scripts >> directory, >> > none of the configure or autoreconf exist. It is not the right source I >> > have downloaded? Any comments please. >> >> The configure script may be found in Xenomai sources tarball, it is >> not added by the I-pipe patch. You will need autoreconf if >> installing xenomai from a git repository checkout. autoreconf is not >> part of Xenomai sources distribution, it is a tool which should be >> provided by your distribution. For other requirements, see: >> >> http://xenomai.org/installing-xenomai-3-x/#Installing_the_Xenomai_libraries_and_tools >> >> If you have no experience building packages from sources using the >> autotools, I suggest you look for general information about that >> before starting and compiling xenomai, and asking question to this >> list every time something is missing. >> >> -- >> Gilles. >> https://click-hack.org >> > > ^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: [Xenomai] Installing xenomai libraries ARM OMAP4460 2015-09-21 13:33 ` vibnwis @ 2015-09-21 13:41 ` vibnwis 0 siblings, 0 replies; 25+ messages in thread From: vibnwis @ 2015-09-21 13:41 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai I managed to proceed by setting --enable-arm-mach=omap3 even though my board is of omap4460. ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" LDFLAGS="-march=armv7-a -mfpu=vfp3" --with-core=cobalt --enable-smp --enable-pshared --build=x86_64-linux-gnu --host=arm-linux-gnueabihf --enable-arm-mach=omap3 However, by executing make install, it ended with Makefile:393: recipe for target 'librtdk_la-assert_context.lo' failed make[2]: *** [librtdk_la-assert_context.lo] Error 1 make[2]: Leaving directory '/home/qws/PandaBoard-2/xenomai-gch/src/rtdk' Makefile:304: recipe for target 'install-recursive' failed make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory '/home/qws/PandaBoard-2/xenomai-gch/src' Makefile:327: recipe for target 'install-recursive' failed make: *** [install-recursive] Error 1 Appreciate any comments, please? Thank you On 22 September 2015 at 01:33, vibnwis <vibnwis@gmail.com> wrote: > Further search found that in configure.in, it has only omap3 defined. I > wonder if anyone know how would it work on omap4460 pandaboard? > > On 22 September 2015 at 00:59, vibnwis <vibnwis@gmail.com> wrote: > >> Hi Gilles, >> I have switched to xenomai-gch and natively compiling on Pandaboard. See >> the command below. The --build, --host have no effect since it is not >> cross-compiling. However, I face a problem here, it complains that >> "checking for ARM machine... configure: error: Invalid machine selected: >> "armv7" >> ". I have tried arm, arm-linux, arm-linux-gnueabihf, and blank. None of >> them work. Appreciate any comments please. >> >> ./configure --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf >> --with-core=cobalt --enable-smp --enable-pshared --enable-arm-mach=armv7 >> >> On 20 September 2015 at 20:07, Gilles Chanteperdrix < >> gilles.chanteperdrix@xenomai.org> wrote: >> >>> On Sun, Sep 20, 2015 at 12:09:17PM +1200, vibnwis wrote: >>> > I downloaded ipipe-ipipe-core-3.18.20-arm-5 and tried to run >>> ./configure, >>> > file not found as well. In addition, I checked in the ./scripts >>> directory, >>> > none of the configure or autoreconf exist. It is not the right source I >>> > have downloaded? Any comments please. >>> >>> The configure script may be found in Xenomai sources tarball, it is >>> not added by the I-pipe patch. You will need autoreconf if >>> installing xenomai from a git repository checkout. autoreconf is not >>> part of Xenomai sources distribution, it is a tool which should be >>> provided by your distribution. For other requirements, see: >>> >>> http://xenomai.org/installing-xenomai-3-x/#Installing_the_Xenomai_libraries_and_tools >>> >>> If you have no experience building packages from sources using the >>> autotools, I suggest you look for general information about that >>> before starting and compiling xenomai, and asking question to this >>> list every time something is missing. >>> >>> -- >>> Gilles. >>> https://click-hack.org >>> >> >> > ^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2015-09-22 6:18 UTC | newest] Thread overview: 25+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-09-19 14:58 [Xenomai] Installing xenomai libraries ARM OMAP4460 vibnwis 2015-09-19 15:11 ` Gilles Chanteperdrix 2015-09-19 15:14 ` Gilles Chanteperdrix 2015-09-20 0:09 ` vibnwis 2015-09-20 8:04 ` vibnwis 2015-09-20 8:11 ` Gilles Chanteperdrix 2015-09-20 12:02 ` vibnwis 2015-09-20 8:17 ` Gilles Chanteperdrix 2015-09-20 9:39 ` vibnwis 2015-09-20 14:14 ` Gilles Chanteperdrix 2015-09-20 17:03 ` Gilles Chanteperdrix 2015-09-21 10:16 ` vibnwis 2015-09-21 14:46 ` Gilles Chanteperdrix 2015-09-22 2:13 ` vibnwis 2015-09-22 2:21 ` Gilles Chanteperdrix 2015-09-22 2:31 ` vibnwis 2015-09-22 3:51 ` Gilles Chanteperdrix 2015-09-22 6:18 ` vibnwis 2015-09-22 2:28 ` vibnwis 2015-09-22 3:52 ` Gilles Chanteperdrix 2015-09-22 5:55 ` vibnwis 2015-09-20 8:07 ` Gilles Chanteperdrix 2015-09-21 12:59 ` vibnwis 2015-09-21 13:33 ` vibnwis 2015-09-21 13:41 ` vibnwis
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.