[flashrom] Flash Access on Shuttle XH170V failed

Nico Huber nico.huber at secunet.com
Wed Mar 22 13:08:54 CET 2017


Hi Michael,

On 21.03.2017 20:48, Michael Fuckner wrote:
> Hi,
> 
> I added PCI ID for my chipset, but I can't access/ read FLash chip. Any
> idea how to proceed?

if you compare the datasheets, you'll see that it's incompatible with
the 9series PCH.

I'm currently working on upstream support for the Sunrise Point PCH [1].
It's not working yet on my system. But if you want to try it out / help
me debugging remaining issues, here's how you can fetch the code:

  $ git clone https://review.coreboot.org/flashrom
  $ cd flashrom
  $ git fetch https://review.coreboot.org/flashrom
refs/changes/40/18940/1 && git checkout FETCH_HEAD

You'd still have to set your chipset to NT instead of BAD in
chipset_enable.c.

Nico

PS. You can also try the chromiumos fork of flashrom (can't give you
    build instructions though).

[1] Tip of my branch: https://review.coreboot.org/#/c/18940/

> 
> Regards,
>  Michael!
> 
> 
> [root at revo flashrom]# diff chipset_enable.c.bak chipset_enable.c
> 1783a1784
>>         {0x8086, 0xa144, NT,  "Intel", "Sunrise Point-H",  
> enable_flash_pch9},
> -------------------------------------------------------
> 
> [root at revo flashrom]# ./flashrom -V -p internal
> flashrom v0.9.9-r1954 on Linux 4.9.13-201.fc25.x86_64 (x86_64)
> flashrom is free software, get the source code at https://flashrom.org
> 
> flashrom was built with libpci 3.5.4, GCC 6.3.1 20161221 (Red Hat
> 6.3.1-1), little endian
> Command line (3 args): ./flashrom -V -p internal
> Calibrating delay loop... OS timer resolution is 1 usecs, 2789M loops
> per second, 10 myus = 10 us, 100 myus = 104 us, 1000 myus = 1014 us,
> 10000 myus = 10007 us, 4 myus = 4 us, OK.
> Initializing internal programmer
> No coreboot table found.
> Using Internal DMI decoder.
> DMI string chassis-type: "Desktop"
> DMI string system-manufacturer: "Shuttle Inc."
> DMI string system-product-name: "XH170"
> DMI string system-version: "V1.0"
> DMI string baseboard-manufacturer: "Shuttle Inc."
> DMI string baseboard-product-name: "FH170"
> DMI string baseboard-version: "1.0"
> Found ITE Super I/O, ID 0x8772 on port 0x2e
> Found chipset "Intel Sunrise Point-H" with PCI ID 8086:a144.
> 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 at flashrom.org including a verbose
> (-V) log.
> Thank you!
> Enabling flash write... Root Complex Register Block address = 0x0
> Error accessing ICH RCRB, 0x4000 bytes at 0x0000000000000000
> /dev/mem mmap failed: Resource temporarily unavailable
> FAILED!
> FATAL ERROR!
> Error: Programmer initialization failed.
> 
> _______________________________________________
> flashrom mailing list
> flashrom at flashrom.org
> https://www.flashrom.org/mailman/listinfo/flashrom




More information about the flashrom mailing list