[flashrom] Re: Possible bug report (?)

2019-02-26 Thread Angel Pons
Hello,

On Tue, Feb 26, 2019, 09:38 Joe Sypniewski via flashrom <
flashrom@flashrom.org wrote:

> ./flashrom -p internal:ich_spi_forces=yes -V -N --ifd -i bios -w peppy/
> coreboot-peppy-seabios-latest.rom  > ferr.txt 2>&1
>

To write logs, you can use the -o/--output command line switch.

Error accessing ICH RCRB, 0x4000 bytes at 0xfed1c000
> /dev/mem mmap failed: Operation not permitted
>

Your kernel restricts access to /dev/mem. Try using the following kernel
parameter: iomem=relaxed

Best regards,

Angel Pons

>
___
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org


[flashrom] Possible bug report (?)

2019-02-26 Thread Joe Sypniewski via flashrom
I have used following command to program my Acer C720:
./flashrom -p internal:ich_spi_forces=yes -V -N --ifd -i bios -w 
peppy/coreboot-peppy-seabios-latest.ro    m  > ferr.txt 2>&1

The eprom chip in this computer is: 25Q64FVSIG and yes I have remover write 
protection screw.
I have received following response from this flashrom command:-flashrom 
v1.0 on Linux 4.9.0-8-amd64 (x86_64)flashrom is free software, get the source 
code at https://flashrom.org
flashrom was built with libpci 3.5.2, GCC 6.3.0 20170516, little endianCommand 
line (9 args): ./flashrom -p internal:ich_spi_forces=yes -V -N --ifd -i bios -w 
peppy/coreboot-peppy-seabios-latest.romUsing clock_gettime for delay loops 
(clk_id: 1, resolution: 1ns).Initializing internal programmerFound candidate 
at: 0500-0510Found coreboot table at 0x0500.Found candidate at: 
-0194Found coreboot table at 0x.coreboot table found at 
0x7becf000.coreboot header(24) checksum: 72d0 table(404) checksum: f9e3 
entries: 10Vendor ID: GOOGLE, part ID: PeppyUsing Internal DMI decoder.DMI 
string chassis-type: "Desktop"DMI string system-manufacturer: "GOOGLE"DMI 
string system-product-name: "Peppy"DMI string system-version: "1.0"DMI string 
baseboard-manufacturer: "GOOGLE"DMI string baseboard-product-name: "Peppy"DMI 
string baseboard-version: "1.0"Found chipset "Intel Lynx Point LP Mainstream" 
with PCI ID 8086:9c45.This chipset is marked as untested. If you are using an 
up-to-date versionof 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... Root Complex Register 
Block address = 0xfed1c000Error accessing ICH RCRB, 0x4000 bytes at 
0xfed1c000/dev/mem mmap failed: Operation not permittedFAILED!FATAL 
ERROR!Unhandled programmer parameters (possibly due to another failure): 
ich_spi_forces=yesError: Programmer initialization failed.
Also please find attached output of dmidecoed from this C720 computer:
I will appreciate any suggestion.

# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
10 structures occupying 369 bytes.
Table at 0x7BFD7020.

Handle 0x, DMI type 0, 24 bytes
BIOS Information
Vendor: coreboot
Version: 4.0-6588-g4acd8ea-dirty
Release Date: 09/04/2014
ROM Size: 8192 kB
Characteristics:
PCI is supported
PC Card (PCMCIA) is supported
BIOS is upgradeable
Selectable boot is supported
ACPI is supported
Targeted content distribution is supported
BIOS Revision: 4.0
Firmware Revision: 0.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: GOOGLE
Product Name: Peppy
Version: 1.0
Serial Number: 123456789
UUID: Not Settable
Wake-up Type: Reserved
SKU Number: Not Specified
Family: Not Specified

Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: GOOGLE
Product Name: Peppy
Version: 1.0
Serial Number: 123456789

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: GOOGLE
Type: Desktop
Lock: Not Present
Version: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x
Height: Unspecified
Number Of Power Cords: Unspecified
Contained Elements: 0

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: Not Specified
Type: Central Processor
Family: Pentium Pro
Manufacturer: GenuineIntel
ID: 51 06 04 00 FF FB EB BF
Signature: Type 0, Family 6, Model 69, Stepping 1
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR