add smflash-img tool