Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions
Umm Rod Old Mate was referring to the my linked images for the RPi4, not your ones, the ones I built for other reasons. On Sat, Dec 30, 2023 at 1:26 PM Rod Webster wrote: > >None of those images were for the Rpi-5, I thought the RPi4 in the file > > Well yes they are. Andy and Steffan are using pi5 variant of my image which > is used for the 2.9.1 release from here: > > https://drive.google.com/file/d/1H_q0Ra-27ZDOhquvq179beUZQNVlex1f/view?usp=sharing > Filename (with rpi-5 in it): > rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img.xz > It was built for the Pi 5's BCM2712 board. > Username: cnc Password: cnc > to finalise the installation (wifi, password , locale etc) type: sudo > menu-config > > If the screen resolution is not right, it should be able to be fixed with > a parameter in one of the pi's config files. > > I have just completed and tested a 2.9.2 installer for X86 on Debian 12.4. > I managed to bypass the raspberry-firmware installation bug in earlier > versions (Inherited from Debian) > > https://drive.google.com/file/d/1nw0dGt5aZXVo8k68lLf4N_nzc0wTczAg/view?usp=sharing > I will also rebuild the images for the Pi4 and Pi5, but I am kernelled out > for today! > > Rod Webster > *1300 896 832* > +61 435 765 611 > Vehicle Modifications Network > www.vehiclemods.net.au > > > On Sat, 30 Dec 2023 at 12:00, Rob M wrote: > > > None of those images were for the Rpi-5, I thought the RPi4 in the file > > name would made the obvious, but as this a topic about the 4 I guess > there > > could be some confusion. > > > > As for the recent RPi5 image you tried does that have any issues with > > screen resolution? Is it stuck on a single resolution? Does it detect the > > display it's attached to ? These issues, as mentioned previously, a game > > stopper for myself. If they aren't an issue could you say what > > kind-brand-model display you're using ? > > > > > > > > > > > > On Sat, 30 Dec 2023, 11:40 andy pugh, wrote: > > > > > On Sat, 30 Dec 2023 at 00:27, Steffen Möller via Emc-developers > > > wrote: > > > > > > > Andy's image was a success - I just did not know the passwords. > > > > > > I mentioned it in a previous message, but it is cnc / cnc > > > > > > -- > > > atp > > > "A motorcycle is a bicycle with a pandemonium attachment and is > > > designed for the especial use of mechanical geniuses, daredevils and > > > lunatics." > > > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > > > > > > > ___ > > > Emc-developers mailing list > > > Emc-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > > > > ___ > > Emc-developers mailing list > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions
None of those images were for the Rpi-5, I thought the RPi4 in the file name would made the obvious, but as this a topic about the 4 I guess there could be some confusion. As for the recent RPi5 image you tried does that have any issues with screen resolution? Is it stuck on a single resolution? Does it detect the display it's attached to ? These issues, as mentioned previously, a game stopper for myself. If they aren't an issue could you say what kind-brand-model display you're using ? On Sat, 30 Dec 2023, 11:40 andy pugh, wrote: > On Sat, 30 Dec 2023 at 00:27, Steffen Möller via Emc-developers > wrote: > > > Andy's image was a success - I just did not know the passwords. > > I mentioned it in a previous message, but it is cnc / cnc > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions
The kernel that has been used previously on the RPi4 has worked fine on the 5. The Foundation images for ALL versions of the RPi used the same kernel, I've booted the same kernel version on the Rpi4 and 5 so to say "solid preempt_rt kernel for the Pi5 which has not been possible previously" is not correct, as I've used the same kernel version and patches on both the 4 & 5 (tho built suit each platform), the bootloader decides which kernel image to boot based on the name of the kernel image file. If you need to remove-add-customise anything from the images you can mount them and then use qemu to chroot into the image and do what you need to do, this is how the bulk of the image is created. This I've mentioned before via email. Here are a few images I've done some post build "polishing" when installing the desktop I used xfce task as this installs a little more, mainly the network manager. General use for Linuxcnc https://drive.google.com/file/d/1Ve6LismgxL0OfYufkeU1Z0hzdWhbf_WJ/view?usp=sharing A complete development image for the Litexcnc project, includes OpenOCD, oss-cad-suite and some other bits and pieces as required, previously this link was only shared on the github page for the project https://drive.google.com/file/d/1l9dldTeoRwV8Ma3ljQCWFn-8pFGjuIot/view?usp=sharing On Sat, Dec 30, 2023 at 6:03 AM andy pugh wrote: > On Fri, 29 Dec 2023 at 17:56, andy pugh wrote: > > > Let me look to see what I have. > > Try this one > rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img.xz > > Raspi-imager can work directly with .xz files, no need to expand. > > Note that you need to use menu-config to set up the Wifi. > > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions
Linuxcnc only really needs one image, it's not really meant to be a General Purpose Distro, that is the image that has all that is required to get up and going. Anything else may cause confusion, as I've noticed some people can be a bit adverse to reading information or there can be a language issue. A developer will be able to get all the bits & pieces they need. In my opinion an image without a UI doesn't make much sense for Linuxcnc. And "normal" & "minimal" are quite subjective. When Rod and myself were discussing the building the building of images we had different ideas as to what was required, I opted for a more complete desktop where Rod just went for "what was required", although I did uninstall libreoffice to reduce download size. I also included the "gvfs" stuff, to make it easier to connect via sftp from the file manager to different machines. I didn't push the issue as Rod is the more Senior member, so what Rod went for was great, I just kept doing things my way for personal use. On Fri, Dec 29, 2023 at 11:40 AM Daniel Hiepler wrote: > Vom: Thu, 28 Dec 2023 23:02:26 + > > > On Thu, 28 Dec 2023 at 14:07, Daniel Hiepler > > wrote:oot I had no more Wifi and (worse) > > the ventilator was a max > > > > > > I encountered similar problems and decided to build my own kernel. I > created a "fire & forget" bash script to build an image from the ground up > and compiles linuxcnc+rt kernel on the pi: > > > > Why do people keep reinventing this particular wheel? We distribute a > > Pi SD card image via www.linuxcnc.org. > > I wouldn't call it "reinventing the wheel" since it's quite a different > approach without cross compiling and better customization options. I use a > minimal kernel config and you can make it build an image without Xorg and > linuxcnc --with-x=no. > > Also, the image wouldn't boot on the Rpi4 at the time I tried it. > > > > > If there is something about it that you don't like, then make a change > > request, rather than dividing the effort. > > It would be nice to have builds of multiple Rpi images (normal, minimal, > developer, without UI etc.) but it would take a lot more effort than it > took for this. > > > > Regards > -- > Daniel Hiepler > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions
On Fri, Dec 29, 2023 at 10:05 AM andy pugh wrote: > On Thu, 28 Dec 2023 at 14:07, Daniel Hiepler > wrote:oot I had no more Wifi and (worse) > the ventilator was a max > > > > I encountered similar problems and decided to build my own kernel. I > created a "fire & forget" bash script to build an image from the ground up > and compiles linuxcnc+rt kernel on the pi: > > Why do people keep reinventing this particular wheel? We distribute a > Pi SD card image via www.linuxcnc.org. > > For the RPi4 I have no idea, it works, maybe some users expect an image that is exactly like The Foundation images. There are a few differences, like the location of config.txt, locales can be a hit and miss trying to set them up, even when using the supplied menu-config utility. For the RPi5 the biggest issue is the display, for whatever reason when used with an RPi5 it appears the EDID information is not being read from the display\monior\clay-tablet\slate\cave-wall or whatever the user has connected up or there could be some "special sauce being missed". I tried a couple of different fixes, most related to the RPi4 as there was not a lot regarding this on the RPi5 and "non foundation images". This has been mentioned a few times on the forum. The solution I used was a "foundation image", compiled a suitable kernel and then built Linuxcnc packages from source. As is my preference I installed an XFCE desktop and used raspi-config to change from Wayland to X as the Wayland compatibility layer for X I found some what slow. Unfortunately due to no SPI driver for the RPi5 and not wanting to starting ripping things apart in the Mill's control box to get access to my mesa ethernet hardware the little Rpi5 is resting. Tho I do have a PCIe NVME board to try out. Tho I will say it is quiet the beast and does compile a kernel and Linuxcnc at quite a good clip, that's just with the SD card, I suspect other storage mediums may improve the "rate of clip". If there is something about it that you don't like, then make a change > request, rather than dividing the effort. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latencytests-firstimpressions
Whilst I do have a cross compile setup, I did no such thing regarding a buildbot. I did offer my hardware for use, to which I received no reply, so I didn't bother with putting together a buildbot. On Fri, Dec 29, 2023 at 7:35 AM Rod Webster wrote: > The old buildbot ran on a pi but it was not robust and often pulled the > whole system down. > Rob M built a cross compiled buildbot solution using what we use for the > official images but there was no response. > To fix the buildbot somebody in charge of it actually has to want to fix > it. > > Its really too late to offer solutions now, get behind the current build > process and work with it. > > Rod Webster > *1300 896 832* > +61 435 765 611 > Vehicle Modifications Network > www.vehiclemods.net.au > > > On Fri, 29 Dec 2023 at 03:04, gene heskett wrote: > > > On 12/28/23 09:05, Andy Pugh wrote: > > > > > > > > >> On 28 Dec 2023, at 12:55, gene heskett wrote: > > >> > > >> Any chance of updating the buildbots page yellow table? > > > > > > I can’t. I have no access to the buildbot. > > > > > > Anyway, the buildbot doesn’t build anything for arm64. > > > Is that a lack of hardware? I have offered some in the past and been > > ignored, tax laws or whatever, IDK and don't really care Andy, and I can > > afford it w/o shortening my ladder up the side of the hog. > > > > TANSTAAFL is a law you can't break even if you try. I've been an > > occasional PITA here for 20 years, for free. Maybe its time I pay the > > rent with a charitable hardware donation? > > > > Take care, stay warm and well and have a better 2024. > > > > > ___ > > > Emc-developers mailing list > > > Emc-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > Cheers, Gene Heskett. > > -- > > "There are four boxes to be used in defense of liberty: > > soap, ballot, jury, and ammo. Please use in that order." > > -Ed Howdershelt (Author, 1940) > > If we desire respect for the law, we must first make the law respectable. > > - Louis D. Brandeis > > > > > > > > ___ > > Emc-developers mailing list > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-first impressions
The odroid has been running fine all year, no need to do anything. Maybe I wasn't clear, the J was retired a while ago when I started using the Odroid. I now have 2 options for the "roll my own" EPP board, the HP T610 plus or the retired J. There is no issue with Odroid. It is fine. On Thu, Dec 28, 2023 at 11:00 PM Rod Webster wrote: > >Or a J dual core celeron > >board that gathering dust after jumping onto > >the Odroid bandwagon. > I don't think this is insurmountable. I would build the 6.6 kernel and > install the R8125-dkms network driver. It should be fine. > > I do have a happy Odroid except its running ethercat (on Bullseye) rather > than Mesa which will have better network performance. > > Rod Webster > *1300 896 832* > +61 435 765 611 > Vehicle Modifications Network > www.vehiclemods.net.au > > > On Thu, 28 Dec 2023 at 21:46, andy pugh wrote: > > > On Thu, 28 Dec 2023 at 03:24, gene heskett wrote: > > > > > All packages are up to date. > > > W: Skipping acquire of configured file '2.9-rt/source/Sources' as > > > repository 'https://www.linuxcnc.org bookworm InRelease' does not seem > > > to provide it (sources.list entry misspelt?) > > > > There isn't a 2.9-rt for Pi, only a 2.9-uspace. > > You can remove 2.9-rt from the sources.list.d if that message bothers > you. > > > > -- > > atp > > "A motorcycle is a bicycle with a pandemonium attachment and is > > designed for the especial use of mechanical geniuses, daredevils and > > lunatics." > > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > > > > ___ > > Emc-developers mailing list > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions
Ahhh I've given up on anything happening for the RPi5 regarding the SPI stuff. Going my own way with a "roll my own" EPP card, got a little HP T610 Plus that should be fine for running the '53 based Myford ML7\Super 7 abomination. Or a J dual core celeron board that gathering dust after jumping onto the Odroid bandwagon. On Thu, Dec 28, 2023 at 7:54 PM gene heskett wrote: > On 12/28/23 02:34, Rod Webster wrote: > > The Pi image is forked from here > https://github.com/pyavitz/rpi-img-builder > > It is based on the official Raspberry Pi kernel > > https://github.com/raspberrypi/linux (rpi-6.1-y branch ) with Debian > > Bookworm wrapped around it. It uses a cross compilation environment so it > > gets built on x86 hardware. > > It has a good scripting environment that allows us to install linuxcnc as > > part of the build process.. > > The download page desperately needs a paragraph outlining the username > > (cnc) and password (cnc) and the need to run sudo menu-config to complete > > the build. > > I have no idea where the source is for that page or I would do a PR. > > Builds for both the pi4b/400 and the pi5 are supported by setting the > board > > parameter at build time. The Pi4 version supports the gpiod driver which > is > > documented. https://linuxcnc.org/docs/stable/html/drivers/hal_gpio.html > Humm, apparently rpspi.ko is still part of linuxcnc. My lathe is running > just fine but the gpio driver it is running on to drive a mesa 7i90HD is > not this new one but the rpspi.ko that Bertho Stultans wrote back in > 2017 or 2018, then rewrote in 2020 for the rpi4b when I got an rpi4b. > And he was nice enough 4 yeas ago, and could probably update it for > rpi5's if asked and has the data for the version in the rpi5. > > Running it from my buster config, it runs well and claims its master > 2.10-pre which would be an armhf build. But its ONLY my config copied > back into the sdcard after Rod's image was written to it. Its the > linuxcnc Rod put in the image. > > So, what do I need to do to put the the > /etc/apt/sources.list.d/linuxcnc.list for linuxcnc back on the arm64 > master build version AND get and install the proper keyfiles so apt will > accept it? > > The install instructs stops coming forward at buster. Definitely out of > date now. > > > Preempt_rt patches are supported but the challenge here is always to > match > > the kernel being built with the patched RT version. We can specify the > > commit to pull so we can match to the RT patch but currently, the latest > > kernels that have been patched have not been merged into the pi source. > > > > As far as spi and gpio on the pi5 go, that board was never in scope. It > is > > up to the devs to devise appropriate drivers as its out of scope of the > > installer. > > Expected. > > > Rod Webster > > *1300 896 832* > > +61 435 765 611 > > Vehicle Modifications Network > > www.vehiclemods.net.au > > Cheers, Gene Heskett. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests -first impressions
Gene are you after a PC image or a Pi image ? Or have you made a type with the amd64 bit ? I must admit with the "role your image utility" rod uses the locale things is a bit messy & seems to do what it wants. I've made images usingthe same method and it's felt a bit "hit & miss" getting the locale thing correct. Half the issue is a that you expect it to work like an RPi image but it's not based on any of the RPi images by "The Foundation", tho the kernel and some utilities come from there there does seem to be some "magic sauce" missing. On Thu, Dec 28, 2023 at 1:53 PM gene heskett wrote: > On 12/27/23 20:18, andy pugh wrote: > > On Thu, 28 Dec 2023 at 01:15, andy pugh wrote: > > > >> > http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_raspberry_pi_image > > > > Sorry, the link to the image is higher up the same page: > > > http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_normal_download > > > Sorry, I went there and not wanting to waste the pi's card, I installed > zsync on this machine too, then copy/pasted the download line, but it > quickly failed: > gene@coyote:~$ zsync > https://www.linuxcnc.org/iso/linuxcnc_2.9.1-amd64.hybrid.iso > failed on url https://www.linuxcnc.org/iso/linuxcnc_2.9.1-amd64.hybrid.iso > could not read control file from URL > https://www.linuxcnc.org/iso/linuxcnc_2.9.1-amd64.hybrid.iso > > What do I do next? > > Thanks all > > Cheers, Gene Heskett. > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author, 1940) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests - first impressions
Has anyone had a chance to look into the SPI issue with the RPi5 ? I've thrown mine back into it's box and a random location on shelf as ATM it's kinda useless for what I wanted it for. On Thu, Dec 28, 2023 at 12:19 PM andy pugh wrote: > On Thu, 28 Dec 2023 at 01:15, andy pugh wrote: > > > > http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_raspberry_pi_image > > Sorry, the link to the image is higher up the same page: > > http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_normal_download > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
[Emc-developers] QEMU arm64 slave for buildbot
Hi all, I've recently been building and testing some Bookworm based Raspberry Pi4 images with consultation with Rodw over at the forum. I've gotten to a stage now where I am chroot into RPi4 root file system and build packages of Linuxcnc using QEMU suitable for installing om a Raspberry PI. I was just wondering whether this setup could be used as a buildbot slave to maybe help out. Cheer R ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers