EVB-SCMIMX6SX Hang on starting Kernel

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

EVB-SCMIMX6SX Hang on starting Kernel

726 Views
kaveeh
Contributor I

Hello,

We are trying to build our custom image for EVB-SCMIMX6SX but it failed at the early stage of loading the images and it hangs at starting kernel as you can find in below.

We used the Buildroot to build the image with these configurations:

Kernel version: git://git.freescale.com/imx/linux-imx.git ->  scm-imx_4.1.15_2.0.0_ga

dts: imx6sxscm-1gb-evb-btwifi-ldo

Uboot: git://git.freescale.com/imx/uboot-imx.git (repo) -> scm-imx_v2016.03_4.1.15_2.0.0_ga (version) -> mx6sxscm_1gb_evb (board name)

Here we only modified the uboot source file to load the images on the DDR RAM instead of SD-card or eMMC (Run bootcmd_mfg: bootz 0x80800000 0x83800000 0x83000000).

Note that the EVK board works fine with the demo image on the SD-card but the kernel version of the SD-card is:

Linux version 3.14.52-1.1.0_ga+g5f6f0a5

Please advice.

Thanks


U-Boot 2016.03 (Jan 05 2018 - 11:49:19 +0100)

CPU: Freescale i.MX6SX rev1.2 at 792MHz
CPU: Commercial temperature grade (0C to 95C) at 32C
Reset cause: POR
Board: MX6SXSCM EVB
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
MMC Device -1 not found
*** Warning - No MMC card found, using default environment

Display: Hannstar-XGA (1024x768)
Video: 1024x768x18
In: serial
Out: serial
Err: serial
Card did not respond to voltage select!
Net: FEC [PRIME]
Error: FEC address not set.

Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: bootz 0x80800000 0x83800000 0x83000000;
Hit any key to stop autoboot: 0
Kernel image @ 0x80800000 [ 0x000000 - 0x5c0968 ]
## Loading init Ramdisk from Legacy Image at 83800000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 3888128 Bytes = 3.7 MiB
Load Address: 00000000
Entry Point: 00000000
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300f254
ft_system_setup for mx6

Starting kernel ...

Tags (1)
0 Kudos
1 Reply

406 Views
igorpadykov
NXP Employee
NXP Employee

Hi kaveh

kernel hanging happens mainly due to ddr errors, so for custom board

recommended to run ddr test

i.MX6/7 DDR Stress Test Tool V2.70 

and rebuild image with new calibration coefficients found from tester,

changing them in uboot/board/../board_name/imximage.cfg

https://community.nxp.com/docs/DOC-333955 

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

0 Kudos