stop at starting kernel

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

stop at starting kernel

1,862 Views
caohaifeng
Contributor IV

Hi , guys,

I have trouble when I try running the uImage from microSD.

After modifying the u-boot and ltib menuconfig, I get u-boot.bin,uImage,and rootfs.

Then I download them to microSD by using ‘dd’ command .

. create the MBR

. sudo dd if=u-boot.bin of=/dev/sdb bs=512 seek=2 skip=2 && sync && sync

. sudo dd if=uImage of=/dev/sdb bs=512 seek=2048 && sync && sync

.make sdb1 file system format ext3 by sudo mkfs.ext3 /dev/sdb1, then copy the rootfs into the sdb1

  sudo cp -rpa [A-z]* /mnt, here I set /mnt as mountpoint

Then insert th SD card , stop at starting kernel

1.png

u-boot bootargs was set like this

1.png

Can somebody give me a hint to solve it ? thank you.

Labels (4)
0 Kudos
12 Replies

966 Views
caohaifeng
Contributor IV

Can anybody give me a hint to solve it? Thank you

0 Kudos

966 Views
wallyyeh
Contributor V

I have the same issue when I change my DDR size from 1G to 2G, do you change your DDR size?

0 Kudos

966 Views
jimmychan
NXP TechSupport
NXP TechSupport

Which board and  BSP are you using?

You can download the latest BSP for i.MX53 from here:

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53_SW

0 Kudos

966 Views
caohaifeng
Contributor IV

Hello, Jimmy,

The BSP is L2.6.35_11_09_ER_SOURCE for MCIMX53-START-R. And I install ltib on ubuntu12.04, by the way, the ltib works fine.

Reagrds,

Haifeng

0 Kudos

966 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you apply the patches? (IMX53_LINUX_1109_BSP_PATCH)

0 Kudos

966 Views
caohaifeng
Contributor IV

How can I check what I have patched ? I have download this file, but I don't know whether I have patched it.

and I have patched some files like this .0081-ENGR00125856-1-MX53-eSDHC-iomux-updates-when-iomux-V.patch

1.png

0 Kudos

966 Views
jimmychan
NXP TechSupport
NXP TechSupport

There is a PDF MX53_LINUX_BSP_201112_Patch_release. You can follow the instructions to apply the patches.

0 Kudos

966 Views
caohaifeng
Contributor IV

Hello,Jimmy,

I have apply the patches, but it still stop at starting kernel

What can I do next step?

Regards,

Haifeng

0 Kudos

966 Views
jimmychan
NXP TechSupport
NXP TechSupport

So your board is i.MX53QSB-R? or your own design board?

This is the i.MX53QSB web page.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&fpsp=1&tab=Design_Tools_Tab

If you are using the i.MX53QSB-R board, please try the demo image. It should work.

If you are using your own design board, please try to run the DDR_STRESS_TESTER_FOR_MX51_MX53.

0 Kudos

966 Views
caohaifeng
Contributor IV

Hello,Jimmy,

I am using custom board according to the schematic of IMX53QSB-R.I think there is the  possibility of ttymxc0, because I used PATA_DMACK and PATA_DIOW as UART1 , although I modified some files of u-boot and linux kernel. I'm not sure. Is it necessary to aplly DDR_Stress_test ?

1.png

Regards,

Haifeng

0 Kudos

966 Views
jimmychan
NXP TechSupport
NXP TechSupport

In the linux kernel, arch/arm/mach-mx5/mx53_loco.c (if you are using the same filename as QSB), there is  :

/* UART1 */

MX53_PAD_CSI0_DAT10__UART1_TXD_MUX,

MX53_PAD_CSI0_DAT11__UART1_RXD_MUX,

Do you change it like this? :

/* UART1 */

MX53_PAD_PATA_DIOW__UART1_TXD_MUX,

MX53_PAD_PATA_DMACK__UART1_RXD_MUX,

0 Kudos

966 Views
caohaifeng
Contributor IV

Hello,Jimmy,

Yes, I have changed it in the linux kernel.

There is a difference that I have not metioned before. The processor of my custom board is imx534, it's different from demo board(imx535d). I compiled the kernel and applied to the demo board today,It can perform to unpack the uImage, though there is another problem.

Another difference is only two DDR chips were soldered on custom board(U3,U5 in the schemetic of QSB-R). Is this the reason that my custom board can't work?

Regards,

Haifeng

0 Kudos