I did a bare-bones buildroot[0] for Raspberry Pi to run tcpser[1], was a bit of hassle but not too unmanageable!
[0]: https://github.com/buildroot/buildroot/tree/master/board/ras...
[0]: https://github.com/buildroot/buildroot/tree/master/board/ras...