Note 1: Serial console access is required for the following procedure.
Note 2: System reboot is required for the new DMI table values to take effect
Step 1:
In VOS, download "amideefi.tar.gz" file from the link below and extract the contents to /var/tmp/
https://versanetworks.box.com/s/zgyyqv3w8vxlphfjz699tlllsqo27c01
[admin@versa-flexvnf: tmp] $ ls amideefi.tar.gz
amideefi.tar.gz
[admin@versa-flexvnf: tmp] $ sudo tar -xf amideefi.tar.gz
[admin@versa-flexvnf: tmp] $ ls amideefi/
AMIDEEFIx64_TS.efi
[admin@versa-flexvnf: tmp] $
Step 2:
Check and mount the DiagOS SSD to /mnt/ as shown below.
In the example below,
lower capacity SSD (16GB, /dev/sda) is DiagOS SSD
higher capacity SSD (120/240GB, /dev/sdb) is VOS SSD
[admin@versa-flexvnf: ~] $ sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 16.0 GB, 16013942784 bytes
256 heads, 63 sectors/track, 1939 cylinders, total 31277232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 31277231 15638615+ ee GPT
Disk /dev/sdb: 240.1 GB, 240057409536 bytes
255 heads, 63 sectors/track, 29185 cylinders, total 468862128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000376e6
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 335327231 167662592 83 Linux
/dev/sdb2 335329278 468860927 66765825 5 Extended
/dev/sdb5 335329280 468860927 66765824 82 Linux swap / Solaris
[admin@versa-flexvnf: ~] $
[admin@versa-flexvnf: ~] $ sudo mount /dev/sda1 /mnt/
[admin@versa-flexvnf: ~] $ df -h
Filesystem Size Used Avail Use% Mounted on
udev 24G 12K 24G 1% /dev
tmpfs 6.3G 1.8M 6.3G 1% /run
/dev/sdb1 158G 5.1G 145G 4% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 4.0K 5.0M 1% /run/lock
none 32G 8.0K 32G 1% /run/shm
none 100M 0 100M 0% /run/user
/dev/sda1 1022M 88M 935M 9% /mnt
[admin@versa-flexvnf: ~] $
Step 3:
Copy amideefi folder to /mnt/ where DiagOS SSD is mounted.
[admin@versa-flexvnf: tmp] $ sudo cp -r amideefi /mnt/
[admin@versa-flexvnf: tmp] $ ls /mnt/
amideefi CSG1300_diag.nsh diag EFI log startup.nsh versa_ramdisk
[admin@versa-flexvnf: tmp] $
Step 4:
Reboot the system to go to BIOS setup.
[admin@versa-flexvnf: tmp] $ sudo reboot
Step 5:
On the serial console, at the bootup BIOS POST screen, press "Delete" key to go into BIOS setup
Version 2.20.1271. Copyright (C) 2021 American Megatrends, Inc.
BIOS Date: 01/25/2021 17:38:32 CSG1500 Ver: v37.01.04.00
Boot BIOS : Slave BIOS
Press <DEL> or <ESC> to enter setup.
Entering Setup...
Step 6:
In BIOS menu, go to the last menu tab called "Save & Exit"
Then, select "UEFI: Built-in EFI Shell" to go to UEFI shell.
As soon as EFI shell mapping table is displayed, press "ESC" key to go to EFI Shell> prompt.
Aptio Setup Utility - Copyright (C) 2021 American Megatrends, Inc.
< Boot Save & Exit
/----------------------------------------------------+-------------------------\
| Save Options |Reset the system after |
| Save Changes and Reset |saving the changes. |
| Discard Changes and Reset | |
| | |
| Default Options | |
| Restore Defaults | |
| | |
| Boot Override | |
| sSATA P5: ATP I-Temp. SATA III | |
| sSATA P3: TS16ZBTMM1600 |-------------------------|
| UEFI OS (P3: TS16ZBTMM1600) |><: Select Screen |
| UEFI: Built-in EFI Shell |^v: Select Item |
| |Enter: Select |
| |+/-: Change Opt. |
| |F1: General Help |
| |F2: Previous Values |
| |F3: Optimized Defaults |
| |F4: Save & Exit |
| |ESC: Exit |
\----------------------------------------------------+-------------------------/
Version 2.20.1271. Copyright (C) 2021 American Megatrends, Inc.
Press "ESC" as soon as the following EFI Mapping table is shown.
UEFI Interactive Shell v2.2
EDK II
UEFI v2.60 (American Megatrends, 0x0005000E)
Mapping table
FS0: Alias(s):HD0d65535a1:;BLK1:
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x3,0xFFFF,0x0)/HD(1,GPT,37D92199-1C54-4B3B-8624-2420A7B1F7FE,0x800,0x200000)
FS1: Alias(s):HD0d65535a2:;BLK2:
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x3,0xFFFF,0x0)/HD(2,GPT,A40E57E6-C1CE-4A0F-859D-499000D8FD43,0x200800,0x200000)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x3,0xFFFF,0x0)
BLK3: Alias(s):
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x5,0xFFFF,0x0)
BLK4: Alias(s):
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x5,0xFFFF,0x0)/HD(1,MBR,0x000376E6,0x800,0x13FCA800)
BLK5: Alias(s):
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x5,0xFFFF,0x0)/HD(2,MBR,0x000376E6,0x13FCB7FE,0x7F58802)
BLK6: Alias(s):
PciRoot(0x0)/Pci(0x11,0x5)/Sata(0x5,0xFFFF,0x0)/HD(2,MBR,0x000376E6,0x13FCB7FE,0x7F58802)/HD(1,MBR,0x00000000,0x13FCB800,0x7F58800)
Press ESC in 4 seconds to skip startup.nsh or any other key to continue.
Shell>
Step 7:
At the Shell> prompt, type in "fs0:" to go to DiagOS SSD which is normally under device name fs0:
Shell> fs0:
Step 8:
Check if amideefi folder copied earlier is present in the DiagOS SSD
FS0:\> ls
Directory of: FS0:\
12/14/2020 03:27 218 CSG1300_diag.nsh
01/18/2008 23:44 <DIR> 4,096 diag
01/18/2008 23:44 <DIR> 4,096 EFI
12/14/2020 03:27 106 startup.nsh
04/29/2022 02:45 <DIR> 4,096 versa_ramdisk
01/01/1980 00:00 <DIR> 4,096 log
04/29/2022 02:46 <DIR> 4,096 amideefi
2 File(s) 324 bytes
5 Dir(s)
Step 9:
Go to amideefi folder.
FS0:\> cd amideefi
FS0:\amideefi\> ls
Directory of: FS0:\amideefi\
04/29/2022 02:46 <DIR> 4,096 .
04/29/2022 02:46 <DIR> 0 ..
04/29/2022 02:46 430,704 AMIDEEFIx64_TS.efi
1 File(s) 430,704 bytes
2 Dir(s)
FS0:\amideefi\>
Step 10:
Please use the following examples to program appropriate DMI table fields:
For example, system serial number, model name, sku name, etc.
To check the system serial number currently programmed, use the following command:
FS0:\amideefi\> AMIDEEFIx64_TS.efi /SS
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/SS)System Serial number R Done "Default string"
To program system serial number, use the following command:
FS0:\amideefi\> AMIDEEFIx64_TS.efi /SS "AACA2051013"
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/SS)System Serial number W Done "AACA2051013"
To check the system product name currently programmed,
FS0:\amideefi\> AMIDEEFIx64_TS.efi /SP
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/SP)System product R Done "CSG1500"
To program system product name,
FS0:\amideefi\> AMIDEEFIx64_TS.efi /SP "CSG1500"
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/SP)System product W Done "CSG1500"
To check the System SKU name currently programmed,
FS0:\amideefi\> AMIDEEFIx64_TS.efi /SK
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/SK)System SKU number R Done "CSG1500"
To program the System SKU name,
FS0:\amideefi\> AMIDEEFIx64_TS.efi /SK "CSG1500"
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/SK)System SKU number W Done "CSG1500"
To check the whole DMI table,
FS0:\amideefi\> AMIDEEFIx64_TS.efi /ALL
+---------------------------------------------------------------------------+
| AMIDEEFI64 Utility v5.19.0015 |
| Copyright (C)2017 American Megatrends Inc. All Rights Reserved. |
+---------------------------------------------------------------------------+
Initializing the SMBIOS interface. Please wait a moment......
Name R/W Status Information
-------------------------- --- ------ ----------------------------------
(/IVN)BIOS vendor name. R Done "American Megatrends Inc."
(/IV)BIOS version R Done "v37.01.04.00"
(/ID)BIOS release date R Done "01/25/2021"
(/SM)System manufacture R Done "Versa Networks, Inc."
(/SP)System product R Done "CSG1500"
(/SV)System version R Done "EVT"
(/SS)System Serial number R Done "AACA2051013"
(/SU)System UUID R Done "00020003000400050006000700080009h"
(/SK)System SKU number R Done "CSG1500"
(/SF)System Family R Done "Cloud Services Gateway"
(/BM)Baseboard manufacture R Done "Default string"
(/BP)Baseboard product R Done "CSG1500"
(/BV)Baseboard version R Done "Default string"
(/BS)Baseboard Serial number R Done "Default string"
(/BT)Baseboard Asset Tag R Done "Default string"
(/BLC)BB. Loc. in Chassis R Done "Default string"
BaseBoardHandle = "0002h"
(/BMH)Baseboard manufacture R Done "Default string"
(/BPH)Baseboard product R Done "CSG1500"
(/BVH)Baseboard version R Done "Default string"
(/BSH)Baseboard Serial numberR Done "Default string"
-- More --
(/BTH)Baseboard Asset Tag R Done "Default string"
(/BLCH)BB. Loc. in Chassis R Done "Default string"
(/CM)Chassis manufacture R Done "Default string"
(/CT)Chassis type R Done "03h"
(/CV)Chassis version R Done "Default string"
(/CS)Chassis Serial number R Done "Default string"
(/CA)Chassis Tag number R Done "Default string"
(/CO)Chassis OEM value R Done "00000000h"
(/CPC)Chassis Power cords R Done "01h"
(/CSK)Chassis SKU Number R Done "Default string"
ChassishHandle = "0003h"
(/CMH)Chassis manufacture R Done "Default string"
(/CTH)Chassis type R Done "03h"
(/CVH)Chassis version R Done "Default string"
(/CSH)Chassis Serial number R Done "Default string"
(/CAH)Chassis Tag number R Done "Default string"
(/COH)Chassis OEM value R Done "00000000h"
(/CPCH)Chassis Power cords R Done "01h"
(/CSKH)Chassis SKU Number R Done "Default string"
(/PSN)Processor Serial Num. R Done ""
(/PAT)Processor Asset Tag R Done "UNKNOWN"
(/PPN)Processor Part Num. R Done ""
(/OS)OEM string #1 R Done "Default string"
-- More --
(/SCO)System Conf. Op. #1 R Done "Default string"
SystemPowerSupplyHandle = "0028h"
(/PU)Power Unit Group R Done "01h"
(/PL)Power Location R Done "To Be Filled By O.E.M."
(/PD)Power Device Name R Done "To Be Filled By O.E.M."
(/PM)Power Manufacturer R Done "To Be Filled By O.E.M."
(/PS)Power Serial Number R Done "To Be Filled By O.E.M."
(/PT)Power Asset Tag Num R Done "To Be Filled By O.E.M."
(/PN)Power Model Part Num R Done "To Be Filled By O.E.M."
(/PR)Power Revision Level R Done "To Be Filled By O.E.M."
(/PP)Power Max Power Cap. R Done "8000h"
(/PC)Power Supply Char. R Done "11A2h"
(/PVH)Power Vol. Probe Hand. R Done "0024h"
(/PDH)Power Cool Dev. Hand. R Done "0026h"
(/PCH)Power Cur. Probe Hand. R Done "0027h"
FS0:\amideefi\>
FS0:\amideefi\>
Step 11:
After programming, please reboot the system using following command for the new values to take effect.
FS0:\amideefi\> reset
Step 12:
After rebooting, in VOS, DMI table can be checked using dmidecode command:
[admin@versa-flexvnf: ~] $ sudo dmidecode -t 1
[sudo] password for admin:
# dmidecode 2.12
SMBIOS 2.8 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Versa Networks, Inc.
Product Name: CSG1500
Version: EVT
Serial Number: AACA2051013
UUID: 03000200-0400-0500-0006-000700080009
Wake-up Type: Power Switch
SKU Number: CSG1500
Family: Cloud Services Gateway
[admin@versa-flexvnf: ~] $
THE END