Jump to content

Search the Community

Showing results for tags 'bananapi'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL







  1. # PROBLEM: Recent bananapi m1 images (and other A20 boards?) have no kernel headers, and armbian-config is not working so no hardware support. # SOLUTION: Armbian_23.02.2_Bananapi_jammy_current_5.15.93.img.xz Take this image and install the headers manually - or update to recent ones from here (not all work). NOTE: Armbian_23.02.2_Bananapi_jammy_current_5.15.93_minimal.img.xz While is the same build, cannot unfreeze kernel changes in armbian-config gui Flash SD and drop the 3 kernel packages in /root/ After first boot run $ apt upgrade && apt upgrade --fix-missing Unfreeze kernel with $ armbian-config -> system -> unfreeze (should accept) Install kernel packages: $ dpkg -i <package-dtb.deb> <package-image.deb> <package-header.deb> reboot & freeze kernel again compare build scripts current vs minimal - and merge upstream? I am noob Please show the way. Files pack: https://www.dropbox.com/scl/fo/0bdengzqkn5x798ddxvp7/h?rlkey=i6kilnhhr6xzxgkmipfqy19pr&dl=0 credits: Note to self: I should learn how to compile and build images.
  2. Hello, community. For a while now, I've been trying to configure the input and output of i2s0 without success. The closest I've come to a result was with the adau7002 configuration, but I'm experiencing synchronous noise, as if the issue were related to a CLK. Let me provide some details to see if anyone can guide me. I have a Banana Pi M2 with Armbian 23.11.1 Bookworm and Linux 6.1.13-current-sunxi. I have a pcm1807 connected to the input, configured with SPI, outputting i2s left justified in 24bit, and operating as a master. The pcm is connected to a 24.5MHz crystal. My goal is to configure the system to capture audio in a generic i2s format and then play it back in the same way through the output, as I have an amplifier connected to it. My other question is whether it's possible to reconfigure the pins using an overlay. Currently, my pin configuration is as follows: PA10 = LRCLK PA16 = BCLK PA20 = SDI PA21 = SDO i tried reconfigure the pins but i couldn't ☹️ I am attaching the adau7002.dts to provide additional information: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/"; __overlay__ { adau7002_codec: adau7002_codec { #sound-dai-cells = <0>; compatible = "adi,adau7002"; status = "okay"; }; }; }; fragment@1 { target = <&i2s0>; __overlay__ { status = "okay"; pinctrl-0 = <&i2s0_pins>; sound-dai = <&adau7002_codec>; pinctrl-names = "default"; }; }; fragment@2 { target-path = "/"; __overlay__ { sound_i2s { compatible = "simple-audio-card"; simple-audio-card,format = "i2s"; simple-audio-card,name = "adau7002"; #simple-audio-card,dai-link = "left_j"; simple-audio-card,bitclock-slave = <&dailink0_slave>; simple-audio-card,frame-slave = <&dailink0_slave>; simple-audio-card,mclk-fs = <512>; simple-audio-card,widgets = "Line", "Line In Jack"; simple-audio-card,routing = "PDM_DAT", "Line In Jack"; status = "okay"; simple-audio-card,cpu { sound-dai = <&i2s0>; }; dailink0_slave: simple-audio-card,codec { sound-dai = <&adau7002_codec>; }; }; }; }; }; I use for capture this command: "arecord -D hw:0,0 -f S16_LE -t wav -r 48000 -c 2 -d 10 -V stereo -v >test.wav". But when I want to switch S16_LE to S24_LE you can hardly hear anything, although the noise persists with both formats
  3. So I want to install Pi-Hole on my BPI-M2 Berry and Pi-Hole only supports these distributions. Distribution Release Architecture Raspberry Pi OS (formerly Raspbian) Buster / Bullseye ARM Ubuntu 20.x / 22.x / 23.x ARM / x86_64 Debian 10 / 11 / 12 ARM / x86_64 / i386 Fedora 36 / 37 / 38 ARM / x86_64 CentOS Stream 8 / 9 x86_64 I found out that Armbian might support one of these distributions. Does anyone know an easy way to get an fitting version? Iam searching for multiple hours now and am lost.
  4. I'm trying to find the img for the Banana Pi BPI-M1+ or Pi BPI-M1 arm64 in the archive, can you help me? Debian buster minimal img
  5. Hello, I'm running Armbian on the original (LeMaker) A20 powered BananaPI : cat /etc/issue Armbian 21.08.6 Buster \l I did an apt-get upgrade few days back, and since, it's CPU load is always around 1.00 even if I don't run my custom application (obviously, it wasn't the case before). Nothing special in /var/logs/messages, but top show me a kernel process always on top : top - 15:03:43 up 1 day, 17:40, 1 user, load average: 0,98, 1,03, 1,12 Tasks: 112 total, 2 running, 110 sleeping, 0 stopped, 0 zombie %Cpu(s): 4,5 us, 6,3 sy, 0,0 ni, 89,0 id, 0,0 wa, 0,0 hi, 0,2 si, 0,0 st MiB Mem : 993,9 total, 583,3 free, 119,7 used, 291,0 buff/cache MiB Swap: 497,0 total, 497,0 free, 0,0 used. 840,4 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 26647 root 20 0 0 0 0 R 10,3 0,0 1:44.71 kworker/1:0+events_freezable_power_ 32375 laurent 20 0 103912 51264 5472 S 10,3 5,0 1:20.54 Selene 3664 laurent 20 0 7588 2372 2016 R 0,7 0,2 0:01.23 top 14 root 20 0 0 0 0 I 0,3 0,0 2:55.81 rcu_sched 1927 root 20 0 1408 336 292 S 0,3 0,0 10:37.20 BananaLEDd 31455 root 20 0 0 0 0 I 0,3 0,0 0:00.26 kworker/1:3-mm_percpu_wq I did some googling but it doesn't help to find out what is this events_freezable_power_ In another hand, it doesn't explain this 1.00 load as you can see it consums only 10 to 15% of the CPU as well as my own custom application. So any tip, help, whatever is welcome. Thanks
  6. Would like to build something like a NAS, because I'm tired of connecting an external drive via USB. I am thinking to use bananapi M2 berry for this. I would power the 3.5 HDD externally and don't care too much about SATA speed. However, it is important to me that armbian works without manual adjustments, because it wouldn't cope with them. Should I go ahead with the experiment?
  7. Im trying to play video on CLI interface. Banana pi M1 im using.I installed VLC, MPV, mplayer but not successful. please help. my video is in pendrive.
  8. Hi, i am trying to get the Respeaker 2 Mic Pi hat working on a Banana Pi Zero M2. The HAT uses the WM8960 codec and generates its own I2S MCLK. After some trouble i got the i2c interface working and i2cdetect shows a device at address 0x1a which is correct. But i can not get the I2S interface working. I have added a user overlay with the following .dts: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&i2c0>; __overlay__ { #address-cells = <0>; #size-cells = <0>; status = "okay"; wm8960: wm8960{ compatible = "wlf,wm8960"; reg = <0x1a>; #sound-dai-cells = <0>; }; }; }; fragment@1 { target = <&i2s0>; __overlay__ { status = "okay"; pinctrl-0 = <&i2s0_pins>; sound-dai = <&wm8960>; pinctrl-names = "default"; }; }; fragment@2 { target-path = "/"; __overlay__ { sound_i2s { compatible = "simple-audio-card"; simple-audio-card,name = "I2S-master"; simple-audio-card,format = "i2s"; simple-audio-card,bitclock-master = <&codec_dai>; simple-audio-card,frame-master = <&codec_dai>; simple-audio-card,mclk-fs = <256>; status = "okay"; simple-audio-card,widgets = "Microphone", "Mic Jack", "Speaker", "Speaker", "Headphone", "Headphone Jack"; simple-audio-card,routing = "Headphone Jack", "HP_L", "Headphone Jack", "HP_R", "Speaker", "SPK_LP", "Speaker", "SPK_LN", "LINPUT1", "Mic Jack", "LINPUT3", "Mic Jack", "RINPUT1", "Mic Jack", "RINPUT2", "Mic Jack"; simple-audio-card,cpu { sound-dai = <&i2s0>; }; codec_dai,codec { sound-dai = <&wm8960>; }; }; }; }; }; I do not see errors in dmesg but aplay -l only shows the HMDI sound interface. I am stuck here and have not found a good explanation how .dts files exactly work for audio or how to get some error messgae from the kernel to see what is wrong. Kernel Version is 5.15.62-sunxi
  9. I've tried many permutations of overlays and user-overlays and I can get /dev/spidev0.0 or /dev/spidev0.1 to be present, but I can't seem to get both simultaneously. I need both to migrate a project from an older Fedora distribution relying on modprobe to the latest version of Armbian. Any suggestions will be greatly appreciated! I started with very recent Armbian 23.02 Bullseye XFCE downloaded from arbian.com/banana-pi-plus .. Armbian_23.02.2_Bananapi_bullseye_current_5.15.93_xfce_desktop.img and I added the following to the /boot/armbianEnv.txt file, as described in the Armbian page associated with the BananaPi M1+ .. fdtfile=sun7i-a20-bananapi-m1-plus.dtb I also added these overlays at the same file .. overlay=spi-spidev spi-add-cs1 param_spidev_spi_bus=0 After reboot, I see one /dev/spidev device: # ls /dev/sp* /dev/spidev0.0 If instead, I also add .. param_spidev_spi_cs=1 Then after reboot, I see a device for the other chip select, only .. # ls /dev/sp* /dev/spidev0.1 but I can't find a means to have access to both simultaneously. As an aside, I also tried the following; Through some searching in the forum, I found a link to a promising overlay .. armbian / sunxi-DT-overlays / examples / spi-double-spidev-cs.dts Contents shown below .. I downloaded this and compiled it using .. dtc -@ -I dts -O dtb -o /boot/overlay-user/spi-double-spidev-cs.dtbo spi-double-spidev-cs.dts Then, since the thread said, "You will still need to use spidev-add-cs1 overlay but remove spi-spidev one because the custom one will be used instead of it," I used the following in the /boot/armbianEnv.txt file .. overlays=spi-add-cs1 user_overlays=spi-double-spidev-cs I confirmed the user overlay did load .. But this produced neither /dev/spidev0.0 or /dev/spidev0.1. Any ideas? I'd rather not have to compile the kernel since I'd have to outfit a whole new development environment for that, so I'm hoping this can be done with dts or dtbo files. Any tips or hints on which direction I should go next will be GREATLY appreciated. Thank you.
  10. Hi, I need a help. I have waveshare 4inc lcd touch play display but I don’t know how to enable touch play. Please Help me.
  11. Hello, I am trying to communicate using UART PORT. I have connected to 8, 10 and GND pin. Also I enabled UART3, but it doesn't work. Any solution? Thanks !! Enviado desde mi iPhone utilizando Tapatalk
  12. Hey, I recently decided to give the 22.11 a try on my M1, but I can't get my sata SSD to be the system root and boot again. 18.04 it worked for me with the exact same setup. I used this: https://docs.armbian.com/User-Guide_Getting-Started/#how-to-install-to-emmc-nand-sata-nvme-usb went with armbian-install only option for me was boot from SD and system on sata. But after the preparation of the ssd, the reboot always runs into emergency mode with not really good hints how to solve, or what even the issue is. Any tips or hints are welcomed.
  13. Machine model: Banana Pi M2 Berry Linux bpi08 6.2.7-sunxi #3 SMP Fri Mar 17 07:58:04 UTC 2023 armv7l GNU/Linux (armbian@next) Mir ist es nicht möglich eine interne Temperatur auszulesen. Brauche dringend Hilfe! Der Link“/etc/armbianmonitor/datasources/soctemp “ exitiert zwar, nur die Datei / das Verzeichnis existiert nicht: nicht vorhanden → /sys/devices/virtual/thermal/thermal_zone0/temp nicht vorhanden → /sys/class/thermal/thermal_zone1/temp Wo soll diese Dateien überhaupt erstellt werden? Anmerkung Es wäre schön, wenn es für den Banana Pi M2 Berry eigene Tags geben würde. Er unterscheidet sich von dem Banana Pi M2+.
  14. Hi, I am looking for an OS for the BPi M2 Berry. Has anyone good experiences to share? Thanks a lot in advance, Friedrich I tried several OS, flashed with rufus.io No satisfying attempt yet. Last try is this: https://forum.banana-pi.org/t/bananapi-bpi-m2-berry-new-image-release-armbian-bullseye/14451
  15. board : Banana pi M2 zero OS : Armbian_23.02.0-trunk_Bananapim2zero_sid_edge_6.1.11_xfce_desktop.img.xz The same error exist for newest Debian releases. Only Users that never opened an X11 session locally can connect using RDP (xrdp)
  16. On my Banana Pi M5 Armbian Jammy has a strange device name assignment. BPi-M5 has internal 16GB eMMC normally named mmcblk0 and microSD named mmcblk1. Normally it boots from SD and if you install an OS like Raspberry OS for BPi into eMMC, you're still able to boot from SD another OS because RaspiOS maps device correctly. But when Armbian (i.e. Jammy) is installed into eMMC it changes eMMC device to mmcblk1 and SD to mmcblk0, and It prevents SD to boot. And if the eMMC OS corrupts and doesn't boot the SBC bricks and TTL connection is needed to erase boot record. To change OS it's necessary a command to delete boot record and SD on mmblk1 will boot again: dd if=/dev/zero of=/dev/mmcblk1 bs=512 count=1 But the OS on eMMC has to boot and be in good working conditions. Also another guy with Orange Pi has noticd this behaviour: https://forum.armbian.com/topic/9987-sd-card-not-booting-but-works-on-another-emmc-boot-up/ It's important to change this behaviour and do it like RaspiOS.
  17. I had successfully installed Armbian_2022.08.8_Bananapi_bullseye_CLI_5.15.74 on my M1 and copied the system to an SSD which I had attached to the SATA port. Then I had updated the UUID in armbianEnv.txt and running the system from SSD was working fine. The system was running headless in my closet for about 2 months, and I even had no problems to remotely restart the device until today, when it did not come back up after a reboot. I took it from the closed and hooked it to a monitor just to see the following error messages: ** Bad device specification mmc 0 ** Couldn't find partition mmc 0 I suspected a broken SD card but a check on my Ubuntu desktop showed no errors on the cards file system. Then I prepared 2 other SD cards, one with Armbian_2022.08.8 as above and the other with Armbian_2023.02.2_Bananapi_bullseye_5.15.93_minimal. Both did show the same problem, though. To me, it looks like a hardware problem with the SD card slot. Is there a way to get the M1 back to work again?
  18. armbianmonitor output: http://ix.io/4qwA I assume it's crashing as I have no display connected to it. Every few days I just notice I can no longer reach the network folder, but it works after a power off/power on. Not much running on it, samba for file share and deluge for occasional downloads. I also recently run an update, upgrade and dist-upgrade, but it didn't help. I don't really know what should I look for in the log. OS: Armbian buster (21.02.1) armv7l Host: LeMaker Banana Pi Kernel: 5.15.93-sunxiC CPU: Allwinner sun7i (A20) Family (2) @ 960MHz
  19. I'm using Banana Pi M2 Zero with Armbian Debian GNU/Linux 10 (Buster). Compiled the image myself with the latest source code using the armbin/build repository. I want to be able to do serial communication on pins 8 and 10. I'm looking for something to appear at /dev/ttyAMA0, so I can communicate with it. I saw some other forum posts which mentioned it'll happen on /dev/ttyS0 , however even that is not happening. The serial communication is working via FTDI (using the USB side connected to the Banana Pi), which indicates there is no problem with the other device. This is what the configuration looks like using "sudo minicom -s". +-----------------------------------------------------------------------+ | A - Serial Device : /dev/ttyS0 | | B - Lockfile Location : /var/lock | | C - Callin Program : | | D - Callout Program : | | E - Bps/Par/Bits : 115200 8N1 | | F - Hardware Flow Control : No | | G - Software Flow Control : No | | | | Change which setting? | +-----------------------------------------------------------------------+ | Screen and keyboard | | Save setup as dfl | | Save setup as.. | | Exit | | Exit from Minicom | +--------------------------+ I have enabled "uart1" using "sudo armbian-config -u" -> System -> Hardware. Connecting Rx, Tx on the pins 8 and 10 also does not show up in "dmesg" How do I go about debugging the issue or finding the root cause of the problem? Many thanks!
  20. Thought this might help other people, so I wanted to share: https://github.com/robbieh/Inky7-BananaPi
  21. Hello I am new to the Pi-computers and was searching in the forum and the internet if i can find a solution to my problem but can't find any. So maybe you can help me. I'm using a BananaPi m1 with a 7" HDMI touch screen running armbian with GUI. Its ruuning fine with one little issue: When the system is temporary unused the screen should turn off/go to standby after a few minutes to save enery. The screensaver setting is working but with my BananaPi the scree just goe black but does not tunr off. If I connect the same screen to a Windows Computer the screenturns of with te screen saver. Any ideas what I can do to get the monitor to turn off the backlight/ go to standby? Thanks C4ve
  22. Bpi M2 Zero Armbian 23.02.0 sid can't change volume alsamixer said: This sound device does not have any controls. How can I fix this issue ?
  23. Hello armbianers ! Armbian 22.11.1 Bullseye with Linux 5.15.80-sunxi on a banana pi m1 I've connected a lipo battery to my bpi m1, and now when I try to shutdown -h 0, it ends up in a kernel panic and instead of shutting down it remains powered up. Is there anything I can do to fix that? I'd know how to shut it down talking to the axp209 via i2c, but I'm not sure how/where to put that, or if that would be or not the proper way to go. Thanks, George.
  24. Hi Everyone, Is there anything additional required to enable better performance improvements (kernel patch for TXTS and RXTS are set to 3 each see below link) on a Banana PI running Armbian V21 / V22 ? I have updated the bootloader, and OS, and the performance is still abysmally poor. Mechanical or SSD drive connected to on board SATA yields a whopping 2.7-10 MB/sec write speed using dd with a large block size, or with the iozone tool ~5 upto ~45 for larger block sizes. Still a very far cry from the ~120 after the kernel patch applied in ~2019 => https://forum.armbian.com/topic/10352-a20-sata-write-speed-improvement/ I would be happy with a consistent 10-20 MB/sec honestly... From what I've read it was included in the kernel after v5.2 by default? Armbian R22 is presently kernel 5.15 ... So is the manual kernel patch still required, or no? armbianmonitor -u output: https://paste.armbian.com/isagiquleh iozone bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 1063 1074 4689 4367 4667 10 102400 16 2495 2529 7923 7962 7579 41 102400 512 5257 5278 10506 10484 10587 1297 102400 1024 5695 5259 10992 10997 10928 2236 102400 16384 5826 5441 9706 11679 11671 5689 iozone test complete. root@bananapi:~# thanks, Jonathan
  25. Someone has any experience changing the A20 to A20-H, our provider offers to us this new version, but I'm afraid to be software incompatible.
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines