Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
.. _how_to_renesas_mpu:
|
||||
|
||||
##############################################
|
||||
How to for Renesas MPU (RZ/G2L family)
|
||||
##############################################
|
||||
|
||||
To get more information on EVerest and Renesas hardware, see here:
|
||||
https://www.renesas.com/en/products/microcontrollers-microprocessors/rz-mpus/rz-partner-solutions/pionix-basecamp
|
||||
|
||||
Here is how to set it up and run an EVerest simulation:
|
||||
|
||||
1. Clone the ``rz-community-bsp`` repo:
|
||||
https://github.com/renesas-rz/rz-community-bsp.git
|
||||
|
||||
2. Apply the patch necessary to build ``EVerest``.
|
||||
You can find the patch here: :ref:`Patch file <how_to_renesas_mpu_patch>`
|
||||
|
||||
3. Start the ``kas-container`` menu to configure the environment:
|
||||
|
||||
a. Run ``./kas-container menu``
|
||||
b. Select the device **RZ/G2L**
|
||||
c. Save & Exit
|
||||
|
||||
4. Start ``kas-shell`` with ``./kas-container shell`` and install dependencies:
|
||||
|
||||
a. Run ``sudo apt-get update``
|
||||
b. Run ``sudo apt-get install -y python3.11 python3.11-dev``
|
||||
|
||||
5. Edit the file
|
||||
``/work/poky/meta/recipes-devtools/elfutils/elfutils_0.186.bb``
|
||||
to add the following line:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
CFLAGS:append = " -Wno-error=deprecated-declarations"
|
||||
|
||||
6. Start the build using:
|
||||
|
||||
``bitbake renesas-image-minimal``
|
||||
|
||||
Once the build is complete, exit the shell.
|
||||
|
||||
7. Flash the hardware with the instructions in the RZ/G2L startup guide:
|
||||
`Evaluation Board Kit Quick Start Guide <https://www.renesas.com/us/en/document/qsg/rzg2l-evaluation-board-kit-quick-start-guide>`_
|
||||
|
||||
The generated images/binaries will be present in:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
built/tmp/deploy/images/smarc-rzg2l
|
||||
|
||||
8. Start EVerest with:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
/usr/bin/manager --conf /etc/everest/config-sil.yaml
|
||||
|
||||
If everything has been set up correctly, you will now be able to run simulation
|
||||
steps with EVerest. See the :ref:`Quick Start Guide <htg_getting_started_sw>`
|
||||
for more information.
|
||||
|
||||
To go further and implement your own customized EVerest modules, have a look at
|
||||
the :doc:`EVerest module concept documentation </explanation/detail-module-concept>`.
|
||||
|
||||
----
|
||||
|
||||
**Authors:** Manuel Ziegler
|
||||
@@ -0,0 +1,57 @@
|
||||
:orphan:
|
||||
|
||||
.. _how_to_renesas_mpu_patch:
|
||||
|
||||
#####################################
|
||||
Patch for Renesas MPU (RZ/G2L family)
|
||||
#####################################
|
||||
|
||||
Save this content here as a file with the extension ``.patch``. Then apply it to the
|
||||
``kas/yocto/kirkstone.yml`` file in the ``rz-community-bsp`` repository:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
From 0af5946f55b746a6e436c45249f559866fcaa848 Mon Sep 17 00:00:00 2001
|
||||
From: sach1n1 <sachin.s.dominic@gmail.com>
|
||||
Date: Wed, 28 Aug 2024 12:44:51 +0200
|
||||
Subject: [PATCH] Signed-off-by: <sachin.dominic.zn@renesas.com>
|
||||
|
||||
Changes for everest.
|
||||
---
|
||||
kas/yocto/kirkstone.yml | 24 ++++++++++++++++++++++++
|
||||
1 file changed, 24 insertions(+)
|
||||
|
||||
diff --git a/kas/yocto/kirkstone.yml b/kas/yocto/kirkstone.yml
|
||||
index b2a1470..c80dd34 100644
|
||||
--- a/kas/yocto/kirkstone.yml
|
||||
+++ b/kas/yocto/kirkstone.yml
|
||||
@@ -24,3 +24,27 @@ repos:
|
||||
layers:
|
||||
meta-arm-toolchain:
|
||||
meta-arm:
|
||||
+ meta-openembedded:
|
||||
+ url: https://github.com/openembedded/meta-openembedded
|
||||
+ commit: 52ecd66835dcfd8b4e55c9cb6325908ccea6a4e7
|
||||
+ layers:
|
||||
+ meta-oe:
|
||||
+ meta-networking:
|
||||
+ meta-python:
|
||||
+ meta-multimedia:
|
||||
+ meta-filesystems:
|
||||
+ meta-perl:
|
||||
+ meta-everest:
|
||||
+ url: https://github.com/EVerest/meta-everest.git
|
||||
+ commit: f9273939088db91a5699c07e512ddd7981e5637a
|
||||
+
|
||||
+
|
||||
+local_conf_header:
|
||||
+ systemd: |
|
||||
+ DISTRO_FEATURES:append = " systemd"
|
||||
+ VIRTUAL-RUNTIME_init_manager = "systemd"
|
||||
+ VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
|
||||
+
|
||||
+ everest-core: |
|
||||
+ IMAGE_INSTALL:append = " systemd systemd-analyze everest-core mosquitto"
|
||||
+ IMAGE_INSTALL:remove = "busybox-syslog"
|
||||
--
|
||||
2.25.1
|
||||
Reference in New Issue
Block a user