From cbc5ec80707dd37c905a7d0167e14aa901adf1fb Mon Sep 17 00:00:00 2001 From: Leon Schuermann Date: Fri, 3 Jan 2025 04:46:33 -0500 Subject: [PATCH 1/2] litex-sim-ci: update pinned libtock-c revision --- .github/workflows/litex_sim.yml | 12 ++++++------ tools/litex-ci-runner/src/main.rs | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/litex_sim.yml b/.github/workflows/litex_sim.yml index fe39f16f38..33aa9966e0 100644 --- a/.github/workflows/litex_sim.yml +++ b/.github/workflows/litex_sim.yml @@ -104,8 +104,8 @@ jobs: # bugs fixed in libtock-c, backwards-incompatible changes in # Tock or new tests this might need to be updated. # - # libtock-c of Feb 9, 2024, 3:08 PM EST - ref: 0e72c922e13cd83a1aaae7a5f587099d45815e6a + # libtock-c of Mon Dec 9 21:35:38 2024 +0000 + ref: 820579455300762558718510d89960fd693131c1 path: libtock-c - name: Build libtock-c apps @@ -118,13 +118,13 @@ jobs: rv32imc|rv32imc.0x00088080.0x40010000|0x00088080|0x40010000" export LIBTOCK_C_APPS="\ c_hello \ - tests/console_timeout \ - tests/mpu_walk_region \ + tests/console/console_timeout \ + tests/mpu/mpu_walk_region \ tests/printf_long \ rot13_service \ rot13_client \ - tests/console_recv_short \ - tests/console_recv_long" + tests/console/console_recv_short \ + tests/console/console_recv_long" pushd libtock-c/examples for APP in $LIBTOCK_C_APPS; do make -C "$APP" diff --git a/tools/litex-ci-runner/src/main.rs b/tools/litex-ci-runner/src/main.rs index b1d3cd8625..ca8b63e28c 100644 --- a/tools/litex-ci-runner/src/main.rs +++ b/tools/litex-ci-runner/src/main.rs @@ -190,7 +190,7 @@ fn run() -> Result<(), Error> { // should return that. // // Tests parts of the UART stack and the LiteX UART driver. - libtock_c_examples_test(&["tests/console_timeout"], |p, _| { + libtock_c_examples_test(&["tests/console/console_timeout"], |p, _| { p.send_line("Tock is awesome!")?; p.exp_string("Userspace call to read console returned: Tock is awesome!")?; Ok(()) @@ -212,7 +212,7 @@ fn run() -> Result<(), Error> { // "press" the overrun button. Once we receive the message that the // application will walk a region, it's already too late for that. Thus the // button is pressed immediately after the start of the prior run. - libtock_c_examples_test(&["tests/mpu_walk_region"], |p, gpio| { + libtock_c_examples_test(&["tests/mpu/mpu_walk_region"], |p, gpio| { p.exp_string("[TEST] MPU Walk Regions")?; // Start walking the entire flash region, should not panic @@ -255,7 +255,7 @@ fn run() -> Result<(), Error> { // // Tests whether an overrun of the RAM region will trigger a process fault // by the MPU because of a load page fault. - libtock_c_examples_test(&["tests/mpu_walk_region"], |p, gpio| { + libtock_c_examples_test(&["tests/mpu/mpu_walk_region"], |p, gpio| { p.exp_string("[TEST] MPU Walk Regions")?; // Start walking the entire flash region. From c58687a2493f05dc38f90a686a6b5d0d1d4dad10 Mon Sep 17 00:00:00 2001 From: Leon Schuermann Date: Fri, 3 Jan 2025 04:50:10 -0500 Subject: [PATCH 2/2] litex-sim-ci: update pinned Tockloader revision --- .github/workflows/litex_sim.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/litex_sim.yml b/.github/workflows/litex_sim.yml index 33aa9966e0..098d5b68ce 100644 --- a/.github/workflows/litex_sim.yml +++ b/.github/workflows/litex_sim.yml @@ -57,7 +57,7 @@ jobs: # applications. - name: Install tockloader run: | - pip3 install tockloader==1.12.0 + pip3 install tockloader==1.13.0 # Clone tock-litex support repository under ./tock-litex, check out the # targeted release.