You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>INFO: Build completed successfully, 932 total actions
44
44
>```
45
45
>
46
46
> The two log files mentioned in this output are the main results of the test execution.
@@ -220,16 +220,15 @@ This way `cflinit` keeps its static entrypoint for the Eclipse S-CORE example ap
220
220
221
221
### S-CORE Toolchain in Linux for Safety Applications
222
222
223
-
The demo SDK integrates the [S-CORE toolchain with two extensions](https://github.com/elektrobit-contrib/eclipse-score_toolchains_gcc/releases/tag/0.5.0-alpha):
223
+
The demo SDK integrates the [S-CORE toolchain with two extensions](https://github.com/elektrobit-contrib/eclipse-score_toolchains_gcc/releases/tag/0.5.0-beta):
224
224
225
225
- Additional tooling for AArch64 cross-building.
226
226
- Additional tool `lisa-elf-enabler`: It marks an ELF header of an application in a way that Linux for Safety Applications detects it as an HI application.
227
-
The tool is available to Bazel via `@eb_toolchain_gcc//:elf-enabler`.
228
227
229
228
### Bazel Rules for the Example Applications
230
229
231
230
The example extends the [`scrample` example](https://github.com/eclipse-score/scrample) of S-CORE with the application setup and the toolchain extensions described above.
232
-
With those changes, the toolchain can be used via `bazel build --config=aarch64-ebclfsa //scrample_integration:<target>`.
231
+
With those changes, the toolchain can be used via `bazel build --config=eb-aarch64 //images/ebclfsa_aarch64/scrample_integration:<target>`.
233
232
234
233
> [!IMPORTANT]
235
234
> Building inside a sandbox is currently not possible.
@@ -253,7 +252,7 @@ The following sections introduce some of the rules mentioned above.
253
252
The `run` target provides an easy entry point, to build, post-process, deploy, run and stop the example:
This will first download the image via the `fetch-fastdev-archive` rule and cache the archive.
340
-
Afterwards, the `fastdev-image` rule extracts the archive (containing a disk image and a kernel) to `bazel-bin/scrample_integration/deb-qemuarm64/`.
339
+
Afterwards, the `fastdev-image` rule extracts the archive (containing a disk image and a kernel) to `bazel-bin/images/ebclfsa_aarch64/scrample_integration/ebcl-qemuarm64/`.
341
340
342
341
To start the unmodified base image (without the Eclipse S-CORE example application) manually, the included `run_qemu.sh` script can be used.
This is of course optional, and only needed if a deeper manual look into the image is wished.
@@ -357,19 +356,19 @@ ssh -p 2222 root@localhost
357
356
> [!NOTE]
358
357
> Be aware, that running the image via qemu, will change the stored disk image.
359
358
> Bazel will detect this change and overwrite the disk image with the original one from the downloaded archive.
360
-
> If it is planned to have persistent changes on the image, copy the content of `bazel-bin/scrample_integration/deb-qemuarm64/` to a location outside of `bazel-bin` and adapt the command line argument in the above `run_qemu.sh` call accordingly.
359
+
> If it is planned to have persistent changes on the image, copy the content of `bazel-bin/images/ebclfsa_aarch64/scrample_integration/ebcl-qemuarm64/` to a location outside of `bazel-bin` and adapt the command line argument in the above `run_qemu.sh` call accordingly.
361
360
362
361
For deploying the example application to the image, the `upload` rule is available, which will start the image based on the content of `bazel-bin/scrample_integration/deb-qemuarm64/` and deploy all needed files via `scp`.
Since the deployment step will change the stored disk image, the `upload` rule stores its output in `bazel-bin/scrample_integration/deb-qemuarm64-modified/`.
367
+
Since the deployment step will change the stored disk image, the `upload` rule stores its output in `bazel-bin/images/ebclfsa_aarch64/scrample_integration/ebcl-qemuarm64-modified/`.
369
368
Running the image with the deployed example applications works the same way as before, just with a different folder for the used image and kernel:
0 commit comments