how to install mesaflash
27 Jul 2020 08:23 #176020
by ericg
how to install mesaflash was created by ericg
Hi, this should be simple but not, I have in my sources.list ... deb buildbot.linuxcnc.org/ buster buster master-rtpreempt, and then invoked sudo apt install mesaflash, but it is not found, can someone tell me where to get it?
Also I need to install the hostmot2 stuff, but not sure about that either.
I lost all my stuff when my hdd failed and am now trying to rebuild everything
thanks is advance
Eric
Also I need to install the hostmot2 stuff, but not sure about that either.
I lost all my stuff when my hdd failed and am now trying to rebuild everything
thanks is advance
Eric
Please Log in or Create an account to join the conversation.
27 Jul 2020 12:22 #176070
by RotarySMP
Replied by RotarySMP on topic how to install mesaflash
Please Log in or Create an account to join the conversation.
27 Jul 2020 12:47 #176073
by ericg
Replied by ericg on topic how to install mesaflash
thanks, that's got me going., probably more questions and confusion yet to come
Please Log in or Create an account to join the conversation.
27 Jul 2020 13:11 - 27 Jul 2020 13:58 #176075
by RotarySMP
Replied by RotarySMP on topic how to install mesaflash
I spent the last week knee deep in this topic, and could only provide this pointer due to the excellent support of Tommylight, Rod and PCW
Last edit: 27 Jul 2020 13:58 by RotarySMP.
The following user(s) said Thank You: tommylight, rodw
Please Log in or Create an account to join the conversation.
27 Jul 2020 18:40 #176120
by rodw
Replied by rodw on topic how to install mesaflash
I'm not really sure I helped you here. Everything I know about Mesaflash I was taught by PCW!
Please Log in or Create an account to join the conversation.
27 Jul 2020 23:56 #176173
by ericg
Replied by ericg on topic how to install mesaflash
I unzipped the 5i25.zip folder after installing mesaflash and ran sudo mesaflash --device 5i25 --verify 5i25_g540x2.bit but it responded with Can't find file 5i25_g540x2.bit,
Mesaflash and 5i25 bit files are in my Downloads folder at the moment, is there a particular file structure I should use.
I originally flashed the board a couple of years ago, my hdd failed and I'm trying to rebuild it all but I must be getting old as I cannot remember how to set this up
Any help appreciated
Mesaflash and 5i25 bit files are in my Downloads folder at the moment, is there a particular file structure I should use.
I originally flashed the board a couple of years ago, my hdd failed and I'm trying to rebuild it all but I must be getting old as I cannot remember how to set this up
Any help appreciated
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
28 Jul 2020 00:15 #176183
by tommylight
Replied by tommylight on topic how to install mesaflash
The files should be in your home directory, or you can CD to where they are in any folder, something like
cd /home/cnc/downoads/5i25/
mesaflash ---something or another
That is just an example.
cd /home/cnc/downoads/5i25/
mesaflash ---something or another
That is just an example.
Please Log in or Create an account to join the conversation.
28 Jul 2020 00:23 #176187
by ericg
Replied by ericg on topic how to install mesaflash
Thanks tommylight, where does mesaflash look for the .bit file? I created a new folder under /lib/firmware so the bit files are now under /lib/firmware/hm2/5i25 and in the configs subfolder, but mesaflash still cannot find the board. I am completely lost with all of this.
Please Log in or Create an account to join the conversation.
28 Jul 2020 00:35 - 28 Jul 2020 00:41 #176190
by PCW
Replied by PCW on topic how to install mesaflash
Mesaflash has no idea where the firmware is located.
You can either put a full path to the firmware in the command line
or run mesaflash in the directory that contains the firmware files.
sudo mesaflash --device 5i25 --verify /lib/firmware/hm2/5i25/somefilename.bit
if somefilename.bit is in /lib/firmware/hm2/5i25/
or
sudo mesaflash --device 5i25 --verify somefilename.bit
if somefilename.bit is in the current working directory
Note that verify is not useful for determining what type of firmware is loaded
as even a recompile of a bitfile from the same source will not match
even though it will be functionally identical
A better way to check loaded firmware is to use the --readhmid command
You can either put a full path to the firmware in the command line
or run mesaflash in the directory that contains the firmware files.
sudo mesaflash --device 5i25 --verify /lib/firmware/hm2/5i25/somefilename.bit
if somefilename.bit is in /lib/firmware/hm2/5i25/
or
sudo mesaflash --device 5i25 --verify somefilename.bit
if somefilename.bit is in the current working directory
Note that verify is not useful for determining what type of firmware is loaded
as even a recompile of a bitfile from the same source will not match
even though it will be functionally identical
A better way to check loaded firmware is to use the --readhmid command
Last edit: 28 Jul 2020 00:41 by PCW.
Please Log in or Create an account to join the conversation.
28 Jul 2020 00:42 - 28 Jul 2020 01:09 #176192
by ericg
Replied by ericg on topic how to install mesaflash
yes, I tried that running mesaflash in the hosmot2 directory but is still says board not found, (I assume it means the physical board) so I have missed something in setting it up, BTW I run Pncconf wizard and can control the steppers Ok through that, but when I try to run it I get loads of command not found errors, I have not set something up correctly.
Thanks
Eric
Thanks
Eric
Last edit: 28 Jul 2020 01:09 by ericg. Reason: spelling fix and additionla info
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.088 seconds