mkimage: guess platform automatically, add new options to set fstype and boot fssize.