<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.rtems.org/chris">Chris Johns</a>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9#note_137639">commented</a>:
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">I appreciate the detail and if deployment can provide the support I am more than happen to see it added.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Deployment requires you provide an RSB on the <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>configure</code> command line. An instance of the RSB provides a specific set of architecture versioned tool sets that match a specific kernel version or branch set of architectures. It is always a 1:1 relationship. The RSB can only report the build sets it has and the contents of configurations of those build sets. If you ask it to build a BSP that does not exists it will try and the kernel build will report an error.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Deployment probes the RSB for the RSB version during configure. This means a configured instance of deployment has a 1:1 relationship with the kernel sources by association due to the dependence on the RSB.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">There are two types of RSBs, a branch version or a released version. A released version will only fetch the RTEMS kernel source from the release URL. A branch version will fetch from gitlab a specific hash version set in a configuration file. The hash is from the same branch as the RSB.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Deployment and the RSB do not hold the <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>arch/bsp</code> list the referenced RTEMS kernel supports. We manually maintain the architecture tool sets in the RSB so they match the list of BSP architectures in the kernel sources.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">User applications in C or C++ code are built to a specific version of the kernel and tools. This means the normal project flow is to select a version and to develop with it.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">If you know the RSB version you know the kernel and if you know the kernel you can run the <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>rtems-bsps</code> to generate a list or BSPs. Currently there is no tool or resource that can collect a map of <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>arch/bsp</code> per version. That is a view of the project that sits above deployment.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Users normally hold kernel <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>config.ini</code> files that configure a BSP for target hardware they are using. This can be as simple as the UART port, default board rate or it could be deeply embedded like a bus clock speed. Users will want to provide such a file and these files are specific to a BSP.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">The deployment <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>config</code> directory holds a static set of vertical software stacks. It is designed to be open place for open or common software stacks users can use.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">To generate a BSP list you need a version of kernel sources. The <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>rtems-bsps</code> command is pretty basic and scans the sources for known things that let it generate a list. It provides a stable user interface while the way the list is formed can change.</p>
<hr style="overflow: hidden; margin: 10px 0; border: 1px solid #dcdcde;">
<p dir="auto" style="color: #3a383f; margin: 0;" align="initial">If a global resource of <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>rtems-bsps</code> JSON output is available could it be downloaded by the GUI? A release could hold <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; font-weight: inherit; white-space: break-spaces; overflow-wrap: break-word; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: keep-all; padding: 0.125rem 0.25rem;'>ARCH-BSP.json</code> (a known URL) and maybe automation could maintain versions for active branches?</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9#note_137639">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/1-0ey2gyuquk3umn9ueaohhzaoc/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9#note_137639 at 1766121494
</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/rtems/tools/rtems-deployment/-/issues/9#note_137639"}}</script>
</p>
</div>
</body>
</html>