Lines Matching +full:ram +full:- +full:code
3 # SPDX-License-Identifier: GPL-2.0
5 # Utility code shared across multiple tests.
65 u_boot_console: A console connection to U-Boot.
160 u_boot_console: A console connection to U-Boot.
166 an error code, otherwise an exception will be raised if such
182 This runs a command and checks that it fails with the expected return code
186 u_boot_console: A console connection to U-Boot.
188 retcode: Expected non-zero return code from the command.
205 """Find the running U-Boot's RAM location.
207 Probe the running U-Boot to determine the address of the first bank
208 of RAM. This is useful for tests that test reading/writing RAM, or
215 u_boot_console: A console connection to U-Boot.
218 The address of U-Boot's first RAM bank, as an integer.
224 if ram_base == -1:
225 pytest.skip('Previously failed to find RAM bank start')
232 if '-> start' in l or 'memstart =' in l:
236 ram_base = -1
237 raise Exception('Failed to find RAM bank start in `bdinfo`')