I have a few technical questions regarding the M4 core of the i.MX6 solo X core
Solved! Go to Solution.
Hi Andrew
1. I.MX6SX addresses can be found in Table 2-1. System memory map IMX6SXRM
below part of i.MX_Linux_User's_Guide.pdf included in
2. Usage OCRAM as memory buffer is described in sect.3.2 Running the MQX RTOS on OCRAM
Application Note How to Run the MQX RTOS on Various RAM Memories for i.MX 6SoloX (Rev.1, 05/2015)
http://cache.freescale.com/files/microcontrollers/doc/app_note/AN5127.pdf
OCRAM usage is convenient in low power mode, when ddr is not available.
I do not think that Uboot overwrites this region.
3. please use linux sources L3.14.28_1.0.0_iMX6SX_BUNDLE
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Andrew
1. I.MX6SX addresses can be found in Table 2-1. System memory map IMX6SXRM
below part of i.MX_Linux_User's_Guide.pdf included in
2. Usage OCRAM as memory buffer is described in sect.3.2 Running the MQX RTOS on OCRAM
Application Note How to Run the MQX RTOS on Various RAM Memories for i.MX 6SoloX (Rev.1, 05/2015)
http://cache.freescale.com/files/microcontrollers/doc/app_note/AN5127.pdf
OCRAM usage is convenient in low power mode, when ddr is not available.
I do not think that Uboot overwrites this region.
3. please use linux sources L3.14.28_1.0.0_iMX6SX_BUNDLE
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
igor,
Thank you for this information.
However, I have follow-up questions.
1) Section 13.5 of the reference manual discusses the Cortex-M4 boot requirements. In particular it states that the A9-core is responsible for "...setting up Cortex-M4 initial exception table in TCRAML". The application note AN5127 that you referenced in your answer only specifies how to run the MQX code from QSPI (default from bundle), DDR, or OCRAM. There is no mention of how to execute code from TCRAML. This is possible right?
2) I tried to determine what address the A9-core would use to write to the TCRAML (prior to enabling the M4 core). Table 2-1 does not specify a System memory region for accessing the TCRAML from the A9 core. There is talk about a "backdoor" access port for the A9 to write to this memory, but no description on how to do so that I could find. All my attempts to try to write to this memory have failed (doing so from the U-boot command line prompt using the "cp" command). Please advise on the correct procedure.
HI Andrew
yes I think that it is possible to execute code from TCRAML.
For other questions I would suggest to create new thread.
Best regards
igor