Raspberry Pi 4
23 Sep 2019 13:01 #145954
by Chris D
Replied by Chris D on topic Raspberry Pi 4
I am running the latency test with...
latency-histogram --base
I then start 6 of those gear programs running and left the system run for about 1/2 hour. The screen saver kicks in and I wiggle the mouse.
The values are
min (us) -292.5
sdev(us) 12.3
max (us) 258.4
Is this acceptable?
Chris D
latency-histogram --base
I then start 6 of those gear programs running and left the system run for about 1/2 hour. The screen saver kicks in and I wiggle the mouse.
The values are
min (us) -292.5
sdev(us) 12.3
max (us) 258.4
Is this acceptable?
Chris D
Please Log in or Create an account to join the conversation.
23 Sep 2019 13:08 #145955
by Chris D
Replied by Chris D on topic Raspberry Pi 4
Which mesa board...
Gene mentioned he is using the 7i90HD with 7i42TA BOBs and it works well for him. I see on the mesa sight that there are two specifically designed for the RPI, the 7C80 and 7C81.
The 7C80 is the one that really looks appealing because of the features seem to cover everything I am wanting to use (especially multiple MPGs). I am planning this control upgrade for mid-winter and hopefully it will be available by then.
As I just started looking at LinuxCNC yesterday, I don't fully understand how all these boards integrate into the LinuxCNC system. I am assuming that the because the board lists all those features, there is some "Magic Driver" that makes it easy to implement all the features without having to write a bunch of custom code.
Can someone explain to me how this all works together so I can make a better decision which way to go (which boards would be best for my application)?
Sorry for the stupid questions, as I said, I just started looking at LinuxCNC yesterday and have it loaded on a RPI4 to play with.
Chris D
Gene mentioned he is using the 7i90HD with 7i42TA BOBs and it works well for him. I see on the mesa sight that there are two specifically designed for the RPI, the 7C80 and 7C81.
The 7C80 is the one that really looks appealing because of the features seem to cover everything I am wanting to use (especially multiple MPGs). I am planning this control upgrade for mid-winter and hopefully it will be available by then.
As I just started looking at LinuxCNC yesterday, I don't fully understand how all these boards integrate into the LinuxCNC system. I am assuming that the because the board lists all those features, there is some "Magic Driver" that makes it easy to implement all the features without having to write a bunch of custom code.
Can someone explain to me how this all works together so I can make a better decision which way to go (which boards would be best for my application)?
Sorry for the stupid questions, as I said, I just started looking at LinuxCNC yesterday and have it loaded on a RPI4 to play with.
Chris D
Please Log in or Create an account to join the conversation.
23 Sep 2019 13:12 #145956
by Chris D
Replied by Chris D on topic Raspberry Pi 4
also just noticed that the RPI was probably throttling back because the temp warning icon was flashing in the upper right corner of the screen.
Please Log in or Create an account to join the conversation.
23 Sep 2019 14:39 #145967
by Bertho
raw.githubusercontent.com/BsAtHome/linux...hostmot2/hm2_rpspi.c
That one you can "save/save as" in the browser or wget the link on the command line.
Replied by Bertho on topic Raspberry Pi 4
You need to click on the "Raw" button to get to:that file is displayed, but I don't see a way to
"save" it.
raw.githubusercontent.com/BsAtHome/linux...hostmot2/hm2_rpspi.c
That one you can "save/save as" in the browser or wget the link on the command line.
Please Log in or Create an account to join the conversation.
23 Sep 2019 15:11 #145971
by Gene1934
Thanks. I applied it to the copy I had. And I've just now been made aware of an rpi-eeprom-updater. So I'll revert to a normal kernel and see if I can get that installed. I don't think that will help build linuxcnc though, too many failed dependencies that aren't fixable due to wayland. ncurses is gone so we can't even run a make menuconfig. How crappy is that?
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>
Replied by Gene1934 on topic Raspberry Pi 4
You need to click on the "Raw" button to get to:that file is displayed, but I don't see a way to
"save" it.
raw.githubusercontent.com/BsAtHome/linux...hostmot2/hm2_rpspi.c
That one you can "save/save as" in the browser or wget the link on the command line.
Thanks. I applied it to the copy I had. And I've just now been made aware of an rpi-eeprom-updater. So I'll revert to a normal kernel and see if I can get that installed. I don't think that will help build linuxcnc though, too many failed dependencies that aren't fixable due to wayland. ncurses is gone so we can't even run a make menuconfig. How crappy is that?
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.
23 Sep 2019 15:23 #145974
by acondit
Replied by acondit on topic Raspberry Pi 4
Gene,
I just did "sudo apt-get install libncurses-dev" so that I could run "make menuconfig".
Alan
I just did "sudo apt-get install libncurses-dev" so that I could run "make menuconfig".
Alan
Please Log in or Create an account to join the conversation.
23 Sep 2019 16:36 #145977
by Bertho
Now that we have pin names on the two added cards, what are the pin names for the 7I90 card? Or are these all generic pins, covered by the pins.c code (i.e. generating "Px-yy" names automatically)?
Replied by Bertho on topic Raspberry Pi 4
That I can accept. I may have a look at it later.Not a C expert , I just copied what had been done with the 7I96
Now that we have pin names on the two added cards, what are the pin names for the 7I90 card? Or are these all generic pins, covered by the pins.c code (i.e. generating "Px-yy" names automatically)?
Please Log in or Create an account to join the conversation.
23 Sep 2019 16:52 #145980
by PCW
Replied by PCW on topic Raspberry Pi 4
I think the 7I90 is generic enough that the automatic pin names are good enough
Its the boards that have a built in "BOB" so pins are more fixed function that need the pin name array most.
Its the boards that have a built in "BOB" so pins are more fixed function that need the pin name array most.
Please Log in or Create an account to join the conversation.
23 Sep 2019 17:03 #145981
by Bertho
Replied by Bertho on topic Raspberry Pi 4
I have committed and pushed another fix for the RPi4 and hm2_rpspi driver (for boards 7I90, 7C80 and 7C81). There was a logical error in the size to read from the device-tree file. Get it fresh from: github.com/BsAtHome/linuxcnc/blob/hm2_rp...hostmot2/hm2_rpspi.c
I think that I have finally fixed it (famous last words).
I think that I have finally fixed it (famous last words).
Please Log in or Create an account to join the conversation.
23 Sep 2019 19:16 #145990
by PCW
Replied by PCW on topic Raspberry Pi 4
Works for me (at least on RPI3,7C81)
Please Log in or Create an account to join the conversation.
Time to create page: 0.156 seconds