Advanced Search

Search Results (Searched for: raspberry)

  • royka
  • royka
18 Feb 2025 12:04
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

It would be better to have some protection of course, the same as with a Raspberry. The pin header can be used via the driver made by Guglielmi:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=200#273554

For Rockpro64 (rk3399?), I built an image before for a Orange Pi 4, but that didn't seem to work well, spikes to 130us, could work with Mesa though. You can try to build one via Armbian, from 6.12 and up you don't really need to patch it, just the right configuration. Then experiment to isolate cpu1 and move the rt tasks to that core as explained in the following post:
forum.linuxcnc.org/18-computer/48079-can...cnc?start=280#286432
  • unknown
  • unknown
18 Feb 2025 01:27

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

You commits caused somewhat of an issue. Do you think I sat on my hands and did SFA ?

I don't care about your workflow, it's not my issue. My issue was ensuring the integrity of the images.
I don't care about you trying to setup a remote desktop, that was something you decided to do. That software was outside the scope of the software needed to run a cnc machine. I don't know why people ignore using ssh.
  • 3404gerber
  • 3404gerber
17 Feb 2025 20:12 - 18 Feb 2025 08:28

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I just tested this at the beginning of rt_peripheral_init and it compiles and works on my RPi5 and RPi400 if you include the attached dtcboards.h:

int rt_peripheral_init(void)
{
    FILE *fp;
    int i, j;
    char buf[256];
    ssize_t buflen;
    char *cptr;
    const int DTC_MAX = 8;
    const char *dtcs[DTC_MAX + 1];
    
    // assume were only running on >RPi3
    
    if ((fp = fopen("/proc/device-tree/compatible" , "rb"))){

        // Read the 'compatible' string-list from the device-tree
        buflen = fread(buf, 1, sizeof(buf), fp);
        if(buflen < 0) {
            rtapi_print_msg(RTAPI_MSG_ERR,"Failed to read platform identity.\n");
            return -1;
        }

        // Decompose the device-tree buffer into a string-list with the pointers to
        // each string in dtcs. Don't go beyond the buffer's size.
        memset(dtcs, 0, sizeof(dtcs));
        for(i = 0, cptr = buf; i < DTC_MAX && cptr; i++) {
            dtcs = cptr;
            j = strlen(cptr);
            if((cptr - buf) + j + 1 < buflen)
                cptr += j + 1;
            else
                cptr = NULL;
        }

        for(i = 0; dtcs != NULL; i++) {
            if(        !strcmp(dtcs, DTC_RPI_MODEL_4B)
                ||    !strcmp(dtcs, DTC_RPI_MODEL_4CM)
                ||    !strcmp(dtcs, DTC_RPI_MODEL_400)
                ||    !strcmp(dtcs, DTC_RPI_MODEL_3BP)
                ||    !strcmp(dtcs, DTC_RPI_MODEL_3AP)
                ||    !strcmp(dtcs, DTC_RPI_MODEL_3B)) {
                rtapi_print_msg(RTAPI_MSG_ERR, "Raspberry Pi 3 or 4, using BCM2835 driver\n");
                bcm = true;
                break;    // Found our supported board
            }else if(!strcmp(dtcs, DTC_RPI_MODEL_5B) || !strcmp(dtcs, DTC_RPI_MODEL_5CM)) {
                rtapi_print_msg(RTAPI_MSG_ERR, "Raspberry Pi 5, using rp1 driver\n");
                rp1 = true;
                break;    // Found our supported board
            }else{
                rtapi_print_msg(RTAPI_MSG_ERR, "Error, RPi not detected\n");
                return -1;
            }
        }
        fclose(fp);
    }else{
        rtapi_print_msg(RTAPI_MSG_ERR,"Cannot open '/proc/device-tree/compatible' for read.\n");
    }    
    
    if (bcm == true){
...

  • haasme
  • haasme
17 Feb 2025 11:49

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

I was after 12 hours of milling parts in the shop, and another 5 hours of trying to set up linuxcnc, so don't be too angry in your judgment.
I also solved the problem as follows:

sudo nano /etc/X11/etc/X11/xrdp/xorg.conf
search for OPTION "DRMDevice" line
and replace with
Option "DRMDevice" ""
save, reboot and all work fine after!
  • unknown
  • unknown
17 Feb 2025 11:17

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

I don't know why you insisted on saying that it was so, when I clearly told you I created the images and did not have those software packages installed.


Sometimes I don't know why I even fucking bother.
  • haasme
  • haasme
17 Feb 2025 10:28

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Sorry, you are right, the original image is clean. :( my mistake!
  • unknown
  • unknown
16 Feb 2025 21:55

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

If you are using the Linuxcnc 2.9.4 images, and as you claim have any rdp or vnc packages installed it means the images themselves have been compromised. If this is the case I would make a report either on the mailing list or github pages. Links to these can be found at the Linuxcnc homepage.
The copy of the image that I am running on my RPi5 does not have any of the packages pre installed. The images I am using are the ones that I built and submitted to be put on the downloads page.
This is a very serious situation, so I want you think about whether you are using the Linuxcnc images that have been downloaded from the Linuxcnc downloads page and carefully rethink your statement that you did not install these packages yourself.
As I said this is a very serious matter and must be dealt with accordingly.
  • unknown
  • unknown
16 Feb 2025 21:11

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Are you absolutely sure you are using the Linuxcnc image. Because when I made the RPi4 and RPi5 images I didn't put any remote access software in the image other than SSH.
Please read the paragraph above very carefully.
No RDP nor VNC packages were put in the list of packages to be installed.
  • haasme
  • haasme
16 Feb 2025 16:04

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

"And please no double posting." What do you mean by that?

I use the system with a 7 inch original rpi touch screen display, and I wish to use rdp for easy configuration of the system. For this reason I try to configure rdp server. (the rdp server was all ready in the image, I didn't install it...)
I asked here because I use the linux image from this post. If is not oky please let me know where to move the question.
Tnx.
Displaying 511 - 519 out of 519 results.
Time to create page: 0.840 seconds
Powered by Kunena Forum