• Content Count

  • Joined

  • Last visited

About rufik

  • Rank
    Advanced Member

Profile Information

  • Gender
  • Location

Recent Profile Visitors

949 profile views
  1. This directive is deprecated now. But I've set realtime=no and this error has gone.
  2. So it seems we (users) can buy this SBC now, thanks a lot [emoji12]
  3. Is anyone using watchdog on OrangePi H3 family? I've tried to set it up on OPI 2 (almost the same as OPI PC but with wifi) and I'm getting some trouble with watchdog service startup: cannot set scheduler (errno = 1 = 'Operation not permitted') May 10 09:29:23 opi2 systemd[1]: Starting watchdog daemon... May 10 09:29:23 opi2 watchdog[12308]: String 'watchdog-device' found as '/dev/watchdog' May 10 09:29:23 opi2 watchdog[12308]: String 'admin' found as 'root' May 10 09:29:23 opi2 watchdog[12310]: starting daemon (5.15): May 10 09:29:23 opi2 watchdog[12310]: int=7s realtime=yes sync=no load=0,0,0 soft=no [cut!] May 10 09:29:23 opi2 watchdog[12310]: watchdog now set to 16 seconds May 10 09:29:23 opi2 watchdog[12310]: hardware watchdog identity: sunxi-wdt May 10 09:29:23 opi2 watchdog[12310]: cannot set scheduler (errno = 1 = 'Operation not permitted') May 10 09:29:23 opi2 systemd[1]: Started watchdog daemon. I'm using latest armbian: Welcome to ARMBIAN 5.85 stable Ubuntu 18.04.2 LTS 4.19.38-sunxi It looks like problem with realtime schduling: and I've tried to add Delegate=cpu option to watchdog.service file but still no-go. Anyone was facing this issue?
  4. I own Chuwi Hi12 tablet based on Atom X5-Z8300 which was a bad guy due to keyboard/overall handling. I've successfully got rid of windows & android from eMMC and installed Ubuntu Server x64 So I decided get rid of some components as touchscreen, speakers, cameras, battery and use it as SBC headless server. Sadly ribbon cables were glued and I damaged one or two of them, so this is one-way trip now I think. But I can't power it on now :/ There is no reaction to power button at all. Does anyone have some experience with such boards? What components are required to be connected in order to boot it up? teardown pics 1 teardown pics 2
  5. Maybe nowayout param should be set to 1? I remember that nowayout=0 on H3 just disables watchdog hardware reset as described here: There is some discussion on forum here with H3 CPU, worth to be read.
  6. Anything below 480 MHz just trashes storage performance and almost saves no power. So leave minimal freq as is.
  7. Maybe blacklist touchscreen driver?
  8. When the device is closed, the watchdog is disabled, unless the "Magic Close" feature is supported (see below). This is not always such a good idea, since if there is a bug in the watchdog daemon and it crashes the system will not reboot. Because of this, some of the drivers support the configuration option "Disable watchdog shutdown on close", CONFIG_WATCHDOG_NOWAYOUT. If it is set to Y when compiling the kernel, there is no way of disabling the watchdog once it has been started. So, if the watchdog daemon crashes, the system will reboot after the timeout has passed. Watchdog devices also usually support the nowayout module parameter so that this option can be controlled at runtime. So it's required to set it up. Try some quoting. Maybe this should be the last line in armbianenv.txt file? I can't remember exactly but there was some issue about it...
  9. To make watchdog performing hard reset you need to add this param to /boot/armbianEnv.txt : extraarg=sunxi_wdt.nowayout=1 But I can't really recall if some quotation should be used (like extraarg="sunxi_wdt.nowayout=1") or not. Just try it yourself. This argument is required if you want your watchdog to perform hard reset SBC. And of course just install watchdog package using apt-get.
  10. You can easily fork my repo and customize srcipt to your needs I'm going to develop ready-made config files yet (like hass alredy configured with mariadb, mqtt, influx; to be deployed by script) and that's all.
  11. I've put some effort to make installation script for Home Assistant using docker: Script is self-explanatory, just installs some useful stuff, docker, images (portainer, hass, mqtt, mariadb, etc), prepares containers, etc. It's not finished yet, I'm still working on it, it has some problems (mosquito does not start properly yet), but I'm quite time limited right now. The idea is just to automate all these manuals steps required to bring up whole hass ecosystem...
  12. All you need is just to install watchdog service and set some parameter in armbianenv.txt file - I can't recall it right now, I'll try to search my notes later and post the solution.
  13. And check storage performance with all those settings now. You can run it using armbianmonitor with some switch (can't remember which one). My statement is based on some tkaiser's forum writing, and he's rather proven to not spread bs (he just did such tests AFAIK).
  14. Note that anything lower than 480 MHz will trash your storage performance probably. And power saving is also minimal. Consider using 480 as min freq.
  15. Anybody know a way to reset board (OPI PC) immediatly not going through shutdown process? I'm already logged in (ssh session). I've overwritten SD card by mistake, whole fs has gone, and I cant perform reboot or shutdown command (not found) :/