From 6bfe0c05c50e85493a473ce58bb2f713b7359c35 Mon Sep 17 00:00:00 2001 From: Andrew Pattison Date: Fri, 22 Nov 2019 21:25:25 +0000 Subject: [PATCH] Some further corrections --- rpi-eeprom-config | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/rpi-eeprom-config b/rpi-eeprom-config index 2733708..219126a 100755 --- a/rpi-eeprom-config +++ b/rpi-eeprom-config @@ -98,22 +98,26 @@ class BootloaderImage(object): def main(): parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, \ - description='RPI EEPROM config tool. \ + description='Bootloader EEPROM configuration tool for the Raspberry Pi 4B. \ \n\nThere are 3 operating modes: \ \n\n1. Output the bootloader configuration stored in an EEPROM image file to \ the screen (STDOUT): specify only the name of an EEPROM image file using the \ -EEPROM option. \ +\'eeprom\' option. \ \n\n2. Output the bootloader configuration stored in an EEPROM image file to a \ -file: specify the EEPROM image file using the EEPROM option, and the output file\ -using the --out option. \ +file: specify the EEPROM image file using the \'eeprom\' option, and the output \ +file using the \'--out\' option.\ \n\n3. Insert a new bootloader configuration into an EEPROM image file: specify \ -the EEPROM image file using the EEPROM option, the bootloader configuration file\ -using the --config option. A new file which is a combination of the EEPROM image\ -file, together with the new bootloader configuration file you specify will be\ -created - specify its name using the --out option.') +the source EEPROM image file using the \'eeprom\' option and the bootloader \ +configuration file using the \'--config\' option. A new file which is a \ +combination of the EEPROM image file, together with the new bootloader \ +configuration file will be created - specify its name using the \'--out\' option. \ +The new bootloader configuration will replace any configuration present in the \ +source EEPROM image.\ +\n\nBootloader EEPROM images are contained in the \'rpi-eeprom-images\' package,\ + which installs them to the /lib/firmware/raspberrypi/bootloader directory.') parser.add_argument('--config', help='Filename of new bootloader config') parser.add_argument('--out', help='Name of output file') - parser.add_argument('eeprom', help='EEPROM filename (pieeprom.bin)') + parser.add_argument('eeprom', help='name of EEPROM file to use as input') args = parser.parse_args() image = BootloaderImage(args.eeprom, args.out)