image resizes flash at first boot. script to flash nand