Skip to content

Commit 0574ba1

Browse files
nhutnguyenkckartben
authored andcommitted
doc: Add troubleshooting for RZ/G3S-SMARC
Add troubleshooting for HW resource conflicts between Linux and Zephyr Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
1 parent 44b2871 commit 0574ba1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

boards/renesas/rzg3s_smarc/doc/index.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,30 @@ version.
219219
:goals: build flash
220220
:compact:
221221

222+
Troubleshooting
223+
===============
224+
225+
Linux and Zephyr application should not share SoC HW resources otherwise it will cause HW corruption and unpredictable behavior.
226+
Therefore, HW resources assigned to Zephyr application must be disabled in Linux.
227+
228+
The below patch shows how to prevent Linux from configuring SCIF1 which is used by Zephyr.
229+
230+
.. code-block:: diff
231+
232+
diff --git a/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi b/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
233+
index f01801b18e8a..d9f9a0a2bb08 100644
234+
--- a/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
235+
+++ b/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
236+
@@ -347,7 +347,7 @@ &scif1 {
237+
pinctrl-0 = <&scif1_pins>;
238+
pinctrl-names = "default";
239+
uart-has-rtscts;
240+
- status = "okay";
241+
+ status = "disabled";
242+
};
243+
#elif SPDIF_SEL == SW_ON
244+
&spdif {
245+
222246
References
223247
**********
224248

0 commit comments

Comments
 (0)