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>
This commit is contained in:
Nhut Nguyen 2024-12-17 14:02:24 +07:00 committed by Benjamin Cabé
parent 44b28713e2
commit 0574ba1f4b

View file

@ -219,6 +219,30 @@ version.
:goals: build flash :goals: build flash
:compact: :compact:
Troubleshooting
===============
Linux and Zephyr application should not share SoC HW resources otherwise it will cause HW corruption and unpredictable behavior.
Therefore, HW resources assigned to Zephyr application must be disabled in Linux.
The below patch shows how to prevent Linux from configuring SCIF1 which is used by Zephyr.
.. code-block:: diff
diff --git a/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi b/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
index f01801b18e8a..d9f9a0a2bb08 100644
--- a/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi
@@ -347,7 +347,7 @@ &scif1 {
pinctrl-0 = <&scif1_pins>;
pinctrl-names = "default";
uart-has-rtscts;
- status = "okay";
+ status = "disabled";
};
#elif SPDIF_SEL == SW_ON
&spdif {
References References
********** **********