Doubts about RTEMS build

I have been trying to build RTEMS for zynqmp and I am kind of stalled. I have these doubts:

The quick start section of the user manual is quite clear, however, it is about building the Tool suite and BSP. A separate repo exists for the kernel, apparently, that is not used in the BSP build, that I imagine is the OS core but I haven’t seen a chapter explaining how to build it, unless is chapter 5?
Looking at examples on the internet using prior releases, they use bootstrap and configure commands to build the kernel (?). These commands are not present in release 6, what to do instead?

There are few things going on here which are confusing.

First, rtems 5 and older used gnu autoconf and automake which required a bootstrap step to have Makefile and configure scripts. RTEMS 6 and later use waf as the build infrastructure. Gnu auto tools are no longer needed.

The aarch64 architecture is only supported in 6 and git main which uses tooling marked as 7 which is heading to the next major release.

The usual build steps are to use the rtems source builder to build tools and then to build rtems. If you are building for immediate deployment, using the rsb kernel recipes or rtems deployment packaging.

At this point, you would likely be better off to build rtems by itself using the waf instructions and avoiding the RSB kernel recipes. You don’t know what configuration options you really need yet.

Suggestions for making the documentation clearer are appreciated. I think you ended up on old documentation and the different ways to approach building rtems itself are not explained well enough.

Once we’ve cleared things up with you specifically, please let us know where you think needs clarifying.

–joel

Thanks, Joel, very useful.

Deprecating the bootstrap, unless I missed it in the documentation, I think is something that should be mentioned. There is plenty of content around from older releases.

aarch64 architecture is only supported in 6

That was released this month, that could explain why I couldn’t find much instruction on deploying for ZynqMP

I think you ended up on old documentation

I’m following the user manual for release 6, but in absence of success I tried what search engines brought to me, knowing it was an older release (and differences confused me even more)

you would likely be better off to build rtems by itself using the waf instructions and avoiding the RSB kernel recipes

will try that next, thanks