Hi Asterion,
The process is:
1. Get the board booting with a recent version of Buildroot. You
should have a chip_defconfig, a Linux defconfig and a u-boot config.
You may need to patch Buildroot, but the fewer changes, the better. An
optional step would be to contribute this to upstream Buildroot.
2. Create a new system repository for the board. See the
nerves_system_bbb repository or a similar one. Modify the
nerves_defconfig file to point to the right Linux kernel, u-boot, etc.
You may need to copy your Linux config into the repository.
3. Create a fwup.config file for the CHIP. This file specifies how
the files are laid out on the SDCard. Hopefully you can copy/paste
from the bbb one, but I haven't looked at the CHIP to see how they
like to do it.
3. Clone the nerves_system_br repository (also on the Nerves GitHub)
4. Run the script create_build.sh and point it to your
nerves_system_chip repository (or whatever you called it).
5. Run make in the build directory.
6. Run "make burn" to copy the image to an SDCard. Keep your fingers
crossed and it might boot to an Elixir prompt.
You may have seen that the CHIP website has a Buildroot fork for their
board. That should help tremendously, but the last time that I looked
at it, it was filled with a lot of irrelevant changes that couldn't be
contributed to upstream Buildroot. I hope that the CHIP people
contribute some of their work back upstream, but I haven't seen that
happen yet.
Anyway, I highly recommend joining the nerves channel on the
elixir-lang Slack. I know several people who ordered CHIPs and wanted
to run Nerves on it, and they all hang out there. To my knowledge, no
one has a board yet, though.
Good luck!
Frank
>
> Cheers,
> A
>
> --
> You received this message because you are subscribed to the Google Groups
> "nerves-project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nerves-projec...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.