Hi,
On Thu, May 25, 2023 at 7:05 AM Stan Gosnell sgosnell@riseup.net wrote:
Asus Chromebox CN60, flashed to SeaBios, running Linux. Running flashrom gives this output:
[stan@chromebox ~]$ sudo flashrom -r -V -p internal flashrom v1.3.0 on Linux 6.2.15-300.fc38.x86_64 (x86_64) flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Warning: Supplied image file name starts with -
This happens because you did not specify the filename flashrom should store the flash chip's contents to, so it uses `-V` as filename.
coreboot table found at 0x7f73d000. Found chipset "Intel Lynx Point LP Mainstream".
Note that, by default, not all IFD (Intel Flash Descriptor) regions of the flash chip can be read, and even less regions can be written to. The ME region cannot be accessed at all, and the descriptor region is read-only. Once you address the mmap failure, flashrom will warn you if not all regions are readable by the host and that you should use a layout file. But it doesn't mention that you can use the IFD region information instead of a layout file with the `--ifd` command-line switch.
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... Error accessing ICH RCRB, 0x4000 bytes at 0x00000000fed1c000 /dev/mem mmap failed: Operation not permitted FAILED! FATAL ERROR! Error: Programmer initialization failed.
This happens because the address range is already in use by the `lpc_ich` kernel module. You can try unloading the module with `sudo modprobe -r lpc_ich`. If that doesn't work, adding the `iomem=relaxed` kernel parameter via the on-disk bootloader config (GRUB) should work.
Fedora 38, current updates. I don't think the chipset is correct, but I'm going by (perhaps faulty) memory.
The chipset is correct. Lynx Point LP is the PCH (Platform Controller Hub, i.e. modern Intel southbridge) of Haswell ULT, which matches the coreboot code for the Asus Chromebox CN60.
flashrom mailing list -- flashrom@flashrom.org To unsubscribe send an email to flashrom-leave@flashrom.org
Best regards, Angel