[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flashrom
Subject:    [flashrom] Re: ROM backup
From:       Moriel via flashrom <flashrom () flashrom ! org>
Date:       2019-11-12 20:11:20
Message-ID: 8516B63F-3A15-420E-AC45-9C95F58038CB () yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Others can explain much better than me, however this is due to the chip capacity \
being 8MB. You have 3MB of the actual firmware, plus another 5MB of nothing, which is \
simply there to fill the rest of the chip.

On November 11, 2019 9:58:44 PM GMT+02:00, Jochen van Waasen <jochen@vanwaasen.ch> \
wrote:
> Hi
> 
> I would like to use your tool to mod my bios.
> 
> First step would be to create a backup of my BIOS:
> # dmidecode 2.12
> SMBIOS 2.7 present.
> 66 structures occupying 2563 bytes.
> Table at 0x000EB4C0.
> 
> Handle 0x0000, DMI type 0, 24 bytes
> BIOS Information
> 	Vendor: American Megatrends Inc.
> 	Version: 4.6.5
> 	Release Date: 10/11/2013
> 	Address: 0xF0000
> 	Runtime Size: 64 kB
> 	ROM Size: 3072 kB
> 
> When I read that correctly the ROM Size is 3072 kB
> 
> # flashrom -r RDD516-NT.rom --programmer internal
> flashrom v0.9.7-r1782 on Linux 4.4.184.x86_64.1 (x86_64)
> flashrom is free software, get the source code at http://www.flashrom.org
> 
> Calibrating delay loop... OK.
> Found chipset "Intel C206". 
> This chipset is marked as untested. If you are using an up-to-date version
> of flashrom *and* were (not) able to successfully update your firmware with it,
> then please email a report to flashrom@flashrom.org including a verbose (-V) log.
> Thank you!
> Enabling flash write... Warning: SPI Configuration Lockdown activated.
> OK.
> Found Macronix flash chip "MX25L6405(D)" (8192 kB, SPI) at physical address \
> 0xff800000. Found Macronix flash chip "MX25L6406E/MX25L6436E" (8192 kB, SPI) at \
> physical address 0xff800000. Found Macronix flash chip "MX25L6445E" (8192 kB, SPI) \
> at physical address 0xff800000. Multiple flash chip definitions match the detected \
> chip(s): "MX25L6405(D)", "MX25L6406E/MX25L6436E", "MX25L6445E" Please specify which \
> chip definition to use with the -c <chipname> option. 
> Which chip should I select?
> When I select one chipset a 8MB file is created. Shouldn't a ROM back be only 3072 \
> kB? 
> Any help is appreciated.
> 
> Best Regards
> Jochen
> 
> 
> 


[Attachment #5 (text/html)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">Others can explain much better than me, \
however this is due to the chip capacity being 8MB.<br>You have 3MB of the actual \
firmware, plus another 5MB of nothing, which is simply there to fill the rest of the \
chip.<br><br><div class="gmail_quote">On November 11, 2019 9:58:44 PM GMT+02:00, \
Jochen van Waasen &lt;jochen@vanwaasen.ch&gt; wrote:<blockquote class="gmail_quote" \
style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); \
padding-left: 1ex;"> Hi<div class=""><br class=""></div><div class="">I would like to \
use your tool to mod my bios.</div><div class=""><br class=""></div><div \
class="">First step would be to create a backup of my BIOS:</div><div class=""><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""># dmidecode \
2.12</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class="">SMBIOS \
2.7 present.</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
11px; line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class="">66 \
structures occupying 2563 bytes.</span></div><div style="margin: 0px; font-stretch: \
normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: \
rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: no-common-ligatures" \
class="">Table at 0x000EB4C0.</span></div><div style="margin: 0px; font-stretch: \
normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: \
rgb(34, 79, 188); min-height: 13px;" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; \
background-color: rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class="">Handle 0x0000, DMI type 0, 24 bytes</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">BIOS \
Information</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
11px; line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span \
class="Apple-tab-span" style="white-space:pre">	</span>Vendor: American Megatrends \
Inc.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span \
class="Apple-tab-span" style="white-space:pre">	</span>Version: \
4.6.5</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span \
class="Apple-tab-span" style="white-space:pre">	</span>Release Date: \
10/11/2013</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
11px; line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span \
class="Apple-tab-span" style="white-space:pre">	</span>Address: \
0xF0000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span \
class="Apple-tab-span" style="white-space:pre">	</span>Runtime Size: 64 \
kB</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span \
class="Apple-tab-span" style="white-space:pre">	</span>ROM Size: 3072 \
kB</span></div></div><div class=""><br class=""></div><div class="">When I read that \
correctly the ROM Size is 3072 kB</div><div class=""><br class=""></div><div \
class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: \
normal; font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""># flashrom -r \
RDD516-NT.rom --programmer internal</span></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; \
background-color: rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class="">flashrom v0.9.7-r1782 on Linux 4.4.184.x86_64.1 \
(x86_64)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class="">flashrom \
is free software, get the source code at <a href="http://www.flashrom.org" \
class="">http://www.flashrom.org</a></span></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; \
background-color: rgb(34, 79, 188); min-height: 13px;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""></span><br \
class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" \
class="">Calibrating delay loop... OK.</span></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; \
background-color: rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class="">Found chipset "Intel C206".&nbsp;</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">This chipset is marked \
as untested. If you are using an up-to-date version</span></div><div style="margin: \
0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; \
background-color: rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class="">of flashrom *and* were (not) able to successfully \
update your firmware with it,</span></div><div style="margin: 0px; font-stretch: \
normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: \
rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: no-common-ligatures" \
class="">then please email a report to <a href="mailto:flashrom@flashrom.org" \
class="">flashrom@flashrom.org</a> including a verbose (-V) log.</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">Thank \
you!</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Enabling \
flash write... Warning: SPI Configuration Lockdown activated.</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">OK.</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">Found Macronix flash \
chip "MX25L6405(D)" (8192 kB, SPI) at physical address 0xff800000.</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; background-color: rgb(34, 79, 188);" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">Found Macronix flash \
chip "MX25L6406E/MX25L6436E" (8192 kB, SPI) at physical address \
0xff800000.</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
11px; line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Found \
Macronix flash chip "MX25L6445E" (8192 kB, SPI) at physical address \
0xff800000.</span></div><div style="margin: 0px; font-stretch: normal; font-size: \
11px; line-height: normal; font-family: Menlo; background-color: rgb(34, 79, 188);" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Multiple \
flash chip definitions match the detected chip(s): "MX25L6405(D)", \
"MX25L6406E/MX25L6436E", "MX25L6445E"</span></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; \
background-color: rgb(34, 79, 188);" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class="">Please specify which chip definition to use with the -c \
&lt;chipname&gt; option.</span></div></div><div class=""><br class=""></div><div \
class="">Which chip should I select?</div><div class="">When I select one chipset a \
8MB file is created. Shouldn't a ROM back be only 3072 kB?</div><div class=""><br \
class=""></div><div class="">Any help is appreciated.</div><div class=""><br \
class=""></div><div class="">Best Regards</div><div class="">Jochen</div><div \
class=""><br class=""></div><div class=""><br class=""></div><div class=""><br \
class=""></div></blockquote></div></body></html>



_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-leave@flashrom.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic