IMX8QM virtual resource for FlexSPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8QM virtual resource for FlexSPI

跳至解决方案
1,335 次查看
terbshaeuser
Contributor I

Hello everyone,

we are trying to use the FlexSPI resource from the SCFW boot partition (in u-boot) as well as from the M4 core 0 (FreeRTOS).

After searching a little bit, I found this article: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Resource-...
There you write, that resources can be shared through a virtual resource. However, I failed to find any example code how to archive this. I couldn't even find the referenced VIRT_I2C example in the Linux BSP.

Can you provide a link to a documentation or an example code snippet? Or maybe some other clue how we can archive our use case?

0 项奖励
回复
1 解答
1,310 次查看
nxf54947
NXP Employee
NXP Employee

Hi @terbshaeuser,

Please find  VIRT_I2C example at Code Aurora (this example is for L4.1498, but you can switch to another branch if needed). Also, you may also find relevant ecSPI examples within the  Cortex M4 SDK for the i.MX 8QM MEK; please download SDK at: SDK Builder.

Just in case that you need to review more SCFW documentation you may want to get it from our SCFW porting kit. Our website, Linux Releases,  allows you to download the specific SCFW porting kit for each BSP release.

Hope this helps!

Ruben

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,311 次查看
nxf54947
NXP Employee
NXP Employee

Hi @terbshaeuser,

Please find  VIRT_I2C example at Code Aurora (this example is for L4.1498, but you can switch to another branch if needed). Also, you may also find relevant ecSPI examples within the  Cortex M4 SDK for the i.MX 8QM MEK; please download SDK at: SDK Builder.

Just in case that you need to review more SCFW documentation you may want to get it from our SCFW porting kit. Our website, Linux Releases,  allows you to download the specific SCFW porting kit for each BSP release.

Hope this helps!

Ruben

 

0 项奖励
回复
1,290 次查看
terbshaeuser
Contributor I

Thank you! We'll have a look into it.

0 项奖励
回复