I managed to boot A9 (CPU0) of solox. I used master branch of yocto to build uboot, zImage and RFS and boot into linux.
How to run an simple application on M4?
I can not find PERSISTENT_ENTRY1 (Holds entry function for secondary core) in
i.MX 6 SoloX Applications Processor Reference Manual
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:
Symbol: IMX_SEMA4 [=y]
Type : tristate
Prompt: IMX SEMA4 driver
-> Device Drivers
-> Character devices
Symbol: IMX_MCC_DEMO [=y]
Prompt: IMX MCC demo driver
-> IMX SEMA4 driver (IMX_SEMA4 [=y])
Program the MQX-M4 binary in QuadSPI and Configure the U-Boot environment.
>> 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?
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
thanks for detail. Could you please tell me how you build your m4 firmware? Could you provide a simple demo source code?
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.
I have access to i.MX 6SoloX (SX) Customer Extranet. We are in the role of NDACustomer.
Do you work for freescale?
one can look at Hello World example on below link
Retrieving data ...