IMX6D (Dual) board booting is stucking at "staring Kernel..."

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6D (Dual) board booting is stucking at "staring Kernel..."

1,403 次查看
srinivasaporam
Contributor II

Hi,

We have got imx6D (Dual) board which is based on reference designs of Wandboard. Now, we would like to compile linux source and put Image to SD card(/boot/uImage). We are compiling linux source by:

 

export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-

 

make ARCH=arm CROSS_COMPILE=${CC} distclean

make ARCH=arm CROSS_COMPILE=${CC} wandboard_defconfig

make ARCH=arm CROSS_COMPILE=${CC}

 

 

After successful compilation, we are deploying zImage, rootfs, modules, firmware etc. and also copied respective dtb file to  (/media/rootfs/boot /dtbs/{$uname-r}/

 

and using uEnv.txt (/media/rootfs/boot/) to pass kernel parameters . Now the board completing u-boot and coming to

 

"starting Kernel and it is stucking there itself.

 

I have following Queries:

 

1. Since our board IMX6D which dts files i should take as reference to generate dtb (either imx6q or imx6dl).

 

2. Our memory technolgy is not DDR3 but it is LPDDR2. We have modified u-boot accordingly. But will it effect kernel stage also.

 

3. is there any other factors, which may be causing our board not to boot completely.

 

Please find the dts files we are using to generate dtb file.

Original Attachment has been moved to: imx6qdl.dtsi.zip

Original Attachment has been moved to: imx6q.dtsi.zip

Original Attachment has been moved to: imx6q-wandboard.dtb.zip

Original Attachment has been moved to: imx6q-wandboard.dts.zip

Original Attachment has been moved to: imx6qdl-wandboard.dtsi.zip

标签 (3)
0 项奖励
6 回复数

845 次查看
srinivasaporam
Contributor II

Hi,

Iam not trying with Robert Nelson's linux. I already tried and it is working fine.

Now Iam trying with Linux3.10.53 with Ubuntu-Core-14.04.2-Core-armhf

with which iam facing problems like "starting kernel" and stucking there itself.

U-boot we ahve modified as per lpddr2. uboot is working now.

But may be issue with parameters passed by u-bbot to kernel and dtb file.

"How to verify the parameters passed by u-boot to kernel"

0 项奖励

845 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励

845 次查看
srinivasaporam
Contributor II

Hi,

We have tested our board with Robert Nelson's post (https://eewiki.net/display/linuxonarm/Wandboard). It is working fine (very well)

1. Modified U-boot as per our memory (LPDDR2, 400MHz and 512 MB)

2. We have used Robert's Rootfs and kernel and DTBS

(With this our board as well as Wandboard (Referenec board) both are working well)

We have developed applications and run also. it is working fine

But we would like test  Linux 3.10.53 downloaded from (github wandbaord .org).

1. We have compiled it and got zImage

2. Downloaded rootfs (ubuntu-core-14.02-core-armhf

With this reference board is booting  with no issues (Wandboard), But our customized board is stucking at "starting kernel"

What mistake we are doing????

0 项奖励

845 次查看
igorpadykov
NXP Employee
NXP Employee

for Robert Nelson's linux distribution suggest to post on its blog

https://eewiki.net/

actually every board has own machine maintainer, for its support

please refer to below link

Machine Maintainers

FSL Community BSP Release Notes 1.8 documentation

~igor

0 项奖励

845 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Srinivasa

1. reference should be imx6q, also set in kernel boot line maxcpus=2

2,3. in kernel pay attention to suspend-imx6.S and recommendations given in

MX6Q+LPDDR2(32bit) boot issue

Best regards

igor

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

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

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

0 项奖励

845 次查看
srinivasaporam
Contributor II

I doubt

memory

{

reg =

}

this portion is not correct but want to confirm. what values will come outr lpddr2 (400 MHz) and 512MB memory.

0 项奖励