
Hi Alexander,
On 03/28/2018 12:21 AM, Alexander Kochetkov wrote:
The question is: does rk3066 and rk3188 have arch timer? If no, than removing rk_timer will break u-boot for these chips.
Thanks for your comment, I will double check about if this two chips have arch timer, I think it should be, but I don't have boards now.
Thanks, - Kever
And my comment was about global timer, not arch timer. And I failed to enable arch timer for rk3188 in the kernel.
Alexander.
27 марта 2018 г., в 19:07, Alexander Kochetkov al.kochet@gmail.com написал(а):
27 марта 2018 г., в 12:29, Kever Yang kever.yang@rock-chips.com написал(а):
We use ARM arch timer instead.
Hi, Kever!
Just let you know, that arch timer rate on rk3066 and rk3188 depends on CPU frequency. I’ve made patch[1] for fixing that in kernel. If u-boot do arm clock changes after timer initialization, timer can provide inaccurate delays.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/dr...
Alexander.