-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 28.09.2010 02:55, Aleksandar Radovanovic wrote: > The fix should be pretty straightforward, if I can determine whether > software prescaling should be applied or not for a given core. So, if > someone knows a reliable way to determine the WDT clock frequency based > on the core revision and/or clock control registers, that would be much > appreciated.
Are there any known way to read the current value of the ticks-to-fire counter of the hw wdt? If so then you may "calibrate" the timer first setting it to - say - 0xFFFFFFF and then reading it back after a pre-defined time interval. It would give you an approximate measure of the wdt clocking frequency you are asking about. > I will hardcode a check for 5354 for now and, hopefully, have a patch > ready in a few days. > That's amazing. Looking forward to test a patch. - -- Best regards, Alexey Loukianov mailto:[email protected] System Engineer, Mob.:+7(926)218-1320 *nix Specialist -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMoWtyAAoJEPB9BOdTkBULzi8H+wYhI6QJY3UMrDKX5Ua0oS2V 7CBBKRnLbNs5Xrn61xqlxypo3Stj/8A4f8S8kYS3FjfeiY9wKc0KlZrVQpzRNfLP XkE2phAiW41AkcPmnk1Y7+Ed/npVdoBewUaJATUFyIRNAYAv+wpp2ZU3y9W1T7Ab kTC1s91YG2P1Ws3POTNeIKT//LuVitE9ErX5nbCD76jzM67sYFkZITyEs6lqRxUj cHJjTkUPxP1CBIMopZnNOfbl6S0wAarHL8D9ien+tZvwXh1XaIeLzJBZWFByk1E3 OnEKW3NArMh7Lt1LiAOHH3va66MzLrzYEBPUbaFAHMQAMPq+hazKLtfsewA5O28= =QzHa -----END PGP SIGNATURE----- _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
