Frank Kuehndel created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5571



## Summary

The BSP `riscv/rv64imafdc` can be build but installing it fails with `source 
not found: 'include/bsp/riscv-mmu.h'`:

```
$ cat >config.ini <<"EOF"
[sparc/leon3]
RTEMS_SMP = True
[riscv/rv64imafdc]
EOF
```

```
$ ./waf configure --prefix=/opt/rtems/7
$ ./waf
$ ./waf install
```

ends with error message:

```
source not found: 'include/bsp/riscv-mmu.h' in bld(source=[], target='', 
meths=['process_install_task', 'process_rule', 'process_source'], 
features=['install_task'], path=/home/ferris/rtems, idx=18, tg_idx_count=18, 
install_to='${BSP_INCLUDEDIR}', install_from=['include/bsp/riscv-mmu.h'], 
dest='${BSP_INCLUDEDIR}', type='install_files', posted=True, install_task=
        {task 140512909441776: inst  -> }) in /home/ferris/rtems
```

The error is likely related to 
[#5540](https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5540) and commit 
`7fa05a688b5d61edcf35a1d6065bb02ddf54ada4` *spec/riscv: add MMU options and 
enable in build*.

| | Version/Commit |
| ------ | ------ |
|Date: |2026-05-12T15:56:05+02:00 |
|rtems-docs: |e28878b7ab2cfba474b2c9d8e8f47bf889759503 |
|rtems-source-builder: |3168d60b7f721c310562ac691de7d91834ff671c |
|rtems: |8bee39f21cbddfc1e5beaebc763876912241bb4c |
|OS: |Ubuntu 24.04.4 LTS |
|CI job: |rtems-rust-doc-check#6173 |


## Steps to reproduce

Follow the instructions in the RTEMS User Manual section [16.1. Bare Metal Rust 
with 
RTEMS](https://docs.rtems.org/docs/main/user/rust/bare-metal.html#build-and-install-the-rtems-bsps).

<!-- Pre-set options
- milestone
-->

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to