IMX6ULG0 kernel booting stuck

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

IMX6ULG0 kernel booting stuck

1,535 Views
yuvrajdodia
Contributor I

Hi,

I am using custom imx6ul board.

I have 2 type of boards, 1 with MCIMX6ULG2 & 1 with MCIMX6ULG0 other than controller everything is same.

I am using linux-fslc-4.1-2.0.x-imx kernel.

kernel is working with MCIMX6ULG2 board and i am able to boot board.

same kernel is not working with MCIMX6ULG0 board.

After u-boot message kernel booting stuck at Starting kernel/booting the kernel.

If I change controller from IMX6ULG2 to IMX6ULG0, Is there anything i have to modify?

On same IMX6ULG0 board i am able to boot custom linux kernel compiled using

https://eewiki.net/display/linuxonarm/MCIMX6UL-EVK

So board/hardware is working fine.

Boot log:

-------------------------------------------------------------------------

U-Boot SPL 2016.07-rc2-dirty (Mar 01 2017 - 15:26:37)
Trying to boot from MMC1


U-Boot 2016.07-rc2-dirty (Mar 01 2017 - 15:26:37 +0530)

CPU: Freescale i.MX6UL rev1.0 528 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 30C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: CPU Net Initialization Failed
No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Checking for: /uEnv.txt ...
Checking for: /boot/uEnv.txt ...
24 bytes read in 77 ms (0 Bytes/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
Running uname_boot ...
loading /boot/vmlinuz-4.1.39-armv7-x5 ...
6719848 bytes read in 386 ms (16.6 MiB/s)
loading /boot/dtbs/4.1.39-armv7-x5/imx6ul-14x14-evk.dtb ...
36042 bytes read in 162 ms (216.8 KiB/s)
debug: [console=ttymxc0,115200 root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait] ...
debug: [bootz 0x82000000 - 0x83000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x668968 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300bcc9

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

--------------------------------------------------------------------

Please help me to fix/modify linux-fslc-4.1-2.0.x-imx kernel for IMX6ULG0 controller.

Thanks,

Yuvi

Labels (1)
0 Kudos
5 Replies

1,110 Views
yuvrajdodia
Contributor I

Hi Yuri,

I am able to boot linux-fslc-4.1-2.0.x-imx kernel on my MCIMX6ULG0 board.

Initially i was using gcc-linaro-5.4.1-2017.01, I try with gcc-linaro-5.3.1-2016.05 and it start working.

I am not sure. What is changed between 2 compiler versions and how kernel booting issue is fixed.

FYI, exact part numbers are MCIMX6G2DVM05AA & MCIMX6G0DVM05AA

Thanks for you support.

Have a great day,

Yuvi

0 Kudos

1,110 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Is it possible to try NXP Linux ?

http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0-LINUX-DOCS

Regards,

Yuri.

0 Kudos

1,110 Views
yuvrajdodia
Contributor I

Hi Yuri,

Thanks for the quick reply.

I am using same u-boot. 

Only difference is kernel zImage, dtb files and modules.

One more thing FSLC linux is booting on IMX6ULG2 board. Same kernel(sdcard) stuck on IMX6ULG0 board.

Can you suggest me what exactly i have to check for memory initialization in u-boot for IMX6ULG2 & IMX6ULG0.

Thanks,

Yuvi

0 Kudos

1,110 Views
Yuri
NXP Employee
NXP Employee

Hello,

  What are exact part numbers of  the IMX6ULG2 & IMX6ULG0 ?

Regards,

Yuri.

0 Kudos

1,110 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please check if memory initialization of Your U-boot is the same as for working case.

Also the following may be helpful

https://community.nxp.com/message/838547 

Have a great day,
Yuri

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

0 Kudos