Hi Michael, On 24.03.2017 15:14, Michael Fuckner wrote: > Hi, > > I had to use flashrom and my raspi to reflash my bios chip after it got > corrupted. Now I compare the original Firmware (XH170V00.200) I flashed > into the Chip with the file I read (flash.bin). > > I found the MAC Address in the File read (at 0x1000), so of course, the > flash.bin is different from the original. > > The descriptors look somewhat different from the information found in > the log- here it is not overlapping > > --- Details --- > Region 0 (Descr.) 0x00000000 - 0x00000fff > Region 1 (BIOS ) 0x00200000 - 0x007fffff > Region 2 (ME ) 0x00003000 - 0x001fffff > Region 3 (GbE ) 0x00001000 - 0x00002fff > Region 4 (Platf.) is unused.
this looks sane. Another sign, that the reading was successful. I still have to investigate, why flashrom reported this wrong. Both BIOS and ME usually "log" data, so (per boot) changes in these regions are expected. What I usually do to verify a flash read besides checking the descriptor is looking at the last line (16B) of a hexdump. It usually starts with a jump instruction, possibly prepended by no-ops. Mine starts with `90 90 e9`. > > Should I upload you flash.bin somewhere? No, thanks. Nico _______________________________________________ flashrom mailing list [email protected] https://www.flashrom.org/mailman/listinfo/flashrom
