Instalace EMC na jádro 3.13 nebo novější (nemožné)

liam86
Příspěvky: 31
Registrován: 16. 4. 2009, 6:29

2. 1. 2015, 10:22

Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

3. 1. 2015, 9:35

liam86 píše:http://download.gna.org/xenomai/stable/latest/ 2.6.4 na kernel-3.14 ?
Tak od oběda se o to pokouším, vypadá to nadějně, ale není mi jasná jedna věc tady:

Kód: Vybrat vše

$ $xenomai_root/scripts/prepare-kernel.sh --arch=i386 \
  --adeos=$xenomai_root/ksrc/arch/x86/patches/adeos-ipipe-2.6.23-i386-X.Y-ZZ.patch \
  --linux=$linux_tree
$ cd $linux_tree
$ make xconfig/gconfig/menuconfig

Enable Xenomai options, then install as needed with:
$ make bzImage modules
$ mkdir $build_root && cd $build_root
$ $xenomai_root/configure --enable-x86-sep
$ make install
poslední make install pro instalaci jádra bych měl být přeci ve složce jádra ale já jsem v slozce kterou si vytvořím o pár řádek výš. tam taky ztroskotám, do /boot se mi nic nenahraje.
liam86
Příspěvky: 31
Registrován: 16. 4. 2009, 6:29

4. 1. 2015, 11:34

treba citat aj medzi prikazmi a s pochopenim:
Now, let’s say that you really want to build Xenomai for a Pentium-based x86 32bit platform running a legacy 2.6.23 kernel, using the native host toolchain; the typical steps would be ....
takze mam podozrenie ze si sa nechal zlakat a kopiroval rad radom aj nieco co vlastne nechces (i386?) :D

ak si vsimnes konkretne prikazy tak sa vyuzivaju premenne ($linux_tree, $xenomai_root..) a $xenomai_root/configure skript je volany z build_root zlozky umyselne, po jeho skonceni mas vygenerovany makefile v $build_root zlozke ktory prikaz make install spracuje.
premenne si definujes sam podla toho kde konkretne zlozky mas a su len pre zjednodusenie, skripty s nimi neoperuju, kludne mozes do prikazov pisat aj cestu do konkretnych zloziek ale casom ta to prejde :D
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

4. 1. 2015, 1:21

S proměnýma to je mi jasný, akorát jsem si nebyl jistý jak na ně, tak jsem radši zadával cesty ručně. Musel jsem někde udělat chybu, teď to zkouším znovu. Ještě tak hodinu kompilace a pak se uvidí.
Jen tedy místo arch=i386 jsem měl dát arch=x86 ?
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

4. 1. 2015, 4:21

Tak se zadařilo rozchodit kernel 3.14.17 s ubuntu 12.04 a hlavně s Xnomai, latenci test OK. Dokonce i ta grafika běží ja má.
Teď bych potřeboval radu jak na tom zprovoznit EMC. Klasicky apt-get to nainstaluje ale při spuštění to požaduje 3.4.9-RTAI. Stačí nakopnout kde hledat, na wiki linuxcnc.org jsem nic nenašel.
Snek
Příspěvky: 62
Registrován: 13. 11. 2013, 10:06
Bydliště: Český Těšín
Kontaktovat uživatele:

4. 1. 2015, 5:10

Smartyn34 píše:... Klasicky apt-get to nainstaluje ale při spuštění to požaduje 3.4.9-RTAI. Stačí nakopnout kde hledat, na wiki linuxcnc.org jsem nic nenašel.
Schází ti RTAI modul pro kernel. Pokud ho máš skompilovaný, tak ho ručně zaveď (insmod, modprobe ...)


A kecáš že na wiki nic není ;) Vyhledávání na samotné wiki vrátí 108 odkazů.
Tebe zajímá asi něco takového http://wiki.linuxcnc.org/cgi-bin/wiki.p ... tom_Kernel" onclick="window.open(this.href);return false;
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

4. 1. 2015, 6:04

Tak teď mi to není už vůbec jasný, myslel jsem že Xenomai mi právě nahradí ten RTAI.
Nebo RTAI je jenom modul který se doinstaluje? Na tom odkazu cos mi dal je v položce 5 instalace RTAI, ale to je pro jiné jádro, to se nechá upravit nebo musim mít jinou verzy?
napíše mi to "unsupored kernel version"
Snek
Příspěvky: 62
Registrován: 13. 11. 2013, 10:06
Bydliště: Český Těšín
Kontaktovat uživatele:

4. 1. 2015, 6:30

Tak to bohužel nevím, používám standardní LinuxCNC z jejich distribuce.
liam86
Příspěvky: 31
Registrován: 16. 4. 2009, 6:29

4. 1. 2015, 9:21

klasicky balik ti nepomoze, skompiluj si sam :)

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall" onclick="window.open(this.href);return false;
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

5. 1. 2015, 7:01

Tak pokrok kompilace EMC proběhne v pořádku až na kontrolu runtests tam je "pouze" 49 chyb. A navíc běží v nějakém sim modu.Nejde ani odinstalovat, takže budu muset začít zase odzačátku čistým Ubuntu.

Kód: Vybrat vše

Runtest: 82 tests run, 33 successful, 49 failed + 0 expected
Failed: 
	/home/martin/linuxcnc-rtos/tests/abs.0
	/home/martin/linuxcnc-rtos/tests/alias.0
	/home/martin/linuxcnc-rtos/tests/and-or-not-mux.0
	/home/martin/linuxcnc-rtos/tests/basic
	/home/martin/linuxcnc-rtos/tests/counter-encoder.0
	/home/martin/linuxcnc-rtos/tests/flipflop.0
	/home/martin/linuxcnc-rtos/tests/halmodule.0
	/home/martin/linuxcnc-rtos/tests/halui-jogging
	/home/martin/linuxcnc-rtos/tests/limit3.0
	/home/martin/linuxcnc-rtos/tests/limit3.1
	/home/martin/linuxcnc-rtos/tests/limit3.2
	/home/martin/linuxcnc-rtos/tests/loadrt.1
	/home/martin/linuxcnc-rtos/tests/modparam.0
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder/1-names
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder/8-names
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder/num_chan=0
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder/num_chan=1
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder/num_chan=8
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder_ratio/1-names
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder_ratio/8-names
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder_ratio/num_chan=0
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder_ratio/num_chan=1
	/home/martin/linuxcnc-rtos/tests/module-loading/encoder_ratio/num_chan=8
	/home/martin/linuxcnc-rtos/tests/module-loading/pid/1-names
	/home/martin/linuxcnc-rtos/tests/module-loading/pid/16-names
	/home/martin/linuxcnc-rtos/tests/module-loading/pid/num_chan=0
	/home/martin/linuxcnc-rtos/tests/module-loading/pid/num_chan=1
	/home/martin/linuxcnc-rtos/tests/module-loading/pid/num_chan=16
	/home/martin/linuxcnc-rtos/tests/module-loading/siggen/1-names
	/home/martin/linuxcnc-rtos/tests/module-loading/siggen/16-names
	/home/martin/linuxcnc-rtos/tests/module-loading/siggen/num_chan=0
	/home/martin/linuxcnc-rtos/tests/module-loading/siggen/num_chan=1
	/home/martin/linuxcnc-rtos/tests/module-loading/siggen/num_chan=16
	/home/martin/linuxcnc-rtos/tests/module-loading/sim_encoder/1-names
	/home/martin/linuxcnc-rtos/tests/module-loading/sim_encoder/8-names
	/home/martin/linuxcnc-rtos/tests/module-loading/sim_encoder/num_chan=0
	/home/martin/linuxcnc-rtos/tests/module-loading/sim_encoder/num_chan=1
	/home/martin/linuxcnc-rtos/tests/module-loading/sim_encoder/num_chan=8
	/home/martin/linuxcnc-rtos/tests/multiclick
	/home/martin/linuxcnc-rtos/tests/near.0
	/home/martin/linuxcnc-rtos/tests/overrun
	/home/martin/linuxcnc-rtos/tests/save.0
	/home/martin/linuxcnc-rtos/tests/source.0
	/home/martin/linuxcnc-rtos/tests/stepgen.0
	/home/martin/linuxcnc-rtos/tests/stepgen.1
	/home/martin/linuxcnc-rtos/tests/stepgen.2
	/home/martin/linuxcnc-rtos/tests/threads.0
	/home/martin/linuxcnc-rtos/tests/threads.1
	/home/martin/linuxcnc-rtos/tests/timedelay.0
martin@martinCNC:~/linuxcnc-rtos/src$ linuxcnc
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

5. 1. 2015, 7:23

Funguje nekomu z vas linuxcnc jinak nez z tech jejich livecd? Abych se nepokousel o nemozne.
kaba2
Příspěvky: 73
Registrován: 8. 12. 2007, 9:20
Bydliště: Vyškov

5. 1. 2015, 11:37

Pokud vím, tak to nejede na ubuntu 12.04 asi problém s rtai ,ale můžu se mýlit.
Možná ti pomůže toto: http://www.anderswallin.net/2012/12/lin ... -12-04lts/
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

6. 1. 2015, 8:14

Dnesk po 14ti dnech každodenních několikahodinových pokusech vzdávám snahu rozchodit EMC na novějším kernelu. Jdu objednat jinou základovou desku(už třetí) a doufám že EMC z liveCD poběží. Tuhle desku teď dojdu vzteky rozšlapat, snad se mi uleví.
Uživatelský avatar
filla
Příspěvky: 3523
Registrován: 1. 12. 2013, 12:55
Bydliště: Brno
Kontaktovat uživatele:

6. 1. 2015, 9:05

tak do te desky dej do pci-e jinou grafiku, nejlepe neco od ATI, nemusis shanet primo pro pci-e1, vem jakoukoliv a jen ji zastrihni
"do řiti se řítíme, ani o tom nevíme.."
Smartyn34
Příspěvky: 73
Registrován: 2. 1. 2015, 11:45

7. 1. 2015, 8:01

To asi nepůjde, grafiku mám, ale PCI-e, ale na desce je jenom PCI, jak myslíš zastřihni?
Odpovědět

Zpět na „LinuxCNC - drive pod nazvem EMC2“