| /u-boot/drivers/fastboot/ |
| A D | fb_getvar.c | 104 response); in getvar_get_part_info() 126 fastboot_okay(U_BOOT_VERSION, response); in getvar_version_bootloader() 139 fastboot_okay(tmp, response); in getvar_serialno() 146 fastboot_okay("N/A", response); in getvar_version_baseband() 154 fastboot_okay(board, response); in getvar_product() 164 fastboot_okay(p, response); in getvar_platform() 172 fastboot_okay("a", response); in getvar_current_slot() 214 response); in getvar_partition_type() 236 fastboot_okay("no", response); in getvar_is_userspace() 255 fastboot_fail("missing var", response); in fastboot_getvar() [all …]
|
| A D | fb_command.c | 139 response); in fastboot_handle_command() 166 fastboot_okay(NULL, response); in okay() 241 char *response) in fastboot_data_download() argument 250 response); in fastboot_data_download() 266 *response = '\0'; in fastboot_data_download() 279 fastboot_okay(NULL, response); in fastboot_data_complete() 300 image_size, response); in flash() 304 image_size, response); in flash() 340 fastboot_fail("", response); in run_ucmd() 373 fastboot_okay(NULL, response); in run_acmd() [all …]
|
| A D | fb_mmc.c | 259 response); in fb_mmc_boot_ops() 269 response); in fb_mmc_boot_ops() 291 char *response) in fb_mmc_get_boot_header() argument 311 response); in fb_mmc_get_boot_header() 337 char *response) in fb_mmc_update_zimage() argument 377 response); in fb_mmc_update_zimage() 385 response); in fb_mmc_update_zimage() 404 response); in fb_mmc_update_zimage() 552 response); in fastboot_mmc_flash_write() 578 response); in fastboot_mmc_flash_write() [all …]
|
| A D | fb_nand.c | 36 char *response) in fb_nand_lookup() argument 45 fastboot_fail("cannot init mtdparts", response); in fb_nand_lookup() 52 fastboot_fail("cannot find partition", response); in fb_nand_lookup() 59 fastboot_fail("not a NAND device", response); in fb_nand_lookup() 157 struct part_info **part_info, char *response) in fastboot_nand_get_part_info() argument 173 u32 download_bytes, char *response) in fastboot_nand_flash_write() argument 182 fastboot_fail("invalid NAND device", response); in fastboot_nand_flash_write() 209 response); in fastboot_nand_flash_write() 211 fastboot_okay(NULL, response); in fastboot_nand_flash_write() 228 fastboot_okay(NULL, response); in fastboot_nand_flash_write() [all …]
|
| A D | fb_common.c | 42 void fastboot_response(const char *tag, char *response, in fastboot_response() argument 47 strlcpy(response, tag, FASTBOOT_RESPONSE_LEN); in fastboot_response() 50 vsnprintf(response + strlen(response), in fastboot_response() 51 FASTBOOT_RESPONSE_LEN - strlen(response) - 1, in fastboot_response() 63 void fastboot_fail(const char *reason, char *response) in fastboot_fail() argument 65 fastboot_response("FAIL", response, "%s", reason); in fastboot_fail() 74 void fastboot_okay(const char *reason, char *response) in fastboot_okay() argument 77 fastboot_response("OKAY", response, "%s", reason); in fastboot_okay() 79 fastboot_response("OKAY", response, NULL); in fastboot_okay()
|
| /u-boot/test/py/tests/test_android/ |
| A D | test_avb.py | 35 assert response == '' 37 assert response.find(success_str) 49 assert response == '' 81 assert response == '' 93 assert response == '' 96 assert response == 'Unlocked = 1' 111 assert response.find('read: OK') 114 assert response == '' 123 assert response.find('64 word') 133 assert response == '' [all …]
|
| A D | test_abootimg.py | 198 assert response == "2" 201 assert response == 'v=2' 209 assert response == dtb_dump_resp 214 assert response == 'a=11f00000' 220 assert response == correct_str 224 assert response == 'v=x2' 246 assert response == "4" 249 assert response == 'v=4' 258 assert response == 'a=11f00000' 264 assert response == correct_str [all …]
|
| /u-boot/test/py/tests/ |
| A D | test_env.py | 159 assert response == '' 398 assert response == "" 401 assert response == "" 404 assert response == "" 425 assert response == "0" 429 assert response == "1" 433 assert response == "1" 503 assert response == "" 505 assert response == "1" 508 assert response == "" [all …]
|
| A D | test_gpio.py | 22 assert(expected_response in response) 25 assert(expected_response in response) 35 assert(expected_response in response) 37 assert(expected_response in response) 39 assert(expected_response in response) 139 assert good_response in response 163 assert good_response in response 187 assert good_response in response 192 assert good_response in response 215 assert good_response in response [all …]
|
| A D | test_button.py | 10 response = u_boot_console.run_command('button list; echo rc:$?') 11 assert('button1' in response) 12 assert('button2' in response) 13 assert('rc:0' in response) 26 response = u_boot_console.run_command('button button1; echo rc:$?') 27 assert('on' in response) 28 assert('rc:0' in response) 32 assert('off' in response) 33 assert('rc:1' in response) 36 assert('not found' in response) [all …]
|
| A D | test_bind.py | 40 assert response == '' 46 assert response == '' 54 assert response == '' 62 assert response == '' 71 assert response == '' 79 assert response == '' 87 assert response != '' 93 assert response != '' 99 assert response == '' 106 assert response == '' [all …]
|
| A D | test_dm.py | 9 response = u_boot_console.run_command('dm tree') 10 driver_index = response.find('Driver') 13 for line in response[:-1].split('\n')[2:]) 15 response = u_boot_console.run_command('dm compat') 17 assert driver in response 29 response = u_boot_console.run_command('dm tree -s') 30 lines = response.split('\n')[2:] 60 response = u_boot_console.run_command('dm compat') 64 assert driver in response 69 response = u_boot_console.run_command('dm static') [all …]
|
| A D | test_shell_basics.py | 13 response = u_boot_console.run_command('echo hello') 14 assert response.strip() == 'hello' 20 response = u_boot_console.run_command(cmd) 22 assert response.index('hello') < response.index('world') 30 response = u_boot_console.run_command(cmd) 31 assert response.strip() == '123' 39 response = u_boot_console.run_command('echo ${monty}') 40 assert response.strip() == '1' 41 response = u_boot_console.run_command('echo ${python}') 42 assert response.strip() == '2'
|
| A D | test_mmc_rd.py | 125 response = u_boot_console.run_command(cmd) 126 assert 'no card present' not in response 132 assert good_response in response 178 response = u_boot_console.run_command(cmd) 179 assert 'no card present' not in response 210 assert good_response in response 212 assert good_response in response 214 assert good_response in response 216 assert good_response in response 270 assert good_response in response [all …]
|
| A D | test_mmc_wr.py | 72 response = u_boot_console.run_command(cmd) 74 assert good_response in response 80 response = u_boot_console.run_command(cmd) 81 assert 'no card present' not in response 87 assert good_response in response 91 response = u_boot_console.run_command(cmd) 93 assert good_response in response 97 response = u_boot_console.run_command(cmd) 99 assert good_response in response 103 response = u_boot_console.run_command(cmd) [all …]
|
| A D | test_bootmenu.py | 23 response = u_boot_console.run_command(cmd='\x0d', wait_for_echo=False, send_nl=False) 24 assert 'ok 2' in response 28 response = u_boot_console.run_command(cmd='\x1b\x5b\x41\x0d', wait_for_echo=False, 30 assert 'ok 1' in response 34 response = u_boot_console.run_command(cmd='\x1b\x5b\x42\x0d', wait_for_echo=False, 36 assert 'ok 3' in response 40 response = u_boot_console.run_command(cmd='\x1b', wait_for_echo=False, send_nl=False) 41 assert 'ok' not in response 42 assert 'rc:0' in response
|
| A D | test_md.py | 18 response = u_boot_console.run_command('md ' + addr + ' 10') 19 assert(not (expected_response in response)) 21 response = u_boot_console.run_command('md ' + addr + ' 10') 22 assert(expected_response in response) 34 response = u_boot_console.run_command('') 36 assert(expected_response in response)
|
| /u-boot/test/dm/ |
| A D | fastboot.c | 54 &part_info, response)); in dm_test_fastboot_mmc_part() 56 &part_info, response)); in dm_test_fastboot_mmc_part() 62 &part_info, response)); in dm_test_fastboot_mmc_part() 67 &part_info, response)); in dm_test_fastboot_mmc_part() 69 &part_info, response)); in dm_test_fastboot_mmc_part() 71 &part_info, response)); in dm_test_fastboot_mmc_part() 73 &part_info, response)); in dm_test_fastboot_mmc_part() 75 &part_info, response)); in dm_test_fastboot_mmc_part() 77 &part_info, response)); in dm_test_fastboot_mmc_part() 79 &part_info, response)); in dm_test_fastboot_mmc_part() [all …]
|
| /u-boot/lib/ |
| A D | tpm-v1.c | 170 size_t response_length = sizeof(response); in tpm1_nv_read_value() 208 size_t response_length = sizeof(response); in tpm1_nv_write_value() 236 size_t response_length = sizeof(response); in tpm1_extend() 265 size_t response_length = sizeof(response); in tpm1_pcr_read() 319 size_t response_length = sizeof(response); in tpm1_read_pubek() 437 u8 response[COMMAND_BUFFER_SIZE]; in tpm1_get_permanent_flags() local 692 u8 response[COMMAND_BUFFER_SIZE]; in tpm1_oiap() local 729 u8 response[COMMAND_BUFFER_SIZE]; in tpm1_load_key2_oiap() local 764 response + response_length - in tpm1_load_key2_oiap() 824 response + response_length - in tpm1_get_pub_key_oiap() [all …]
|
| A D | image-sparse.c | 56 char *response) in write_sparse_chunk_raw() argument 98 info->mssg("flash write failure", response); in write_sparse_chunk_raw() 199 response); in write_sparse_image() 208 response); in write_sparse_image() 213 data, response); in write_sparse_image() 237 response); in write_sparse_image() 255 response); in write_sparse_image() 271 response); in write_sparse_image() 293 response); in write_sparse_image() 303 info->mssg("Unknown chunk type", response); in write_sparse_image() [all …]
|
| /u-boot/drivers/mmc/ |
| A D | mvebu_mmc.c | 198 uint response[8]; in mvebu_mmc_send_cmd() local 203 cmd->response[0] = ((response[0] & 0x03ff) << 22) | in mvebu_mmc_send_cmd() 206 cmd->response[1] = ((response[2] & 0x03ff) << 22) | in mvebu_mmc_send_cmd() 209 cmd->response[2] = ((response[4] & 0x03ff) << 22) | in mvebu_mmc_send_cmd() 212 cmd->response[3] = ((response[6] & 0x03ff) << 22) | in mvebu_mmc_send_cmd() 215 uint response[3]; in mvebu_mmc_send_cmd() local 220 cmd->response[0] = ((response[2] & 0x003f) << (8 - 8)) | in mvebu_mmc_send_cmd() 223 cmd->response[1] = ((response[0] & 0xfc00) >> 10); in mvebu_mmc_send_cmd() 224 cmd->response[2] = 0; in mvebu_mmc_send_cmd() 225 cmd->response[3] = 0; in mvebu_mmc_send_cmd() [all …]
|
| /u-boot/drivers/misc/sentinel/ |
| A D | s400_api.c | 56 if (response) in ahab_release_rdc() 86 if (response) in ahab_auth_oem_ctnr() 114 if (response) in ahab_release_container() 143 if (response) in ahab_verify_image() 172 if (response) in ahab_forward_lifecycle() 212 if (response) in ahab_read_common_fuse() 253 if (response) in ahab_write_fuse() 282 if (response) in ahab_release_caam() 320 if (response) in ahab_get_fw_version() 388 if (response) in ahab_get_info() [all …]
|
| /u-boot/arch/arm/include/asm/mach-imx/ |
| A D | s400_api.h | 133 int ahab_release_rdc(u8 core_id, u8 xrdc, u32 *response); 134 int ahab_auth_oem_ctnr(ulong ctnr_addr, u32 *response); 135 int ahab_release_container(u32 *response); 136 int ahab_verify_image(u32 img_id, u32 *response); 137 int ahab_forward_lifecycle(u16 life_cycle, u32 *response); 138 int ahab_write_fuse(u16 fuse_id, u32 fuse_val, bool lock, u32 *response); 140 int ahab_release_caam(u32 core_did, u32 *response); 141 int ahab_get_fw_version(u32 *fw_version, u32 *sha1, u32 *response); 143 int ahab_get_info(struct sentinel_get_info_data *info, u32 *response); 144 int ahab_get_fw_status(u32 *status, u32 *response); [all …]
|
| /u-boot/include/ |
| A D | fastboot.h | 62 void fastboot_response(const char *tag, char *response, 72 void fastboot_fail(const char *reason, char *response); 80 void fastboot_okay(const char *reason, char *response); 143 int fastboot_handle_command(char *cmd_string, char *response); 164 unsigned int fastboot_data_len, char *response); 173 void fastboot_data_complete(char *response);
|
| /u-boot/net/ |
| A D | fastboot_udp.c | 53 char response[FASTBOOT_RESPONSE_LEN] = {0}; in fastboot_udp_send_info() local 68 fastboot_response("INFO", response, "%s", msg); in fastboot_udp_send_info() 69 memcpy(packet, response, strlen(response)); in fastboot_udp_send_info() 70 packet += strlen(response); in fastboot_udp_send_info() 125 char response[FASTBOOT_RESPONSE_LEN] = {0}; in fastboot_send() local 168 fastboot_data_complete(response); in fastboot_send() 172 response); in fastboot_send() 180 cmd = fastboot_handle_command(command, response); in fastboot_send() 193 memcpy(packet, response, strlen(response)); in fastboot_send() 194 packet += strlen(response); in fastboot_send() [all …]
|