3.10.53 kernel booting problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

3.10.53 kernel booting problem

8,998件の閲覧回数
srinivasaporam
Contributor II

Hi,

We have got IMX6 Reference board (Wandboard)  as well as Custom board which is designed based on reference board.  the modifications from reference board to custom board are as follows:

1.  Reference Board is IMx6Q processor ---- custom board is IMX6D (Dual)    [Note : Not Duallite (DL)]

2. Reference Board DDR3 (2GB ) ---- Custom Board (LPDDR2 ) 512 MB

3. Reference Board 528 MHz DDR3 -- Custom Board LPDDR2 (400 MHz)

When we compiled linux-3.10.53 Reference board is booting successfully where as custom board is stopping at "Starting Kernel"

So we thought of keeping 'printk' statements in kernel and find out where is it getting stucked. So, finally we came know that  'time_init()' function in init/main.c is not getting executed.

after going deeper we came to know that 'of_clk_init()' in /drivers/clk/clk.c is not being executed:

of_clk_init function is calling another function (clk_init_cb(np)) which is not defined anywhere (We searched through grep as well as cscope)

of_clk_init (/drivers/clk/clk.c) is as follows:

/************************************************************************************/

void __init of_clk_init(const struct of_device_id *matches)

{

   

       

        const struct of_device_id *match;

    struct device_node *np;

    if (!matches)

        {

       

             matches = __clk_of_table;

        }

    for_each_matching_node_and_match(np, matches, &match) {

              

        of_clk_init_cb_t clk_init_cb = match->data;

              

       clk_init_cb(np);

               

    }

}

can anybody help us in reoving this issue and make our board boot.

ラベル(2)
0 件の賞賛
返信
22 返答(返信)

233件の閲覧回数
vijaikumar
Contributor III

Have you added proper pinmux for SD card in your device tree?

0 件の賞賛
返信

234件の閲覧回数
srinivasaporam
Contributor II

Hi,

I have put some printk statements in kernel and found out that  my ccm (fsl,imx6q-ccm) is not getting initialized properly.

and further debugging, kernel is stucking at this point  (clk-imx6q.c)

writel_relaxed(1 << CCM_CCGR_OFFSET(0), base + 0x7c);

writel_relaxed(0, base + 0x80);

what could be possible error????

0 件の賞賛
返信