Raspberry Pi 4 & MESA 7i92

More
6 years 9 months ago #155688 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
Doesn't appear to have errored out.

pi@cnc:~/mesaflash/mesaflash $ rm -rf mesaflash
pi@cnc:~/mesaflash/mesaflash $ make clean
rm -f *.o libanyio.a mesaflash pci_encoder_read pci_analog_write
pi@cnc:~/mesaflash/mesaflash $ make
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c common.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c lbp.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c lbp16.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c bitfile.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c hostmot2.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c eeprom.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c anyio.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c eth_boards.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c epp_boards.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c usb_boards.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c pci_boards.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c sserial_module.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c encoder_module.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c eeprom_local.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c eeprom_remote.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c spi_boards.c
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c serial_boards.c
rm -f libanyio.a mesaflash
ar rcs libanyio.a common.o lbp.o lbp16.o bitfile.o hostmot2.o eeprom.o anyio.o eth_boards.o epp_boards.o usb_boards.o pci_boards.o sserial_module.o encoder_module.o eeprom_local.o eeprom_remote.o spi_boards.o serial_boards.o
ranlib libanyio.a
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c mesaflash.c
gcc -o mesaflash mesaflash.o libanyio.a -lpci -lm
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c examples/pci_encoder_read.c
gcc -o pci_encoder_read pci_encoder_read.o libanyio.a -lpci -lm
gcc -D_GNU_SOURCE -O0 -g -I/usr/include -c examples/pci_analog_write.c
gcc -o pci_analog_write pci_analog_write.o libanyio.a -lpci -lm

pi@cnc:~/mesaflash/mesaflash $

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

More
6 years 9 months ago #155689 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
Kind of making progress-:)

pi@cnc:~/mesaflash/mesaflash $ ./mesaflash

Mesaflash version 3.4.0~pre (built on Jan 24 2020 15:55:57 with libpci 3.5.2)
Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB boards
(C) 2013-2015 Michael Geszkiewicz (contact: micges@wp.pl)
(C) Mesa Electronics
Try 'mesaflash --help' for more information

pi@cnc:~/mesaflash/mesaflash $ mesaflash --help
bash: mesaflash: command not found

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

More
6 years 9 months ago #155691 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
Thank you, Now I'll see if I can access the 7i92.

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

More
6 years 9 months ago #155693 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
You should be able to install it now with sudo make install

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

More
6 years 9 months ago #155837 by Mike29
Replied by Mike29 on topic Raspberry Pi 4 & MESA 7i92
I'll continue to show my ignorance as now I am trying to install the 7i92 bit file for the g540x2d and receive the following message

.pi@cnc:~ $ mesaflash --addr 10.10.10.10 --device 7I92 --write G540X2D.BIT
Can't find file G540X2D.BIT

Is there a special process for installing the bit files as this does not seem clear in the HOSTMOT2 documentation?

Thank you
The following user(s) said Thank You: cngbrick

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

More
6 years 9 months ago #155839 by PCW
Replied by PCW on topic Raspberry Pi 4 & MESA 7i92
You would need to download the 7i92.zip file from mesa, unzip it and run the mesaflash command from the directory containing the appropriate bit file

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

Time to create page: 0.083 seconds
Powered by Kunena Forum