mirzak / meta-coral

Yocto/OE-core BSP Layer for Coral Dev Board
MIT License
40 stars 21 forks source link

ttymxc not available #36

Closed johnny-jiang-000 closed 1 year ago

johnny-jiang-000 commented 4 years ago

Hi mirzak,

I installed coral-demo-image on my coral-dev board. When I try to use uart device the linux kernel return the error message
> [ 9196.589990] imx-sdma 30bd0000.sdma: sdma firmware not ready! [ 9196.595673] imx-uart 30890000.serial: Prepare for the RX slave dma failed! Both ttymxc1 and ttymxc2 return the same error.

mirzak commented 4 years ago

What Yocto version are you on?

Can you post the result of dmesg | grep sdma.

I suspect that either the SDMA firmware files are missing or incompatible with the kernel cora-dev board is using. This is typically provided by the firmware-imx package or linux-firmware.

johnny-jiang-000 commented 4 years ago
Thanks for reply. I took reference from here and solved the problem.  It need to include sdma-imx7d.bin firmware into kernel image compilation so the sdma firmware can correctly loaded on boot. Johnny Jiang  发件人: Mirza Krak发送时间: Tuesday, June 30, 2020 7:36收件人: mirzak/meta-coral抄送: johnny-jiang-000; Author主题: Re: [mirzak/meta-coral] ttymxc not available (#36) What Yocto version are you on?Can you post the result of dmesg | grep sdma.I suspect that either the SDMA firmware files are missing or incompatible with the kernel cora-dev board is using. This is typically provided by the firmware-imx package—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. 
mirzak commented 4 years ago

Filtering above message:

Thanks for reply. I took reference from here and solved the problem. It need to include sdma-imx7d.bin firmware into kernel image compilation so the sdma firmware can correctly loaded on boot.

johnny-jiang-000 commented 4 years ago

Filtering above message:

Thanks for reply. I took reference from here and solved the problem. It need to include sdma-imx7d.bin firmware into kernel image compilation so the sdma firmware can correctly loaded on boot.

omg is that what will happen if reply using win10 mail app..... btw I found a similar case and take solution from here (https://community.nxp.com/thread/531049#comment-1310375)