1

Topic: Issues with flashrom

Cannot figure out why, but keep getting errors even when I use iomem=relaxed

I cannot flash any libreboot roms onto my system.

Its very annoying... is this a kernel issue or flashrom issue?

Or is it something else...?

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!

2

Re: Issues with flashrom

What is the concrete error in the concrete usecase?
What kind of system is here meant?

Please provide more details before going into assumptions (kernel, flashrom etc.). Also to note: We can't help in all details for a concrete package. If you have specific questions, please ask them in the context of the upstream-project and their support-channels (https://www.flashrom.org/).

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3

Re: Issues with flashrom

Cleared with a direct talk. To make a common picture:

flashrom -p internal
flashrom unknown on Linux 5.10.127-gnu1-1-lts (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).
Error accessing high tables, 0x1000 bytes at 0x000000007f772000
/dev/mem mmap failed: Operation not permitted
Failed getting access to coreboot high tables.
Error accessing DMI Table, 0x1000 bytes at 0x000000007f746000
/dev/mem mmap failed: Operation not permitted
Segmentation fault

It should be solved with a rework for /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet"
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

4

Re: Issues with flashrom

Funny thing, I had actually tried to find that option, due to a memory that was for the time being missing around then.

Perhaps if I had reinstalled uswsusp, I would have remembered? Idk...

But this is a good reminder of me forgetting something. 

wink

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!