m4ctl for i.MX8M Mini

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

m4ctl for i.MX8M Mini

Jump to solution
5,182 Views
m_c
Senior Contributor I

There is an useful tool (m4ctl) for start/stop/deploy m4 from Linux but can't work on i.MX8M Mini.

We know there is an application note (AN5317) about similar function for i.MX6SX/i.MX7 can refered but just several detail steps instead of tool like above.

Is there simple command line tool like m4ctl for i.MX8M Mini?

https://source.codeaurora.org/external/imxsupport/m4ctrl/tree/README.md

http://nxp.com/doc/an5317

Labels (1)
1 Solution
4,843 Views
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

additional files were sent via mail.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
20 Replies
4,734 Views
pierluigi_p
Contributor V

Dear Igor,

is it possible to obtain the patches and instructions for iMX8MM/iMX8MQ?

Are we supposed to sign any NDA?

Thanks

Regards

Pier

0 Kudos
Reply
4,843 Views
Farsan_Baloo
Contributor II

Hi,

I would also be interested in information about running m4ctrl on imx8mq. 

0 Kudos
Reply
4,843 Views
davidvescovi
Contributor V

same here

0 Kudos
Reply
4,843 Views
pavel_
Contributor II

Also need m4ctrl working on imx8mm.

0 Kudos
Reply
4,843 Views
tracke
Contributor I

Is there a standard implementation for the m4ctrl package for the i.MX8m mini?
Could I also get a copy of these files?

0 Kudos
Reply
4,844 Views
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

additional files were sent via mail.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
4,058 Views
emilsedemil
Contributor II

Hi,

We also need this patch.

Please let me know what do you need from us.

Thanks in advance. Cheers,

Emilio

0 Kudos
Reply
4,564 Views
darcyxu
Contributor II

use the rpmsg_lite_str_echo_rtos M4 project, and the Linux side uses imx_rpmsg_tty.ko. 1: Normal uboot starts M4, after linux starts, load the module insmod imx_rpmsg_tty.ko 2: rpmsg str echo is normal 3: Use m4ctl in linux to reset M4 4: Uninstall the module rmmod imx_rpmsg_tty.ko 5: Reload insmod imx_rpmsg_tty.ko 6: The rpmsg str echo is abnormal, and the M4 is in an infinite loop while (!rpmsg_lite_is_link_up(my_rpmsg)); question1: How can I keep the rpmsg tty working normally after resetting M4 core using m4ctl in Linux?

0 Kudos
Reply
4,792 Views
dragonzhangcl
Contributor I

Alse need m4ctrl working on imx8mm

Can you send same code to me?

0 Kudos
Reply
4,842 Views
sinanakman
Senior Contributor III

Hi Igor

I often see your comment that you are sending the information via e-mail instead of posting here. Is there a reason for not posting those. As this is an open forum it would be nice to have the information available for all of us. Perhaps some of the stuff you send privately is related to the security part of the SoC and probably not available for public. Is this the case with this one as well ?

Best regards

Sinan Akman

0 Kudos
Reply
4,842 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sinan 

it may be suggested to create service request for such cases.

https://community.nxp.com/docs/DOC-329745 

Best regards
igor

0 Kudos
Reply
4,842 Views
sinanakman
Senior Contributor III

Hi Igor

Perhaps you misunderstood. I was just asking why you sometimes (and for this particular case as well) send the replies via e-mail instead of posting here so that everyone can have access to the information.

Regards

Sinan Akman

0 Kudos
Reply
4,842 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sinan 

 

I  fully understood your question.

Not all internal codes can be publicly shared.

Regarding this patch I asked owner of this application

what could be better option to proceed.

Best regards
igor

4,842 Views
sinanakman
Senior Contributor III

Hi Igor

Thanks for your time responding to this. I totally understand there are some information e.g related to security issues etc. that can't be shared publicly. In this particular thread it would be great If the author (Stefan) was able to share the files you send individually. As I can see there is at least 3 other people who were interested in this. I guess my point and suggestion is as an open forum, replies should be open to everyone as much as possible since otherwise it looses its meaning to be an open forum becomes more of a technical support portal. However here we all like to share our technical experiences and would like refer to previous threads when we come across with a new problem.

This is my 2 cents and thanks for your consideration.

Best regards

Sinan Akman

0 Kudos
Reply
4,842 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sinan 

 

Regarding this patch I asked owner of this application

what could be better option to proceed. His answer below

------------------------------

pastedImage_1.jpg

pastedImage_2.jpg

------------------------------- 

Best regards
igor

0 Kudos
Reply
4,763 Views
dwainer
Contributor I

I am also interested.

I think we have enough requests in order to publish the i.mx8 mini support.

Daniel.

0 Kudos
Reply
404 Views
dwainer
Contributor I
I switched to remoteproc for controlling Cortex-M4. It can load firmware as well as control the processor start/stop state. the task can be performed many times, switching from firmware to firmware without rebooting.
0 Kudos
Reply
395 Views
AlexJLennon
Contributor III
That's really helpful thanks @dwainer - will go and investigate!
0 Kudos
Reply
4,804 Views
kuehnhammer
Contributor I

Hi Igor,

access to the patch to use m4ctrl on i.MX8MQ would be very useful for me also, it would be great if this support gets added to the next release!

Best regards, Klaus

0 Kudos
Reply
409 Views
AlexJLennon
Contributor III

Hi Igor,

We have a customer using Zephyr on the Cortex M4 and we could do with access to these utilities too.

Could  you send me the files also please?

Thakns

Tags (1)
0 Kudos
Reply