imx95 m7 core edma issue

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

imx95 m7 core edma issue

1,182 Views
vraevsky
Contributor III

Dear NXP Support,

We have an issue with the imx95 M7 core.
We are using the NXP provided SDK_25_06_00_IMX95LPD5EVK-19.tar.gz.
Compiled all driver_examples/lpuart:
edma_transfer, interrupt, interrupt_rb_transfer, interrupt_transfer, polling.
Issued the same procedure for each one from the Linux console:

echo stop > /sys/class/remoteproc/remoteproc1/state
echo <sample-name>.elf > /sys/class/remoteproc/remoteproc1/firmware
echo start > /sys/class/remoteproc/remoteproc1/state

The M7 core serial console shows prompt, and it is possible to interact with the loaded driver.
Almost everything is okay, except for the lpuart_edma_transfer_cm7.elf that shows nothing on the M7 core serial console. Discovered that the driver configures the M7 serial console:
the M33 md command shows the correct values for the pinmux registers.

We’d appreciate it if you could shed light on the problem and help us in resolving the issue.

Thanks in advances,
Valentin.

 

0 Kudos
Reply
2 Replies

1,130 Views
gaurav_sharma
NXP Employee
NXP Employee

@vraevsky , which linux bsp and dtb are you using to boot the board ?

0 Kudos
Reply

1,111 Views
vraevsky
Contributor III
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2194577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eimx95%20m7%20core%20edma%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2194577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%20Support%2C%3C%2FP%3E%3CP%3EWe%20have%20an%20issue%20with%20the%20imx95%20M7%20core.%3CBR%20%2F%3EWe%20are%20using%20the%20NXP%20provided%20%3CEM%3E%3CSTRONG%3ESDK_25_06_00_IMX95LPD5EVK-19.tar.gz.%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3ECompiled%20all%20driver_examples%2Flpuart%3A%3CBR%20%2F%3E%3CEM%3E%3CSTRONG%3Eedma_transfer%2C%20interrupt%2C%20interrupt_rb_transfer%2C%20interrupt_transfer%2C%20polling.%3C%2FSTRONG%3E%3C%2FEM%3E%3CBR%20%2F%3EIssued%20the%20same%20procedure%20for%20each%20one%20from%20the%20Linux%20console%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3Eecho%20stop%20%26gt%3B%20%2Fsys%2Fclass%2Fremoteproc%2Fremoteproc1%2Fstate%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eecho%20%3CSAMPLE-NAME%3E.elf%20%26gt%3B%20%2Fsys%2Fclass%2Fremoteproc%2Fremoteproc1%2Ffirmware%3C%2FSAMPLE-NAME%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3Eecho%20start%20%26gt%3B%20%2Fsys%2Fclass%2Fremoteproc%2Fremoteproc1%2Fstate%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20M7%20core%20serial%20console%20shows%20prompt%2C%20and%20it%20is%20possible%20to%20interact%20with%20the%20loaded%20driver.%3CBR%20%2F%3EAlmost%20everything%20is%20okay%2C%20except%20for%20the%20lpuart_edma_transfer_cm7.elf%20that%20shows%20nothing%20on%20the%20M7%20core%20serial%20console.%20Discovered%20that%20the%20driver%20configures%20the%20M7%20serial%20console%3A%3CBR%20%2F%3Ethe%20M33%20md%20command%20shows%20the%20correct%20values%20for%20the%20pinmux%20registers.%3C%2FP%3E%3CP%3EWe%E2%80%99d%20appreciate%20it%20if%20you%20could%20shed%20light%20on%20the%20problem%20and%20help%20us%20in%20resolving%20the%20issue.%3C%2FP%3E%3CP%3EThanks%20in%20advances%2C%3CBR%20%2F%3EValentin.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195300%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx95%20m7%20core%20edma%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195300%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ELinux%20kernel%20version%20is%206.12.34%20a%20clone%20of%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx.git%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EHere%20are%20device%20tree%20and%20a%20dtsi%3C%2FP%3E%3CP%3Emain%20ucm-imx95-som.dts%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fcompulab-yokneam%2Flinux-compulab%2Fblob%2Flinux-compulab_v6.12.34%2Farch%2Farm64%2Fboot%2Fdts%2Fcompulab%2Fucm-imx95-som.dts%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fcompulab-yokneam%2Flinux-compulab%2Fblob%2Flinux-compulab_v6.12.34%2Farch%2Farm64%2Fboot%2Fdts%2Fcompulab%2Fucm-imx95-som.dts%3C%2FA%3E%3C%2FP%3E%3CP%3Edtsi%20ucm-imx95-rpmsg.dtsi%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fcompulab-yokneam%2Flinux-compulab%2Fblob%2Flinux-compulab_v6.12.34%2Farch%2Farm64%2Fboot%2Fdts%2Fcompulab%2Fucm-imx95-rpmsg.dtsi%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fcompulab-yokneam%2Flinux-compulab%2Fblob%2Flinux-compulab_v6.12.34%2Farch%2Farm64%2Fboot%2Fdts%2Fcompulab%2Fucm-imx95-rpmsg.dtsi%3C%2FA%3E%3C%2FP%3E%3CP%3EMakefile%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fcompulab-yokneam%2Flinux-compulab%2Fblob%2Flinux-compulab_v6.12.34%2Farch%2Farm64%2Fboot%2Fdts%2Fcompulab%2FMakefile.ucm-imx95%23L22-L23%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fcompulab-yokneam%2Flinux-compulab%2Fblob%2Flinux-compulab_v6.12.34%2Farch%2Farm64%2Fboot%2Fdts%2Fcompulab%2FMakefile.ucm-imx95%23L22-L23%3C%2FA%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eimx-system-manager%3A%3C%2FP%3E%3CP%3Eversion%3A%26nbsp%3B%3CSPAN%3Elf-6.12.34-2.1.0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Econfig%3A%20imx95evkrpmsg.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EValentin.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2195056%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20imx95%20m7%20core%20edma%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2195056%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F207755%22%20target%3D%22_blank%22%3E%40vraevsky%3C%2FA%3E%26nbsp%3B%2C%20which%20linux%20bsp%20and%20dtb%20are%20you%20using%20to%20boot%20the%20board%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E