Friday, June 27, 2025

How to upgrade G4520G6 (B7149) Ffirmware

 G4520G6 firmware process






Web GUI mode: CPLD -> BMC -> BIOS

BMC Out of band (Redfish/BMC Web) :

CPLD: *.jed.tar (System need power off.)

BMC: *_full.bin / *_partial.bin (Power on/off both can be updated.)

BIOS: *.bin.tar.gz (System need power off.)


CPLD:

Firmware -> 














BMC





























Note: BMC ip will change after BMC firmware update while firmware upgrade to v1.02.(DHCP mode)


EFI mode: BMC -> BIOS

1. 




Monday, June 23, 2025

How to modify MiTAC B7129 FRU information

 B7129 FRU data can be modified by below process


1. ipmi command [Remote / Local command]

Ipmitool: v1.8.18

 

Command:

ipmotool [-H hotst_IP –U username –P password] fru edit <fru id> field <section> <index> <string>

 

Sample:

ipmotool [-H hotst_IP –U username –P password] fru edit 0 field p 0 MiTAC

 

<fru id>: fru id is the digit ID of the FRU (see the output of “fru print”); default is 0.

 

<section> :     section is a string which refers to FRU Inventory Information Storage Areas and may be refer to:

        c: FRU Inventory Chassis Info Area

        b: FRU Inventory Board Info Area

        p: FRU Inventory Product Info Area

 

<index> :        specifies the field number. Field numbering starts on the first 'english text' field type. For instance in the <board> info area field '0' is <Board Manufacturer> and field '2' is <Board Serial Number>; see IPMI Platform Management FRU Information Storage Definition v1.0 R1.1 for field locations.

 

<string> :        must be the same length as the string being replaced and must be 8-bit ASCII (0xCx).

 

Command table

FRU Device Description

IPMI command for FRU edit

Chassis Part Number

ipmitool fru edit 0 field c 0 CPN000001

Chassis Serial

ipmitool fru edit 0 field c 1 CSN000001

Board Mfg

ipmitool fru edit 0 field b 0 TYAN

Board Product

ipmitool fru edit 0 field b 1 S7106GM2NR

Board Serial

ipmitool fru edit 0 field b 2 CXBE3AJ27008

Board Part Number

ipmitool fru edit 0 field b 3 5411T6210002

Product Manufacturer

ipmitool fru edit 0 field p 0 TYAN

Product Name

ipmitool fru edit 0 field p 1 B7106G93V12HR

Product Part Number

ipmitool fru edit 0 field p 2 5412T6210001

Product Version

ipmitool fru edit 0 field p 3 TFJWZ29E0003

Product Serial

ipmitool fru edit 0 field p 4 PSN000001

Product Asset Tag

ipmitool fru edit 0 field p 5 Tyan Asset

 

2. Fruedit.edi [UEFI mode, Local command]

Usage: fruedit [--file xxx] [--chstp xxx] [--bdmfc xxx]


--fruid xxx    Select the FRUID (0/1/..); default is 0 (Optional)

--file xxx.bin FRU edit tool will read the FRU BIN file as input source

--save xxx.bin Save FRU data to this FRU file

--dump xxx.txt Dump and parse the FRU data or BIN file to a readable txt file


--chstp xxx    Set new Chassis Type into FRU file

--chsptn xxx   Set new Chassis Part Number into FRU file

--chssn xxx    Set new Chassis Serial Number into FRU file

--chccif xxx   Set new Custom Chassis info into FRU file

--bdmfc xxx    Set new Board Manufactory into FRU file

--bdpdn xxx    Set new Board Product Name into FRU file

--bdsn xxx     Set new Board Serial Number into FRU file

--bdptn xxx    Set new Board Part Number into FRU file

--bdfruid xxx  Set new Board FRU file ID into FRU file

--bdcmif xxx   Set new Board Custom manufacturing info into FRU file

--pdmfc xxx    Set new Product Manufactory into FRU file

--pdn xxx      Set new Product Name into FRU file

--pdptn xxx    Set new Part Number into FRU file

--pdver xxx    Set new Product Version into FRU file

--pdsn xxx     Set new Product Serial Number into FRU file

--pdast xxx    Set new Product Asset Tag into FRU file

--pdfruid xxx  Set new Product FRU file ID into FRU file

--pdcpif xxx   Set new Custom Product info into FRU file


Friday, June 20, 2025

Logo Size of MiTAC Server

MiTAC server logo size only support below size

800 x 600, 8 bit BMP (file size: 481078bit)


Monday, June 24, 2024

How to use ipmi command to locate B7136 HDD LED

 Locate:

Hdd0:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x01 0x01

Hdd1:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x03 0x01

Hdd2:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x05 0x01

Hdd3:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x07 0x01

Hdd4:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x09 0x01

Hdd5:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0b 0x01

Hdd6:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0d 0x01

Hdd7:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0f 0x01

Hdd8:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x11 0x01

Hdd9:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x13 0x01

Hdd10:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x15 0x01

Hdd11:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x17 0x01



Fail:

Hdd0:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x01 0x02

Hdd1:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x03 0x02

Hdd2:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x05 0x02

Hdd3:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x07 0x02

Hdd4:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x09 0x02

Hdd5:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0b 0x02

Hdd6:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0d 0x02

Hdd7:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0f 0x02

Hdd8:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x11 0x02

Hdd9:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x13 0x02

Hdd10:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x15 0x02

Hdd11:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x17 0x02



rebuild:

Hdd0:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x01 0x04

Hdd1:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x03 0x04

Hdd2:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x05 0x04

Hdd3:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x07 0x04

Hdd4:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x09 0x04

Hdd5:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0b 0x04

Hdd6:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0d 0x04

Hdd7:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0f 0x04

Hdd8:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x11 0x04

Hdd9:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x13 0x04

Hdd10:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x15 0x04

Hdd11:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x17 0x04



Off:

Hdd0:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x01 0x00

Hdd1:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x03 0x00

Hdd2:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x05 0x00

Hdd3:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x07 0x00

Hdd4:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x09 0x00

Hdd5:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0b 0x00

Hdd6:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0d 0x00

Hdd7:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x0f 0x00

Hdd8:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x11 0x00

Hdd9:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x13 0x00

Hdd10:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x15 0x00

Hdd11:  Ipmitool –I lanplus –H BMC_IP –U root –P BMC_password raw 0x2e 0x09 0xfd 0x19 0x0 0x06 0xc2 0x00 0x17 0x00

Wednesday, March 1, 2023

How to fix gpu_burn compiler failure issue

System Environment:

Ubuntu 22.04 LTS Server

CUDA v12.0

GPU: RTX-4080 (driver 525.85.05)

AP: GPU_Burn v1.1


Symptom:

met error in make gpu_burn.

fae@intel:~/gpu_burn$ sudo make
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:.:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /usr/local/cuda/bin/nvcc -I/usr/local/cuda/include -arch=compute_30 -ptx compare.cu -o compare.ptx
nvcc fatal   : Value 'compute_30' is not defined for option 'gpu-architecture'
Makefile:10: recipe for target 'drv' failed
make: *** [drv] Error 1


This symptom cause by nvcc --gpu-architecture (-arch) in CUDA v12.0 not support compute_30. So we should edit Makefile as below.


CUDAPATH=/usr/local/cuda

# Have this point to an old enough gcc (for nvcc)
GCCPATH=/usr

NVCC=${CUDAPATH}/bin/nvcc
CCPATH=${GCCPATH}/bin

drv:
    PATH=${PATH}:.:${CCPATH}:${PATH} ${NVCC} -I${CUDAPATH}/include -arch=compute_30 -ptx compare.cu -o compare.ptx
    g++ -O3 -Wno-unused-result -I${CUDAPATH}/include -c gpu_burn-drv.cpp
    g++ -o gpu_burn gpu_burn-drv.o -O3 -lcuda -L${CUDAPATH}/lib64 -L${CUDAPATH}/lib -Wl,-rpath=${CUDAPATH}/lib64 -Wl,-rpath=${CUDAPATH}/lib -lcublas -lcudart -o gpu_burn


Change -arch=compute_50 to compute_90, or refer the Virtual Architecture Feature List change value.








Monday, December 12, 2022

How to set Tyan B8252G79AE12HR-2T support SATA device

 B8252G79AE12HR-2T, BIOS v2.08.B22


Change J12 SATA or NVMe link Select from [NVME] to [SATA]. Then HDD#0~3 can support both SATA and NVMe devices.



How to upgrade G4520G6 (B7149) Ffirmware

 G4520G6 firmware process Web GUI mode: CPLD -> BMC -> BIOS BMC Out of band (Redfish/BMC Web) : CPLD: *.jed.tar (System need power off...