Skip to contentSkip to conversation

Mellanox: lc_ini_bundle updates

PATCH In review Petr Machata 2 participants 4 messages Apr 22, 2022 – Apr 25, 2022

lore
Share & tools
lore
#0 lore raw

cover Mellanox: lc_ini_bundle updates

In patch #1, repackage the existing lc_ini_bundle sans xz compression.

In patch #2, contribute an additional lc_ini_bundle for the minimum required FW version, XX.2010.1006.

Petr Machata (2):
Mellanox: xx.2010.1502: Distribute non-xz-compressed lc_ini_bundle
Mellanox: Add lc_ini_bundle for xx.2010.1006

 WHENCE                                  |   3 ++-
 mellanox/lc_ini_bundle_2010_1006.bin    | Bin 0 -> 12300 bytes
 mellanox/lc_ini_bundle_2010_1502.bin    | Bin 0 -> 12300 bytes
 mellanox/lc_ini_bundle_2010_1502.bin.xz | Bin 632 -> 0 bytes
 4 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 mellanox/lc_ini_bundle_2010_1006.bin
 create mode 100644 mellanox/lc_ini_bundle_2010_1502.bin
 delete mode 100644 mellanox/lc_ini_bundle_2010_1502.bin.xz
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/2 Mellanox: xx.2010.1502: Distribute non-xz-compressed lc_ini_bundle

In the previous patch, lc_ini_bundle_2010_1502.bin.xz was contributed. Pushing an xz-encoded file was a mistake, the format required by the driver is decompressed, and whether the firmware file is stored on-disk compressed or plain is a user policy decision.

Therefore drop the xz file, and add the decompressed equivalent instead.

---
 WHENCE                                  |   2 +-
 mellanox/lc_ini_bundle_2010_1502.bin    | Bin 0 -> 12300 bytes
 mellanox/lc_ini_bundle_2010_1502.bin.xz | Bin 632 -> 0 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 mellanox/lc_ini_bundle_2010_1502.bin
 delete mode 100644 mellanox/lc_ini_bundle_2010_1502.bin.xz
WHENCE +1 -1
index 03208f3..93c1716 100644
@@ -5892,7 +5892,7 @@ File: mellanox/mlxsw_spectrum3-30.2010.1406.mfa2
 File: mellanox/mlxsw_spectrum-13.2010.1502.mfa2
 File: mellanox/mlxsw_spectrum2-29.2010.1502.mfa2
 File: mellanox/mlxsw_spectrum3-30.2010.1502.mfa2
-File: mellanox/lc_ini_bundle_2010_1502.bin.xz
+File: mellanox/lc_ini_bundle_2010_1502.bin
 
 Licence:
  Copyright (c) 2017-2020 Mellanox Technologies, Ltd. All rights reserved.
mellanox/lc_ini_bundle_2010_1502.bin new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..c042838f7b5884b83f59d11a36a672240dc8e8e9
GIT binary patch
mellanox/lc_ini_bundle_2010_1502.bin.xz deleted binary +0 -0
deleted file mode 100644
index c500f481d69cba3caba9f5065b856eec3938ece3..0000000000000000000000000000000000000000
GIT binary patch
Signature · 1 line
2.31.1
#2 lore raw

PATCH 2/2 Mellanox: Add lc_ini_bundle for xx.2010.1006

In reply to Petr Machata

As of this writing, the FW version xx.2010.1006 is the lowest version with which mlxsw will operate. It is therefore useful to distribute the lc_ini_bundle for modular systems for this version as well. Add the file.

---
 WHENCE                               |   1 +
 mellanox/lc_ini_bundle_2010_1006.bin | Bin 0 -> 12300 bytes
 2 files changed, 1 insertion(+)
 create mode 100644 mellanox/lc_ini_bundle_2010_1006.bin
WHENCE +1 -0
index 93c1716..56f3cea 100644
@@ -5883,6 +5883,7 @@ File: mellanox/mlxsw_spectrum3-30.2008.3326.mfa2
 File: mellanox/mlxsw_spectrum-13.2010.1006.mfa2
 File: mellanox/mlxsw_spectrum2-29.2010.1006.mfa2
 File: mellanox/mlxsw_spectrum3-30.2010.1006.mfa2
+File: mellanox/lc_ini_bundle_2010_1006.bin
 File: mellanox/mlxsw_spectrum-13.2010.1232.mfa2
 File: mellanox/mlxsw_spectrum2-29.2010.1232.mfa2
 File: mellanox/mlxsw_spectrum3-30.2010.1232.mfa2
mellanox/lc_ini_bundle_2010_1006.bin new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..c042838f7b5884b83f59d11a36a672240dc8e8e9
GIT binary patch
Signature · 1 line
2.31.1
#3 lore raw
In reply to Petr Machata
Quoted 9 lines · Petr Machata

In patch #1, repackage the existing lc_ini_bundle sans xz compression.

In patch #2, contribute an additional lc_ini_bundle for the minimum required FW version, XX.2010.1006.

Petr Machata (2):
Mellanox: xx.2010.1502: Distribute non-xz-compressed lc_ini_bundle
Mellanox: Add lc_ini_bundle for xx.2010.1006

Both applied and pushed out.

josh

Quoted 13 lines
 WHENCE                                  |   3 ++-
 mellanox/lc_ini_bundle_2010_1006.bin    | Bin 0 -> 12300 bytes
 mellanox/lc_ini_bundle_2010_1502.bin    | Bin 0 -> 12300 bytes
 mellanox/lc_ini_bundle_2010_1502.bin.xz | Bin 632 -> 0 bytes
 4 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 mellanox/lc_ini_bundle_2010_1006.bin
 create mode 100644 mellanox/lc_ini_bundle_2010_1502.bin
 delete mode 100644 mellanox/lc_ini_bundle_2010_1502.bin.xz

--
2.31.1