Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt

2021-02-25 Thread Alec Ari via Emc-developers
I just wanted to put this out there that vanilla Mesa3D and PREEMPT_RT from 
kernel.org support rpi4 GPU accel:

https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?h=linux-5.10.y-rt=f437bc1ec731d3c8e45daecec7d89fc82bb76d12

https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?h=linux-5.10.y-rt=4564363351e2680e55edc23c7953aebd2acb4ab7

Vanilla firmware, none needed on the Linux side for GPU accel:

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/brcm

Mesa V3D (VideoCore VI) driver:

https://gitlab.freedesktop.org/mesa/mesa/-/tree/master/src/gallium/drivers/v3d

Alec


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 11:33:38 Peter C. Wallace wrote:

[...]
> > What did I forget to do?
> >
> > Thanks Peter.
> >
> > Cheers, Gene Heskett
>
> You are trying to write a .pin (a text pinout description) file
> instead of a .bit (Xilinx  firmware) file

Fresh download had bit files, worked a treat.  Thanks Peter.

>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
>
> ___
> 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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 11:33:38 Peter C. Wallace wrote:

> On Tue, 23 Feb 2021, Gene Heskett wrote:
> > Date: Tue, 23 Feb 2021 11:07:19 -0500
> > From: Gene Heskett 
> > Reply-To: EMC developers 
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt
> >
> > On Tuesday 23 February 2021 04:12:19 Thomas J Powderly wrote:
> >> I'm getting 73.1us base latency already
> >>
> >> and need about 20 for my step timings worse case,
> >>
> >> so 80us base thread is ng
> >
> > Mine with std threads is much worse ATM, but mc is busy unpacking
> > the src zip.  And doing it over my local net. And thats seriously
> > hogging cpu cycles. And, the pi was also busy building
> > linuxcnc-master :)
> >
> > But now I have another problem. One for Peter.
> >
> > mesaflash can readhmid of a 5i25 just fine, well enough I can see
> > its the wrong firmware in it, no pwmgens, but won't write a new one.
> > Complains all the file headers are wrong:
> >
> > gene@Hardinge1:~/linuxcnc/hostmot2-firmware-5i25$ sudo mesaflash
> > --device 5i25 --program prob_rfx2.PIN
> > ERROR: Board 5I25 doesn't support FPGA resetting.
> > gene@Hardinge1:~/linuxcnc/hostmot2-firmware-5i25$ sudo mesaflash
> > --device 5i25 --verify prob_rfx2.PIN
> > Checking file... Invalid bitfile header!
> >
> > But it doesn't look contaminated to me.
> >
> > What did I forget to do?
> >
> > Thanks Peter.
> >
> > Cheers, Gene Heskett
>
> You are trying to write a .pin (a text pinout description) file
> instead of a .bit (Xilinx  firmware) file
>
And all I have on either the machine to be removed from service, or the 
machine to get renamed to TLM and which will eventually replace it 
are .pins. The machime I was using got rededicated/reinstalled after a 
pci bus failure.  I guess that means I'll need to dl that from your site 
again.

Thank you Peter.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt

2021-02-23 Thread Peter C. Wallace

On Tue, 23 Feb 2021, Gene Heskett wrote:


Date: Tue, 23 Feb 2021 11:07:19 -0500
From: Gene Heskett 
Reply-To: EMC developers 
To: emc-developers@lists.sourceforge.net
Subject: Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt

On Tuesday 23 February 2021 04:12:19 Thomas J Powderly wrote:


I'm getting 73.1us base latency already

and need about 20 for my step timings worse case,

so 80us base thread is ng


Mine with std threads is much worse ATM, but mc is busy unpacking the src
zip.  And doing it over my local net. And thats seriously hogging cpu
cycles. And, the pi was also busy building linuxcnc-master :)

But now I have another problem. One for Peter.

mesaflash can readhmid of a 5i25 just fine, well enough I can see its the
wrong firmware in it, no pwmgens, but won't write a new one. Complains
all the file headers are wrong:

gene@Hardinge1:~/linuxcnc/hostmot2-firmware-5i25$ sudo mesaflash --device
5i25 --program prob_rfx2.PIN
ERROR: Board 5I25 doesn't support FPGA resetting.
gene@Hardinge1:~/linuxcnc/hostmot2-firmware-5i25$ sudo mesaflash --device
5i25 --verify prob_rfx2.PIN
Checking file... Invalid bitfile header!

But it doesn't look contaminated to me.

What did I forget to do?

Thanks Peter.

Cheers, Gene Heskett


You are trying to write a .pin (a text pinout description) file instead of a
.bit (Xilinx  firmware) file



--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [PCW too] rpi 5.10 rt preempt

2021-02-23 Thread Gene Heskett
On Tuesday 23 February 2021 04:12:19 Thomas J Powderly wrote:

> I'm getting 73.1us base latency already
>
> and need about 20 for my step timings worse case,
>
> so 80us base thread is ng

Mine with std threads is much worse ATM, but mc is busy unpacking the src 
zip.  And doing it over my local net. And thats seriously hogging cpu 
cycles. And, the pi was also busy building linuxcnc-master :)

But now I have another problem. One for Peter.

mesaflash can readhmid of a 5i25 just fine, well enough I can see its the 
wrong firmware in it, no pwmgens, but won't write a new one. Complains 
all the file headers are wrong:

gene@Hardinge1:~/linuxcnc/hostmot2-firmware-5i25$ sudo mesaflash --device 
5i25 --program prob_rfx2.PIN
ERROR: Board 5I25 doesn't support FPGA resetting.
gene@Hardinge1:~/linuxcnc/hostmot2-firmware-5i25$ sudo mesaflash --device 
5i25 --verify prob_rfx2.PIN
Checking file... Invalid bitfile header!

But it doesn't look contaminated to me.

What did I forget to do?

Thanks Peter.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers