This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

走到Uncompressing Linux... done, booting the kernel.就卡住了

为什么我们做的板子有的会有卡在Uncompressing Linux... done, booting the kernel. 的情况,总是打印到这里就不打印了。没有任何输出了,我不明白是哪里的问题,请大家帮忙分享下经验。谢谢

我们是3354芯片。

以下是部分打印。

NAND read: device 0 offset 0x280000, size 0x500000
5242880 bytes read: OK
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3694720 Bytes = 3.5 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

  • 请问您用的是ddr2还是3,做过配置了吗

  • 原来是我的问题,我是搞内核驱动的,我在内核屏幕驱动里声明了一个无意义的gpio脚

    #define in_MIPI GPIO_TO_PIN(23,18),

    并调用了以下俩句

    gpio_direction_input(in_MIPI);
    buf = gpio_get_value(in_MIPI);

    本来这个脚就是不用的,所以我才声明 的gpio23-18,因为我知道没有这个脚,所以就随便声明的,我以为对内核不会用影响,

    而且我在这俩句的上下都调用了打印输出,以供调试,但是都没有打印出来。

    内核就起不来了!停在那句上了。什么打印都没用了。

    我想如果停在Uncompressing Linux... done, booting the kernel.这句上,原因一定很多,之前我们也有过出这个问题的板子,但是,总是有时能过去有时卡在那句Uncompressing Linux... done, booting the kernel.。所以不一定都是我现在所说的这个原因。

    内核博大精深。机制复杂难懂。以此为戒吧。