pub const IMAGE_ERASE_ON_FAILURE: u32 = 8;