With SIM it's same:

machinekit@mksocfpga:~/git/machinekitOff/src$ DEBUG=5
machinekit@mksocfpga:~/git/machinekitOff/src$ machinekit
~/git/machinekitOff/configs/hm2-soc-stepper/5i25-socfpga.ini
MACHINEKIT - 0.1
Machine configuration directory is
'/home/machinekit/git/machinekitOff/configs/hm2-soc-stepper'
Machine configuration file is '5i25-socfpga.ini'
Starting Machinekit...
io started
<commandline>:0: Component 'iocontrol' ready
<commandline>:0: Program 'io' started
halcmd loadusr io started
hm2-soc-ol-stepper-5i25.hal:29: Realtime module 'trivkins' loaded
hm2-soc-ol-stepper-5i25.hal:33: Realtime module 'tp' loaded
hm2-soc-ol-stepper-5i25.hal:37: Realtime module 'hostmot2' loaded
hm2-soc-ol-stepper-5i25.hal:40: Realtime module 'hm2_soc_ol' loaded
hm2-soc-ol-stepper-5i25.hal:40: rc=-1: hal_call_usrfunct(newinst,--
config="firmware=socfpga/dtbo/DE0_Nano_SoC_DB25.7I76_7I85S_GPIO_GPIO.dtbo
num_stepgens=4 num_encoders=1 num_mencoders=4") failed: -1 - Operation not
permitted
Shutting down and cleaning up Machinekit...
<commandline>:0: Realtime threads stopped
<commandline>:0: Realtime module 'hm2_soc_ol' unloaded
<commandline>:0: Realtime module 'hostmot2' unloaded
<commandline>:0: Realtime module 'tp' unloaded
<commandline>:0: Realtime module 'trivkins' unloaded
<commandline>:0: Realtime threads stopped
Cleanup done
Machinekit terminated with an error.  You can find more information in the
log:
    /home/machinekit/linuxcnc_debug.txt
and
    /home/machinekit/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

There are rbf files:

machinekit@mksocfpga:~/git/machinekitOff/src$ ls /lib/firmware/socfpga -R
-all
/lib/firmware/socfpga:
total 5036
drwxr-xr-x  3 root root    4096 Nov 12 16:33 .
drwxr-xr-x 17 root root    4096 Nov 12 16:31 ..
-rw-r--r--  1 root root 1790908 Oct 28 21:21
DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76.rbf
-rw-r--r--  1 root root 1709760 Oct 28 21:21
DE0_Nano_SoC_DB25.7I76_7I85S_GPIO_GPIO.rbf
-rw-r--r--  1 root root 1634572 Oct 28 21:21
DE0_Nano_SoC_DB25.7I77_7I76_GPIO_GPIO.rbf
drwxr-xr-x  2 root root    4096 Nov 12 16:33 dtbo

/lib/firmware/socfpga/dtbo:
total 40
drwxr-xr-x 2 root root 4096 Nov 12 16:33 .
drwxr-xr-x 3 root root 4096 Nov 12 16:33 ..
-rw-r--r-- 1 root root 1001 Oct 28 21:21
DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76.dtbo
-rw-r--r-- 1 root root 1046 Oct 28 21:21
DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76.dts
-rw-r--r-- 1 root root 1001 Oct 28 21:21
DE0_Nano_SoC_DB25.7I76_7I85S_GPIO_GPIO.dtbo
-rw-r--r-- 1 root root 1047 Oct 28 21:21
DE0_Nano_SoC_DB25.7I76_7I85S_GPIO_GPIO.dts
-rw-r--r-- 1 root root 1001 Oct 28 21:21
DE0_Nano_SoC_DB25.7I77_7I76_GPIO_GPIO.dtbo
-rw-r--r-- 1 root root 1046 Oct 28 21:21
DE0_Nano_SoC_DB25.7I77_7I76_GPIO_GPIO.dts
-rw-r--r-- 1 root root  940 Oct 28 21:21 Makefile
-rw-r--r-- 1 root root 1007 Oct 28 21:21 template.dts

BUT these might come from ArcEye's image and not from build I just make. I
am not sure who or how this rbf files could be (re)created...



On Tue, Feb 14, 2017 at 6:05 PM, [email protected] <
[email protected]> wrote:

>
> On 14/02/17 16:50, Klemen Zhivko wrote:
>
>> In dmesg Iget:
>>
>> [ 4054.891575] fpga_manager fpga0: writing 
>> socfpga/DE0_Nano_SoC_DB25.7I76_7I85S_GPIO_GPIO.rbf
>> to Altera SOCFPGA FPGA Manager
>> [ 4055.106816] fpga_manager fpga0: Error after writing image data to FPGA
>> [ 4055.113936] failed to load fpga image
>>
> This shows that the config string was passed OK to the hm2_soc_ol driver,
> but there was a problem
> either with the board or the .rbf file
>
> I don't know how good the error reporting is with fpga
>
> First thing to check is that the .rbf file exists and is not corrupted
>
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github:
> https://github.com/machinekit
> --- You received this message because you are subscribed to a topic in the
> Google Groups "Machinekit" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/machinekit/XtlppKIxkBs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to