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, 836 total actions
@@ -214,7 +214,7 @@ The application instances are called with the following arguments:
214
214
Feel free to adjust them as needed.
215
215
216
216
In order to have those arguments changeable, the HI arguments are not hardcoded into `cflinit`.
217
-
Instead, `cflinit` calls a small wrapper binary `/usr/bin/hi_app` which is based on the implementation in `example/ipc_bridge_hi_wrapper/main.cc`.
217
+
Instead, `cflinit` calls a small wrapper binary `/usr/bin/hi_app` which is based on the implementation in `scrample_sil/main.cc`.
218
218
When `hi_app` is executed by `cflinit`, it simply calls `execve` on `/usr/bin/ipc_bridge_cpp_sil` with the correct set of arguments.
219
219
This way `cflinit` keeps its static entrypoint for the Eclipse S-CORE example app, while the user is still able to specify the used arguments for the HI `ipc_bridge` instance.
220
220
@@ -234,7 +234,7 @@ With those changes, the toolchain can be used via `bazel build --config=aarch64
234
234
> [!IMPORTANT]
235
235
> Building inside a sandbox is currently not possible.
236
236
237
-
For building and running the example setup, the following Bazel rules have been created in `example/ipc_bridge_hi_wrapper/BUILD`:
237
+
For building and running the example setup, the following Bazel rules have been created in `scrample_sil/BUILD`:
238
238
239
239
| Target | Dependencies | Description |
240
240
| ------ | ------------ | ----------- |
@@ -253,7 +253,7 @@ The following sections introduce some of the rules mentioned above.
253
253
The `run_example` 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.
333
-
Afterwards, the `fastdev-image` rule extracts the archive (containing a disk image and a kernel) to `bazel-bin/example/ipc_bridge_hi_wrapper/deb-qemuarm64/`.
333
+
Afterwards, the `fastdev-image` rule extracts the archive (containing a disk image and a kernel) to `bazel-bin/scrample_sil/deb-qemuarm64/`.
334
334
335
335
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.
@@ -350,19 +350,19 @@ ssh -p 2222 root@localhost
350
350
> [!NOTE]
351
351
> Be aware, that running the image via qemu, will change the stored disk image.
352
352
> Bazel will detect this change and overwrite the disk image with the original one from the downloaded archive.
353
-
> If it is planned to have persistent changes on the image, copy the content of `bazel-bin/example/ipc_bridge_hi_wrapper/deb-qemuarm64/` to a location outside of `bazel-bin` and adapt the command line argument in the above `./run_qemu.sh` call accordingly.
353
+
> If it is planned to have persistent changes on the image, copy the content of `bazel-bin/scrample_sil/deb-qemuarm64/` to a location outside of `bazel-bin` and adapt the command line argument in the above `./run_qemu.sh` call accordingly.
354
354
355
-
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/example/ipc_bridge_hi_wrapper/deb-qemuarm64/` and deploy all needed files via `scp`.
355
+
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_sil/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/example/ipc_bridge_hi_wrapper/deb-qemuarm64-modified/`.
361
+
Since the deployment step will change the stored disk image, the `upload` rule stores its output in `bazel-bin/scrample_sil/deb-qemuarm64-modified/`.
362
362
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