Raspberry Pi 4

More
09 Dec 2019 23:55 #152413 by Gene1934
Replied by Gene1934 on topic Raspberry Pi 4
That will likely change your outside address again.
email me at This email address is being protected from spambots. You need JavaScript enabled to view it. with the new one and I'll recheck, I have about 30 256 byte wide blocks in place.

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)
Genes Web page <geneslinuxbox.net:6309/gene>

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

More
28 Dec 2019 14:56 #153366 by CNCFred
Replied by CNCFred on topic Raspberry Pi 4
Hope this is still rpi4 thread.

I managed to get the Kernel 4.19y-rt running...

How do I get Linuxcnc now?
Copied it from the github...
But making it fails completely.
How to...

Autogen.sh exists but can't be executed...

I guess it needs to be made?
Any link appreciated....

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

More
28 Dec 2019 15:19 - 28 Dec 2019 15:47 #153367 by CNCFred
Replied by CNCFred on topic Raspberry Pi 4
Dpkg-checkbuilddeps

I am resolving now.. Let's see...


Edit: worked.. Some still missing for. /configure

I got the congratulation window,

Then fail again. Make claims no module named yapps?
Last edit: 28 Dec 2019 15:47 by CNCFred.

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

More
28 Dec 2019 15:52 - 28 Dec 2019 15:53 #153368 by jtheath
Replied by jtheath on topic Raspberry Pi 4
IIRC (it was a couple months ago) I installed yapps2 or similar as plain old yapps no longer exists on platform.

There were several dependencies installed by hand. Just be patient and find them.
Last edit: 28 Dec 2019 15:53 by jtheath.

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

More
28 Dec 2019 16:01 - 28 Dec 2019 16:24 #153369 by CNCFred
Replied by CNCFred on topic Raspberry Pi 4
Github

Yet another python parser

Pip install 'git+https://github.com/mk-fg/yapps.git#egg=yapps'

It finally finished, but not file to start found..?


It is in /home/pi/linuxcnc-dev/scripts
. /linuxcnc
Last edit: 28 Dec 2019 16:24 by CNCFred.

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

More
28 Dec 2019 19:59 #153375 by scotta
Replied by scotta on topic Raspberry Pi 4
I have the yapps source available in my repo.

github.com/scottalford75/LinuxCNC-on-RPi/tree/master/ArchLinux

They need to go into usr/bin and lib/python2.7/site-packages/yapps.

More details on my LinuxCNC-on-RPi page. scottalford75.github.io/LinuxCNC-on-RPi/...uxCNC%20Install.html

Scott
The following user(s) said Thank You: CNCFred

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

More
29 Dec 2019 11:59 #153427 by CNCFred
Replied by CNCFred on topic Raspberry Pi 4
It's working...
Thx...

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

More
30 Dec 2019 22:19 #153568 by gtt38
Replied by gtt38 on topic Raspberry Pi 4
I successfully installed Linuxcnc on my raspberry4, and my 7i90 work pretty well on SPI0/CE0 (spi_probe=1).
I tried the SPI1/CE2 (spi_probe=16) but it's not working.
Someone already tried to make it work on RPI spi1 with the standard hm2_rpspi driver ?

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

More
30 Dec 2019 22:38 #153570 by Bertho
Replied by Bertho on topic Raspberry Pi 4
Author of the driver here...
The SPI1 port has not been tested on a RPi4 afaik. The hardware internals should be mostly the same and compatible, but the new BCM chip adds several more ports, which may interfere (the BCM hardware doc is abysmal).

Can you test a bit? You probably know this, but anyway... the GPIO numbers and the pin-header positions do not match.
Specified as NAME=GPIONR(PINNR)
- SPI0: MOSI=10(19), MISO=9(21), SCLK=11(23), CE0=8(24), CE1=7(26)
- SPI1: MOSI=20(38), MISO=19(35), SCLK=21(40), CE0=18(12), CE1=17(11), CE2=16(36)

If SPI1/CE2 does not work, can you test SPI1/CE1 and SPI1/CE0 too? Please start with a rather slow SPI frequency to rule out timing problems. The frequency defaults to ~32MHz and I heard a rumor that the frequency might be off on the RPi4. If you start with something like 5MHz (spiclk_rate=5000), then it may be easier to get it going.

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

More
30 Dec 2019 23:02 #153573 by gtt38
Replied by gtt38 on topic Raspberry Pi 4
I'm on it ;-)
File Attachment:

File Attachment:

I'm not using a "real" 7i90, it's a XC6SLX9 flashed with a HM2 firmware but it's perfectly working with SPI0 so i don't know why it's not working on SPI1
I enabled SPI1 of course with adding "dtoverlay=spi1-3cs" in /boot/config.txt to enable 3 more spi ports but i didn't try CE1 and CE0 and and didn't try specific speed.
i just tried this but nothing :
"loadrt hm2_rpspi spi_probe=16 spiclk_rate=25000 spiclk_rate_rd=12500"

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

Time to create page: 0.102 seconds
Powered by Kunena Forum