Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

1394 profile views
  1. Hi All, Just wanted to share a good story using armbian. I have used in the past 1-wire probes for temperature, and the process included decompiling, editing and recompiling dtb for my Banana Pi M1, which was not easy at all. Every firmware update deleted by changes and had to redo de recompilation. With latest kernels and armbian version, the process is now extremely easy, just edit: /boot/armbianEnv.txt Adding this lines: overlays=w1-gpio param_w1_pin=PI3 # desired pin(7th pin (GCLK) or number 4 on first column where number 1 is +3V) param_w1_pin_int_pullup=1 # internal pullup-resistor: 1=on, 0=off I just struggled a little bit to find the GPIO code (decompiled dtb and checked possible candidates). Information about temperature is here: cat /sys/bus/w1/devices/XX-YYYYYYY[this is your probe serial, if you have more they will be in /sys/bus/w1/devices/] /w1_slave You have plenty of information here, but don't need to do all they explain, just my edition has been enough: http://linux-sunxi.org/1-Wire
  2. Same here on Odroid XU4, .144 crashes when a new torrent is added ("invalid inflight" as error). Installing latest armbian from today (with an older kernel) fixes issue.
  3. Same confirmation from me! I was driving me crazy trying to find what caused the system freeze. I have disabled most of the things that can be disabled and still occurs (even thought of log2ram because removing it gave me some more time to failure). The only difference in my case is sometimes it kernel panics and says something like "cpu 1 can not be stop". Some others it just freezes and I have to remove battery and power to restart. I have discarded power source: I have some cron tasks that peak cpu and temperature and seems to tolerate correctly, without voltage drops or simillar. It just happens... ramdomly. I'm running banana pi m1, latest kernel update.
  4. Just quick comment here: I am with latest armbian (5.23) and sun4i_ss seems to work correctly (seems, I need futher testing). So problems with encryption (ecryptfs, ssh, etc) should be gone
  5. My acknowledge to these guys too, and also to zador.blood.stained. The involvement and support I have seen in this project is lot better than most commercial initiatives. I donated because they really deserve it, and that's the real way to say thanks and keep up the good work.
  6. Be aware that Banana Pi and Pro share the same image, so don't get crazy if you see Banana Pro in your files or login
  7. By the way, I didn't check your link. Yes, you can also use those scripts but the guys at armbian made it a "built-in" feature. I think that my approach on the message above is way more simple.
  8. If you are using mainline kernel, you can use cron (for instance) to read every X minutes: /sys/power/axp_pmu/ac/connected >>To find out if connected to AC power or not (then it's battery) /sys/power/axp_pmu/battery/capacity >> To get a % of battery charge To me is easier to say at 20 (%) than 3.75 mV or similar I have a script that checks every 10 minutes, when ac is cut off it sends a warning mail. When battery is <20% it goes to self-shutdown Legacy kernel has something similar, but I can't check right now (google for that if you need it)
  9. Alternatively, you can do chmod -x 30-sysinfo or any other script you want to disable. The effect is the same as removing but you keep the file in case you want it in the future
  10. Is it really 30-sysinfo? My login takes also time but there are several processes involved in the login
  11. Then I don't know... do you get any errors in logs? dmesg or minidlna.log?
  12. It is possible. At least for banana pi M1 (A20) it can handle a 3TB hdd with no issues. Just remember that you have to change your disk partition table to GPT instead of standard MBR because the latter is limited to 2.2 gb. This is regarding SATA connection, if you use some kind of usb-to-sata adaptor, check that it is able to handle >2.2 TB
  13. Do you have enough inotify watches?I can't remember exactly where (look on google for increasing inotify watches on debian) but the default was low for me on debian. Maybe the other distributions just have more value by default.
  14. I suggest you use a computer with linux (installed or live) to do that, for instance with gparted. Resizing from the running system, even if possible (raspbian is able) is not a good idea.
  15. Then I will disable /etc/update-motd.d/40-updates and save some miliseconds in the login process
  • Create New...