Raspberry Pi 4 Tutorial - fatal error

More
6 years 6 months ago #164091 by LearningLinuxCNC
On another side note: I had my first ESD incident with the rpi4 yesterday. I woke up early came into the office sat down to start working on the issue I posted above and touched the usb ports on the rpi4 and snap!

The pi would not power up. I ordered replacements of the board and the power adapter. I plugged in the new board to the old power adapter and no joy. I plugged the new board into a new power adapter and it works. I have not tried a new power adapter with the old board yet . . . I am afraid it will toast a new power adapter with a short on the board.

What do you think?????

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #164204 by LearningLinuxCNC

LearningLinuxCNC wrote: Trying to run halcompile on this install on the rpi4 and the result returns

Code:
bash: halcompile: command not found

What do I need to do with this install to make halcompile work? I tried to run
Code:
sudo make setuid

while in the emc drectory where the source was downloaded but that does not work either. It returns
Code:
make: *** No rule to make target 'setuid'. Stop.

Any ideas?


No ideas on this one. I need halcompile to work for the project that I am working on.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #164208 by LearningLinuxCNC
Ok, Figured this one out.

To get halcompile to work you need to install linuxcnc-uspace-dev.

This is compile and put in a .deb file when you perform the steps in the installation.

For me to install this I had to go to the main user directory ~ in my case /home/pi/

I had to install a dependency
Code:
sudo apt-get install python-serial

Then i could dpkg the linuxcnc-uspace-dev .deb file
Code:
sudo dpkg -i linuxcnc-uspace-dev_2.8.0~pre1_armhf.deb

Now halcompile works and I am happy again!
The following user(s) said Thank You: phillc54, daidai

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #167452 by BlueChicago
Replied by BlueChicago on topic Raspberry Pi 4 Tutorial
I appear to have managed to install Raspbian RT, and I am now at the stage where I am installing LinuxCNC, where I am to edit out the two lines of dependencies in the debian/control.bottom.in file. However, the instructions don't quite match what I am seeing in the file:
Code:
python-vte | gir1.2-vte-2.91,

as opposed to just:
Code:
python-vte,

I am a complete novice, so I am not sure whether to remove the whole line, or just a portion.

John, a big thank you for putting these steps together.

Thanks,

-Loren

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #167565 by nicobari
Replied by nicobari on topic Raspberry Pi 4 Tutorial
Hi,
I followed the instructions on gnipsel.com/linuxcnc/uspace/ and everything went smoothly. However, when I tried to run pnccnf and got to the stage of test/tune I get the message that LinuxCNC is running in simulator mode and therefore cannot test hardware. From my google search I came to the conclusion that there is a seperate install for real time LinuxCNC. Do you know what might be going on or how I can install the linuxCNC real time version?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #167637 by JacquidR
Replied by JacquidR on topic Raspberry Pi 4 Tutorial
Hi Andy, This link seems to be blank. I would like to get the SD card image. Please advise how?

Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.268 seconds
Powered by Kunena Forum