Hi
We have the same problem.
##################################################################
U-Boot 2017.03 (Apr 25 2019 - 14:38:58 +0900)
CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 58C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
DRAM: 3.8 GiB
......
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.17 (jhkim@spfw3) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #29 SMP PREEMPT Thu Apr 25 11:06:44 KST 2019
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
[ 0.000000] cma: Reserved 448 MiB at 0x2a000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 15 pages/cpu @f76bd000 s31040 r8192 d22208 u61440
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 981263
[ 0.000000] Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M galcore.contiguousSize=33554432 androidboot.selinux=permissive buildvariant=userdebug androidboot.serialno=1907b9d4ee6a3958 androidboot.soc_type=imx6q androidboot.storage_type=emmc
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 3419596K/3932156K available (12288K kernel code, 967K rwdata, 3960K rodata, 1024K init, 579K bss, 53808K reserved, 458752K cma-reserved, 3022844K highmem)
...
##################################################################
How can I solve this problem?
We connected Micron DDR3L MT41K512M16 x 4.
At the same ddr setting,
Only the MMDC1_MDCTL[17:16](DDR data bus size) bits could be controlled to change to 4GB or 2GB.
DATA 4, 0x021b0000, 0x851A0000 // 4GB
DATA 4, 0x021b0000, 0x85190000 // 2GB
The above problem occurs when setting 4GB, There is no problem when setting 2GB.
It does not seem to be a timing issue, nor is it a circuit problem.