Error has been fixed when the ubifs image is created with LEB size not including the UBI headers and ubinize that image and flash erase and write that ubi image.