Advanced Search

Search Results (Searched for: raspberry pi 3)

  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
17 Dec 2024 12:40 - 19 Dec 2024 22:22
Replied by Cant do this anymore bye all on topic Raspberry Pi 5 with 7c81 WORKING!

Raspberry Pi 5 with 7c81 WORKING!

Category: Driver Boards

Well after finally working out my chinese dev board was dead, second one that has failed, I loaded a Numato Mimas Spartan 6 board with 7c81 firmware modded to suit and can confirm RPi5 communicates. To make things more fun the CE0 line on my Pi is not playing so had to swap over to CE1.

So after 12 months of bitching & carrying on I'm a happy camper.

Now time to design & build some interface boards. Yay!

Quick update, the Chinese dev board is not at fault, it was the usb-blaster programmer I was using (was constantly incorrectly identifying the flash chip and programming the sram had issues as well), switching to a FT2232 based programmer allowed resuming of programming the above mentioned board. No need to design interface boards.

With regards to the "firmware=hm2/7c81/G540X2.BIT" this is not required as the 7c8* & 7i* boards have the firmware programmed into flash that retains the firmware during power off. The firmware is programmed once and only reprogrammed when you require a new configuration.
  • rodw
  • rodw's Avatar
17 Dec 2024 02:17
Replied by rodw on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Our image on the downloads page is already pre-shrunk, just like a well fitting pair of jeans :)
It does make a big difference in the image size
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
17 Dec 2024 02:03
Replied by Cant do this anymore bye all on topic Error getting packages on fresh install on Raspberry Pi 5

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

Remember the Linuxcnc RPi images are not meant to be the same as the Official RPi images. They are not to be used as a "daily driver OS", they are solely implemented to drive a cnc machine, and if you are inclined to do some Linuxcnc development.

menu-config will do most of the same stuff as the RPi utils except for setting up the various hardware related stuff. Enabling the various hardware overlays is done by config.txt, which is really really simple as it is very well documented within the file.

There really should be a "sticky" concerning the configuring of these images, without the need to add any RPi tools. And reminding users that the images are NOT related to other RPi OS's/images and such.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
17 Dec 2024 01:56
Replied by Cant do this anymore bye all on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I guess there's a lot of people that don't use Linux as a daily driver.

dd works fine on Linux for writing the images, or if you like the GUI route Ubuntu based distro have USB image writer which works fine every time.

Another thing I've noticed, which boils down to understanding things. The Linuxcnc images for the RPi are not related to the Official Raspberry Pi images and are not meant to be used as a "daily driver" OS, they are solely for running a CNC machine and maybe for those that want or need to building Linuxcnc.

So to use these images without any issues, don't assume that they have or need the same tools that the images from the Raspberry Pi foundation.

For reference this is the tool I've used for archiving images (one caveat I'm not a windows or mac user, I'm soley a Linux user):
github.com/Drewsif/PiShrink
  • digiex_chris
  • digiex_chris
16 Dec 2024 23:01

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Many thanks Zayoo !

i have add the code to the dev branch for testing.

if you want to use it, you can add
"rpi5": true,

to your json config

like this:


[code]{
"name": "IceShield",
"description": "RIO-IceShield on Raspberry PI5",
"boardcfg": "IceShield",
"protocol": "SPI",
"rpi5": true,
....
[/code]


I have tested it on dev. It works good with 2 changes:
I needed to set my spi speed at 1mhz due to my clock speed (I think), instead of 1.5mhz. I think we may need a way to configure this, as well as which spi dev to use. If we can configure which spi dev to use, it would be easier to use this on other systems as well. But for the main branch, I think we just need to support setting the spi speed.

Also, in toolchain.py, {cmd_cp} and {cmd_rm} were not evaluating correctly:
{cmd_cp} hash_new.txt hash_compiled.txt
/bin/sh: 1: {cmd_cp}: not found
I was able to make it work by changing the make by hand to cp -v. Probably not related to the rpi5 changes.

spiflash.sh doesn't work for an iceshield board, but that's to be expected I think. I'll look into that a little later. It's about not being able to set the board into reset mode via gpio25 I think, so flashrom can't read the rom size. I think there's an rpi4/5 compatible python gpio library out there, I'll see about writing a simple python helper for that instead of hitting the dev tree directly.
io.bin
bitfile: ./rio.bin ...
  reload drivers / set FPGA into reset mode
./spiflash.sh: line 52: echo: write error: Invalid argument
./spiflash.sh: line 54: /sys/class/gpio/gpio25/direction: No such file or directory
./spiflash.sh: line 61: test: : integer expression expected
  fill bitfile with zeros to reach flashsize:
   ERROR: dd can not read/write: dd if=/dev/zero of=/tmp/_flash.bin  bs= count=1


# ls /sys/class/gpio/
export  gpiochip399  gpiochip453  gpiochip459  gpiochip476  gpiochip480  unexport
  • resmond
  • resmond
16 Dec 2024 22:38
Replied by resmond on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

A few message ago I mentioned a size related error as I tried to install the ISO from Rod's Google drive.

It was suggested that I use Balencia to burn it but that actually didn't work but with searched and finally found a tool that would install it. Then I moved past that I finally wound up with the combination that I wanted to my Pi 5 install. This included all kinds of tools (including those from Raspberry) and even edited the Xfce applications menus for super convenience.

But a word of caution about 'figuring out' your way around an error instead of understanding and fixing it right - once I was done installing and configuring and wanted to make a backup of my uSD card before I moved everything to my NVME I discovered that restoring the backup to a new uSD card failed with a 'too large' error no matter what I did.

I finally used a partition tool to shrink the ROOT partition and was able to both make/restore backups and move everything to my NVME, but it would have been a lot less anxiety had I just waited until ROB posted a version without that quirk.
  • digiex_chris
  • digiex_chris
16 Dec 2024 20:21 - 16 Dec 2024 20:23

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

I'm trying to get the gowin toolchain up and running on rpi5. It gives me an error when execute making all.
cnc@raspberrypi:~/riocore/Output/TangNano9K_spi_rpi5/Gateware$ make clean
rm -rf rio.fs rio.json rio_pnr.json rio.tcl abc.history impl
cnc@raspberrypi:~/riocore/Output/TangNano9K_spi_rpi5/Gateware$ make all
gw_sh rio.tcl
/opt/gowin/IDE/bin/gw_sh: 2: Syntax error: Unterminated quoted string
make: *** [Makefile:34: impl/pnr/project.fs] Error 2
cnc@raspberrypi:~/riocore/Output/TangNano9K_spi_rpi5/Gateware$ 

I see you've already mentioned this error. I downloaded and cloned the dev version and it still doesn't work. Any tips...

I see there is another option 'generic_spi'. I will test that on rpi5 too just to get that toolchain working. I don't want to take the TN9 out of the device and program on windows anymore.


 

I found the gowin toolchain a major problem to get running on a few systems like a current LTS release of Ubuntu, so I built a docker container for the oss-cad-suite. Meister added one for the gowin toolchain, and one for oss-cad-suite on the pi. I think the pi one should work fine on the pi5 too.

I was able to flash directly using the oss-cad-suite one with a T9 on a pi4, but it's been a while. At the very least, the Dockerfiles have the details on getting the toolchain working.

Give this a try, it's the oss-cad-suite instead of gowin but it supports the T9 IIRC.
github.com/multigcs/riocore/blob/main/do...ile.debian12-run-rpi
github.com/multigcs/riocore/blob/main/DOCKER.md
  • resmond
  • resmond
16 Dec 2024 19:15

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I have a list of other 'tasks' that I wound up doing to get my Pi 5/Debian working more like I wanted it to:

1) Figuring out what Raspberry specific apps and config utilities were useful.

2) How to get them accessible from application menu.

If anyone is interested I can post what I have done but I'm new so my list is unlikely to be exhaustive.

I also wonder if that should be a new thread.
  • resmond
  • resmond
16 Dec 2024 19:09

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

WOW!

People were not kidding, that editor does suck.

:)
  • resmond
  • resmond
16 Dec 2024 19:07

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I'm attaching a .txt file with all the details - but I have a question for the group!I figured out how to 'kindof' get raspbian.org to work but it didn't seem like it had anything useful for a Pi 5 and/or for Debian.  Could be I just didn't find it or included the wrong tags.  I wound up adding arch=amdhf to get the errors to stop but doesn't that mean that a Debian Pi 5 doesn't need anything from there?Anyway, the file I will be attaching with have config instructions for BOTH raspberrypi.com and raspbian.org, including instructions on where/how to get the pgp security keys. 

I've never used this editor so if the file isn't attached I will try again.

Richard
  • Rkatts
  • Rkatts
16 Dec 2024 04:44

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I have Synaptic Package Manager installed. Looking forward to those files. Thanks for the help.
  • resmond
  • resmond
16 Dec 2024 03:56

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I just went through this a few days ago with my Pi 5.

I left a post on another thread about consider adding the RaspberryPi.com and Raspian.org entries to the appropriate lists so that the APT infrastructure works out of the box with the prebuilt Debian distributions from LinuxCNC.

I wasn't taking notes so I might have missed a step but you definitely need to add entries to the /etc/apt/sources.list and drop PGP signature files into /usr/share/keyrings.

I updated the files on my Pi but it will be tomorrow until I can get to it on the net. I'll try to upload those files and you can just drop them in. Then I would immediately install either gdebi or synaptic which are both great package managers.
  • Rkatts
  • Rkatts
15 Dec 2024 21:37

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

I'm running the LinuxCNC OS provided on the LinuxCNC Downloads page:  Downloads I used rpi-imager to burn the OS onto the micro SD card for my Raspberry Pi 5.  So far the OS is working fine.  I just can't get probe basic to install.
  • Lcvette
  • Lcvette's Avatar
15 Dec 2024 13:07

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

need more information on your install. are you using the linuxcnc iso? if so i think it was sent out with an older repository listing, you may need to remove it first and try uninstalling qtpyvcp probe basic completely and then use the docs to reinstall with the key allowing it to install the source address.
  • Rkatts
  • Rkatts
14 Dec 2024 20:47

Error getting packages on fresh install on Raspberry Pi 5

Category: QtPyVCP

Is there an updated file?  I clicked on the links provided and it said the files were in owner's trash.
The problem I've been running into with installing Python3-probe-basic is that I can't seem to get the repository to be recognized.  I tried adding the repo to synaptic and also tried adding to /etc/apt/sources.list.d/linuxcnc.list.  But there are multiple repo urls and I'm not sure if I just didn't find a valid one.
Displaying 571 - 585 out of 894 results.
Time to create page: 1.132 seconds
Powered by Kunena Forum