Custom IMX8MM board with DDR4 + Yocto

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

Custom IMX8MM board with DDR4 + Yocto

跳至解决方案
9,038 次查看
AlekseyM
Contributor III

Hi! I created a my custom IMX8MM board with DDR4. All DDR4 tests passed successfully in Configuration tools for IMX. 
I am trying to make a u-boot for my board by Yocto. I take an IMX8MM_DDR4_EVK as starting point. But it is my first experience with Yocto. 
Which files and where should I change or/and add to layers? It looks like I should change the Device Tree and config file for DDR4.
Can anyone give me a hint?

0 项奖励
回复
1 解答
8,999 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls download yocto bsp according to the enclosed file, you can find all of source code there

在原帖中查看解决方案

0 项奖励
回复
7 回复数
9,019 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed file

0 项奖励
回复
9,010 次查看
AlekseyM
Contributor III

The same question for 3.2.1 Changing the DCD table for i.MX DDR initialization
I try to find mx6q.cfg
Also, step 6 says, what I should change SPL. Where I can find a guide? 

0 项奖励
回复
9,013 次查看
AlekseyM
Contributor III

Okay. When I do step 5:
Edit the machine configuration file with device trees listed in the KERNEL_DEVICETREE. 

Below code from evk board:

KERNEL_DEVICETREE_BASENAME = "${MACHINE}"
KERNEL_DEVICETREE:append:use-nxp-bsp = " \
    freescale/${KERNEL_DEVICETREE_BASENAME}-revb.dtb \
    freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67191.dtb \
    freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67191-cmd-ram.dtb \
    freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67199.dtb \
    freescale/${KERNEL_DEVICETREE_BASENAME}-revb-rm67199-cmd-ram.dtb \
"
Where I can find this files? Search in dir imx-yocto-bsp doesn't help
0 项奖励
回复
9,000 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls download yocto bsp according to the enclosed file, you can find all of source code there

0 项奖励
回复
8,989 次查看
AlekseyM
Contributor III

Thanks. What do I need to change the device tree? Do you have some guides for this or tools? Appnote AN5125 acceptable for IMX8MM?

0 项奖励
回复
8,979 次查看
joanxie
NXP TechSupport
NXP TechSupport

yes, this AN is available for imx8mm, what kind of DDR4 do you use?

0 项奖励
回复
8,800 次查看
AlekseyM
Contributor III

AS4C512M16D4-75BCN

0 项奖励
回复