如何编译和安装Xenomai-forge到Linux系统(Fedora 14)

xenomai安装及程序编译 安装xenomai实时补丁 参考网页: https://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai3.html 安装后的目录在 /usr/xenomai 编译用户程序 参考altency.c文件,编写一个周期任务程序: demo_periodic_thread_posix.c #include <stdio.h> #include <signal.h> #include <unistd.h> #include <sy 阅读详情
[rtems@silver build]$ ../configure -h  //配置脚本的情况
`configure' configures Xenomai 2.6.0 to adapt to many kinds of systems.

Usage: ../configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/xenomai]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/xenomai/bin', `/usr/xenomai/lib' etc.  You can specify
an installation prefix other than `/usr/xenomai' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/xenomai]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-maintainer-mode  enable make rules and dependencies not useful
              (and sometimes confusing) to the casual installer
  --enable-shared[=PKGS]  build shared libraries [default=no]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]
                          optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-debug          Enable debug mode in programs
  --enable-lores-clock    Enable low resolution clock
  --enable-clock-monotonic-raw
                          Use CLOCK_MONOTONIC_RAW for timings
  --enable-assert         Enable runtime assertions
  --enable-async-cancel   Enable asynchronous cancellation
  --enable-pshared        Enable shared multi-processing for capable skins
  --enable-registry       Export real-time objects to a registry
  --enable-smp            Enable SMP support
  --enable-x86-sep        Enable x86 SEP instructions for issuing syscalls
  --enable-arm-tsc        You only need this option if you get the following
                          message when starting an application: Xenomai:
                          incompatible feature set (userland requires
                          "kuser_tsc ...", kernel provides "...",
                          missing="kuser_tsc"). In that case, this option
                          allows to select the machine for which a user-space
                          tsc emulation should be generated. Valid machines
                          are at91, kuser, imx, ixp4xx, omap, orion, pxa,
                          s3c24x, sa1100.
  --enable-arm-quirks     Enable quirks for specific systems. Currently
                          supported quirks are for sa1100 and xscale3.
  --disable-doc-install   Do not install documentation
  --enable-dox-doc        Build Doxygen documentation
  --enable-dbx            Build Docbook XML documentation.
  --enable-dbx-network    Try to access Docbook DTD and XSL stylesheets
                          through network (default is to die if local
                          installation can not be found by configure).
  --enable-verbose-latex  Uses LaTeX non-stop mode
  --enable-posix-auto-mlockall
                          Enable Xenomai POSIX skin library to automatically
                          call mlockall at startup. This option is mainly
                          useful for running third-parties programs such as
                          the Open Posix Testsuite unmodified with Xenomai
                          POSIX skin
  --enable-dlopen-skins   Disable TLS features and automatic main thread
                          mapping by the POSIX skin to allows dlopen'ing
                          Xenomai libs.

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-core=<cobalt | mercury>
                          build for dual kernel or single image
  --with-cc=compiler      use specific C compiler
  --with-pic              try to use only PIC/non-PIC objects [default=use
                          both]
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --with-dbx-root         specify the Docbook XML root (that is, the directory
                          where docbookx.dtd should be found). Default is to
                          use well-known locations (or network if
                          --enable-dbx-network was passed).
  --with-dbx-xsl-root     specify the Docbook XML XSL stylesheet root. Default
                          is to use well-known locations (or network if
                          --enable-dbx-network was passed)
  --without-__thread      do not use TLS features
  --with-testdir=<test-binaries-dir>
                          location for test binaries (defaults to $bindir)

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor
  CCAS        assembler compiler command (defaults to CC)
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <xenomai-help@gna.org>.


参考资料:关于xen-config
[rtems@silver build]$ /usr/xenomai/bin/xeno-config
xeno-config --verbose
        --version="2.6.0"
        --cc="gcc"
        --ccld="gcc"
        --arch="i686-pc-linux-gnu"
        --prefix="/usr/xenomai"
        --library-dir="/usr/xenomai/lib"
Usage xeno-config --skin=skinname OPTIONS
Options :
        --help
        --v,--verbose
        --version
        --cc
        --ccld
        --arch
        --prefix
        --skin vxworks|psos|alchemy
        --cflags
        --ldflags
        --lib*-dir,--libdir,--user-libdir
        --core


关于编译xenomai-forge的步骤
cd xenomai-forge
mkdir build
cd build
../configure --with-core=mercury --enable-debug=full
make
su -c "make install"
su -c "make uninstall" //如果要清除以前安装的程序

Xenomai4 / EvlProject 使用Armbian编译运行在nanopi-r4s上记录 Xenomai4 EvlProject Nanopi-r4s 阅读详情

相关推荐

Xenomai 3.1的错误记录

POSIX可移植操作系统接口(Portable Operating System Interface of UNIX) POSIX标准意在期望获得源代码级别的软件可移植性。换句话说,为一个POSIX兼容的操作系统编写的程序,应该可以在任何其它的POSIX操作系统(即使是来自另一个厂商)上编译执行。 如下是makefile文件: SKIN=alchemy //皮肤设置 MAIN_SRC=periodicTask//对应任务的名字 TARGET=periodicTask LM=-lm CFLAGS :

weixin_44991673的博客 2199

Installing Xenomai 3.x

Installing Xenomai 3.x

虚拟机安装ubuntu +xenomai3.1补丁

@虚拟机安装ubuntu +xenomai补丁 基础准备 研究生刚入学在实验室电脑双系统上加装xenomai补丁,装了一个礼拜,走了很多弯路。这次疫情在家,决定在自己的笔记本上使用虚拟机安装。本来以为有去年的经验,一次性能装好。万万没想带,又装了一礼拜(三四天吧)。特此留贴,一位做个纪念,二来也为别的新手少走弯路。 准备工作如下: 虚拟机-VMware,自行官网下载或其他途径下载并购买(破解) ...

pupil_wjj的博客 5167

Xenomai (学习笔记)

文章目录1. 简介1.1 实时OS1.2 Adeos域 (Domain)中断管道(Interrupt Pipe)事件管道(event pipeline)乐观的中断保护系统事件传播基于Linux的实现1.3 Adeos为Xenomai提供的服务Xenomai的主要次要域名系统调用拦截中断传播启用/禁用中断源在域之间共享中断中断共享延迟结论Xenomai用户层实时的实现(TSC)Xenomai多API构架(skin)Xenomai的应用接口在CobaltLInux之间迁移线程Real-Time Drive

pwl999的博客 2万+

Xenomai-forge 自述

Xenomai-forge Readme Xenomai-forge 自述 This is Xenomai 3.x, the upcoming architecture of the Xenomai RTOS emulation system, which can run seamlessly as a dual kernel (i.e. like Xenomai 2.x, I-pipe

CyberLabs的专栏 4365

ethercat环境搭建(xenomai核心)

准备工作 : 32位ubuntu14.04 内核版本 3.14.44 (需要的话后面附上) Xenomai版本 xenomai-2.6.5(需要的话后面附上) (1) 配置并安装Xenomai实时补丁

weixin_42186805的博客 1587

linux内核打xenomai补丁,编译kernel+xenomai+machinekit

编译kernel+xenomai,主要参考https://code.google.com/p/picnc项目中的wiki页面。编译machinekit,主要参考http://www.machinekit.io/docs/building-from-source/。解决编译依赖要费些周折,需要再添加两个源,下载几个包。搭建 qemu chroot 环境安装必要的包sudo apt-get insta...

weixin_42504833的博客 660

Linux操作系统核心架构与实战应用指南

操作系统作为计算机系统的核心软件,负责管理硬件资源提供基础服务。Linux以其开源特性、模块化设计高度可定制性成为服务器、嵌入式设备云计算领域的主流选择。其核心架构包含进程调度、内存管理、虚拟文件系统等子系统,通过系统调用接口提供服务。在企业级应用中,Linux凭借GNU工具链丰富的包管理系统,支持从Web服务到大数据处理的各种场景。随着容器化技术云原生的发展,Linux在DockerKubernetes等现代技术栈中扮演关键角色。掌握Linux系统管理、网络配置安全加固等实战技能,对开发者

weixin_30628801的博客 352

鸟哥私房菜笔记01-Linux是什么与如何学习

GPL(GNU General Public License,GNU通用公共许可证)由斯托曼于1989年起草,是自由软件运动的核心法律工具。它的核心理念叫**“Copyleft”(著佐权)——与传统的"Copyright(版权)"相反,Copyleft 不是限制你使用软件,而是保证你所有后续用户都拥有使用、修改、分发软件的自由**。版本发布时间主要应用GPLv11989年早期GNU软件GPLv21991年6月Linux内核GPLv32007年6月29日。

Virtue_Wei的博客 191

基于zynq7000搭建xenomai实时操作系统/手把手教你zynq构建linux+xenomai实时操作系统系统/arm构建xenomai实时操作系统

在嵌入式系统开发中,实时性系统丰富功能是两个关键需求。通过在 Xilinx Zynq 平台上同时运行 Linux Xenomai,可以结合两者的优点,实现高性能高实时性的应用。

FPGAmaster的博客 2189

[Xen] Ubuntu 10.04 x86 安装 Xen 4.1 dom0

参考了这篇文章《Xen 4.1 on Ubuntu 10.04 64bit》以及Xen 4.0的realse notes编译安装xen都没有什么问题,照着指南一步一步做就行了,安装dom0的时候遇到一些问题。。。首先,git clone下来linux kernel查看分支时已经

天下的技术专栏 3930

笔记:移植xenomai到nuc972(1)

接着就是修改arch/arm/kernel/ipipe_tsc.c,需要添加一个__ipipe_freerunning_24,因为972的定时器数据是24位的,加完之后,还需要在arch/arm/ker/ipipe_tsc_asm.S里面添加对应的汇编代码,汇编代码参考32位的,只是多了一个移8位的操作。执行/opt/arm/xenomai/bin/latency时内核会崩溃,原因是网卡驱动xenomai不兼容,正常应用应该是正常的,待测。整完之后,开始编译xenomai了,安装步骤参考。

kof98765的专栏 646

Xenomai4:EVL/Dovetail

Dovetail的含义有很多,起源于。

hxc2B的博客 4391

ubuntu+xenomai+igh

安装相关库:sudo apt-get install gcc git libncurses5-dev make flex bison libssl-dev libelf-dev automake。

qq_43161992的博客 1460

LINUX操作系统嵌入Xenomai实时核

由于linux系统的实时响应达不到更高要求,所以要嵌入Xenomai实时核(可以去官网看看适不适合你的硬件处理器)。 一:下载linux核及Xenomai实时核。 本人下载linux-3.18.12版本的内核,及Xenomai-3.0.3实时核。这里要注意,嵌入Xenomai实时核需要一个adeos的补丁,而且这个补丁需要你的linux版本对应,但是不是所有linux都有对应的这个补丁,所以

xulingxin的博客 5574

编译 linux kernel + xenomai 2/3(在orocos中需要注意资源配置)

尊重原作,从github拷贝的,以免翻墙或者找不到。 原作链接:https://github.com/kuka-isir/rtt_lwr/blob/rtt_lwr-2.0/docs/source/rtpc/xenomai.rstXenomai 2.6.5 on Ubuntu 14.04/16.04Nvidia Drivers are NOT supported (creates a lot of

all for one,one for all 8748

基于NXP i.MX8 Ethercat实时运动控制器设计 Linux+xenomai+igh+rtnet

支持ethercat伺服品牌有 松下、台达、清能德创、汇川、禾川、新时达等.支持ethercat io模块: 雷赛,新洋等。Ø支持焊接工艺、摆焊接工艺、焊缝相机、码跺工艺、视觉工艺、多条同步带同步跟踪工艺。Ø本产品适用于机器人控制、非标自动化设备控制等需要对电机进行运动控制的装备上面。Ø支持圆弧插补、螺旋线、直线插补、关节插补、在线变位、在线变速度。Ø支持多达64轴控制,可方便实现龙门同步控制,多轴耦合运动控制。Ø上位机可以使用电脑、或示教器、或在本控制器上面直接开发上位机。Ø提供sdk调用接口。

YEYUANGEN的专栏 2135

linux forge服务器,linux下搭建我的世界spongeforge 服务器 (海绵端)

以下我用的都是1.10.2版本且以下用的服务器连接管理软件有WinSCP、Xshell 5首先,去下载一个MC1.10.2的纯净服务端,这个不会很难,百度一下!比如我下的文件就叫minecraft_server.1.10.2.jar然后我们在自己linux系统下的root文件夹里新建一个比如MC,将下的jar包上传到这个文件夹下面!(也可以用WinSCP打开那个文件夹直接拖拽进去)然后在Xshel...

weixin_34811804的博客 1708
上一篇: Xenomai-forge 自述
下一篇: Xenomai编程笔记
CyberLabs
博客等级 码龄15年 143粉丝 7原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值