Nerves provides support for a set of common Targets. Each Target is referenced with a unique tag name. These tags are used when choosing which System and Toolchain to compile with. It is important to note that a single tag may offer support for more than one board.
|Raspberry Pi A+, B, B+ and Zero||nerves_system_rpi||
|Raspberry Pi 2||nerves_system_rpi2||
|Raspberry Pi 3||nerves_system_rpi3||
|Intel Galileo 2||nerves_system_galileo||
|Linkit Smart 7688 (and Duo)||nerves_system_linkit||
If you’re trying to support a new Target, there may be quite a bit more work involved, depending on how mature the support for that hardware is in the Buildroot community. If you’re not familiar with Buildroot, you should learn about that first, using the excellent training materials on their website.
If you can find an existing Buildroot configuration for your intended hardware and you want to get it working with Nerves, you will need to make a custom System as follows:
Follow their procedure and confirm your target boots (independent of Nerves).
Figure out how to get everything working with the version of Buildroot Nerves uses. See the
- Look for packages and board configs can need to be copied into your System.
- Look for patches to existing packages that are needed.
- Create a defconfig that mimics the one from step 1, and get
nerves_system_brto build it. See the section in the System documentation about customizing Nerves Systems.
NOTE: You probably want to disable any userland packages that may be included by default to avoid distraction.