1
0
Fork 0

dc/hbj11/flasher: fix manufacturer name

Apparently, at least parts of the M610 (eg. iDRAC) attempt to index
exact bytes from the FRU EEPROM instead of parsing it, and thus were
parsing our FRU's manufacturer/product name wrong. This fixes that.

Change-Id: I18d62ea79df7b7bf30cec3251da2c32d25b73507
master
q3k 2021-03-25 19:54:23 +01:00 committed by q3k
parent d73dc0e253
commit ef3d7b89e0
1 changed files with 8 additions and 3 deletions

View File

@ -246,9 +246,14 @@ export class HBJ11FRUAssembler {
0x01, // Version 1
0x09, // Length (9*8 == 72 bytes)
0x00, 0x00, 0x00, 0x00, // Manufacturing time (unspecified)
0xC7, 98, 103, 112, 46, 119, 116, 102, // Manufacturer: bgp.wtf
0xDE, 83, 65, 84, 65, 32, 82, 101, 112, 101, 97, 116, 101, 114, // Product name: SATA Repeater
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, // ... pad above to 30 chars.
// Manufacturer: HELL (we can't use anything longer, as the product
// name below needs to be in this exact byte offset in the ROM for
// the iDRAC to display the name correctly).
0x83, 0x68, 0xc9, 0xb2,
// Product name: bgpwtf SATA Repeater
0xDE, 98, 103, 112, 119, 116, 102, 32, 83, 65, 84, 65, 32, 82, 101, 112, 101, 97, 116, 101, 114,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, // ... pad above to 30 chars.
];
// Serial number tag/length.
board.push(0xC0 | (this.serial.length));