OK I downloaded image, burned sdcard and error is same:
machinekit@mksocfpga:~/machinekit$ machinekit
./configs/hm2-soc-stepper/5i25-socfpga.ini
MACHINEKIT - 0.1
Machine configuration directory is
'/home/machinekit/machinekit/./configs/hm2-soc-stepper'
Machine configuration file is '5i25-socfpga.ini'
Starting Machinekit...
io started
halcmd loadusr io started
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...
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
I have a feeling that something on mksocfpga itself prevents fpga firmware
to be written. Can you check 6 bit switch SW10 on your board? I moved all
switches to ON. Maybe this is wrong?
Regards
Dne torek, 14. februar 2017 19.29.00 UTC+1 je oseba Schooner napisala:
>
>
> On 14/02/17 17:32, Klemen Zhivko wrote:
>
> The image you are pushing - this is pre multicore image right?
> If yes - why not have latest multicore with corrrect rfb-s (if they exist)
> ?
>
>
> No it is not, it was created today, just check the git history
>
> Just download the image, write to SD and run it
>
> If you start 'updating' or doing anything else before establishing it
> runs, you are on your own.
>
>
> Is this shomewhere available to download?
>
>
> Maybe I am hitting something that ArcEyed described as:
> "
> Do a *sudo apt-get update* and install any extra packages you require,
> but do NOT *apt-get upgrade *if you are using this image, because there
> is a later one, and upgrading will overwrite its components and I could not
> get that one to work.
> "
>
> ??
>
>
> That is taken from and even older blog entry and relate to the problem
> that was solved some time back.
>
>
>
>
> Dne torek, 14. februar 2017 18.25.20 UTC+1 je oseba Schooner napisala:
>>
>> I have just pushed a new image to the server.
>>
>> Give me 5 minutes to move it to where it should be and I will give you a
>> link to download from
>>
>> I suspect you are mixing old and new, it just isn't worth messing with
>>
>> On 14/02/17 17:09, Klemen Živkovič wrote:
>>
>> 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/topic/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.
>>
>>
>> --
> 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] <javascript:>.
> 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.