[PATCH v2 14/14] test: vboot: Reduce fake kernel size to 500 bytes

Simon Glass sjg at chromium.org
Wed Mar 18 18:44:08 CET 2020


We don't need 5KB to test things out. A smaller size makes it easier to
look at the FIT with fdtdump.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 test/py/tests/test_vboot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index 91305a4f0f..e67f2b3d0f 100644
--- a/test/py/tests/test_vboot.py
+++ b/test/py/tests/test_vboot.py
@@ -289,7 +289,7 @@ def test_vboot(u_boot_console, sha_algo, padding, required):
 
     # Create a number kernel image with zeroes
     with open('%stest-kernel.bin' % tmpdir, 'w') as fd:
-        fd.write(5000 * chr(0))
+        fd.write(500 * chr(0))
 
     try:
         # We need to use our own device tree file. Remember to restore it
-- 
2.25.1.481.gfbce0eb801-goog



More information about the U-Boot mailing list