|
|
|
@ -62,22 +62,22 @@ printf("\n This utility is intended for flashing modems with a Balong V7 chipset
|
|
|
|
|
%s [options] <boot file name or directory name>\n\n\
|
|
|
|
|
Following options are allowed:\n\n"
|
|
|
|
|
#ifndef WIN32
|
|
|
|
|
"-p <tty> - Serial port for communicating with the bootloader (by default /dev/ttyUSB0)\n"
|
|
|
|
|
"-p <tty> - Serial port for communicating with the bootloader (by default /dev/ttyUSB0)\n"
|
|
|
|
|
#else
|
|
|
|
|
"-p # - Number of the serial port for communicating with the loader (e.g. -p8)\n"
|
|
|
|
|
"-p # - Number of the serial port for communicating with the loader (e.g. -p8)\n"
|
|
|
|
|
" if the -p option is not specified, the port is auto-detected\n"
|
|
|
|
|
#endif
|
|
|
|
|
"-n - Multi-file firmware from a specified directory\n\
|
|
|
|
|
-g# - Set digital signature mode\n\
|
|
|
|
|
-gl - parameter definition\n\
|
|
|
|
|
-gd - disable signature autodetection\n\
|
|
|
|
|
-g # - Set digital signature mode\n\
|
|
|
|
|
-gl - parameter definition\n\
|
|
|
|
|
-gd - disable signature autodetection\n\
|
|
|
|
|
-m - Display the firmware file map and exit\n\
|
|
|
|
|
-e - Disassemble the firmware file into partitions without headers\n\
|
|
|
|
|
-s - Disassemble the firmware file into partitions with headers\n\
|
|
|
|
|
-k - Don't restart the modem after flashing\n\
|
|
|
|
|
-r - Force reboot of the modem without flashing partitions\n\
|
|
|
|
|
-f - Flash even if there are CRC errors in the source file\n\
|
|
|
|
|
-d# - Set the firmware type (DLOAD_ID, 0...7), -dl - List of types\n\
|
|
|
|
|
-d # - Set the firmware type (DLOAD_ID, 0...7), -dl - List of types\n\
|
|
|
|
|
\n",argv[0]);
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
@ -126,7 +126,7 @@ printf("\n This utility is intended for flashing modems with a Balong V7 chipset
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
printf("\n Program for flashing Balong-chipset devices, V3.0.%i, (c) forth32, 2015, GNU GPLv3\n",BUILDNO);
|
|
|
|
|
printf("\nProgram for flashing Balong-chipset devices, V3.0.%i, (c) forth32, 2015, GNU GPLv3\n",BUILDNO);
|
|
|
|
|
printf("English Version (c) robertzaage, 2022\n");
|
|
|
|
|
#ifdef WIN32
|
|
|
|
|
printf("Windows Port 32bit (c) rust3028, 2016\n");
|
|
|
|
|