Re: [Machinekit] Re: Machinekit on the BeagleBone Green Wireless (BBGW) + CRAMPS

2017-07-31 Thread Robert Nelson
On Sat, Jul 29, 2017 at 3:39 PM, Daren Schwenke  wrote:
> Everything works, with the caveat of really high processor utilization.
> About 80-90% all the time, with rtapi:0 taking about 50% of that.
> This makes for a slower user interface even when using remote.
> But, that doesn't seem to affect operation as I've printed 2 good looking
> 1.5 hour parts so far with no issues.
> I've only tested on the BBG thus far.  I don't forsee any issues with the
> BBGW other than configuring it headless is confusing me as it uses
> connmanctl.
>
> Steps:
> Download the image Robert has made for this:
> https://rcn-ee.net/rootfs/bb.org/testing/2017-07-28/machinekit/bone-debian-8.9-machinekit-armhf-2017-07-28-4gb.img.xz
> Login as machinekit:machinekit.
> sudo apt-get update
> cd /usr/lib/linuxcnc/
> # save some files we need from xenomai
> sudo tar -cvpf xenomai.tar xenomai/pru*
> # remove it.
> sudo apt-get remove --purge machinekit-xenomai
> # install rt-preempt
> sudo apt-get install machinekit-rt-preempt
> # put the saved files back
> sudo tar -xvf xenomai.tar
> # move a couple from preempt to xenomai
> sudo cp -p rt-preempt/hal_pru* xenomai/
>
> #now edit /usr/bin/hal_temp_bbb and on line 154 change it so it reads:
> #syspath = '/sys/bus/iio/devices/iio:device0/'

I've submitted a pull request for this adc change:

https://github.com/machinekit/machinekit/pull/1241

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-07-31 Thread Condit Alan
Charles,

The DE10 won’t boot from the DE0-Nano-SOC MachineKit image. I need to get an 
adapter for USB female to Micro male (or USB OTG) so I can plug in my powered 
USB hub or at the very least a USB keyboard with built in touch pad.  

I guess I will try to set up so I can compile on the DE10-nano. The only linux 
box I have in the house is an i386 and the current cross compiler only runs 
64bit mode.

I may be able to use the 386 box to run linuxcnc in the shop and bring the 
D525MW inside to set up a cross compile environment but the D525MW only has a 
32gb SSD at the moment.

Alan

> On Jul 30, 2017, at 4:48 PM, Charles Steinkuehler  
> wrote:
> 
> The DE0-Nano image will /probably/ boot on the DE10, but the FPGA will
> not be programmed.  If the DE10 doesn't boot, the issue is almost
> certainly the kernel and/or device tree.  If you use the kernel and
> device tree from the DE10 image on a DE0 image you ought to be able to
> boot with the DE0 uSD.
> 
> Basically, it looks like the DE10 is the DE0 with a larger FPGA and an
> HDMI output...
> 
> ...and all of the Cyclone-V SoC+FPGA parts share the same ARM hard
> processor side, so the kernel/device-tree will be mostly identical for
> things like Ethernet, uSD, flash, SDRAM, etc. as long as the boards
> are not too dramatically different.
> 
> On 7/30/2017 6:07 PM, mugginsac wrote:
>> Charles,
>> 
>> OK, I got my DE10-nano. So let me ask another question, will the 
>> DE0-Nano-Soc 
>> MachineKit image boot on the DE10-Nano board (as a starting point for doing 
>> the 
>> implementation)? Or do I need to start with the DE10-Nano image from Terasic?
>> 
>> Alan
>> 
>> On Thursday, July 27, 2017 at 9:21:19 AM UTC-7, mugginsac wrote:
>> 
>>I placed the order for a DE10-Nano.
>>Alan
>> 
>>On Wednesday, July 26, 2017 at 2:15:29 PM UTC-7, Charles Steinkuehler 
>> wrote:
>> 
>> 
>>I'll try to carve out some time to get an FPGA project setup for the
>>DE10-nano, unless someone else feels up to the task.
>> 
>>-- 
>>Charles Steinkuehler
>>cha...@steinkuehler.net
>> 
>> -- 
>> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
>> https://github.com/machinekit
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "Machinekit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email 
>> to machinekit+unsubscr...@googlegroups.com 
>>  
>> > >.
>> Visit this group at https://groups.google.com/group/machinekit 
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
>> 
> 
> 
> -- 
> Charles Steinkuehler
> char...@steinkuehler.net 
> 
> -- 
> website: http://www.machinekit.io  blog: 
> http://blog.machinekit.io  github: 
> https://github.com/machinekit 
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Machinekit" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/machinekit/fleGyyOwDgE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> machinekit+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.