Lines Matching refs:printf

272 	printf("\nCorrect Usage of Tool is:\n");  in print_usage()
273 printf("\n ./create_pbl [options] (mentioned below):\n\n"); in print_usage()
274 printf("\t-r <RCW file-name> - name of RCW binary file.\n"); in print_usage()
275 printf("\t-i <BL2 Bin file-name> - file to be added to rcw file.\n"); in print_usage()
276 printf("\t-c <Number> - Chassis Architecture (=2 or =3\n"); in print_usage()
277 printf("\t or =4 for 3.2).\n"); in print_usage()
278 printf("\t-b <qspi/nor/nand/sd> - Boot source.\n"); in print_usage()
279 printf("\t-d <Address> - Destination address where BL2\n"); in print_usage()
280 printf("\t image is to be copied\n"); in print_usage()
281 printf("\t-o <output filename> - Name of PBL image generated\n"); in print_usage()
282 printf("\t as an output of the tool.\n"); in print_usage()
283 printf("\t-f <Address> - BL2 image Src Offset\n"); in print_usage()
284 printf("\t on Boot Source for block copy.\n"); in print_usage()
285 printf("\t command for chassis >=3.)\n"); in print_usage()
286 printf("\t-e <Address> - [Optional] Entry Point Address\n"); in print_usage()
287 printf("\t of the BL2.bin\n"); in print_usage()
288 printf("\t-s Secure Boot.\n"); in print_usage()
289 printf("\t-h Help.\n"); in print_usage()
290 printf("\n\n"); in print_usage()
312 printf("%s: Error reading word.\n", __func__); in crypto_calculate_checksum()
353 printf("Internal Error: Invalid Chassis val = %d.\n", in add_pbi_stop_cmd()
360 printf("%s: Error in Writing PBI STOP CMD\n", __func__); in add_pbi_stop_cmd()
388 printf("%s: Unknown Chassis.\n", __func__); in add_pbi_stop_cmd()
421 printf("%s: Unknown Chassis.\n", __func__); in add_pbi_stop_cmd()
427 printf("%s: Error in Writing PBI PBI CRC\n", __func__); in add_pbi_stop_cmd()
490 printf("Internal Error: Invalid Chassis val = %d.\n", in add_boot_ptr_cmd()
497 printf("%s: Error in Writing PBI Words:[%d].\n", in add_boot_ptr_cmd()
505 printf("%s: Error in Writing PBI Words\n", __func__); in add_boot_ptr_cmd()
510 printf("\nBoot Location Pointer= %x\n", BYTE_SWAP_32(pblimg.ep)); in add_boot_ptr_cmd()
533 printf("ERROR: Offset not specified for Block Copy Cmd.\n"); in add_blk_cpy_cmd()
534 printf("\tSee Usage and use -f option\n"); in add_blk_cpy_cmd()
550 printf("%s: Error invalid chassis type for this command.\n", in add_blk_cpy_cmd()
562 printf("%s: Error writing blk_cpy_hdr to the file.\n", in add_blk_cpy_cmd()
574 printf("%s: Error writing BLK SRC Addr to the file.\n", in add_blk_cpy_cmd()
582 printf("%s: Error writing DST Addr to the file.\n", in add_blk_cpy_cmd()
590 printf("%s: Error writing size to the file.\n", in add_blk_cpy_cmd()
625 printf("%s: Error in opening the file: %s\n", __func__, in add_cpy_cmd()
634 printf("%s: Error in writing address of ALTCFG CMD.\n", in add_cpy_cmd()
640 printf("%s: Error in writing ALTCFG CMD.\n", __func__); in add_cpy_cmd()
645 printf("%s: Error in writing address of WAIT_CMD.\n", in add_cpy_cmd()
651 printf("%s: Error in writing WAIT_CMD.\n", __func__); in add_cpy_cmd()
660 printf("%s: Error writing ALTCFG Word: [%d].\n", in add_cpy_cmd()
670 printf("%s: Error writing ALTCFG Word write cmd.\n", in add_cpy_cmd()
676 printf("%s: Error writing ALTCFG_Word.\n", __func__); in add_cpy_cmd()
723 printf("CMD Error: Opening the RCW File.\n"); in main()
746 printf("CMD Error: Opening Input file.\n"); in main()
773 printf("CMD Error: Invalid SoC Val = %d.\n", tmp); in main()
804 printf("CMD Error: Invalid boot source.\n"); in main()
820 printf("Cmd Warning: Invalid Arg = %c.\n", opt); in main()
830 printf("%s: Error in opening the rcw file: %s\n", in main()
837 printf("%s: Error opening the input file: %s\n", in main()
842 printf("\nInput Boot Source: %s\n", boot_src_string[pblimg.boot_src]); in main()
843 printf("Input RCW File: %s\n", pblimg.rcw_nm); in main()
844 printf("Input BL2 Binary File: %s\n", pblimg.sec_imgnm); in main()
845 printf("Input load address for BL2 Binary File: 0x%x\n", pblimg.addr); in main()
847 printf("Chassis Type: %d\n", pblimg.chassis); in main()
852 printf("%s: Error in reading word from the rcw file.\n", in main()
863 printf("%s: [CH2] Error in Writing PBI Words\n", in main()
869 printf("%s: [CH2] Error in Reading PBI Words\n", in main()
905 printf("%s: Error reading PBI Cmd.\n", __func__); in main()
934 printf("%s: [CH3] Error in Writing PBI Words\n", in main()
940 printf("%s: [CH3] Error in Reading PBI Words\n", in main()
955 printf("%s: add_boot_ptr_cmd return failure.\n", in main()
964 printf("%s: Function add_blk_cpy_cmd return failure.\n", in main()
978 printf("%s: Unknown chassis type.\n", in main()
983 printf("Output file successfully created with name: %s\n\n", in main()