Skip to content

Commit

Permalink
nxp: imx8/imx8x: switch to Zephyr logging
Browse files Browse the repository at this point in the history
Switch to using Zephyr logging on imx8 and imx8x to
prepare for using native Zephyr drivers.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
  • Loading branch information
LaurentiuM1234 committed Apr 10, 2024
1 parent 2cfc85e commit 75c544d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 22 deletions.
2 changes: 2 additions & 0 deletions app/boards/imx8qm_mek_mimx8qm6_adsp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_IMX8=y
CONFIG_HAVE_AGENT=n
CONFIG_FORMAT_CONVERT_HIFI3=n
CONFIG_KPB_FORCE_COPY_TYPE_NORMAL=n
CONFIG_ZEPHYR_LOG=y
CONFIG_TRACE=n
19 changes: 10 additions & 9 deletions app/boards/imx8qm_mek_mimx8qm6_adsp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
* SPDX-License-Identifier: Apache-2.0
*/

/* TODO: this is a temporary workaround the fact that
* currently the Linux kernel doesn't enable MU2's power.
* As such, CCM (and all IPs that depend on Zephyr's
* clock management) are not usable.
*/
&lpuart2 {
status = "disabled";
};

&ccm {
/* note for developers: this is disabled
* because the firmware running on one of the M4
* cores uses the same LPUART instance. As such,
* to debug you need to make sure that:
* 1) Your SOF DTS doesn't include the RPMSG
* DTS but instead the base DTS (which is
* "imx8qm-mek.dts")
* 2) Your u-boot doesn't include the M4 firmware
* images.
*/
status = "disabled";
};
2 changes: 2 additions & 0 deletions app/boards/imx8qxp_mek_mimx8qx6_adsp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ CONFIG_IMX8X=y
CONFIG_HAVE_AGENT=n
CONFIG_FORMAT_CONVERT_HIFI3=n
CONFIG_KPB_FORCE_COPY_TYPE_NORMAL=n
CONFIG_ZEPHYR_LOG=y
CONFIG_TRACE=n
13 changes: 0 additions & 13 deletions app/boards/imx8qxp_mek_mimx8qx6_adsp.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,3 @@
*
* SPDX-License-Identifier: Apache-2.0
*/

/* TODO: this is a temporary workaround the fact that
* currently the Linux kernel doesn't enable MU2's power.
* As such, CCM (and all IPs that depend on Zephyr's
* clock management) are not usable.
*/
&lpuart2 {
status = "disabled";
};

&ccm {
status = "disabled";
};

0 comments on commit 75c544d

Please sign in to comment.