Custom IMX8MM board with DDR4 + Yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom IMX8MM board with DDR4 + Yocto

Jump to solution
1,968 Views
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 Kudos
Reply
1 Solution
1,935 Views
joanxie
NXP TechSupport
NXP TechSupport

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

View solution in original post

0 Kudos
Reply
7 Replies
1,956 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed file

0 Kudos
Reply
1,947 Views
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 Kudos
Reply
1,950 Views
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 Kudos
Reply
1,936 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
1,926 Views
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 Kudos
Reply
1,916 Views
joanxie
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
1,737 Views
AlekseyM
Contributor III

AS4C512M16D4-75BCN

0 Kudos
Reply