Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 120) sorted by relevance

12345

/u-boot/test/py/
A Du_boot_console_exec_attach.py20 def __init__(self, log, config): argument
35 super(ConsoleExecAttach, self).__init__(log, config, max_fifo_fill=16)
37 with self.log.section('flash'):
38 self.log.action('Flashing U-Boot')
40 runner = self.log.get_runner(cmd[0], sys.stdout)
43 self.log.status_pass('OK')
61 self.log.action('Resetting board')
63 runner = self.log.get_runner(cmd[0], sys.stdout)
A Dconftest.py27 log = None variable
109 global log
163 with log.section(name):
168 log.status_pass('OK')
341 return console.log
410 if log:
443 log.close()
556 log.get_and_reset_warning()
575 msg_log = log.status_pass
579 msg_log = log.status_warning
[all …]
A Du_boot_utils.py78 u_boot_console.log.action('Persistent data file ' + self.abs_fn +
82 u_boot_console.log.action('Generating ' + self.abs_fn +
174 runner = u_boot_console.log.get_runner(cmd[0], sys.stdout)
192 runner = u_boot_console.log.get_runner(cmd[0], sys.stdout)
229 with u_boot_console.log.section('find_ram_base'):
256 def __init__(self, log, filename): argument
267 self.log = log
279 self.log.action('Removing stale generated file ' +
296 self.log.action(
A Du_boot_console_base.py82 def __init__(self, log, config, max_fifo_fill): argument
102 self.log = log
106 self.logstream = self.log.get_stream('console', sys.stdout)
216 self.log.error(str(ex))
220 self.log.timestamp()
252 self.log.action('Sending Ctrl-C')
342 self.log.start_section('Starting U-Boot')
390 self.log.error(str(ex))
394 self.log.timestamp()
395 self.log.end_section('Starting U-Boot')
A Du_boot_console_sandbox.py15 def __init__(self, log, config): argument
26 super(ConsoleSandbox, self).__init__(log, config, max_fifo_fill=1024)
84 self.log.action('kill %d' % sig)
/u-boot/test/py/tests/test_efi_secboot/
A Dtest_authvar.py26 with u_boot_console.log.section('Test Case 1a'):
37 with u_boot_console.log.section('Test Case 1b'):
44 with u_boot_console.log.section('Test Case 1c'):
59 with u_boot_console.log.section('Test Case 1d'):
71 with u_boot_console.log.section('Test Case 1e'):
88 with u_boot_console.log.section('Test Case 1f'):
106 with u_boot_console.log.section('Test Case 1g'):
130 with u_boot_console.log.section('Test Case 2a'):
149 with u_boot_console.log.section('Test Case 2b'):
156 with u_boot_console.log.section('Test Case 2c'):
[all …]
A Dtest_signed.py27 with u_boot_console.log.section('Test Case 1a'):
36 with u_boot_console.log.section('Test Case 1b'):
51 with u_boot_console.log.section('Test Case 2a'):
73 with u_boot_console.log.section('Test Case 2b'):
95 with u_boot_console.log.section('Test Case 3a'):
113 with u_boot_console.log.section('Test Case 3b'):
131 with u_boot_console.log.section('Test Case 4'):
159 with u_boot_console.log.section('Test Case 5a'):
177 with u_boot_console.log.section('Test Case 5b'):
188 with u_boot_console.log.section('Test Case 5c'):
[all …]
A Dtest_signed_intca.py29 with u_boot_console.log.section('Test Case 1a'):
48 with u_boot_console.log.section('Test Case 1b'):
62 with u_boot_console.log.section('Test Case 2a'):
79 with u_boot_console.log.section('Test Case 2b'):
89 with u_boot_console.log.section('Test Case 2c'):
104 with u_boot_console.log.section('Test Case 3a'):
127 with u_boot_console.log.section('Test Case 3b'):
A Dtest_unsigned.py27 with u_boot_console.log.section('Test Case 1'):
54 with u_boot_console.log.section('Test Case 2'):
78 with u_boot_console.log.section('Test Case 3a'):
101 with u_boot_console.log.section('Test Case 3b'):
/u-boot/test/py/tests/
A Dtest_dfu.py154 u_boot_console.log.action(
166 u_boot_console.log.action('Waiting for DFU USB device to appear')
188 u_boot_console.log.action(
191 u_boot_console.log.action(
268 u_boot_console.log.action('Writing test data to DFU primary ' +
272 u_boot_console.log.action('Writing dummy data to DFU secondary ' +
276 u_boot_console.log.action('Reading DFU primary altsetting for ' +
280 u_boot_console.log.action('Comparing written and read data')
308 u_boot_console.log.action(
313 with u_boot_console.log.section('Data size %d' % size):
[all …]
A Dtest_ums.py99 u_boot_console.log.warning(
136 u_boot_console.log.action(
142 u_boot_console.log.action('Reading raw data from UMS device')
156 u_boot_console.log.action('Mounting exported UMS device')
173 u_boot_console.log.action('Unmounting UMS device')
193 u_boot_console.log.action(
207 u_boot_console.log.action('Writing test file via UMS')
225 u_boot_console.log.action('Reading test file back via UMS')
A Dtest_vboot.py98 with cons.log.section('Verified boot %s %s' % (sha_algo, test_type)):
135 cons.log.action('%s: Sign images' % sha_algo)
152 cons.log.action('%s: Sign images' % sha_algo)
211 cons.log.action('%s: Test FIT with signed images' % sha_algo)
222 cons.log.action('%s: Test FIT with signed configuration' % sha_algo)
230 cons.log.action('%s: Check signed config on the host' % sha_algo)
280 cons.log.action('%s: Check overflowed FIT header totalsize' % sha_algo)
285 cons.log.action('%s: Check default FIT header totalsize' % sha_algo)
300 cons.log.action('%s: Check bad config on the host' % sha_algo)
323 cons.log.action('%s: Test FIT with configs images' % sha_algo)
/u-boot/doc/develop/
A Dlogging.rst160 * minimum or maximum log level
172 * level - list log levels or set the default log level
174 * drivers - list log drivers
179 * rec - output a log record
181 Type 'help log' for details.
186 You can control the log format using the 'log format' command. The basic
207 log filter-add -A -l info
218 => log filter-list
228 information, consult the usage of the 'log' command, by running 'help log'.
271 Add a way to browse log records
[all …]
/u-boot/test/py/tests/test_android/
A Dtest_abootimg.py84 with u_boot_utils.persistent_file_helper(u_boot_console.log, persistent):
86 u_boot_console.log.action('Disk image file ' + persistent +
89 u_boot_console.log.action('Generating ' + persistent)
126 u_boot_console.log.action('Loading disk image to RAM...')
131 u_boot_console.log.action('Testing \'abootimg get ver\'...')
138 u_boot_console.log.action('Testing \'abootimg get recovery_dtbo\'...')
142 u_boot_console.log.action('Testing \'abootimg dump dtb\'...')
146 u_boot_console.log.action('Testing \'abootimg get dtb_load_addr\'...')
151 u_boot_console.log.action('Testing \'abootimg get dtb --index\'...')
A Dtest_ab.py28 with u_boot_utils.persistent_file_helper(u_boot_console.log, persistent):
30 u_boot_console.log.action('Disk image file ' + persistent +
33 u_boot_console.log.action('Generating ' + persistent)
/u-boot/test/py/tests/test_fs/
A Dtest_basic.py24 with u_boot_console.log.section('Test Case 1a - ls'):
32 with u_boot_console.log.section('Test Case 1b - ls (invalid dir)'):
46 with u_boot_console.log.section('Test Case 2a - size (small)'):
56 with u_boot_console.log.section('Test Case 2b - size (/../<file>)'):
69 with u_boot_console.log.section('Test Case 3 - size (large)'):
84 with u_boot_console.log.section('Test Case 4 - load (small)'):
103 with u_boot_console.log.section('Test Case 5 - load (first 1MB)'):
122 with u_boot_console.log.section('Test Case 6 - load (last 1MB)'):
223 with u_boot_console.log.section('Test Case 11 - write'):
248 with u_boot_console.log.section('Test Case 12 - write (".")'):
[all …]
A Dtest_unlink.py23 with u_boot_console.log.section('Test Case 1 - unlink (file)'):
41 with u_boot_console.log.section('Test Case 2 - unlink (many)'):
60 with u_boot_console.log.section('Test Case 3 - unlink (non-existing)'):
72 with u_boot_console.log.section('Test Case 4 - unlink (directory)'):
89 with u_boot_console.log.section('Test Case 5 - unlink ("non-empty directory")'):
101 with u_boot_console.log.section('Test Case 6 - unlink (".")'):
113 with u_boot_console.log.section('Test Case 7 - unlink ("..")'):
A Dtest_mkdir.py22 with u_boot_console.log.section('Test Case 1 - mkdir'):
41 with u_boot_console.log.section('Test Case 2 - mkdir (sub-sub directory)'):
60 with u_boot_console.log.section('Test Case 3 - mkdir (non-existing path)'):
72 with u_boot_console.log.section('Test Case 4 - mkdir (".")'):
84 with u_boot_console.log.section('Test Case 5 - mkdir ("..")'):
97 with u_boot_console.log.section('Test Case 6 - mkdir (create many)'):
A Dtest_ext.py24 with u_boot_console.log.section('Test Case 1 - write with abs path'):
47 with u_boot_console.log.section('Test Case 2 - write with rel path'):
70 with u_boot_console.log.section('Test Case 3 - write with invalid path'):
85 … with u_boot_console.log.section('Test Case 4 - write at non-zero offset, enlarging file size'):
118 … with u_boot_console.log.section('Test Case 5 - write at non-zero offset, shrinking file size'):
151 … with u_boot_console.log.section('Test Case 6 - write nothing at the start, truncating to zero'):
176 with u_boot_console.log.section('Test Case 7 - write at the end (append)'):
209 with u_boot_console.log.section('Test Case 8 - write beyond the end'):
227 … with u_boot_console.log.section('Test Case 9 - write to non-existing file with non-zero offset'):
243 with u_boot_console.log.section('Test Case 10 - create/delete (many)'):
[all …]
A Dtest_symlink.py26 with u_boot_console.log.section('Test Case 1 - create link and read'):
51 with u_boot_console.log.section('Test Case 2 - create chained links'):
80 with u_boot_console.log.section('Test Case 1 - create link and read'):
116 with u_boot_console.log.section('Test Case 1 - create link and read'):
/u-boot/include/
A Dlog.h159 #define log_emer(_fmt...) log(LOG_CATEGORY, LOGL_EMERG, ##_fmt)
160 #define log_alert(_fmt...) log(LOG_CATEGORY, LOGL_ALERT, ##_fmt)
161 #define log_crit(_fmt...) log(LOG_CATEGORY, LOGL_CRIT, ##_fmt)
162 #define log_err(_fmt...) log(LOG_CATEGORY, LOGL_ERR, ##_fmt)
165 #define log_info(_fmt...) log(LOG_CATEGORY, LOGL_INFO, ##_fmt)
166 #define log_debug(_fmt...) log(LOG_CATEGORY, LOGL_DEBUG, ##_fmt)
169 #define log_cont(_fmt...) log(LOGC_CONT, LOGL_CONT, ##_fmt)
194 #define log(_cat, _level, _fmt, _args...) ({ \ macro
204 #define log(_cat, _level, _fmt, _args...) macro
229 log(LOG_CATEGORY, LOGL_DEBUG, fmt, ##args); \
[all …]
/u-boot/test/
A Dnokia_rx51_test.sh230 rm -f qemu_uboot.log
233 tail -F qemu_uboot.log &
242 rm -f qemu_ram.log
243 ./qemu-system-arm -M n900 -mtdblock mtd_ram.img -serial /dev/stdout -display none > qemu_ram.log &
245 tail -F qemu_ram.log &
254 rm -f qemu_emmc.log
255 …M n900 -mtdblock mtd_emmc.img -sd emmc_emmc.img -serial /dev/stdout -display none > qemu_emmc.log &
257 tail -F qemu_emmc.log &
266 rm -f qemu_nand.log
269 tail -F qemu_nand.log &
[all …]
/u-boot/drivers/tpm/
A Dtpm2_tis_spi.c81 log(LOGC_NONE, LOGL_ERR, "%s: can't do full duplex\n", in tpm_tis_spi_xfer()
102 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_xfer()
115 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_xfer()
126 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_xfer()
144 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_xfer()
257 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_request_locality()
393 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_recv()
436 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_send()
445 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_send()
631 log(LOGC_NONE, LOGL_ERR, in tpm_tis_spi_probe()
[all …]
/u-boot/test/py/tests/test_efi_capsule/
A Dtest_capsule_firmware.py39 with u_boot_console.log.section('Test Case 1-a, before reboot'):
76 with u_boot_console.log.section('Test Case 1-b, after reboot'):
114 with u_boot_console.log.section('Test Case 2-a, before reboot'):
151 with u_boot_console.log.section('Test Case 2-b, after reboot'):
188 with u_boot_console.log.section('Test Case 3-a, before reboot'):
218 with u_boot_console.log.section('Test Case 3-b, after reboot'):
/u-boot/test/log/
A Dcont_test.c32 log(LOGC_ARCH, LOGL_ERR, "ea%d ", 1); in log_test_cont()
33 log(LOGC_CONT, LOGL_CONT, "cc%d\n", 2); in log_test_cont()
44 log(LOGC_EFI, LOGL_INFO, "ie%d\n", 3); in log_test_cont()

Completed in 34 milliseconds

12345