On 22.03.2017 16:13, Michael Fuckner wrote: > Hi, > > just tried it- this Board uses a Winbond 25Q64FV (64Mbit) and after > reading there is an 8MB file, but it is empty. Anything else I should try?
Same here, thanks for the log though :) Your flash controller seems pretty unlocked. That feeds my suspicion that it's not the controller's state that is causing trouble. I guess, I have to go back to the data- sheet. Btw, flashrom has an option `-o logfile` that makes it easier to catch the output (e.g. you never miss the stderr messages). Regards, Nico > > molli123@revo:~/beta/flashrom > xxd flash.bin | head -n 5 > 00000000: 0000 0000 0000 0000 0000 0000 0000 0000 ................ > 00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................ > 00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................ > 00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ > 00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................ > > Regards, > Michael! > > On 3/22/2017 1:08 PM, Nico Huber wrote: >> 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@revo flashrom]# diff chipset_enable.c.bak chipset_enable.c >>> 1783a1784 >>>> {0x8086, 0xa144, NT, "Intel", "Sunrise Point-H", >>> enable_flash_pch9}, >>> ------------------------------------------------------- >>> >>> [root@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 [email protected] 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 >>> [email protected] >>> https://www.flashrom.org/mailman/listinfo/flashrom >> > _______________________________________________ flashrom mailing list [email protected] https://www.flashrom.org/mailman/listinfo/flashrom
