Monday, October 30, 2017

DE0-NANO-Soc Stretch image

There is now a Debian Stretch based Machinekit SD card image for the DE0-NANO-Soc.

It contains the new machinekit code which uses the new czmq4 API, so the RIP build is fully updateable from the main Machinekit repo.

The image is not extensively tested, but runs the mksocfpga sim fine, so should not have any issues with hardware.

The image is in compressed .xz format, expanding to 5GB approx.
It is heavier than previously, but does contain all the tools and libraries
necessary to rebuild Machinekit in situ and do some development.

There is a .bmap file with it to allow copying to card using bmaptool.

Files are located at:
http://deb.machinekit.io/uploads/de0-nano/debian-9.2-console-armhf-2017-10-29

You will need to write to at least a  8GB card and expand the fs
That will allow room for a swapfile, which is essential for rebuilding the RIP
using -j2, or else you will run out of memory compiling the C++ elements,
because g++ is particularly memory hungry in later versions.

2 comments:

  1. Noob question here. I have tracked LinuxCNC hardware development from RTAI and Preempt-RT with Wheezy and a PC to BeagleBone Black, and now DE0-NANO-SoC (mostly via dates). I am putting together a cnc router, and would like to jump in somewhere close to current. Is this the place to jump in given that Wheezy support is going away?

    ReplyDelete
  2. I could not get the debian 9.2 image to boot on my DE0-nano-SoC. On booting it was Unable to mount root fs;
    Flattened Device Tree blob at 00000100
    Booting using the fdt blob at 0x000100
    reserving fdt memory region: addr=0 size=1000
    Loading Ramdisk to 03cc2000, end 03fff818 ... OK
    Loading Device Tree to 03cb7000, end 03cc134f ... OK
    Starting kernel ...
    [ 0.000000] L2C: platform provided aux values permit register corruption.
    [ 1.527007] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
    ...

    So I tried the debian 8.5 latest image which worked much better. Thanks for providing the debian images.

    ReplyDelete