openbouffalo / buildroot_bouffalo

Linux Image for the BL808 CPU by Bouffalo Lab
128 stars 34 forks source link

BL808 Watchdog support #20

Closed grant-olson closed 1 year ago

grant-olson commented 1 year ago

This adds support for the BL808 watchdog. The implementation has a resolution of 1 second and the timeout range can be set from 1 - 2^14 seconds. To test with busybox's watchdog:

Fishwaldo commented 1 year ago

Hi, your patch seems to have other files. Can you clean up?

create mode 100644 drivers/watchdog/max_timeout create mode 100644 drivers/watchdog/timeout_max

grant-olson commented 1 year ago

Must have happened when I rebased after seeing you went to RC6. On it.

On 2/2/23 12:04, Justin Hammond wrote:

Hi, your patch seems to have other files. Can you clean up?

create mode 100644 drivers/watchdog/max_timeout create mode 100644 drivers/watchdog/timeout_max

— Reply to this email directly, view it on GitHub https://github.com/openbouffalo/buildroot_bouffalo/pull/20#issuecomment-1414073742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB6OIEWQYV7HQJYZOU73ZDWVPSITANCNFSM6AAAAAAUPH2KZQ. You are receiving this because you authored the thread.Message ID: @.***>

Fishwaldo commented 1 year ago

Just a FYI, we mostly working off @arm000 tree atm in case you are not aware. https://github.com/arm000/linux-bl808

grant-olson commented 1 year ago

I also sent a PR directly to that repo, and could see some team interactions, but I was a little confused by the branch naming conventions. And I'm a little confused by where your linux patch files come and how they're generated.

In any case I've cleaned up the PR.

Fishwaldo commented 1 year ago

Patches are mainly coming from dyn's tree but a few extra ones relating to opensbi support etc. if you can, join the #ox64-nutcracker channel on the pin64 community. Most of us are cooridinating there.

grant-olson commented 1 year ago

Closing. Once this is merged upstream and this project's linux is updated, I'll open a minor PR that just updates the linux_defconfig to add the watchdog.