Software Delivery Repository

Software Delivery Repository   |   Getting Started   |   FAQ  |  Repositories

fwget


fwget is a simple command-line browser that interacts with the HPE Firmware Pack for ProLiant online repository. This python3 script provides the following two commands:

1. fwget provides search, locate, and download firmware packages including rpm and fwpkg files. Acquired firmware may then be flashed with the fwget companion tool "ilorest", or by running the embedded setup command found in firmware rpms. If you know how to use apt-get, or yum, you know how to use fwget.

2. fwlist to discover and export the local server firmware information. The firmware information contains target ID, and that can be used as key for fwget for firmware search and download.


NOTE:

1. For ProLiant Gen9, Gen8 and G7 servers, you must additionally have an active warranty or support contract linked to your HPE Passport account to access HPE firmware updates. To access Gen9 and earlier firmware repositories, Generate your token here. and place it in ~/.fwget.conf after running fwget for the first time.


2. fwlist needs "iLOrest" support which is available for Gen9 server and later.

3. Please manually remove ~/.fwget.conf when upgrading if you have a previously installed fwget version earlier than 1.0.4.


4.The fwget v1.0.4 automatically generates a new .fwget.conf at the first running time as shown below, which the user needs to update with the server iLO configuration. Configure the ~/.fwget.conf file.


The example below is configured for Gen 11 server firmware repository.

{

   "ilo_address": "10.22.26.201",

   "ilo_username": "account_example",

   "ilo_password": "Password_example",

    "token": "",

    "sdr_url" : "https://downloads.linux.hpe.com/SDR/repo/fwpp-gen11/current"

}



Usage


$ fwget  < search | locate | download | list >   [ search term ]
$ fwlist < spaced_display |  json_display >   



Examples


fwget


$ fwget search dl380      (what's my ProLiant model?)
U70_1.20_01_17_2025.fwpkg      ROM Flash Firmware Package - System ROM for HPE ProLiant Compute DL380a Gen12 (U70)
U68_1.20_02_14_2025.fwpkg      ROM Flash Firmware Package - HPE ProLiant Compute DL360/DL380/ML350 Gen12 Servers (U68) Servers
U72_1.20_02_14_2025.fwpkg      ROM Flash Firmware Package - System ROM for HPE ProLiant Compute DL380a Gen12 (U72)

$ fwget download U70_1.20_01_17_2025.fwpkg download U70_1.20_01_17_2025.fwpkg ... download U70_1.20_01_17_2025.json ...
$ ilorest flashfwpkg U30_2.10_05_21_2019.fwpkg iLOrest : RESTful Interface Tool version 3.0 Copyright (c) 2014, 2019 Hewlett Packard Enterprise Development LP ------------------------------------------------------------------------------------------------- Uploading firmware: U30_2.10_05_21_2019.signed.flash Uploading component U30_2.10_05_21_2019.signed.flash Component U30_2.10_05_21_2019.signed.flash uploaded successfully 0 hour(s) 1 minute(s) 26 second(s) Firmware has successfully been flashed and a reboot is required for this firmware to take effect.



fwlist


$ fwlist spaced_display
@odata.id:/redfish/v1/UpdateService/FirmwareInventory/1/
Version:1.62 Jul 31 2024
Description:SystemBMC
Name:iLO 6
targets:e6d3c844-14a6-4f1f-84a3-c06013910306

@odata.id:/redfish/v1/UpdateService/FirmwareInventory/2/
Version:A55 v2.10 (09/19/2024)
Description:SystemRomActive
Name:System ROM
targets:00000000-0000-0000-0000-000000000243 00000000-0000-0000-0000-000001413535 00000000-0000-0000-0001-000000010243 00000000-0000-0000-0001-000000020243

$ fwlist json_display [{'@odata.id': '/redfish/v1/UpdateService/FirmwareInventory/1/', 'Description': 'SystemBMC', 'Name': 'iLO 6', 'Version': '1.62 Jul 31 2024', 'targets': ['e6d3c844-14a6-4f1f-84a3-c06013910306']}, {'@odata.id': '/redfish/v1/UpdateService/FirmwareInventory/2/', 'Description': 'SystemRomActive', 'Name': 'System ROM', 'Version': 'A55 v2.10 (09/19/2024)', 'targets': ['00000000-0000-0000-0000-000000000243', '00000000-0000-0000-0000-000001413535', '00000000-0000-0000-0001-000000010243', '00000000-0000-0000-0001-000000020243']}]



Get fwget


fwget.py   Direct download
fwget-1.0.4-1.noarch.rpm   RHEL8, RHEL9, SLES15
fwget-1.0.4-1_all.deb   Debian, Ubuntu



fwget is open source software licensed under the GPLv2. We're interested in your feedback and pull requests. Check the HPE fwget github repository to contribute or clone the latest development branch.


Changelog:
2025-03-10 (fwget-1.0.4): Add new feature - Automatically download the JSON file alongside the fwpkg package starting from Gen12 SPP.
2025-03-03 (fwget-1.0.3): Add fwlist support to discover and export the local server firmware information.
2024-02-12 (fwget-1.0.2): Update json index to include multiple targets per firmware.

Contact