On Friday 17 May 2019 10:43:21 am Charles Steinkuehler wrote: > On 5/16/2019 10:03 PM, Alan Condit wrote: > > Charles, > > > > Do you know what would be involved to build linuxcnc rather than > > machinekit using the mk-cross-builder? > > > > Would we have to set up a separate account? > > Would we have to create linuxcnc-cross-builder from > > mk-cross-builder? I was never able to get Docker 15 to run on my > > machine, would the cross-builder run on Docker 17? > > AFAIK the cross builder container should work on any newer version of > Docker, or you can just use Travis-CI from github. > > The dovetailautomata/mk-cross-builder is just a build environment, it > should be able to build LinuxCNC targeting x86, amd64, or armhf just > fine. The one caveat is you might have to install a few -dev packages > if the LinuxCNC build depends on anything we've dropped from > Machinekit. If you need to do this, you can just edit John's docker > file and build your own custom docker container. > > To actually run a build, we bind mount the home and source directories > (so they don't pollute the docker container) and launch the container > with a build script. This is all done by the build_docker script > which can be run from your favorite CI platform or used manually: > > https://github.com/machinekit/machinekit/blob/master/scripts/build_doc >ker > > You can also use the script to launch a shell on the build container > which can be very useful (esp. if you're missing a few dependencies or > the build is failing for some reason).
Actually, due to the speed and memory limitations of the real pi-3b, I was considering either this machine, or possibly a rock64 as the builder machine. Its arm64 though, not armhf, so even on the rock64, I'd be doing a cross-compile, but it, with a fan, can build a kernel in well under an hour. Just have to figure out how to set it up to work all this on a 240GB SSD plugged into a usb3 port. The rock64 even has an SPI bus, but no driver since the rpspi.ko driver that Bertho wrote is hard coded to fail if its not running on a real pi-3b. It since we have the srcs, could be converted but the headers for the gpio are completely different, confusing the old fart. 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 <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
