[U-Boot] [PATCH v2 02/17] sandbox: Unprotect DATA regions in bus tests

sjg at google.com sjg at google.com
Wed Oct 10 00:01:49 UTC 2018


On my Ubuntu 18.04.1 machine two driver-model bus tests have started
failing recently. The problem appears to be that the DATA region of the
executable is protected. This does not seem correct, but perhaps there
is a reason.

To work around it, unprotect the regions in these tests before accessing
them.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 arch/sandbox/cpu/os.c | 11 +++++++++++
 include/os.h          | 12 ++++++++++++
 test/dm/bus.c         | 12 ++++++++++++
 3 files changed, 35 insertions(+)

Applied to u-boot-dm


More information about the U-Boot mailing list