[PATCH v2 30/32] sandbox: adjust load address of couple of tests

Simon Glass sjg at chromium.org
Thu Aug 15 22:32:39 CEST 2024


Hi Sughosh,

On Wed, 14 Aug 2024 at 05:03, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> The TCG event log has now been moved to the start of the memory, and
> occupies 8KB of memory. Make a corresponding change to the load
> address in a couple of tests so that it does not overlap with the TCG
> event log.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> ---
> Changes since V1: None
>
>  test/py/tests/test_android/test_abootimg.py | 2 +-
>  test/py/tests/test_vbe.py                   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

This is a pain...can we put the TCG high in memory for now, until I do
a patch to move it to the bloblist?

>
> diff --git a/test/py/tests/test_android/test_abootimg.py b/test/py/tests/test_android/test_abootimg.py
> index 6a8ff34538..bf6a19fe4f 100644
> --- a/test/py/tests/test_android/test_abootimg.py
> +++ b/test/py/tests/test_android/test_abootimg.py
> @@ -90,7 +90,7 @@ dtb_dump_resp="""## DTB area contents (concat format):
>            (DTB)model = x2
>       (DTB)compatible = y2,z2"""
>  # Address in RAM where to load the boot image ('abootimg' looks in $loadaddr)
> -loadaddr = 0x1000
> +loadaddr = 0x4000
>  # Address in RAM where to load the vendor boot image ('abootimg' looks in $vloadaddr)
>  vloadaddr= 0x10000
>  # Expected DTB #1 offset from the boot image start address
> diff --git a/test/py/tests/test_vbe.py b/test/py/tests/test_vbe.py
> index 50b6c1cd91..edeb655c6f 100644
> --- a/test/py/tests/test_vbe.py
> +++ b/test/py/tests/test_vbe.py
> @@ -97,7 +97,7 @@ def test_vbe(u_boot_console):
>      fdt_out = fit_util.make_fname(cons, 'fdt-out.dtb')
>
>      params = {
> -        'fit_addr' : 0x1000,
> +        'fit_addr' : 0x4000,
>
>          'kernel' : kernel,
>
> --
> 2.34.1
>

Regards,
Simon


More information about the U-Boot mailing list