On 13/02/17 21:25, Klemen Zhivko wrote:
OK finaly got the board (the right one :) ) . I have burned latest ArcEye's image from:

to the SD card, I haven't troubled to extend rootfs partition.
This is what I get when starting my adapted ini and hal:

machinekit@mksocfpga:/lib/firmware/socfpga/dtbo$ machinekit ~/machinekit/configs/hm2-soc-stepper/MKSOCFPGA.ini
MACHINEKIT - 0.1
Machine configuration directory is '/home/machinekit/machinekit/configs/hm2-soc-stepper'
Machine configuration file is 'MKSOCFPGA.ini'
Starting Machinekit...
io started
halcmd loadusr io started
MKSOCFPGA.hal:34: insmod failed, returned -1:
Unknown parameter `config=firmware=socfpga/dtbo/DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76.dtbo num_encoders=2 num_stepgens=4'
See /var/log/linuxcnc.log for more information.
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


My configs are here:
and

What would "Unknown parameter" mean? What am I missing?

If you are using that image unaltered, it has not been updated with the multicore code.
If you have updated anything - you will be falling between 2 stools most likely

Does the sim at ~/machinekit/configs/hm2-soc-stepper/5i25-socfpga.ini run properly?

The 'unknown parameter' error is misleading.  It is the heading for an error code and often does not reflect properly what went on.

In a terminal run
DEBUG=5 realtime restart
halcmd loadrt hostmot2
halcmd newinst hm2_soc_ol hm2-socfpga0 config=firmware=socfpga/dtbo/DE0_Nano_SoC_DB25.7I76_7I76_7I76_7I76.dtbo num_encoders=2 num_stepgens=4

Then look at /var/log/linuxcnc.log and prior to the error message it will show a better idea of why it rejected the param.

The best thing to do would be, as Charles said, probably be to clone the current machinekit repo, having renamed ~/machinekit/machinekit to machinekit.old or similar

If you create a proper swapfile you can build with make -j2, which speeds things up a bit, otherwise the g++ compiler will eat all the memory and fail at other than just make.

Then run the amended hm2-soc-stepper sim and all should be well, as the changes Charles mentioned are incorporated
Use that as the base for the driver loading section of your config.

I am currently using a 8GB image, with a 512MB swap partition, when I clean that up, I will post it - but it is currently running a machine.



Dne sreda, 01. februar 2017 10.31.06 UTC+1 je oseba Schooner napisala:
Just to clarify, because there are a plethora of different kits and boards with similar names etc.

The DE0-NANO-Soc we used is the PO286-ND
http://www.digikey.co.uk/product-detail/en/P0286/P0286-ND/5222193?WT.mc_id=IQ_7628_G_pla5222193&wt.srch=1&wt.medium=cpc&WT.srch=1&mkwid=s&pcrid=106285396226&pkw=&pmt=&pdv=c

I inadvertently referred to another kit at £67, this correct one is £83 from Digikey, which appears to be the cheapest available,
with Mouser a few £ more

On Friday, 27 January 2017 14:42:45 UTC, Klemen Zhivko wrote:
Does anybody know where in Europe I can buy de0 nano soc (Cyclone 5 i think).
I would like to control 3 servos - with machinekit.
Are stepper and servo configuration posibble on machinekit (on de nano soc) ?

regards
--
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].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to