Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3461 - Enhancement : add CONFIG_DEVMEM=y for targets/x86/64 #8329

Open
openwrt-bot opened this issue Nov 18, 2020 · 1 comment
Open

FS#3461 - Enhancement : add CONFIG_DEVMEM=y for targets/x86/64 #8329

openwrt-bot opened this issue Nov 18, 2020 · 1 comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

ghatothkach:

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@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.

@openwrt-bot
Copy link
Author

pmisch:

I'm also having this error. Is there a workaround so I can flash the new APU firmware to the board from within OpenWrt?

@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

2 participants