I was finished install hm2_tkboard.c. And I loaded halrun with hm2_tkboard, but the error was as follows:
Code:
atech@tinkerboard:~/linuxcnc-dev/src$ halcompile --install ./hm2_tkboard.c
Compiling realtime hm2_tkboard.c
Linking hm2_tkboard.so
cp hm2_tkboard.so /home/atech/linuxcnc-dev/rtlib/
Code:
atech@tinkerboard:~/linuxcnc-dev/src$ halrun
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_tkboard
Invalid cookie
Read: ffffffff ffffffff ffffffff ffffffff
hm2_tkboard: rtapi_app_main: No such device (-19)
<stdin>:4: waitpid failed /home/atech/linuxcnc-dev/bin/rtapi_app hm2_tkboard
<stdin>:4: /home/atech/linuxcnc-dev/bin/rtapi_app exited without becoming ready
<stdin>:4: insmod for hm2_tkboard failed, returned -1
I also tried to use mesaflash utility by running this command:
Code:
atech@tinkerboard:~/mesaflash$ sudo ./mesaflash --device 7I90 --spi --addr /dev/spidev0.0 --fallback --write ../7i90/configs/fallback/7i90_spi_fallback.bit
[sudo] password for atech:
unable to set bpw32, fallback to bpw8
Unexpected cookie at 0100..0110:
ffffffff ffffffff ffffffff
No 7I90 board found
Code:
atech@tinkerboard:~/mesaflash$ sudo ./mesaflash --device 7i90 --spi --write /home/atech/Downloads/7i90/configs/hostmot2/7i90_spi_svst4_8.bit
open: Bad address
No 7I90 board found
How can I flash firmware spi for mesa 7i90hd board?
Can you help me?
Thank you very much!