Bringup Barebox on imx8mm

Yazdani, Reyhaneh RYazdani at
Thu Jun 13 08:14:32 PDT 2019

Hello Everyone,

I am trying to bringup Barebox on i.MX8MM-evk.

I have followed all the commits related to the i.MX8MQ and added proper files
and changes for i.MX8MM-evk board.

The problem is Barebox stops at "ddrc_phy_wait_training_complete" function,
exactly at sub-function "ddrc_phy_get_message". The read-value from the

phy + DDRC_PHY_REG(0xd0004) is not correct, and it remains in while loop.

I used the ddr_init and ddrphy_train files produced from mscale_ddr_tool of NXP,
and even compared with the value from U-boot. All are similar.

Does any body have an idea what would be the problem?



Reyhaneh Yazdani
Data Modul AG                            TEL:    +49-89-56017-154
Embedded development                 FAX:    +49-89-56017-119
Linux - Development                      RG: HR-Muenchen B-85591
Landsberger Str. 322 D-80687 Muenchen -

Vertrauliche E-Mail von / Confidential e-mail from: DATA MODUL AG
Vorstand / CEO: Dr. Florian Pesahl
Vorsitzende des Aufsichtsrates / Chairwoman of the Supervisory Board: Kristin D. Russell
Sitz der Gesellschaft / Registered Office: München
Registergericht / Registration Court: München Handelsregister B 85 591

More information about the barebox mailing list