RTEMS Source Builder | Add Support for HSS Payload Generation in RTEMS Source Builder (#31)
Purva Yeshi (@purva_yeshi)
gitlab at rtems.org
Mon Sep 2 16:25:53 UTC 2024
Purva Yeshi created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/31
## Summary
<!--
Currently, generating a payload for the RTEMS application binaries (e.g., hello.elf) for the BeagleV-Fire board requires manual steps using the hss-payload-generator tool from the Hart Software Services (HSS) repository. This process involves copying the ELF file to a specific directory, editing a YAML configuration file, and running the payload generator manually.
To streamline the development workflow and reduce the manual steps, it would be beneficial to integrate HSS payload generation into the RTEMS Source Builder (RSB). This integration would allow developers to automatically generate the necessary binary payloads directly from the RSB environment without needing to perform separate manual steps.
Current Manual Process:
1. Copy the RTEMS ELF file (hello.elf) to the HSS/tools/hss-payload-generator/test directory.
2. Navigate to the hss-payload-generator source directory:
3. Edit the test/uboot.yaml file to configure hart entry points and the binary file name:
```
set-name: 'PolarFire-SoC-HSS::RTEMS'
hart-entry-points: {u54_1: '0x1000000000'}
payloads:
test/hello.elf: {exec-addr: '0x1000000000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
```
4. Run the hss-payload-generator to create the payload binary:
```
./hss-payload-generator -c test/uboot.yaml payload.bin
```
-->
## Steps to reproduce
- **Automate the Payload Generation**: Integrate the steps required to generate a payload using hss-payload-generator into the RTEMS Source Builder. This would automate the copying of ELF files, configuration of YAML files, and execution of the payload generation command.
- **Workflow**: With this integration, users should be able to invoke a single RSB command or script that handles the entire process, from building the RTEMS application to generating the appropriate HSS payload.
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/31
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/20240902/95f7d4e3/attachment.htm>
More information about the bugs
mailing list