RTEMS Tools | rtems-run: Update to RTEMS 7 seems to be incomplete (#20)

Frank Kuehndel (@frank_k) gitlab at rtems.org
Fri Jan 31 21:13:11 UTC 2025



Frank Kuehndel created an issue: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/20



## Summary

The basis is an RTEMS 7 build with the tools build by RSB 7. Trying to run the Rust Hello World SPARC example fails (note the line with `6.0.not_released`):

```
$ rtems-run --rtems-bsp=leon3-sis hello_rtems_sparc.exe
RTEMS Testing - Run, 6.0.not_released
 Command Line: /opt/rtems/7/bin/rtems-run --rtems-bsp=leon3-sis hello_rtems_sparc.exe
 Host: Linux 7cd9e47cd4ec 6.4.0-150600.23.33-default #1 SMP PREEMPT_DYNAMIC Thu Jan  9 14:10:22 UTC 2025 (ba46628) x86_64
 Python: 3.12.3 (main, Jan 17 2025, 18:03:48) [GCC 13.3.0]
Host: Linux-6.4.0-150600.23.33-default-x86_64-with-glibc2.39 (Linux 7cd9e47cd4ec 6.4.0-150600.23.33-default #1 SMP PREEMPT_DYNAMIC Thu Jan  9 14:10:22 UTC 2025 (ba46628) x86_64 x86_64)
Run time     : 0:00:00.253992
```

Running the same example "manually" using `sparc-rtems7-sis` works flawlessly:

```
$ sparc-rtems7-sis -leon3 -nouartrx -r m 4 hello_rtems_sparc.exe

 SIS - SPARC/RISCV instruction simulator 2.30,  copyright Jiri Gaisler 2020
 Bug-reports to jiri at gaisler.se

 LEON3 emulation enabled, 1 cpus online, delta 50 clocks

 Loaded hello_rtems_sparc.exe, entry 0x40000000
Hello from Rust

[ RTEMS shutdown ]
CPU: 0
RTEMS version: 7.0.0.fb604515050282bb00e3d311d811730881f8af8e
RTEMS tools: 13.3.0 20240521 (RTEMS 7, RSB d60fc2742d084cbf70428f387da4676aa1cc3db5, Newlib 1b3dcfd)
```

Note: The Risc-V example runs without issues: `rtems-run --rtems-bsp=rv64imafdc hello_rtems_riscv.exe` but also prints `RTEMS Testing - Run, 6.0.not_released`.

This bug was found by our CI job executing the exact instructions from the Rust documentation in the [rtems user manual](https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems).

| | Version/Commit |
| ------ | ------ |
|Date: |2025-01-31T18:56:22+01:00 |
|rtems-docs: |c34d0c8b42fedc2d7fec65c7d328d49269650754 |
|rtems-source-builder: |d60fc2742d084cbf70428f387da4676aa1cc3db5 |
|rtems: |fb604515050282bb00e3d311d811730881f8af8e |
|cargo: |1.84.1 (66221abde 2024-11-19) |
|rustc: |1.84.1 (e71f9a9a9 2025-01-27) |
|rustc-nightly: |1.86.0-nightly (a730edcd6 2025-01-30) |
|OS: |Ubuntu 24.04.1 LTS |

## Steps to reproduce

Executing the exact instructions from the [rtems user manual](https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems) (with RTEMS/RSB 7). The error appears in the very last step when executing `rtems-run --rtems-bsp=leon3-sis hello_rtems_sparc.exe`.

### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/20
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250131/19367bb6/attachment-0001.htm>


More information about the bugs mailing list