website: docs: install: flashrom: add support for BSD.

Signed-off-by: Leah Rowe <leah@libreboot.org>
Signed-off-by: Leah Rowe <info@minifree.org>
GNUtoo: fixed section underline, rebased, commit message, split patch.
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Leah Rowe 2024-01-14 20:04:58 +00:00 committed by Denis 'GNUtoo' Carikli
parent 96c95f3489
commit 46c6326474
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 19 additions and 5 deletions

View File

@ -5,11 +5,6 @@ x-unreviewed: true
This section relates to installing GNU Boot on supported targets. This section relates to installing GNU Boot on supported targets.
NOTE: if running `flashrom -p internal` for software based flashing, and you
get an error related to `/dev/mem` access, you should reboot with
`iomem=relaxed` kernel parameter before running flashrom, or use a kernel that
has `CONFIG_STRICT_DEVMEM` not enabled.
GNU Boot flashing can be risky business. Please ensure that you have external GNU Boot flashing can be risky business. Please ensure that you have external
flashing equipment, in case anything goes wrong. The general rule of thumb with flashing equipment, in case anything goes wrong. The general rule of thumb with
firmware is this: if it's non-free, replace it, but if you're already running firmware is this: if it's non-free, replace it, but if you're already running
@ -21,6 +16,25 @@ If you're already running libre firmware on your board, you should decide for
sure whether you wish to risk it. See changelogs on sure whether you wish to risk it. See changelogs on
the [release announcements via the news page](/news/) and decide for yourself. the [release announcements via the news page](/news/) and decide for yourself.
FLASH ERRORS (and workarounds)
==============================
Right out of the gate, some users may experience errors with flashrom when
using the internal programmer. They are:
/dev/mem access error
---------------------
NOTE: if running `flashrom -p internal` for software based flashing, and you
get an error related to `/dev/mem` access, you should reboot with
`iomem=relaxed` kernel parameter before running flashrom, or use a kernel that
has `CONFIG_STRICT_DEVMEM` not enabled.
On NetBSD and OpenBSD systems, the equivalent to `iomem=relaxed` in this case
is `kernel.securelevel=-1`; see [NetBSD securelevel
manual](https://wiki.netbsd.org/tutorials/kernel_secure_levels/)
and [OpenBSD securelevel manual](https://man.openbsd.org/securelevel).
About ROM image file names About ROM image file names
========================== ==========================