diff mbox series

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

Message ID 20240814110009.45310-31-sughosh.ganu@linaro.org
State New
Headers show
Series Make LMB memory map global and persistent | expand

Commit Message

Sughosh Ganu Aug. 14, 2024, 11 a.m. UTC
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@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(-)

Comments

Simon Glass Aug. 15, 2024, 8:32 p.m. UTC | #1
Hi Sughosh,

On Wed, 14 Aug 2024 at 05:03, Sughosh Ganu <sughosh.ganu@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@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
diff mbox series

Patch

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,