Custom IMX8MM board with DDR4 + Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Custom IMX8MM board with DDR4 + Yocto

ソリューションへジャンプ
9,104件の閲覧回数
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 解決策
9,065件の閲覧回数
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,085件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed file

0 件の賞賛
返信
9,076件の閲覧回数
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,079件の閲覧回数
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,066件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
9,055件の閲覧回数
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 件の賞賛
返信
9,045件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
8,866件の閲覧回数
AlekseyM
Contributor III

AS4C512M16D4-75BCN

0 件の賞賛
返信