Yocto

Debian image is easy to use and develop(you can use apt-get to set up your environment), but in terms of customization, it's better to use yocto to build your rootfs system.