DDR4

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

DDR4

855 Views
story
Contributor II

hi,

   

    My chip is i.MX8M MINI, I replaced DDR, use 4GB ram, uboot will get stuck every time.

    1.     I used mscale_ddr_tool_v310 to test,

                    Number of DDR controllers used on the SoC: 1
                     Density per chip select: 4096MB
                     Density per controller is: 4096MB
                     Total density detected on the board is: 4096MB 

                     ******************************************

                     ******************************************
                     ============ Step 2: DDR memory accessing... ============
                     Verifying DDR frequency point0@1200MHz.......Pass
                     Verifying DDR frequency point1@533MHz.......Pass
                     [Result] OK

                     ============ Step 3: DDR parameters processing... ============
                        [Result] Done

                     Success: DDR Calibration completed!!!

   2.    I updated the generated parameter ddr4_timing.c to uboot, modify

```
 #define PHYS_SDRAM_SIZE 0x100000000 /* 4GB DDR */
```

But after starting it will get stuck:

         CPU: Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
         CPU: Commercial temperature grade (0C to 115C) at 51C
         Reset cause: POR
        Model: FSL i.MX8MM DDR4 EVK board
         DRAM:   

  

Can't we have a configuration larger than 2G,
When I change PHYS_SDRAM_SIZE to 0x80000000 /* 2GB DDR */, it can start normally. If it exceeds 2G, it will get stuck.

Labels (1)
0 Kudos
1 Reply

787 Views
igorpadykov
NXP Employee
NXP Employee

Hi 扬 杨

first one can try to build wothout tee, look at linux documentation Yocto Guide on

Embedded Linux for i.MX Applications Processors | NXP 

also some patches were sent you via mail.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos