|
On 13/02/17 21:25, Klemen Zhivko wrote:
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.
-- 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. |
- [Machinekit] de0 nano soc for MK Klemen Zhivko
- Re: [Machinekit] de0 nano soc for MK Bas de Bruijn
- Re: [Machinekit] de0 nano soc for MK [email protected]
- Re: [Machinekit] de0 nano soc for M... Klemen Zhivko
- Re: [Machinekit] de0 nano soc f... Klemen Živkovič
- [Machinekit] Re: de0 nano soc for MK Schooner
- [Machinekit] Re: de0 nano soc for MK Klemen Zhivko
- Re: [Machinekit] Re: de0 nano soc f... Charles Steinkuehler
- Re: [Machinekit] Re: de0 nano soc f... [email protected]
- Re: [Machinekit] Re: de0 nano s... Klemen Zhivko
- Re: [Machinekit] Re: de0 n... Klemen Zhivko
- Re: [Machinekit] Re: de0 n... [email protected]
- Re: [Machinekit] Re: d... Klemen Zhivko
- Re: [Machinekit] R... [email protected]
- Re: [Machinekit] R... Charles Steinkuehler
- Re: [Machinekit] R... Klemen Zhivko
- Re: [Machinekit] R... Klemen Zhivko
- Re: [Machinekit] R... Bas de Bruijn
- Re: [Machinekit] R... Charles Steinkuehler
