Lines Matching full:cons
53 util.run_and_log(cons, 'dtc %s %s%s -O dtb '
70 cons.restart_uboot()
71 with cons.log.section('Verified boot %s %s' % (sha_algo, test_type)):
72 output = cons.run_command_list(
88 util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f',
101 cons.log.action('%s: Sign images' % sha_algo)
102 util.run_and_log(cons, [mkimage, '-F', '-k', tmpdir, '-K', dtb,
122 cons.log.action('%s: Test FIT with signed images' % sha_algo)
133 cons.log.action('%s: Test FIT with signed configuration' % sha_algo)
141 cons.log.action('%s: Check signed config on the host' % sha_algo)
143 util.run_and_log(cons, [fit_check_sign, '-f', fit, '-k', tmpdir,
147 sig = util.run_and_log(cons, 'fdtget -t bx %s %s value' %
153 util.run_and_log(cons, 'fdtput -t bx %s %s value %s' %
158 cons.log.action('%s: Check bad config on the host' % sha_algo)
159 util.run_and_log_expect_exception(cons, [fit_check_sign, '-f', fit,
162 cons = u_boot_console
163 tmpdir = cons.config.result_dir + '/'
165 datadir = cons.config.source_dir + '/test/py/tests/vboot/'
167 mkimage = cons.config.build_dir + '/tools/mkimage'
168 fit_check_sign = cons.config.build_dir + '/tools/fit_check_sign'
175 util.run_and_log(cons, 'openssl genpkey -algorithm RSA -out %sdev.key '
181 util.run_and_log(cons, 'openssl req -batch -new -x509 -key %sdev.key -out '
191 old_dtb = cons.config.dtb
192 cons.config.dtb = dtb
197 cons.config.dtb = old_dtb
198 cons.restart_uboot()