Create generic configuration script for cubie

use partprobe to avoid rebooting 
divide nand instalation in 3 parts: 
1 create and format partition / create fs
2 re/install botloader
3 instal rootfs