Search the Community
Showing results for tags 'bananapi'.
-
I was able to upgrade Armbian to 18.04 bionic beaver on my Banana Pi M1, and it's working (almost) fine! I used the command to update the sources.list to bionic: apt update && apt dist-upgrade -y && apt autoremove -y && apt autoclean apt install update-manager-core do-release-upgrade -d Fetched 403 MB in 8min 43s (769 kB/s) I gave "yes to all" to almost everything, except on replacing config files like KEYMAP, sshd and bind All these services I use are working correctly: network, SSH, bind, mail, cups, minidlna, SATA, USB printer, Samba This is not working: qbittorrent-nox 4.0.4 (misses libboost-system) Don't try to upgrade if you don't know what you are doing and if you can't handle some instability. If you managed to do a successful upgrade, post your thoughts/problems to this topic!
-
Hi Im seeking for a kernel that i can trust it does not hang. Using the old 3.4 kernel on bananian I could get my banana pi m1 more than 6 months without hangs and reboot. Now im been playing with the armbian and 4.x kernels for almost an year, and the banana pi hardly got 2 months without hangs and reboot. Could you be kind to tell me what is the kernel version with longest uptime with armbian on a banana pi? Sergio
-
I've tried to install GitLab onto Banana PI running Armbian (Ubuntu 16.04 server). I've followed the instructions for Raspberry PI (on https://docs.gitlab.com/omnibus/manual_install.html) and generic https://about.gitlab.com/installation/#ubuntu Unfortunately this fails: $curl -s https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash ... $ sudo EXTERNAL_URL="http://myurl.com" apt-get install gitlab ... Verifying we have all required libraries... Could not find gem 'devise-two-factor (~> 2.0.0)' in any of the gem sources listed in your Gemfile or available on this machine. Did anybody tried the same? Is there any way to fix the issue?
-
So I have a question... I'd like to manage Li-Ion battery operation on SBCs using the AXP209 power management chip (especially the Banana Pro, as that's what I have...) I soldered a connector to the battery terminals on my BPro for portable operation, and it would be nice to have some kind of solution to raise an alert at low battery charge (like via the onboard LEDs), and automatically call system shutdown at a certain level. Googling has shown that the AXP209 has an i2c interface for sensors, and there are a few scripts for reading battery status here: http://hardware-libre.fr/2014/11/banana-pi-axp209-battery-power-monitoring/ My current plan is to probably use a shell script set as a regular cron job to monitor the battery and act accordingly, which should do the job but feels a bit too duct-tape-ey. Has anyone done something like this? Any observations or ideas? What battery voltage should I use as a cutoff?
-
Hi there, I have a Banana Pi M1+ and connected to it Silicon Power SSD 60 Gb. I've faced with the following error: Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00(see screenshots). Startup: https://drive.google.com/open?id=1s_1mkJWXTC02TnSyVlX8oZZQDaJpgXYu Kernel panic message: https://drive.google.com/open?id=1oDgmnrOspkYy5DY5bobFLTJSE3RJOVE6 I downloaded and wrote Armiban to the SD card from this link: https://dl.armbian.com/bananapi/Debian_stretch_next.7z, It started well. Then I performed apt update && apt upgrade -y and reboot the system. After that I've used 'nand-sata-install' to move system to SATA SSD and got that error. Previouslly I did the same steps with usual Banana Pi M1 (not plus version) and it works well, but with the M1 plus version I got that error. Thanks, Roman.
-
Hi, After upgrading from Lemaker Lubuntu with 3.4 kernel to the latest Armbian with 4.9 kernel my application that reads INPUT PIN using wiringPi is behaving very strange and unstable. I simply make a pin INPUT and check the value using gpio read command. When I short the pin the value returned by gpio command changes not always immediately. Some times it takes up to 5 seconds to refresh the value. I mean, it keeps returning me "0" while the pin is shortened and only few seconds later it starts returning me "1". WiringPi is installed from this repo: https://github.com/LeMaker/WiringBP Is it still fully compatible with 4.9 kernel? Or do I need to use some other version or tune my DTB/DTS? Anyone else noticed any lags with reading wiringpi gpio input pin? Thanks
-
Hi im trying to reproduce my old bananian server on armbian, and I’m stuck on IPSec l2tp psk. tried: strongswan installed by apt and by source compile libreswan by source compile and everytime I try to connect to server on any off the above installs I got a kernel error message about thumb2. does anyone have a IPSec l2tp vpn working with armbian in banana pi with the latest kernel?
-
Hi, just installed Armbian 5.38 mainline (both debian server or Ubuntu server fresh installation). There are two processs eating cpu (kworker), and I read some other users have the same issue, but there is a solution? Other problem: I use this board with Bluetooth dongle to monitor my solar plant. Sometimes Bluetooth dongle disappear from lsusb or hcitool scan tell me device is busy with no reason, just unplug and reconnect usb dongle and all restart to work again (tried with two different Bluetooth dongle, this dongle works with no problem at all in another orange pi pc, no disconnection or disappear). The power supply is the same for both orange pi pc and orange pi 5v 2A. To power banana pi I used first standard microusb connector and then sata power connector directly to power the the board (read about connector power issue). This evening I will add the missing armbianmonitor -u output when Bluetooth is ok an when Bluetooth is not working.
-
Hello, I want to use SocketCan on the Banana Pi / Allwinner A20 with the internal CAN interface. I have tested my hardware in the past using can4linux and also have some experience with Socketcan and other interfaces. Configuarion: Armbian root@bananapi:/# uname -r 4.4.1-sunxi loaded the can driver with "modprobe sun4i_can" results in "lsmod": Module Size Used by sun4i_can 5810 0 can_dev 8307 1 sun4i_can And dmesg states: [ 2632.582992] CAN device driver interface But I do not get the can0 device up: root@bananapi:~# ip link set can0 up type can bitrate 500000 Cannot find device "can0" There seems to be no can device detected by the sun4i_can: root@bananapi:~# cat /proc/net/dev Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 4307 60 0 0 0 0 0 0 4307 60 0 0 0 0 0 0 eth0: 929191 13067 0 0 0 0 0 0 871467 4282 0 0 0 0 0 0 bond0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Did someone else try canbus and got it running? Thanks, Daniel
-
Hi, we've been running 5.31 with VDPAU support for a long time now, and I've tried to "apt-get dist-upgrade" to newer version of Armbian. With 5.31 VDPAU works well, with 5.38 all calls to vdp_imp_device_create_x11() fail with "Error when calling vdp_device_create_x11: 25" Demonstratable on "vdpauinfo" The only package, which did not get updated is mali userspace binary driver ( ii mali-sunxi-utils 1.0-1~armbian5.31+1 ) Also demonstratable with MPV Comparing the packages available in both devices goes like this (using https://github.com/lepe/scripts/blob/master/compare_ubuntu_apt.pl ) I don't really suspect added packages (debsums, iptables, socat, sshpass, etc...) of ruining the VDPAU, but I suspect the package "libdrm-common" which is linked with all the essential xserver/mali/libva-drm/libdrm/etc... packages. Removing it will want to remove all the dependencies and will essentially destroy X11 environment. There is no difference in loaded kernel modules (except for its versions), arch and the hardware is the same in testing. Debsums does not show any errors. In /var/log/Xorg.0.log there are differences, but I cannot point to anything suspicious. Armbian 5.31 Xorg.0.log http://termbin.com/sj2m Armbian 5.38 Xorg.0.log http://termbin.com/1eh5 Is there anyone experiencing the same issue? Or is this known bug for now? If I can provide more info to debug, please let me know.
-
Hello, I am trying to have a serial link between an arduino and a banana pi. As a basic test, the Arduino is sending "hello" every seconds. I observe that the reception by the Banana pi is not good. I have tried , several baud rates, /dev/ttyS2 and FTDi adaptor. The best result seems to be with the FTDI adapter , at 115200 bps. But I have still a lot of errors, see below. When I plug the FTDI adapter on my laptop, it works without issues. Do you know what could be the cause of my issues? Thank you Sebastien hell»½ýhgn·ïÏÞh»½ëèu·oÝÕýemmÍÿÿý¿¿ëÏÿÿýïï»ÿ½{í»ÿ¯nïÿý{¿ûoïÿÿÿÝÿïÏíumío^huw·oMÕhello hello hello hello hello hello hello hello hello ^hÛ·mÍïèunìïýj»û»ÿ¯ÿï{¯ÿÿïoõõooëÿÿûÿÿ÷ÿëîÿhÙ·no]Õhello hello hello hello hello hello hello hello hello ·hÝï·»íýìõímo¯ÿ~Ý··¿ÿÿ}Ý··ï½ýÿwïÿ¿ÿ×ÿÿÿÿ¿ÿûûÿÿíÿ÷ÿo¿¿ÞýlenloµhenloMNhello hello hello hello hello hello hello hello hello hello hello«h7ë{ë¿èåímo¯¯êõ}·»_ÿíõ»Oÿ¿óíïíïïûûëï¿ûýÿûÿÿÿïïýxu|loMÞhello hello hello hello hello hello hello hello hello hello hel·ë¯ÿheomïÍýèïo»ïÿîû÷mëïÿÿwûßÿÝÿÿýï¿ëê¯ÿûoÿûÿÿïïÿìo7|oÍõhullo
-
Hello! I have problems with Banana Pi and for today - updated all packages, and I can't connect via SSH nor FTP to my Pi. I have not changed anything, but there is automatic script which dist-upgrades the whole system, it is running once a day. Till 12.34pm CET everything was working fine - from logs, even I think till past 4pm I have connected via SSH to Pi, but then after kernel upgrade (seen note after logon) and reboot I can't access Pi in any way. I've tried to see logs: connect SD card to laptop with Linux to check if there is any problem, but didn't found nothing special. I've also tried to attach HDMI monitor but no signal. Seems that last upgrade has messed up the whole thing. Not working are: SSH, FTP, apache2. Red LED is on, green for SD card access is not blinking, LED for network is blinking from time to time. But router to which the Pi is attached does not see the Pi, LED on router is on, but from router menu it has no IP. Seems that uImage file is missing, but after changing the files in /boot folder, Pi behaves the same. Any help?
-
Hi, I have just upgraded my BananaPi from Lemaker's Lubuntu 3.4 kernel to the latest Armbian with kernel 4.9 and I can't enable 1-wire to read ds18b20. I suspect the enabling procedure has changed? What I did was: 1. bin2fex /boot/script.bin > script.fex 2. vi script.fex Appended this section exactly as it was on my previous Lemaker kernel 3.4: [w1_para] gpio = 4 3. fex2bin script.fex > /boot/script.bin 4. reboot 5. echo 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 6. modprobe w1_gpio 7. modprobe w1_therm 8. ls /sys/bus/w1/devices/ empty answer In the "known issues" currently it is written that "Different GPIO numbering compared to the legacy kernel". How different is that? Do I need to use different "[w1_para] gpio = 4" value in script.bin with the new kernel? Thank you
-
Hello, I have decided to try out Ubuntu 16.04 legacy on my original banana pi for the first time and to my surprise the first problem I noticed is that the usb ports weren't working at all. I tried two keyboards which are working fine on all my Linux computers all running on mint 18.3 (logiItech k360, and insignia nsc5011-c) they are both wireless keyboard + mouse combos they did not work at all on the banana. I previously had bananian on it prior to today and all usb ports were working fine as I was able to connect external usb hard drives to it. I decided to connect the banana to my LAN and ssh to it from my laptop, did an apt update and apt upgrade, rebooted then tried again and they still did not work. I then tried to connect my usb fat32 flash drive on one of the ports and nothing worked either. FYI: My power supply is 5volts with 3.5 amperes. I reconnected the banana to my LAN and sshed to it from my laptop, I plugged in the usb dongle for the logitech and it did not show up when I typed lsusb. Nothing I plugged in to the ports show up when I type `lsusb` Please help. Thanks.
-
Hi.Can you help me fix this problem.Can't use usbwifi wl167g(need like reciever). Network-manager show(wifi enable) but firmware missing. Tried to install RT73_linux_STA_DRV1.0.3.6, have error, when step make, rtmp_main.c error "-march=i686". In new version desktop ubuntu wifi working, but shows slow video(I guess many improvements "use" a lot of resources).
-
Hello to all! I'm using Armbian on my BananaPi board. I've the following version: ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.15-sunxi BOARD=bananapi BOARD_NAME="Banana Pi" VERSION=5.35 LINUXFAMILY=sunxi BRANCH=next ARCH=arm IMAGE_TYPE=user-built BOARD_TYPE=conf INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage I need to follow these instructions to wire a radio on the board: https://www.mysensors.org/build/orange But I cannot find the script.bin file. Why? I can remember the file was here on old releases. Any help or suggestion? Thanks, Simon
-
Hello everyone, Looks like i have some issue after last upgrade. I'm using a Banana Pi Pro as a file server at home (with samba mainly). The system is some kind of freezing after a few hours : i'm watching a movie and cannot go to the end of it. The system disappears from the network : no more access via samba/windows network, no more ssh, no more ping... Fortunately i am logging remotly so i can see that the system is still working somehow because it goes on sending syslogs. Last syslog is (the system "froze" at 20:10) : Feb 7 20:02:01 localhost CRON[3118]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 7 20:05:01 localhost CRON[3149]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Feb 7 20:15:01 localhost CRON[3203]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Feb 7 20:16:09 localhost systemd[1]: systemd-logind.service: Watchdog timeout (limit 3min)! Feb 7 20:17:39 localhost systemd[1]: systemd-logind.service: State 'stop-sigabrt' timed out. Terminating. Feb 7 20:19:10 localhost systemd[1]: systemd-logind.service: State 'stop-sigterm' timed out. Killing. Feb 7 20:20:40 localhost systemd[1]: systemd-logind.service: Processes still around after SIGKILL. Ignoring. Feb 7 20:22:10 localhost systemd[1]: systemd-logind.service: State 'stop-final-sigterm' timed out. Killing. Feb 7 20:23:40 localhost systemd[1]: systemd-logind.service: Processes still around after final SIGKILL. Entering failed mode. Feb 7 20:23:40 localhost systemd[1]: systemd-logind.service: Unit entered failed state. Feb 7 20:23:40 localhost systemd[1]: systemd-logind.service: Failed with result 'timeout'. Feb 7 20:23:41 localhost systemd[1]: systemd-logind.service: Service has no hold-off time, scheduling restart. Feb 7 20:23:41 localhost systemd[1]: Stopped Login Service. Feb 7 20:23:41 localhost systemd[1]: Starting Login Service... And nothing after... Any clue where i should be looking for a solution ?? Thank you for ideas. My config : dpkg -l | grep armbian : ii armbian-firmware 5.38 all Linux firmware ii armbian-tools-xenial 5.38 armhf Armbian tools, Cubie bt utils ii hostapd 2:2.6-4~armbian5.38+1 armhf IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator ii sunxi-tools 1.4.2-2~armbian5.38+1 armhf tools for working with Allwinner (sunxi) ARM processors
-
Hy When I do a Speedtest-cli with my Bananapi m1, I have 320mo for Download and 180mo for Upload. When I do with my Laptop I have 700mo for Download and 180mo for Upload. My os is Armbian. I have also a Bananapi M64 and with her I have the same results than my Laptop. Some one has an Idea? Thanks
-
I'm running a dockerized VDR server on the BPi, still on bananian. Every time I installed armbian, I had to discover that video playback on remote devices started to stutter. Without knowing about the details, my guess is that this is owed to the fact that the mainline kernel build does not feature hw video decoding. (Though I'm not sure whether bananian had it actually.) Unfortunately I cannot use the legacy kernel build, as docker is not supported on that platform. Is there any chance to kind of enable hw video acceleration on the mainline build? I saw some posts here and there in the forum on that topic, but none seemed really having solved it definite or reliably. greets
-
Hi everyone. When I tried plug in my banana pi to tv (rca video(AV),). I can see only boot(where label armbian). maybe need special resolution, i tried 800x600, 640x480, nothing.
-
can not update linux-stretch-root-next-bananapi_5.37_armhf.deb this is the apt-get error: The following packages will be upgraded: linux-stretch-root-next-bananapi 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 406 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://apt.armbian.com stretch/main armhf linux-stretch-root-next-bananapi armhf 5.37 [406 kB] Fetched 406 kB in 0s (647 kB/s) (Reading database ... 112114 files and directories currently installed.) Preparing to unpack .../linux-stretch-root-next-bananapi_5.37_armhf.deb ... Leaving 'diversion of /etc/mpv/mpv.conf to /etc/mpv/mpv-dist.conf by linux-stretch-root-next-bananapi' Unpacking linux-stretch-root-next-bananapi (5.37) over (5.36) ... Processing triggers for initramfs-tools (0.130) ... /boot/initrd.img-4.13.16-sunxi does not exist. Cannot update. Processing triggers for systemd (232-25+deb9u1) ... Setting up linux-stretch-root-next-bananapi (5.37) ... Processing triggers for initramfs-tools (0.130) ... /boot/initrd.img-4.13.16-sunxi does not exist. Cannot update. Armbian is installed on SATA disk. Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 433M 0 433M 0% /dev tmpfs tmpfs 100M 5.6M 95M 6% /run /dev/sda1 ext4 15G 3.9G 9.9G 29% / tmpfs tmpfs 500M 0 500M 0% /dev/shm tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 500M 0 500M 0% /sys/fs/cgroup tmpfs tmpfs 500M 20K 500M 1% /tmp /dev/mmcblk0p1 ext4 15G 1.1G 14G 8% /boot /dev/sda2 ext4 668G 396G 239G 63% /mnt/Dati tmpfs tmpfs 100M 0 100M 0% /run/user/1000 The nitrd.img-4.13.16-sunxi is on /boot/boot directory: root@bananapi:/boot/boot# total 19744 -rw-r--r-- 1 root root 202 Jan 12 20:32 armbianEnv.txt -rw-r--r-- 1 root root 202 Dec 31 17:15 armbianEnv.txt.SD -rw-r--r-- 1 root root 202 Dec 31 17:14 armbianEnv.txt.SDA -rw-rw-r-- 1 root root 1624 Nov 24 22:05 armbian_first_run.txt.template -rw-r--r-- 1 root root 319 Dec 31 17:33 armbian_How_To_Compile.txt -rw-rw-r-- 1 root root 230454 Nov 24 22:05 boot.bmp -rw-rw-r-- 1 root root 3636 Nov 24 22:02 boot.cmd -rw-rw-r-- 1 root root 4882 Nov 24 22:05 boot-desktop.png -rw-rw-r-- 1 root root 3708 Jan 12 20:33 boot.scr -rw-r--r-- 1 root root 3708 Dec 31 17:15 boot.scr.SD -rw-r--r-- 1 root root 3708 Dec 31 17:26 boot.scr.SDA -rw-r--r-- 1 root root 156631 Nov 24 19:51 config-4.13.16-sunxi lrwxrwxrwx 1 root root 17 Nov 24 22:04 dtb -> dtb-4.13.16-sunxi drwxr-xr-x 3 root root 12288 Nov 24 22:04 dtb-4.13.16-sunxi -rw-r--r-- 1 root root 4974574 Dec 31 17:11 initrd.img-4.13.16-sunxi drwxrwxr-x 2 root root 4096 Nov 24 22:05 overlay-user -rw-r--r-- 1 root root 3015924 Nov 24 19:51 System.map-4.13.16-sunxi lrwxrwxrwx 1 root root 21 Dec 31 17:11 uInitrd -> uInitrd-4.13.16-sunxi -rw-r--r-- 1 root root 4974638 Dec 31 17:11 uInitrd-4.13.16-sunxi -rwxr-xr-x 1 root root 6790944 Nov 24 19:51 vmlinuz-4.13.16-sunxi lrwxrwxrwx 1 root root 21 Nov 24 22:04 zImage -> vmlinuz-4.13.16-sunxi
-
Hi, I am using the last image (kernel 11.5) for banana PI M1 and I successful use the nand-sata-install script. now I would like to copy the bootload to 128M SDCard Can someone help me?
-
Hello all. I'm having a banana Pi and two days ago I had bananian OS on it. Now after searching online I decided to install armbian because it seems the most updated and more user-friendly one. One of the things that I want to do with my Pi, is to create an AP and connect other devices to it. So I read the documentation that is online from armbian site that refers on A. How to build a wireless driver? B. How to set wireless access point? Started with the A. and following all the steps, I realized that the 8192cu.ko module was already installed and loaded because when I tried to load it with insmod command it returned me: So I continued with the B. article. I cloned the suggested repository and run the go.sh script. After everything was done I had two files called : I chose to install (dpkg -i) the second one (realtek) because that's what my usb dongle needs (at least that's my opinion) After installing it, I tried to execute it by using the /etc/hostapd.realtek.conf What I got is : Here are also some other command's results that might be helpful: lsusb iwconfig uname -a /etc/hostapd.realtek.conf Also, I would like to mention that the USB dongle works properly as for the scanning of SSIDs using the nmtui tool, but if I'm going to connect to one of them with the correct password, nmtui returns : Besides all these I also tried to use and the following solutions (but without any success): https://github.com/jenssegers/RTL8188-hostapd https://github.com/pritambaral/hostapd-rtl871xdrv Also, I remember that jensseger's solution was working when I had bananian OS but it had an older kernel that I don't remember right now. Does anyone else have this problem? Is there a chance of being a problem in the newer kernel and not driver's one? Any idea, hint, help is welcome. Thanks.
-
Hi, since Igor told me to enable LCD in u-boot I was searching for a solution. In the menuconfig of Kernel 3.4 ... 3.14 I saw Device Drivers > Graphics Support > Enable driver model support for LCD/video ... Now in menuconfig of armbian with Kernel 4.7.2 I can't see this option. I see attach screenshot. Has anyone an idea how to enable LCD? I'm using LeMaker 5" LCD with CP - Touch. My board is Banana Pi with Allwinner a20.