Re: [Machinekit] Build MK for non-debian distribution

2018-02-15 Thread Charles Steinkuehler
On 2/15/2018 1:37 AM, Filip Kotouček wrote:
> Hello everyone,
> 
> I would like to ask if there is possibility to build Machinekit to other 
> Linux distribution than Debian. To be specific we have platform based on 
> (am335x) Beaglebone. I'm currently using official TI kernel 4.9.59 Arago. 
> There is no packaging system and because of Buildroot I don't have native 
> toolchain in the target.
> 
> The ideal scenario will be to build the Machine kit by cross-compilation 
> and just paste some files into filesystem.
> 
> Does anybody have some advice how to accomplish this? Or should I switch to 
> Debian? My main reason to use Arago and buildroot is that I need to keep 
> the system as small and fast as possible. Stock Debian for BBB boots about 
> 40 seconds and it is not acceptable for our application. 

Machinekit should cross-compile without too much trouble as long as it
is in an appropriate environment (using a cross-compiler tool chain
and the appropriate libraries for the target system).  Your biggest
issue will probably be in pulling in all the dependencies for the
complete Machinekit stack (there are a lot of them).  If you only need
the real-time HAL layer, that's in the process of being split from the
CNC stack and should be much easier to build.

If you make any progress, please share the details.  It would be good
to be able to build Machinekit for a buildroot and/or Yocto based
embedded system.

-- 
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 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] Build MK for non-debian distribution

2018-02-15 Thread 'schoone...@btinternet.com' via Machinekit

  
  

On 15/02/18 07:37, Filip Kotouček
  wrote:


  Hello everyone,


I would like to ask if there is possibility to build
  Machinekit to other Linux distribution than Debian. To be
  specific we have platform based on (am335x) Beaglebone. I'm
  currently using official TI kernel 4.9.59 Arago. There is no
  packaging system and because of Buildroot I don't have native
  toolchain in the target.


The ideal scenario will be to build the Machine kit by
  cross-compilation and just paste some files into filesystem.
  


This may or may not be of use, I don't / won't use any boards that
are not capable of building their own software.

If you use Debian multistrap on your desktop, not only will you have
a chroot system you can compile in, it downloads a base Debian root
filesystem tarball for the version/arch

You could also use this for the basis of the filesystem on your
board, with just enough libs etc to be able to run the binaries, but
with the build tools and any superfluous stuff stripped out.
Then you do have a packaging system, so building Machinekit
becomes optional

I have chroot builders for amd64/i386/armhf in
Wheezy/Jessie/Stretch/Buster set up on my desktop which work very
well.
The multistrap filesystems are also at the core of the sysroot
docker builders used to produce the Machinekit packages.

regards

  


Does anybody have some advice how to accomplish this? Or
  should I switch to Debian? My main reason to use Arago and
  buildroot is that I need to keep the system as small and fast
  as possible. Stock Debian for BBB boots about 40 seconds and
  it is not acceptable for our application. 


Many thanks  
  
  -- 
  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.


  




-- 
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.


[Machinekit] Build MK for non-debian distribution

2018-02-14 Thread Filip Kotouček
Hello everyone,

I would like to ask if there is possibility to build Machinekit to other 
Linux distribution than Debian. To be specific we have platform based on 
(am335x) Beaglebone. I'm currently using official TI kernel 4.9.59 Arago. 
There is no packaging system and because of Buildroot I don't have native 
toolchain in the target.

The ideal scenario will be to build the Machine kit by cross-compilation 
and just paste some files into filesystem.

Does anybody have some advice how to accomplish this? Or should I switch to 
Debian? My main reason to use Arago and buildroot is that I need to keep 
the system as small and fast as possible. Stock Debian for BBB boots about 
40 seconds and it is not acceptable for our application. 

Many thanks  

-- 
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.