imx8qxpmek can device activation problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8qxpmek can device activation problem

714 Views
ykupeli
Contributor I

Hi all,

I'm trying to activate can devices on my i.mx8qxp board. I'm using the command "bitbake -c menuconfig linux-imx" in order to make necessary changes to activate can function. But I can't see any can devices on the board. And some strange messages which are related to cpu frequencies and power management features also appear on dmesg command output. But those messages didn't appeared before can case.

Here are some of my yocto configuration details:

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.24-2.1.0.xml

DISTRO=fsl-imx-wayland MACHINE=imx8qxpmek source imx-setup-release.sh -b build-wayland

bitbake fsl-image-qt5-validation-imx

Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qxpmek"
DISTRO = "fsl-imx-wayland"
DISTRO_VERSION = "5.4-zeus"
TUNE_FEATURES = "aarch64 cortexa35 crc crypto"
TARGET_FPU = ""
---

a part of dmesg output:

[ 4963.628287] imx-scu-clk sdhc1_clk: genpd_runtime_suspend()
[ 4963.934577] imx8qxp-lpcg-clk 5b210000.clock-controller: genpd_runtime_suspend()
[ 4966.496753] cpu cpu0: dev_pm_opp_set_rate: switching OPP: 900000000 Hz --> 1200000000 Hz
[ 4966.497926] sdhci-esdhc-imx 5b020000.mmc: genpd_runtime_resume()
[ 4966.497994] imx8qxp-lpcg-clk 5b210000.clock-controller: genpd_runtime_resume()
[ 4966.498013] imx-scu-clk sdhc1_clk: genpd_runtime_resume()
[ 4966.506793] cpu cpu0: dev_pm_opp_set_rate: switching OPP: 1200000000 Hz --> 900000000 Hz
[ 4966.518749] cpu cpu0: dev_pm_opp_set_rate: switching OPP: 900000000 Hz --> 1200000000 Hz
[ 4966.566568] sdhci-esdhc-imx 5b020000.mmc: genpd_runtime_suspend()
[ 4966.566663] imx-scu-clk sdhc1_clk: genpd_runtime_suspend()
[ 4966.592597] sdhci-esdhc-imx 5b020000.mmc: genpd_runtime_resume()
[ 4966.592630] imx-scu-clk sdhc1_clk: genpd_runtime_resume()
[ 4966.626641] cpu cpu0: dev_pm_opp_set_rate: switching OPP: 1200000000 Hz --> 900000000 Hz
[ 4966.675862] sdhci-esdhc-imx 5b020000.mmc: genpd_runtime_suspend()
[ 4966.675956] imx-scu-clk sdhc1_clk: genpd_runtime_suspend()
[ 4967.058556] imx8qxp-lpcg-clk 5b210000.clock-controller: genpd_runtime_suspend()
[ 4968.122874] sdhci-esdhc-imx 5b020000.mmc: genpd_runtime_resume()
[ 4968.122942] imx8qxp-lpcg-clk 5b210000.clock-controller: genpd_runtime_resume()
[ 4968.122965] imx-scu-clk sdhc1_clk: genpd_runtime_resume()
[ 4968.188445] sdhci-esdhc-imx 5b020000.mmc: genpd_runtime_suspend()
[ 4968.188530] imx-scu-clk sdhc1_clk: genpd_runtime_suspend()
[ 4968.722560] imx8qxp-lpcg-clk 5b210000.clock-controller: genpd_runtime_suspend()
[ 4971.194537] imx-lpi2c 56246000.i2c: genpd_runtime_resume()
[ 4971.194586] imx8qxp-lpcg-clk 56243010.clock-controller: genpd_runtime_resume()

Regards,

Yusuf.

0 Kudos
2 Replies

701 Views
igorpadykov
NXP Employee
NXP Employee

Hi ykupeli

 

can can be used by m4 (assigned to m4 partition), one can look at

below link  "Modifying default configuration" and assign can interface to A core partition :

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...

 

Best regards
igor

0 Kudos

696 Views
ykupeli
Contributor I

Hi Igor,

Thank you for your quick response. But I'm newbie to the imx platform. It's too diffucult for me to understand all those instructions at once. I can just use yocto platform in order to produce whole image for the platform. Are there any other easier instructions to follow that I can use with yocto for the case? Or any other examples to fix that?

Best Regards,

Yusuf.