stretch install no hostmot2 in synaptic
17 Jun 2019 20:51 #137160
by jgnoss
stretch install no hostmot2 in synaptic was created by jgnoss
I installed a fresh machine with stretch and preempt following instruction on gnipsel.com, (thank's John for that)
- cp over my config files from another machine running wheezy and 2.8.
- configs fail to start because of missing Mesa firmware files.
- opening synaptic search hostmot2 -> no results
I know there is a lot of possibilities to get mesa firmware to the right place on my computer and make my new install work.
But because I see a lot of cleanup going on I'll ask
What's the "official way" to get mesa firmware installed by apt?
Ju
- cp over my config files from another machine running wheezy and 2.8.
- configs fail to start because of missing Mesa firmware files.
- opening synaptic search hostmot2 -> no results
I know there is a lot of possibilities to get mesa firmware to the right place on my computer and make my new install work.
But because I see a lot of cleanup going on I'll ask
What's the "official way" to get mesa firmware installed by apt?
Ju
Please Log in or Create an account to join the conversation.
18 Jun 2019 00:08 #137167
by BigJohnT
Replied by BigJohnT on topic stretch install no hostmot2 in synaptic
Is this for a Mesa 5i20 or similar card?
JT
JT
Please Log in or Create an account to join the conversation.
18 Jun 2019 01:09 #137169
by jgnoss
Replied by jgnoss on topic stretch install no hostmot2 in synaptic
It's for a 5I23
Please Log in or Create an account to join the conversation.
18 Jun 2019 05:36 #137173
by pl7i92
Replied by pl7i92 on topic stretch install no hostmot2 in synaptic
can you look into
/usr/lib/linuxcnc/modules
what moduels are installed
and in terminal
locate hm2
to see if you got the files for the 5i23
/usr/lib/linuxcnc/modules
what moduels are installed
and in terminal
locate hm2
to see if you got the files for the 5i23
Please Log in or Create an account to join the conversation.
18 Jun 2019 07:58 - 18 Jun 2019 08:28 #137177
by jgnoss
Replied by jgnoss on topic stretch install no hostmot2 in synaptic
To understand my post, it's not a problem of making that run on my new machine
I do just cp the firmware files from the other machine to /lib/firmware/ and it runs.
But that's not an option for users that doesn't have that files on another machine.
The linuxcnc wiki tells you to search for hostmot2 in synaptic, but that search doesn't
give any results on a clean stretch install, having a file .
/etc/apt/sources.list.d/linuxcnc-buildbot.list
that contains
deb buildbot.linuxcnc.org/ stretch master-rtpreempt
deb-src buildbot.linuxcnc.org/ stretch master-rtpreempt
responding the question of pl7i92:
a lot in /usr/lib/linuxcnc/modules/
reduced to show what seems to be related to hostmot
# ls /usr/lib/linuxcnc/modules/hm*
/usr/lib/linuxcnc/modules/hm2_7i43.so
/usr/lib/linuxcnc/modules/hm2_rpspi.so
/usr/lib/linuxcnc/modules/hm2_7i90.so
/usr/lib/linuxcnc/modules/hm2_spi.so
/usr/lib/linuxcnc/modules/hm2_eth.so
/usr/lib/linuxcnc/modules/hm2_test.so
/usr/lib/linuxcnc/modules/hm2_pci.so
# locate hm2
#
linuxcnc is looking for //lib/firmware/hm2/5i23/SVST4_8.BIT
the related lines from error report:
Could not locate firmware "//lib/firmware/hm2/5i23/SVST4_8.BIT". (No such file or directory)
hm2/hm2_5i23.0: firmware hm2/5i23/SVST4_8.BIT not found
hm2/hm2_5i23.0: install the package containing the firmware.
hm2_5i23.0: board fails HM2 registration
I do just cp the firmware files from the other machine to /lib/firmware/ and it runs.
But that's not an option for users that doesn't have that files on another machine.
The linuxcnc wiki tells you to search for hostmot2 in synaptic, but that search doesn't
give any results on a clean stretch install, having a file .
/etc/apt/sources.list.d/linuxcnc-buildbot.list
that contains
deb buildbot.linuxcnc.org/ stretch master-rtpreempt
deb-src buildbot.linuxcnc.org/ stretch master-rtpreempt
responding the question of pl7i92:
a lot in /usr/lib/linuxcnc/modules/
reduced to show what seems to be related to hostmot
# ls /usr/lib/linuxcnc/modules/hm*
/usr/lib/linuxcnc/modules/hm2_7i43.so
/usr/lib/linuxcnc/modules/hm2_rpspi.so
/usr/lib/linuxcnc/modules/hm2_7i90.so
/usr/lib/linuxcnc/modules/hm2_spi.so
/usr/lib/linuxcnc/modules/hm2_eth.so
/usr/lib/linuxcnc/modules/hm2_test.so
/usr/lib/linuxcnc/modules/hm2_pci.so
# locate hm2
#
linuxcnc is looking for //lib/firmware/hm2/5i23/SVST4_8.BIT
the related lines from error report:
Could not locate firmware "//lib/firmware/hm2/5i23/SVST4_8.BIT". (No such file or directory)
hm2/hm2_5i23.0: firmware hm2/5i23/SVST4_8.BIT not found
hm2/hm2_5i23.0: install the package containing the firmware.
hm2_5i23.0: board fails HM2 registration
Last edit: 18 Jun 2019 08:28 by jgnoss.
Please Log in or Create an account to join the conversation.
18 Jun 2019 11:29 #137180
by BigJohnT
Replied by BigJohnT on topic stretch install no hostmot2 in synaptic
For some reason unknown to me the hostmot2 drivers are not in stretch. The last release to have the hostmot2 drivers was Ubuntu 10.04 Lucid.
I searched through the linuxcnc.org/dists/ to be sure. The hostmot2 drivers are in the base/source directory.
You would have to build and install the hostmot2 drivers from the github repo.
github.com/LinuxCNC/hostmot2-firmware
JT
I searched through the linuxcnc.org/dists/ to be sure. The hostmot2 drivers are in the base/source directory.
You would have to build and install the hostmot2 drivers from the github repo.
github.com/LinuxCNC/hostmot2-firmware
JT
Please Log in or Create an account to join the conversation.
18 Jun 2019 15:17 - 18 Jun 2019 15:24 #137193
by jgnoss
Replied by jgnoss on topic stretch install no hostmot2 in synaptic
As I wrote in my last post, I do have that firmware on another machine, so I don't
need to build them myself.
The question is, what do another users do if they come across that problem?
What do you do suggest?
Changing the wiki to say
- users have to install the Xilinx ISE and compile the firmware themselves
- hacking the apt source list file to get the firmware from older Debian distribution
- downloading it from somewhere else in the web
I think we shouldn't provide hack's, better is straight forward install.
Maybe seb can have a look at that and figure out why that stuff disappeared in stretch.
I'm on building a deb from master now. If it's done I'll see if the firmware gets installed.
need to build them myself.
The question is, what do another users do if they come across that problem?
What do you do suggest?
Changing the wiki to say
- users have to install the Xilinx ISE and compile the firmware themselves
- hacking the apt source list file to get the firmware from older Debian distribution
- downloading it from somewhere else in the web
I think we shouldn't provide hack's, better is straight forward install.
Maybe seb can have a look at that and figure out why that stuff disappeared in stretch.
I'm on building a deb from master now. If it's done I'll see if the firmware gets installed.
Last edit: 18 Jun 2019 15:24 by jgnoss.
Please Log in or Create an account to join the conversation.
18 Jun 2019 15:25 #137196
by pl7i92
Replied by pl7i92 on topic stretch install no hostmot2 in synaptic
This needs to be in the STETCH Documentation on howto install
the eth will work from simple install but expanding to special cards will need a self interfear with new compile
README file neds to be changed from 2.8
wiki updated on 5i23 -> need driver compile from 2.8
the eth will work from simple install but expanding to special cards will need a self interfear with new compile
README file neds to be changed from 2.8
wiki updated on 5i23 -> need driver compile from 2.8
Please Log in or Create an account to join the conversation.
18 Jun 2019 15:56 - 18 Jun 2019 15:57 #137201
by jgnoss
Replied by jgnoss on topic stretch install no hostmot2 in synaptic
You guys are talking about drivers.
I may be ignorant but isn't it the firmware for the Mesa cards that's missing?
If I copy the firmware to the right folder on my new stretch install all works fine.
On my understanding, the firmware is the bit code that get's loaded into the FPGA
that sits on mesa cards like 5I23.
That code is not easy to compile/generate. Installing the xilix ISE is pretty heavy load.
Isn't it easier to provide precompiled firmware for that cards in binary and include that
in the distro tree as it was before?
I may be ignorant but isn't it the firmware for the Mesa cards that's missing?
If I copy the firmware to the right folder on my new stretch install all works fine.
On my understanding, the firmware is the bit code that get's loaded into the FPGA
that sits on mesa cards like 5I23.
That code is not easy to compile/generate. Installing the xilix ISE is pretty heavy load.
Isn't it easier to provide precompiled firmware for that cards in binary and include that
in the distro tree as it was before?
Last edit: 18 Jun 2019 15:57 by jgnoss.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
18 Jun 2019 16:51 #137207
by tommylight
Replied by tommylight on topic stretch install no hostmot2 in synaptic
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.471 seconds