Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
YES - that did it - thank you all guys! You ALL are just great! Dne torek, 14. februar 2017 22.48.50 UTC+1 je oseba Charles Steinkuehler napisala: > > On 2/14/2017 3:15 PM, Klemen Zhivko wrote: > > > > I have a feeling that something on mksocfpga itself prevents fpga > firmware to > > be

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
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

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread schooner30@btinternet
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

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread schoone...@btinternet.com
On 14/02/17 17:25, schoone...@btinternet.com wrote: 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

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
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) ? 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

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread schoone...@btinternet.com
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č

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread schoone...@btinternet.com
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

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Charles Steinkuehler
Did you run: sudo make setuid ...after "make -j2" completed? On 2/14/2017 10:51 AM, Klemen Zhivko wrote: > Should I run machinekit with sudo?? As I remember this is somehow not good > practice? > > Dne torek, 14. februar 2017 17.50.15 UTC+1 je oseba Klemen Zhivko napisala: > > OK it

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Bas de Bruijn
> On 14 Feb 2017, at 17:51, Klemen Zhivko wrote: > > Should I run machinekit with sudo?? As I remember this is somehow not good > practice? No you shouldnt. Did you run sudo make setuid after you compiled? -- website: http://www.machinekit.io blog:

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
Should I run machinekit with sudo?? As I remember this is somehow not good practice? Dne torek, 14. februar 2017 17.50.15 UTC+1 je oseba Klemen Zhivko napisala: > > OK it completed with -j2 without problem - there is wnother error now > present in command line I get: > > machinekit@mksocfpga:~$

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
OK it completed with -j2 without problem - there is wnother error now present in command line I get: machinekit@mksocfpga:~$ machinekit ~/myconfig/mksocfpga.ini MACHINEKIT - 0.1 Machine configuration directory is '/home/machinekit/myconfig' Machine configuration file is 'mksocfpga.ini' Starting

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Charles Steinkuehler
On 2/14/2017 8:12 AM, schoone...@btinternet.com wrote: > > I found that only an actual swap partition of at least 512MB worked reliably > using *make -j2* I usually go even farther and run: make -j1 ...unless I'm building on something with more memory. It is also pretty easy to cross-build

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
Yes... my build crashed because of lack of swap... No, I haven't try to run SIM .. I took "build from source" granted so I started to build from source... I created swap now with: sudo mkdir -p /var/cache/swap/ sudo swapoff /var/cache/swap/swapfile sudo dd if=/dev/zero

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
With Arceye's image and commands you posted I get in linuxcnc.log: Feb 13 22:03:56 mksocfpga msgd:0: startup pid=22806 flavor=rt-preempt rtlevel=1 usrlevel=1 halsize=524288 shm=Posix gcc=4.9.2 version=unknown Feb 13 22:03:56 mksocfpga msgd:0: ĂMQ=4.0.5 czmq=3.0.2 protobuf=2.6.1 libwebsockets=