From 6c995eb8292fdceae735e3eb33060e28d4d1f64d Mon Sep 17 00:00:00 2001 From: Daniel <790119+DanTheMan827@users.noreply.github.com> Date: Thu, 26 Jul 2018 10:10:04 -0500 Subject: [PATCH] Pad out the uboot file being flashed to 640KB to prevent md5 errors --- Tasks/MembootTasks.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tasks/MembootTasks.cs b/Tasks/MembootTasks.cs index 99ed832..f9629cb 100644 --- a/Tasks/MembootTasks.cs +++ b/Tasks/MembootTasks.cs @@ -784,6 +784,8 @@ namespace com.clusterrr.hakchi_gui.Tasks throw new Exception(Resources.InvalidUbootSize + " " + uboot.Length); } + uboot.SetLength(655360); + uboot.OnProgress += tasker.OnProgress; hakchi.Shell.Execute("cat > /uboot.bin", uboot, null, null, 0, true); -- GitLab