Hi Igor,
The below is my observation once again :
1) u-boot 2014.04
In this we have boards.cfg file to pass .cfg and DDR memory size as below
Active arm armv7 mx6 mistral mx6nano mx6qnano_interleave mx6nano:IMX_CONFIG=board/mistral/mx6nano/mx6q_42_128m64d2ll-25_4kb.cfg,MX6Q,DEFAULT_FDT_FILE="imx6q-nano.dtb",DDR_INTERLEAVE,DDR_MB=256 Vijai Kumar K <vijaikumar.k@mistralsolutions.com>
a) In this When I give DDR_MB=512 the u-boot gets stuck as below :
U-Boot 2017.03-nano_v2014.03_3.14_ra+g442f54f6bc (Apr 19 2021 - 14:01:41 +0530)
CPU: Freescale i.MX6D rev1.5 at 792MHz
CPU: Extended Commercial temperature grade (-20C to 105C) at 30C
Reset cause: POR
show_board_info 20
Model: Freescale i.MX6 Dual NANO SOM Board
Board: MX6-NANO
DRAM: 512 MiB
b) When I give DDR_MB =256 the uboot executes fine and the kernel crashes
U-Boot 2017.03-nano_v2014.03_3.14_ra+g442f54f6bc (Apr 18 2021 - 11:03:45 +0530)
CPU: Freescale i.MX6D rev1.5 at 792MHz
CPU: Extended Commercial temperature grade (-20C to 105C) at 30C
Reset cause: POR
show_board_info 20
Model: Freescale i.MX6 Dual NANO SOM Board
Board: MX6-NANO
DRAM: 256 MiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 0, FSL_SDHC: 1
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Net:
Error: ethernet@02188000 address not set.
No ethernet found.
Normal Boot
Hit any key to stop autoboot: 3
2) u-boot 2017.04
We pass the config file as below for the DDR,
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/mistral/mx6nano/mx6q_42_128m64d2ll-25_4kb.cfg,MX6Q"
without even mentioning the DDR size here the u-boot by itself calculates the size as 256 MB and crashes in the kernel.
How come the u-boot here calculates the memory as 256MB despite having a physical 512 MB memory and why does it gets stuck if I manually give DDR SIZE as 512MB in the u-boot 2014.04 version.
3) I took my old DDR of 1GB from micron and reduced the size to 512MB in the u- boot. This booted u-boot and kernel completely and everything was fine. Where as when I reduced it further down to 256MB then the kernel crash issue appeared.
Kindly shed some light on this issue.
Regards,
Shiva Shankar K.