[FS#3461] Enhancement : add CONFIG_DEVMEM=y for targets/x86/64

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Nov 18 11:38:35 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Ghatothkach Tadav (ghatothkach) 

Attached to Project - OpenWrt/LEDE Project
Summary - Enhancement : add CONFIG_DEVMEM=y for targets/x86/64
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - hi

Apparently CONFIG_DEVMEM=y is not set for these builds. 

It is very handy to have it set, so one can upgrade the bios on the pcengines APU boards using flashrom. 

http://downloads.openwrt.org/releases/*/targets/x86/64/

root at router:/disk/pcengines/apu4/bios# flashrom -w apu4_v4.11.0.6.rom -p internal
flashrom v1.0 on Linux 4.14.195 (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).
Critical error: open(/dev/mem): No such file or directory
Error accessing low megabyte, 0x100000 bytes at 0x0000000000000000
/dev/mem mmap failed: No such file or directory
Failed getting access to coreboot low tables.
Critical error: open(/dev/mem): No such file or directory
Error accessing DMI, 0x10000 bytes at 0x00000000000f0000
/dev/mem mmap failed: No such file or directory
Found chipset "AMD FCH".
Enabling flash write... Critical error: open(/dev/mem): No such file or directory
Error accessing SB600 SPI registers, 0x1000 bytes at 0x00000000fec10000
/dev/mem mmap failed: No such file or directory
FAILED!
FATAL ERROR!
Error: Programmer initialization failed.


   

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3461

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list