diff mbox series

[39/40] sandbox: adjust load address of couple of tests

Message ID 20240724060224.3071065-40-sughosh.ganu@linaro.org
State Superseded
Headers show
Series Make LMB memory map global and persistent | expand

Commit Message

Sughosh Ganu July 24, 2024, 6:02 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 rfc: New patch

 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 July 25, 2024, 11:32 p.m. UTC | #1
Hi Sughosh,

On Wed, 24 Jul 2024 at 00:06, 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.

That address overlaps with the FDT...so I am hoping you can leave the
low memory free.

>
> Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> ---
> Changes since rfc: New patch
>
>  test/py/tests/test_android/test_abootimg.py | 2 +-
>  test/py/tests/test_vbe.py                   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

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,