AnsweredAssumed Answered


Question asked by 扬 杨 on Jul 9, 2020
Latest reply on Jul 9, 2020 by igorpadykov



    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




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.