Installing MESA card 5i25

More
20 Mar 2020 20:15 #160936 by prochj51
Hi,

I have been trying to install 5i25 MESA card. I am planning to use with 7i76. So I install driver as followed:
sudo mesaflash --device 5I25 --write 5i25_7i76x2.bit

with output:
Checking file... OK
  File type: BIT file
Boot sector OK
EEPROM sectors to write: 6, max sectors in area: 16
Erasing EEPROM sectors starting from 0x100000...
  |EEEEEE
Programming EEPROM sectors starting from 0x100000...
  |WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Board configuration updated successfully.

You must power cycle board or use --reload command to load updated firmware.

They I am trying to verify it and getting
sudo mesaflash --device 5I25 --verify 5i25_7i76x2.bit
Checking file... OK
  File type: BIT file
Boot sector OK
Verifying EEPROM sectors starting from 0x100000...
  |VVVVV
Error at 0x10AA24 expected: 0x80 but read: 0x8

I dont really know what is happening or how to fix it.

Thanks for help

Jiri

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

More
20 Mar 2020 20:42 #160941 by PCW
Replied by PCW on topic Installing MESA card 5i25
Are you using the latest mesaflash?
Some older versions had issues with 64 bit OS's

github.com/jethornton/mesaflash
is the latest

Does retrying work?

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

More
21 Mar 2020 07:32 #160966 by prochj51
Replied by prochj51 on topic Installing MESA card 5i25
I clone the directory as you suggested but I got following output
eeprom_local.c:21:21: fatal error: pci/pci.h: No such file or directory


I am on Ubuntu 16.04 RTAI
Thanks

Jiri

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

More
21 Mar 2020 09:14 #160972 by BeagleBrainz
packages.ubuntu.com/xenial/libpci-dev

Basically you can use google to search for the missing file & what package it belongs to

or you can try this
apt contains "pci/pci.h"

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

More
21 Mar 2020 09:51 #160974 by prochj51
Replied by prochj51 on topic Installing MESA card 5i25
I installed
sudo apt-get install libpci-dev
with succes

but when I run make on mesaflash this happens:
make
gcc -o mesaflash mesaflash.o libanyio.a -lpci -lm
/usr/bin/ld: i386:x86-64 architecture of input file `libanyio.a(usb_boards.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `libanyio.a(pci_boards.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `libanyio.a(sserial_module.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `libanyio.a(spi_boards.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `libanyio.a(serial_boards.o)' is incompatible with i386 output
collect2: error: ld returned 1 exit status
Makefile:70: recipe for target 'mesaflash' failed
make: *** [mesaflash] Error 1

I am on 32 bit environment

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

More
21 Mar 2020 10:14 #160975 by prochj51
Replied by prochj51 on topic Installing MESA card 5i25
Okey, I had some old object files.

Now it works.

Thanks a lot guys!

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

Time to create page: 0.165 seconds
Powered by Kunena Forum