EMC2 running on Raspberry Pi?

More
12 years 8 months ago #44293 by kinsa
Replied by kinsa on topic EMC2 running on Raspberry Pi?
I'm using the UBC3 branch and configured using the following setting:
Code:
./configure --with-xenomai

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #44296 by ADBensi
Hello,

These were your steps? Forgive me for asking before testing. It will be several hours until the process is finished ;)

git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev

git checkout -b v2.5_branch origin/v2.5_branch
git checkout v2.5_branch

cd debian
./configure -r
cd ..
dpkg-checkbuilddeps

cd src
./autogen.sh
./configure --prefix=/usr/local --with-xenomai --disable-build-documentation --with-kernel=/boot/config-3.4.12

make
make setuid
make install

Best Regards

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #44297 by kinsa
Replied by kinsa on topic EMC2 running on Raspberry Pi?

ADBensi wrote: Hello,

These were your steps? Forgive me for asking before testing. It will be several hours until the process is finished ;)

git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev

git checkout -b v2.5_branch origin/v2.5_branch
git checkout v2.5_branch

cd debian
./configure -r
cd ..
dpkg-checkbuilddeps

cd src
./autogen.sh
./configure --prefix=/usr/local --with-xenomai --disable-build-documentation --with-kernel=/boot/config-3.4.12

make
make setuid
make install

Best Regards

I've used this one: github.com/mhaberler/asciidoc-sandbox/wi...RT-Operating-Systems

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #44315 by ADBensi
Hello,

  I have a problem, What it could be?
when I run . scripts/rip-environment to set up the environment I get error:
This script is only useful on run-in-place systems.

I try:

cd src
./autogen.sh
./configure --prefix=/usr/local --with-xenomai --disable-build-documentation
make
make setuid
make install
cd ..
source scripts/rip-environment

After over xterm (X11 sshd) I try:

cd src
make clean
./autogen.sh
./configure --prefix=/usr/local --with-xenomai --disable-build-documentation --enable-run-in-place --enable-simulator
make
make setuid
source scripts/rip-environment

And same error, "This script is only useful on run-in-place systems".

My shell set:
root@cubie:/var/source/linuxcnc # set
BASH=/bin/bash
BASHOPTS=cmdhist:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf")
BASH_VERSION='4.2.37(1)-release'
COLUMNS=214
DIRSTACK=()
DISPLAY=localhost:12.0
EUID=0
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=cubie
HOSTTYPE=arm
IFS=$' \t\n'
LANG=pt_BR.UTF-8
LINES=56
LOGNAME=root
MACHTYPE=arm-unknown-linux-gnueabihf
MAIL=/var/mail/root
MAILCHECK=60
OLDPWD=/var/source/linuxcnc/src
OPTERR=1
OPTIND=1
OSTYPE=linux-gnueabihf
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIPESTATUS=([0]="1")
PPID=13584
PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
PS1='\[\033[1;33m\]\u\[\033[1;37m\]@\[\033[1;32m\]\h\[\033[1;37m\]:\[\033[1;31m\]\w \[\033[1;36m\]\$ \[\033[0m\]'
PS2='> '
PS3='> '
PS4='+ '
PWD=/var/source/linuxcnc
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TERM=xterm
UID=0
USER=root
_=test

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #44316 by ADBensi
solved - I remove --prefix=/usr/local and it works.
Next - try SPI on A10 :D

Please Log in or Create an account to join the conversation.

  • mhaberler
  • New Member
  • New Member
More
12 years 7 months ago #44322 by mhaberler
Replied by mhaberler on topic EMC2 running on Raspberry Pi?
Hi ADBensi,

just a note: you write

ADBensi wrote: ...
./configure --prefix=/usr/local --with-xenomai --disable-build-documentation --with-kernel=/boot/config-3.4.12
...


I think you do not need the " --with-kernel=/boot/config-3.4.12" option; the xenomai build is kernel-independent. That flag makes sense only if one is building for a kernel RT thread flavor (like RTAI, or Xenomai kernel (the latter is not recommended)).

- Michael

Please Log in or Create an account to join the conversation.

Time to create page: 0.256 seconds
Powered by Kunena Forum