the following patch was just integrated into master:
commit 05cbce672e4a41bc55fc09b65aacd0872a756a5b
Author: Stefan Reinauer <[email protected]>
Date: Thu Jan 3 14:30:33 2013 -0800
cbmem utility: Use mmap instead of fseek/fread
The kernel on Ubuntu 12.04LTS does not allow to use
fseek/fread to read the coreboot table at the end of
memory but will instead abort cbmem with a "Bad Address"
error.
Whether that is a security feature (some variation of
CONFIG_STRICT_DEVMEM) or a kernel bug is not yet clear,
however using mmap works nicely.
Change-Id: I796b4cd2096fcdcc65c1361ba990cd467f13877e
Signed-off-by: Stefan Reinauer <[email protected]>
Reviewed-on: http://review.coreboot.org/2097
Reviewed-by: Ronald G. Minnich <[email protected]>
Tested-by: build bot (Jenkins)
Build-Tested: build bot (Jenkins) at Thu Jan 3 23:55:16 2013, giving +1
Reviewed-By: Ronald G. Minnich <[email protected]> at Thu Jan 3 23:53:35
2013, giving +2
See http://review.coreboot.org/2097 for details.
-gerrit
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot