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

Simon Glass sjg at chromium.org
Sat Oct 13 18:35:53 UTC 2018


Hi Alex,

On 29 September 2018 at 13:23, Simon Glass <sjg at chromium.org> wrote:
> 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(+)

Did you take a look at the trace? I presume you don't see this
behaviour on your machine, and I didn't either until 'upgrading'.

This seems to affect the EFI tests now also. I agree there must be
something wrong here but I'm not sure what.

Regards,
Simon


More information about the U-Boot mailing list