RTEMS | Microblaze bsp fails to compile (#5141)

Sam Price (@TheSamPrice) gitlab at rtems.org
Tue Oct 29 14:17:03 UTC 2024



Sam Price commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5141#note_113973


I am using relative paths.  the relative path seems to get removed.

We kind of had this layout for our builds.

```
configs/config_file.ini
src/rtems
src/rtems-libbsd
dts/build/kcu105_cpu_dtb.c
```

Using Docker I can use hard coded paths for the DTB file and got it to build.

```
#BSP_MICROBLAZE_FPGA_DTB_HEADER_PATH=../../../../../../../dts/build/kcu105_cpu0_dtb.c
#BSP_MICROBLAZE_FPGA_DTB_HEADER_PATH=../../../../../dts/build/kcu105_cpu0_dtb.c
BSP_MICROBLAZE_FPGA_DTB_HEADER_PATH=/dts/build/kcu105_cpu0_dtb.c
```

We were using relative paths for the dtb files so people could install in their own folders.

I most likely will move forward with a Docker approach.

Also I had to update the bsp.h to have `BSP_FEATURE_IRQ_EXTENSION` set.

Source builder I am on hash
```
| * 78680c8 (gitlab/main) rtems: Update packages
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5141#note_113973
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/20241029/a2d3051f/attachment.htm>


More information about the bugs mailing list