[BUG] omap1 fails to boot on clock propagation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Some background:
Recently I've ported Linux to some custom omap1 based (5940 or 1510)
hardware. I've had some initial problems, but after a "dirty" fix I
have a running kernel and I can boot using NFS.

Problem:
On the very beginning kernel boot process stopped on clock propagation
routine (simple freeze, no crash info, nothing). After investigation I
have found that one memory read is at fault in function
omap1_ckctl_recalc_dsp_domain() in clock.c file:

dsor = 1 << (3 & (__raw_readw(DSP_CKCTL) >> clk->rate_offset));

My fix was to exchange read operation with default value of DSP_CKCTL register:

dsor = 1 << (3 & (0x009000090 >> clk->rate_offset));

Since this fix I haven't dug deeper into this problem, but it keeps me
thinking how to fix it properly. Any suggestions what might be the
root cause of this?

System info:
kernel version 3.5-rc1, kernel boots using some old Redboot
bootloader, compiled with gcc 4.6, almost bare metal kernel
configuration.

Thanks,
Lukasz G.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux