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= 0x%x\n", in add_boot_ptr_cmd()
535 printf("ERROR: Offset not specified for Block Copy Cmd.\n"); in add_blk_cpy_cmd()
536 printf("\tSee Usage and use -f option\n"); in add_blk_cpy_cmd()
552 printf("%s: Error invalid chassis type for this command.\n", in add_blk_cpy_cmd()
564 printf("%s: Error writing blk_cpy_hdr to the file.\n", in add_blk_cpy_cmd()
576 printf("%s: Error writing BLK SRC Addr to the file.\n", in add_blk_cpy_cmd()
584 printf("%s: Error writing DST Addr to the file.\n", in add_blk_cpy_cmd()
592 printf("%s: Error writing size to the file.\n", in add_blk_cpy_cmd()
627 printf("%s: Error in opening the file: %s\n", __func__, in add_cpy_cmd()
636 printf("%s: Error in writing address of ALTCFG CMD.\n", in add_cpy_cmd()
642 printf("%s: Error in writing ALTCFG CMD.\n", __func__); in add_cpy_cmd()
647 printf("%s: Error in writing address of WAIT_CMD.\n", in add_cpy_cmd()
653 printf("%s: Error in writing WAIT_CMD.\n", __func__); in add_cpy_cmd()
662 printf("%s: Error writing ALTCFG Word: [%d].\n", in add_cpy_cmd()
672 printf("%s: Error writing ALTCFG Word write cmd.\n", in add_cpy_cmd()
678 printf("%s: Error writing ALTCFG_Word.\n", __func__); in add_cpy_cmd()
725 printf("CMD Error: Opening the RCW File.\n"); in main()
748 printf("CMD Error: Opening Input file.\n"); in main()
775 printf("CMD Error: Invalid SoC Val = %d.\n", tmp); in main()
806 printf("CMD Error: Invalid boot source.\n"); in main()
822 printf("Cmd Warning: Invalid Arg = %c.\n", opt); in main()
834 printf("%s: Error in opening the rcw file: %s\n", in main()
841 printf("%s: Error opening the input file: %s\n", in main()
846 printf("\nInput Boot Source: %s\n", boot_src_string[pblimg.boot_src]); in main()
847 printf("Input RCW File: %s\n", pblimg.rcw_nm); in main()
848 printf("Input BL2 Binary File: %s\n", pblimg.sec_imgnm); in main()
849 printf("Input load address for BL2 Binary File: 0x%x\n", pblimg.addr); in main()
851 printf("Chassis Type: %d\n", pblimg.chassis); in main()
856 printf("%s: Error in reading word from the rcw file.\n", in main()
867 printf("%s: [CH2] Error in Writing PBI Words\n", in main()
873 printf("%s: [CH2] Error in Reading PBI Words\n", in main()
909 printf("%s: Error reading PBI Cmd.\n", __func__); in main()
938 printf("%s: [CH3] Error in Writing PBI Words\n", in main()
944 printf("%s: [CH3] Error in Reading PBI Words\n", in main()
959 printf("%s: add_boot_ptr_cmd return failure.\n", in main()
968 printf("%s: Function add_blk_cpy_cmd return failure.\n", in main()
982 printf("%s: Unknown chassis type.\n", in main()
987 printf("Output file successfully created with name: %s\n\n", in main()