Hi,
We have a custom board based on imx6sx.
We have two revisions for a custom board.
Revision#1: Have 1GB RAM ==> Working fine with boot (Memory part: MT41K256M16TW-107 XIT:P)
Revision#2: Have 512MB RAM ==> Stuck in kernel loading.(Memory part: MT41K128M16JT-107 IT:K TR)
Both revisions have same thing except the RAM part number as mentioned above.
In revision#2, we are facing below issue:
================
U-Boot 2016.03-nxp/imx_v2016.03_4.1.15_2.0.0_ga+g7a2ba64 (Jun 26 2020 - 16:12:40 +0530)
CPU: Freescale i.MX6SX rev1.4 at 792MHz
CPU: Automotive temperature grade (-40C to 125C) at 47C
Reset cause: POR
DEBUG: Board: MX6SX SABRE SDB
I2C: ready
DEBUG1 DRAM: 512 MiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
Display: Hannstar-XGA (1024x768)
Video: 1024x768x18
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc2(part 0) is current device
Net: FEC [PRIME]
Error: FEC address not set.
Normal Boot
Hit any key to stop autoboot: 0
reading m4_pzt_application.bin
29632 bytes read in 18 ms (1.6 MiB/s)
## Starting auxiliary core at 0x007F8000 ...
switch to partitions #0, OK
mmc2(part 0) is current device
switch to partitions #0, OK
mmc2(part 0) is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
5582288 bytes read in 158 ms (33.7 MiB/s)
Booting from mmc ...
reading imx6sx-sdb-m4.dtb
38271 bytes read in 18 ms (2 MiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x552dd0 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300c57e
switch to ldo_bypass mode!
## else Transferring control to Linux (at address 80800000)...
DEBUG: =====Starting kernel ...
DEBUG: Before bootstage_mark_name
DEBUG: after bootstage_mark_name
DEBUG: Before cleanup_before_linux
DEBUG: After cleanup_before_linux
==DEBUG: Before kernel_entry
Uncompressing Linux... done, booting the kernel.DEBUG
================
We have changed below things:
1) u-boot DCD values as per NXP register Xls in imximage.cfg file. I also performed calibration and updated values accordingly.
2) kernel dts file for memory
memory {
reg = <0x80000000 0x20000000>;
linux,usable-memory = <0x80000000 0x1CD00000>;
};
Do you have an idea for how to solve this?