I can not find PERSISTENT_ENTRY1 (Holds entry function for secondary core) in
i.MX 6 SoloX Applications Processor Reference Manual
Hi,
Have you tried the mcc demo? You can find more information in the i.MX_6_Linux_Reference_Manual.pdf found in the Linux BSP documentation.
There you can find the steps and the necessary to start the M4 and communicate with the A9.
For example, enable the driver and the demo in menuconfig:
Kernel Configurations
Symbol: IMX_SEMA4 [=y]
Type : tristate
Prompt: IMX SEMA4 driver
Location:
-> Device Drivers
-> Character devices
Symbol: IMX_MCC_DEMO [=y]
Type : tristate
Prompt: IMX MCC demo driver
Location:
-> Device Drivers
-> Character devices
-> IMX SEMA4 driver (IMX_SEMA4 [=y])
Program the MQX-M4 binary in QuadSPI and Configure the U-Boot environment.
Best Regards,
Alejandro
>> Program the MQX-M4 binary in QuadSPI and Configure the U-Boot environment.
Could you pls explain more in detail?
a) where is mqx-m4 binary located?
b) how to place it in quadspi?
c) how to configure u-boot env?
Cheers,
Daniel
Hi Daniel
one can program A9 u-boot to an SD card as usual then
load the M4 binary out.bin to the SD at offset 1MB, (ex: dd if=out.bin of=<sd card> bs=512 seek=2k)
Insert the SD card on the board and when u-boot comes up execute the following commands:
// Read the code from the SD into DDR
mmc read 0x80800000 0x800 2
// Copy the code from DDR to TCM
cp.l 0x80800000 0x007f8000 1024
// Enable the M4
mw.l 0x020d8000 0xA0480539 1
// Release M4 reset
mw.l 0x020d8000 0xA0480529 1
The M4 binary should start
Best regards
igor
Hi Igor,
thanks for detail. Could you please tell me how you build your m4 firmware? Could you provide a simple demo source code?
Thanks!
BR,
Daniel
Hi Daniel
I am afraid source code can not be released until
public launch of this processor. I think you can request it
from contact who provided you with board.
Best regards
igor
Hi Igor,
I have access to i.MX 6SoloX (SX) Customer Extranet. We are in the role of NDACustomer.
Do you work for freescale?
BR,
Daniel
Hi Daniel
one can look at Hello World example on below link
https://community.freescale.com/thread/351961
Best regards
igor