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
The sample currently supports the Linux RZ/G Multi-OS Package V2.2.0. The build steps for Renesas Multi-OS Package V2.2.0 are described below.
47
+
For RZ/G3S-SMARC
48
+
----------------
49
+
50
+
The sample currently supports the Linux RZ/G Multi-OS Package v3.0.0. The build steps for Renesas Multi-OS Package are described below.
38
51
39
-
1. Follow the procedures in ''3.Multi-OS Package Setup'' of `Release Note for RZ/G Multi-OS Package V2.2.0 <https://www.renesas.com/en/document/rln/release-note-rzg-multi-os-package-v220?r=1522841>`_
52
+
1. Follow the procedures in ''3.2 Integration of Multi-OS Package related stuff'' of `Quick Start Guide for RZ/G3S Multi-OS Package`_
40
53
without initiating the build process.
41
-
2. For RZ/G3S, add ``PLAT_M33_BOOT_SUPPORT=1`` by following this guide:
2. For RZ/G3S, add ``PLAT_M33_BOOT_SUPPORT=1`` by following this guide: `RZ/G3S SMARC Evaluation Board Kit`_
43
56
44
57
3. Insert the highlighted lines of code into the following file: meta-rz-features/meta-rz-multi-os/meta-rzg3s/recipes-example/rpmsg-sample/files/platform_info.c
45
58
@@ -63,12 +76,44 @@ The sample currently supports the Linux RZ/G Multi-OS Package V2.2.0. The build
63
76
64
77
4. Start the build.
65
78
66
-
5. For deploying bootloader files, Linux kernel image, device tree and rootfs, follow the procedures in ''3.5.1 In case of configuring CA55 as Boot CPU'' of `Release Note for RZ/G Multi-OS Package V2.2.0 <https://www.renesas.com/en/document/rln/release-note-rzg-multi-os-package-v220?r=1522841>`_
79
+
5. For deploying bootloader files, Linux kernel image, device tree and rootfs, please refer to: `SMARC EVK of RZ/G3S Linux Start-up Guide`_
80
+
81
+
For RZ/V2L-SMARC
82
+
----------------
83
+
84
+
The sample currently supports the Linux RZ/V Multi-OS Package v3.1.1. The build steps for Renesas Multi-OS Package are described below.
85
+
86
+
1. Follow the steps (1) and (2) from the ''Flashing'' section of `RZ/V2L SMARC Evaluation Board Kit`_
87
+
88
+
2. Insert the highlighted lines of code into the following file: meta-rz-features/meta-rz-multi-os/meta-rzv2l/recipes-example/rpmsg-sample/files/platform_info.c
89
+
90
+
.. code-block:: c
91
+
:emphasize-lines: 5,6,7,8,9,10
92
+
93
+
if (ret) {
94
+
LPRINTF("failed rpmsg_init_vdev");
95
+
goto err;
96
+
}
97
+
/* RPMsg virtio enables callback for avail flags */
98
+
ret = virtqueue_enable_cb(rpmsg_vdev->rvq);
99
+
if (ret) {
100
+
LPRINTF("Failed release availability flags");
101
+
goto err;
102
+
}
103
+
#ifndef __linux__ /* uC3 */
104
+
start_ipi_task(rproc);
105
+
#endif
106
+
return rpmsg_virtio_get_rpmsg_device(rpmsg_vdev);
107
+
108
+
3. Start the build.
109
+
110
+
4. For deploying bootloader files, Linux kernel image, device tree and rootfs, follow the steps (4) to (8) from the ''Flashing'' section of
111
+
`RZ/V2L SMARC Evaluation Board Kit`_
67
112
68
113
Zephyr setup
69
114
============
70
115
71
-
1. Flash the sample to the board.
116
+
1. Flash the sample to the board by following the ''Flashing'' instructions for your board.
72
117
73
118
2. Open a serial terminal (minicom, putty, etc.) and connect to the board with the following
74
119
settings:
@@ -173,3 +218,20 @@ The following message will appear on the Zephyr console.
173
218
I: OpenAMP[remote] Linux sample client responder started
174
219
I: OpenAMP demo ended
175
220
I: OpenAMP Linux sample client responder ended
221
+
222
+
References
223
+
**********
224
+
225
+
.. target-notes::
226
+
227
+
.. _Quick Start Guide for RZ/G3S Multi-OS Package:
0 commit comments