Re: [Emc-users] Rockpro64 arrived

2019-04-26 Thread TJoseph Powderly
Thanks Alan. I can apply that to the new opi rt image from Russia (
orange-cnc.ru ) . They have interesting Hal gpio module allows any pin to
have reset feature for double step. I will build those rt tools tonight to
test latency.
Thanks TomP

On Sat, Apr 27, 2019, 12:58 AM Alan Condit  wrote:

> Hello Tom,
>
> I downloaded the cyclictest suite and ran it several times. The average
> latency is 3 microseconds. Running it via ssh the max was 45 or 48 until I
> logged from a wireless keyboard and the HDMI video. I started X and LXQT
> during that startup, the max went to 58.
>
> I just started it again with the -h option to produce a histogram, now the
> max is 62 and the average is 4.
>
> Alan
>
>
>
> > From: TJoseph Powderly 
> > Subject: Re: [Emc-users] Rockpro64 arrived
> > Date: April 25, 2019 at 9:07:16 PM PDT
> > To: emc-users@lists.sourceforge.net
> >
> >
> > Hello Alan
> >
> > On 04/26/2019 11:02 AM, Alan Condit wrote:
> >> I downloaded the Arabian Stretch nightly image
> Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z <
> https://dl.armbian.com/rockpro64/nightly/Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z>.
> It is running the 5.0.0 kernel (as patched by Armbian. When I ran
> menuconfig, I had to figure out how to select the full RT preempt. Then I
> built the linux-stable-rt-4.19.31-rt18 kernel and installed it. At the end
> of the install the Image link was still pointing to the 5.0.0 kernel but
> the Initrd link was pointing to the initrd-linux-stable-rt-4.19.31-rt18. So
> I tried booting it up and it booted the 5.0.0 image, then I went into
> /boot, deleted the Image link and created a new symbolic link to 4.19.31-rt
> kernel. Then I tried booting again and it worked. I typed uname -a and it
> reported the 4.19.31 kernel with full SMP Preempt RT. So, Gene, you could
> do the same thing for your Rock64 but you need to download the Armbian
> image for the Rock64 rather than the RockPro64. Don’t ask how I know!!! I
> compiled the kernel on the RockPro64. I started about 8:00p.m. and it
> finished sometime after 2:00a.m. and before 7:00a.m. Alan
> > please, latency test says what?
> > tomp
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

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


Re: [Emc-users] Rockpro64 arrived

2019-04-26 Thread Alan Condit
Hello Tom,

I downloaded the cyclictest suite and ran it several times. The average latency 
is 3 microseconds. Running it via ssh the max was 45 or 48 until I logged from 
a wireless keyboard and the HDMI video. I started X and LXQT during that 
startup, the max went to 58.

I just started it again with the -h option to produce a histogram, now the max 
is 62 and the average is 4.

Alan



> From: TJoseph Powderly 
> Subject: Re: [Emc-users] Rockpro64 arrived
> Date: April 25, 2019 at 9:07:16 PM PDT
> To: emc-users@lists.sourceforge.net
> 
> 
> Hello Alan
> 
> On 04/26/2019 11:02 AM, Alan Condit wrote:
>> I downloaded the Arabian Stretch nightly image 
>> Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z 
>> <https://dl.armbian.com/rockpro64/nightly/Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z>.
>>  It is running the 5.0.0 kernel (as patched by Armbian. When I ran 
>> menuconfig, I had to figure out how to select the full RT preempt. Then I 
>> built the linux-stable-rt-4.19.31-rt18 kernel and installed it. At the end 
>> of the install the Image link was still pointing to the 5.0.0 kernel but the 
>> Initrd link was pointing to the initrd-linux-stable-rt-4.19.31-rt18. So I 
>> tried booting it up and it booted the 5.0.0 image, then I went into /boot, 
>> deleted the Image link and created a new symbolic link to 4.19.31-rt kernel. 
>> Then I tried booting again and it worked. I typed uname -a and it reported 
>> the 4.19.31 kernel with full SMP Preempt RT. So, Gene, you could do the same 
>> thing for your Rock64 but you need to download the Armbian image for the 
>> Rock64 rather than the RockPro64. Don’t ask how I know!!! I compiled the 
>> kernel on the RockPro64. I started about 8:00p.m. and it finished sometime 
>> after 2:00a.m. and before 7:00a.m. Alan 
> please, latency test says what?
> tomp


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


Re: [Emc-users] Rockpro64 arrived

2019-04-26 Thread Gene Heskett
On Friday 26 April 2019 00:02:33 Alan Condit wrote:

> I downloaded the Arabian Stretch nightly image
> Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z
> 4_Debian_stretch_dev_5.0.0.7z>. It is running the 5.0.0 kernel (as
> patched by Armbian. When I ran menuconfig, I had to figure out how to
> select the full RT preempt. Then I built the
> linux-stable-rt-4.19.31-rt18 kernel and installed it. At the end of
> the install the Image link was still pointing to the 5.0.0 kernel but
> the Initrd link was pointing to the
> initrd-linux-stable-rt-4.19.31-rt18. So I tried booting it up and it
> booted the 5.0.0 image, then I went into /boot, deleted the Image link
> and created a new symbolic link to 4.19.31-rt kernel. Then I tried
> booting again and it worked. I typed uname -a and it reported the
> 4.19.31 kernel with full SMP Preempt RT.
>
> So, Gene, you could do the same thing for your Rock64 but you need to
> download the Armbian image for the Rock64 rather than the RockPro64.
> Don’t ask how I know!!!
>
> I compiled the kernel on the RockPro64. I started about 8:00p.m. and
> it finished sometime after 2:00a.m. and before 7:00a.m.
>
That is slow, I've built, but not installed several of the 4.8 etc 
kernels in rt-preempt on the rock64, takes about an hour working against 
a 60GB SSD.  The rock64 has an odd, 3 stage boot sequence I'm told, and 
the Makefile doesn't know what to do with it. I've not tried to have it 
make a deb which might work. Somebody has the tools to make a deb that 
does work because I've seen apt update the kernel, so it can be done, 
but questions about the how have gone unanswered on their forums for a 
year now. The biggest problem is the rpspi.ko source code that makes the 
spi driver on the pi, has so many tests to make sure its running on a 
pi, so it exits when tried on anything else.  Thats good code, but it 
needs stripped of that, and made to use the gpio defines of the rock64.  
And I looked at it, not even close to compatible includes.  Since that 
is a complete show stopper for running linuxcnc, I wasted a hundred 
buying 2 of them.  Which is sad, because compared to the pi, its many 
times faster because its i/o doesn't have to fight traffic in the pi's 
internal usb2 hub that everything but the wifi radio and spi has to get 
thru to get in or out. I also bought the extra 16GB memory gizmo's, but 
haven't found any docs on how to make them use that as opposed to the sd 
card to boot from. Thats apparently an insider secret I don't qualify 
for.  Overall, I'm disappointed because the info to actually put them to 
work as anything but a media server isn't being shared with us 
hobbiests. Sour grapes maybe, but thats how I see it.

And now the buildbot has stopped building for armhf, so I haven't had a 
linuxcnc update for the pi in quite a spell. Several months it seems.  
Still running 2.8.0-pre1-3855-g02ba5a1, installed Sept 16 2018. The 
intel machines are up to 2.8.0-pre1-4701-g5d6f7e9.

That bypassing by spi is the saving grace that allows the pi to work.

Thanks Alan.

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 



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


Re: [Emc-users] Rockpro64 arrived

2019-04-25 Thread TJoseph Powderly

Hello Alan

On 04/26/2019 11:02 AM, Alan Condit wrote:
I downloaded the Arabian Stretch nightly image 
Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z 
. 
It is running the 5.0.0 kernel (as patched by Armbian. When I ran 
menuconfig, I had to figure out how to select the full RT preempt. 
Then I built the linux-stable-rt-4.19.31-rt18 kernel and installed it. 
At the end of the install the Image link was still pointing to the 
5.0.0 kernel but the Initrd link was pointing to the 
initrd-linux-stable-rt-4.19.31-rt18. So I tried booting it up and it 
booted the 5.0.0 image, then I went into /boot, deleted the Image link 
and created a new symbolic link to 4.19.31-rt kernel. Then I tried 
booting again and it worked. I typed uname -a and it reported the 
4.19.31 kernel with full SMP Preempt RT. So, Gene, you could do the 
same thing for your Rock64 but you need to download the Armbian image 
for the Rock64 rather than the RockPro64. Don’t ask how I know!!! I 
compiled the kernel on the RockPro64. I started about 8:00p.m. and it 
finished sometime after 2:00a.m. and before 7:00a.m. Alan 

please, latency test says what?
tomp


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


Re: [Emc-users] Rockpro64 arrived

2019-04-25 Thread Alan Condit
I downloaded the Arabian Stretch nightly image 
Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z 
<https://dl.armbian.com/rockpro64/nightly/Armbian_5.83.190424_Rockpro64_Debian_stretch_dev_5.0.0.7z>.
 It is running the 5.0.0 kernel (as patched by Armbian. When I ran menuconfig, 
I had to figure out how to select the full RT preempt. Then I built the 
linux-stable-rt-4.19.31-rt18 kernel and installed it. At the end of the install 
the Image link was still pointing to the 5.0.0 kernel but the Initrd link was 
pointing to the initrd-linux-stable-rt-4.19.31-rt18. So I tried booting it up 
and it booted the 5.0.0 image, then I went into /boot, deleted the Image link 
and created a new symbolic link to 4.19.31-rt kernel. Then I tried booting 
again and it worked. I typed uname -a and it reported the 4.19.31 kernel with 
full SMP Preempt RT.

So, Gene, you could do the same thing for your Rock64 but you need to download 
the Armbian image for the Rock64 rather than the RockPro64. Don’t ask how I 
know!!!

I compiled the kernel on the RockPro64. I started about 8:00p.m. and it 
finished sometime after 2:00a.m. and before 7:00a.m.

Alan

> From: Alan Condit 
> Subject: Re: [Emc-users] Rockpro64 arrived
> Date: April 16, 2019 at 8:15:44 AM PDT
> To: bari , "Emc-users@lists.sourceforge.net" 
> 
> 
> 
> Bari,
> 
> I looked at the link that you posted and discovered that they also had this 
> kernel
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt
>  
> <https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt>
> so, I will try it.
> 
> Thanks,
> Alan
> 


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


Re: [Emc-users] Rockpro64 arrived

2019-04-16 Thread Alan Condit
Bari,

I looked at the link that you posted and discovered that they also had this 
kernel
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.19-rt
 

so, I will try it.

Thanks,
Alan

> On Apr 15, 2019, at 8:02 PM, bari  wrote:
> 
> As mentioned on the dev list before does anyone even read
> this stuff?
> 
> I would just use this:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.14-rt
> 
> On 4/15/19 6:38 PM, Alan Condit wrote:
>> My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a 
>> system for it and have it booting from  Stretch. 
>> 
>> Next step is to get the development software loaded and try to build a 
>> preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
>> patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which 
>> one to try first?
>> 
>> RockPro64 is now in the list of supported processors.  I wonder what that 
>> means in terms of getting it to run preempt_rt?
>> 
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


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


Re: [Emc-users] Rockpro64 arrived

2019-04-15 Thread Alan Condit
Bari,

The problem with 4.14 is that the RockPro64 was only added to the list of 
supported processors very recently. So I don’t think that 4.14 has support for 
many of the features of the RockPro64. 

One of the main developers on the Pine64 boards A64, Rock64 and RockPro64 
basically was still working on 4.4.174 until the last couple of weeks and has 
now jumped to 5.0.0. Armbian also went from 4.4 to 5.0.

Alan

> On Apr 15, 2019, at 8:02 PM, bari  wrote:
> 
> As mentioned on the dev list before does anyone even read
> this stuff?
> 
> I would just use this:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.14-rt
> 
> On 4/15/19 6:38 PM, Alan Condit wrote:
>> My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a 
>> system for it and have it booting from  Stretch. 
>> 
>> Next step is to get the development software loaded and try to build a 
>> preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
>> patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which 
>> one to try first?
>> 
>> RockPro64 is now in the list of supported processors.  I wonder what that 
>> means in terms of getting it to run preempt_rt?
>> 
>> Alan
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
> 



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


Re: [Emc-users] Rockpro64 arrived

2019-04-15 Thread bari
As mentioned on the dev list before does anyone even read
this stuff?

I would just use this:

https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git/log/?h=v4.14-rt

On 4/15/19 6:38 PM, Alan Condit wrote:
> My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a 
> system for it and have it booting from  Stretch. 
>
> Next step is to get the development software loaded and try to build a 
> preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
> patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which one 
> to try first?
>
> RockPro64 is now in the list of supported processors.  I wonder what that 
> means in terms of getting it to run preempt_rt?
>
> Alan
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



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


Re: [Emc-users] Rockpro64 arrived

2019-04-15 Thread Mark Johnsen
>
>
> Next step is to get the development software loaded and try to build a
> preempt-rt kernel. I have the sources both kernel sources and preempt_rt
> patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which
> one to try first?
>

I am not an expert in this, so take this suggestion as such, but when I was
setting up an ethereum miner, I needed to make sure I had the right kernel
or the mining software (or GPU drivers or both) would hang.  I would
suggest you look for the existing kernel version and apply the patch for
the kernel you have.  You might have one step afterwards to see which patch
4.19xx or 5.0.7 works for your installed kernel, but at least you'll have a
starting point as to what you have on your system.

What kernel do you have

?
uname -a
Reply:  Linux ASrock1 4.10.0-28-generic (and some other stuff)
32 or 64 bit?  uname -m
64-bit(x86_64)

Good luck and thanks for trying this and sharing, interested to see how it
works out.
Mark

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


[Emc-users] Rockpro64 arrived

2019-04-15 Thread Alan Condit
My RockPro64 from Pine64 arrived about a half-hour ago. I have burned a system 
for it and have it booting from  Stretch. 

Next step is to get the development software loaded and try to build a 
preempt-rt kernel. I have the sources both kernel sources and preempt_rt 
patches for both 4.19.31 and 5.0.7. Can anyone give me a hint as to which one 
to try first?

RockPro64 is now in the list of supported processors.  I wonder what that means 
in terms of getting it to run preempt_rt?

Alan

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