Just want to confirm the following behavior:
If I type sleep 20 in U-boot, it actually 40 seconds..
Sorry for the late response, Thanks for pointing this issue out, yes, it is a problem!
We have spent time investigating this issue and found that the TIMER_CLOCK in u-boot was set to SCLK but actually the SCLK0_0 was used in our SC589 board, so just change the TIMER_CLOCK to CONFIG_SCLK_HZ/CONFIG_SCLK0_DIV in timer.c will solve your problem. And we will fix this bug in our Linux-addin 1.4.0 release.
Thanks again for this issue!