読者です 読者をやめる 読者になる 読者になる

bogo mips の計算で無限ループ

(gdb) x/10i $pc
=> 0xc015df04 <__delay+4>:      bhi     0xc015df00 <__delay>
   0xc015df08 <__delay+8>:      mov     pc, lr
   0xc015df0c <__do_div64>:     subs    r12, r4, #1
   0xc015df10 <__do_div64+4>:   bls     0xc015dfe4 <__do_div64+216>
   0xc015df14 <__do_div64+8>:   tst     r12, r4
   0xc015df18 <__do_div64+12>:  beq     0xc015dfc0 <__do_div64+180>
   0xc015df1c <__do_div64+16>:  cmp     r1, r4
   0xc015df20 <__do_div64+20>:  mov     r3, #0
   0xc015df24 <__do_div64+24>:  bcc     0xc015df58 <__do_div64+76>
   0xc015df28 <__do_div64+28>:  clz     r2, r4

どうも、タイマ割り込みが入っていない模様。
無理やり脱出すると、今度はパニック

[<c003abe8>] (tegra2_clk_m_init+0x0/0xcc) from [<c0037a44>] (clk_init+0x60/0xb8)
 r5:c0359f18 r4:c0359f08
[<c00379e4>] (clk_init+0x0/0xb8) from [<c0012314>] (tegra2_init_clocks+0x24/0x160)
 r6:c781dd70 r5:c0357064 r4:c0357230 r3:00000000
[<c00122f0>] (tegra2_init_clocks+0x0/0x160) from [<c00120e0>] (tegra_init_clock+0x10/0x14)
[<c00120d0>] (tegra_init_clock+0x0/0x14) from [<c0011e64>] (tegra_common_init+0x14/0x28)
[<c0011e50>] (tegra_common_init+0x0/0x28) from [<c0012874>] (tegra_harmony_init+0x10/0x34)
[<c0012864>] (tegra_harmony_init+0x0/0x34) from [<c000efd8>] (customize_machine+0x24/0x2c)
 r4:00000000 r3:c0012864
[<c000efb4>] (customize_machine+0x0/0x2c) from [<c0029438>] (do_one_initcall+0x80/0x268)
[<c00293b8>] (do_one_initcall+0x0/0x268) from [<c0008584>] (kernel_init+0x1dc/0x24c)
 r8:c0392124 r7:c00261a0 r6:c03563a8 r5:c0023110 r4:c00233bc
[<c00083a8>] (kernel_init+0x0/0x24c) from [<c00574c4>] (do_exit+0x0/0x87c)
Code: e34c002f e1a01003 eb0098c2 e3a03000 (e5833000)
<4>---[ end trace 1b75b31a2719ed1c ]---
<6>note: swapper[1] exited with preempt_count 2
<0>Kernel panic - not syncing: Attempted to kill init!

また、tegra だ、、、