diff options
Diffstat (limited to 'update_image.pl')
-rwxr-xr-x | update_image.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update_image.pl b/update_image.pl index ef9e5d1..ef8ff0b 100755 --- a/update_image.pl +++ b/update_image.pl @@ -275,8 +275,8 @@ run_command("ecc --inject $scratch_dir/hostboot.temp.bin --output $scratch_dir/i #Encode ECC into WOF/VFRT (WOFDATA) Partition if ($release eq "p9" && -e $wof_binary_filename) { - run_command("dd if=$wof_binary_filename > $scratch_dir/hostboot.temp.bin"); - run_command("ecc --inject $scratch_dir/hostboot.temp.bin --output $scratch_dir/wofdata.bin.ecc"); + run_command("dd if=$wof_binary_filename ibs=2728K conv=sync > $scratch_dir/hostboot.temp.bin"); + run_command("ecc --inject $scratch_dir/hostboot.temp.bin --output $scratch_dir/wofdata.bin.ecc --p8"); } #Print error and blank binary if wof file does not exist elsif ($release eq "p9") |