Fujitsu PRIMERGY RX2530 M4 BIOS ASP for Ubuntu (BIOS R1.43.0)

This is related to the iRMC ASP for Ubuntu blog post. I've created RX2530 M4 BIOS R1.43.0 ASP for Ubuntu just to show that it's technically possible to create a BIOS ASP package for Ubuntu if in-band update is required/preferred.

The default package does not support Ubuntu, so you need to run the ASP with the "-nos" option to bypass the OS check.

$ sudo ./RX2530M4_D3383_A1_BiosV50012_R1430.scexe -e -nos

***************** PRIMERGY Autonomous Support Package ***************

Description: Flash BIOS RX2530 M4
VersionMajor: V5.0.0.12
VersionMinor: R1.43.0
VersionBuild: 1.0.0
Software Class - Category: Flash - BIOS
Software Class - Name: (SV) Flash Bios
Vendor: Fujitsu

*********************************************************************

Continue processing this ASP?
Please answer: yes/y or no/n
y
Extracting data into /tmp/sctmpdir6541 ...
done

Like I did for the iRMC ASP, change the shell in the scripts in the package (do_deskflash.sh and do_SelectTool.sh) from sh to bash. For the do_deskflash.sh, some changes are required as this is for RPM-based distributions, so you need to change rpm commands to dpkg, and adjust RPM package names to DEB package names.

You will also need to add Ubuntu statement in the DF_Packages.txt file like this:

$  diff -Nau work_bios_r1.43.0.orig/DF_Packages.txt work_bios_r1.43.0/DF_Packages.txt
--- work_bios_r1.43.0.orig/DF_Packages.txt      2020-05-28 04:22:41.882733700 -0700
+++ work_bios_r1.43.0/DF_Packages.txt   2020-07-06 18:00:37.689422065 -0700
@@ -8,3 +8,4 @@
 RHEL6.10            DeskFlash_Linux_01.75-0064_old.zip
 RHEL7.5%RHEL7.7     DeskFlash_Linux_01.80-0083.zip
 RHEL8.0%RHEL8.1     DeskFlash_Linux_01.80-0083.zip
+UBUN16.04%UBUN20.04 DeskFlash_Linux_01.80-0083.zip

DeskFlash_Linux_01.80-0083.zip is in the DeskFlash_Linux.zip archive. In DeskFlash_Linux_01.80-0083.zip, the deskflash RPM is included, so this needs to be changed to a DEB file (I created deskflash_1.80-0083_amd64.deb), and zip up all files to DeskFlash_Linux.zip.

The startup script does not support Ubuntu, so you need to add Ubuntu to the OS list so that you don't need to run the ASP with the "-nos" option.

diff -Nau RX2530M4_D3383_A1_BiosV50012_R1430.sh.orig RX2530M4_D3383_A1_BiosV50012_R1430.sh
--- RX2530M4_D3383_A1_BiosV50012_R1430.sh.orig  2020-07-10 17:41:00.597159834 -0700
+++ RX2530M4_D3383_A1_BiosV50012_R1430.sh       2020-07-02 12:36:03.151041117 -0700
@@ -152,6 +152,7 @@
 OS_CHECKLIST[4]="RHEL6.10"
 OS_CHECKLIST[5]="RHEL7.5%RHEL7.7"
 OS_CHECKLIST[6]="RHEL8.0%RHEL8.1"
+OS_CHECKLIST[7]="UBUN16.04%UBUN20.04"
 OS_CHECKLIST_END=""

 _EXCLUDE_32BIT_OS=false;

Once all the changes are made, you can package everything up to the SCEXE file, and run it.

Here are the screenshots when I run the modified/hacked BIOS R1.43.0 ASP for RX2530 M4 on Ubuntu.

Once it is run successfully, you need to reboot the server to enable the new BIOS.

1 comment:

gabriele said...

How to you repack the modified files into the .scexe format?

Good Bye, Folks!

As you may have heard, Fujitsu has completely discontinued Data Center Products and Solutions business in North America on April 1st, 2021. ...