From ecce92a981a13a4e873f971e0ed5bbc728e2e577 Mon Sep 17 00:00:00 2001 From: Dean Sanner Date: Tue, 27 Jun 2017 14:19:14 -0500 Subject: Pad SBE image to 520K --- update_image.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update_image.pl b/update_image.pl index d4eb12b..ef9e5d1 100755 --- a/update_image.pl +++ b/update_image.pl @@ -178,6 +178,9 @@ if ($release eq "p9") { #SBE image prep if ($release eq "p9") { run_command("python $sbe_binary_dir/sbeOpDistribute.py --install --buildSbePart $hb_image_dir/buildSbePart.pl --hw_ref_image $hb_binary_dir/p9n.ref_image.bin --sbe_binary_filename $sbe_binary_filename --scratch_dir $scratch_dir --sbe_binary_dir $sbe_binary_dir"); + run_command("cp -f $scratch_dir/$sbe_binary_filename $scratch_dir/tmp_$sbe_binary_filename "); + run_command("dd if=$scratch_dir/tmp_$sbe_binary_filename of=$scratch_dir/$sbe_binary_filename bs=520K count=1 conv=sync"); #0s is good ECC + } else { run_command("cp $hb_binary_dir/$sbe_binary_filename $scratch_dir/"); -- cgit v1.2.3