Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A problem with watchdog timer

Featured Replies

Hello!

 

I have a problem, when activating the watchdog timer.

It's work perfectly but on every updating polling to "dmesg"

Log files are growing!

How i can switch of this messages ?

 

Help me, please!!!!  :o

 

dmesg example:

 

[  503.346179] wdt_restart, write reg 0xf1c20cb0
[  507.350127] wdt_restart, write reg 0xf1c20cb0
[  511.354322] wdt_restart, write reg 0xf1c20cb0
[  513.346125] wdt_restart, write reg 0xf1c20cb0
[  517.350354] wdt_restart, write reg 0xf1c20cb0
[  521.354596] wdt_restart, write reg 0xf1c20cb0
[  525.358773] wdt_restart, write reg 0xf1c20cb0
[  529.362970] wdt_restart, write reg 0xf1c20cb0
[  533.367194] wdt_restart, write reg 0xf1c20cb0
[  537.371408] wdt_restart, write reg 0xf1c20cb0
[  541.375594] wdt_restart, write reg 0xf1c20cb0
[  543.346157] wdt_restart, write reg 0xf1c20cb0
[  547.350384] wdt_restart, write reg 0xf1c20cb0
[  551.354632] wdt_restart, write reg 0xf1c20cb0
[  553.346214] wdt_restart, write reg 0xf1c20cb0
[  557.350449] wdt_restart, write reg 0xf1c20cb0
[  561.354696] wdt_restart, write reg 0xf1c20cb0
[  565.358940] wdt_restart, write reg 0xf1c20cb0
[  569.360109] wdt_restart, write reg 0xf1c20cb0
[  573.364274] wdt_restart, write reg 0xf1c20cb0
[  577.368484] wdt_restart, write reg 0xf1c20cb0
[  581.372720] wdt_restart, write reg 0xf1c20cb0
[  583.346008] wdt_restart, write reg 0xf1c20cb0
[  587.350162] wdt_restart, write reg 0xf1c20cb0
 

 

  • Author

Ok, I'm asked and I'm answering!  :)

 

I found driver source file of watchdog, and comment the line which spammed to message file.

 

Here it is: pr_info("%s, write reg 0x%08x\n", __func__, (u32)&wdt_reg->ctrl);

static int wdt_restart(void)
{
#ifdef WATCHDOG_DBG
    if(NULL == wdt_reg) {
        pr_err("%s err, line %d\n", __func__, __LINE__);
        return -1;
    }
#endif

    //pr_info("%s, write reg 0x%08x\n", __func__, (u32)&wdt_reg->ctrl);
    writel((0xA57 << 1) | (1 << 0), &wdt_reg->ctrl);
    return 0;
}

I recompiled the core and the problem solved. 

 

I hope this information will be taken into consideration when creating new system images...  :rolleyes:

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.