Re: Bringup Barebox on imx8mm

2019-06-25 Thread Yazdani, Reyhaneh
Hello, The issue is resolved. It was related to the DDR clock init. It was necessary to initialize the DDR clock before starting ddr_init(): /* DDR clock init*/ writel( 0x3, 0x30384058); writel(0x1100, 0x3038a000); writel(0x1100,0x3038a080); writel(0x3, 0x30384054); Best, Reyhaneh On 6

Re: Bringup Barebox on imx8mm

2019-06-17 Thread Yazdani, Reyhaneh
On 6/14/19 9:11 AM, Andrey Smirnov wrote: > On Thu, Jun 13, 2019 at 8:14 AM Yazdani, Reyhaneh > wrote: >> >> 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 boar

Re: Bringup Barebox on imx8mm

2019-06-14 Thread Andrey Smirnov
On Thu, Jun 13, 2019 at 8:14 AM Yazdani, Reyhaneh wrote: > > 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_

Bringup Barebox on imx8mm

2019-06-13 Thread Yazdani, Reyhaneh
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_messag