feat(app): add code to parse app bin headers
Add code in lib/el0_app that is able to iterate over the attached app
bins, and save the header addresses.
Modify the boot code so that the parsing function in lib/el0_app is
called
Also update the build system so that the bin gnerating/bundling scripts
are called on the apps
Change-Id: I97c93edc58bd0fea25770f1d2001c1b2742e1f13
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/docs/getting_started/build-options.rst b/docs/getting_started/build-options.rst
index a3a17b7..e82c232 100644
--- a/docs/getting_started/build-options.rst
+++ b/docs/getting_started/build-options.rst
@@ -204,7 +204,7 @@
cmake -DRMM_CONFIG=host_defcfg -DHOST_VARIANT=host_test -DCMAKE_BUILD_TYPE=Debug -S ${RMM_SOURCE_DIR} -B ${RMM_BUILD_DIR}
cmake --build ${RMM_BUILD_DIR} -- build -j
- ${RMM_BUILD_DIR}/Debug/rmm.elf -gxlat -v -r${NUMBER_OF_TEST_ITERATIONS}
+ ${RMM_BUILD_DIR}/Debug/rmm_core.elf -gxlat -v -r${NUMBER_OF_TEST_ITERATIONS}
16. Generate Coverage Report.
@@ -225,7 +225,7 @@
cmake -DRMM_CONFIG=host_defcfg -DHOST_VARIANT=host_test -DRMM_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug -S ${RMM_SOURCE_DIR} -B ${RMM_BUILD_DIR}
cmake --build ${RMM_BUILD_DIR} -- build -j
- ${RMM_BUILD_DIR}/Debug/rmm.elf -gxlat
+ ${RMM_BUILD_DIR}/Debug/rmm_core.elf -gxlat
cmake --build ${RMM_BUILD_DIR} -- run-coverage
Run coverage analysis on the `host_build` variant of host platform:
@@ -233,7 +233,7 @@
.. code-block:: bash
cmake -DRMM_CONFIG=host_defcfg -DHOST_VARIANT=host_build -DRMM_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug -S ${RMM_SOURCE_DIR} -B ${RMM_BUILD_DIR}
- ${RMM_BUILD_DIR}/Debug/rmm.elf
+ ${RMM_BUILD_DIR}/Debug/rmm_core.elf
cmake --build ${RMM_BUILD_DIR} -- run-coverage
The above commands will automatically generate the HTML coverage report in folder
diff --git a/docs/getting_started/getting-started.rst b/docs/getting_started/getting-started.rst
index 1c2b7d1..0a49039 100644
--- a/docs/getting_started/getting-started.rst
+++ b/docs/getting_started/getting-started.rst
@@ -315,7 +315,7 @@
|RMM|.
If |RMM| is built for the `fake_host` architecture
-(see :ref:`RMM Fake Host Build`), then the generated `rmm.elf` binary can
+(see :ref:`RMM Fake Host Build`), then the generated `rmm_core.elf` binary can
run natively on the Host machine. It does this by emulating parts of the system
as described in :ref:`RMM Fake host architecture` design.