Jump to content

Search the Community

Showing results for tags 'bananapi'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feature Requests
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Upcoming Hardware (WIP)
    • News
    • Odroid M1
    • ROCK 5B
  • Maintained Hardware
    • Board does not start
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Unmaintained (CSC/EOL/TVB) / Other
    • TV boxes
    • Off-topic
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. 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.
  2. 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
  3. 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.
  4. Anything involved with screen blanking /MUST/ be removed or disabled, on the bpim5, and it exists in so many places it took me 2 days of poking around to stop the no recovery except reboot if un-used for more than 15 minutes regardless of what it happens to be running at the time. When a blanker kicks in, the monitor powers down and the bpim5 goes inactive with only the red pwr led on steady, and nothing wakes it up except the reset button. These things use so little power that it doesn't bither me a bot to leave them running. I have an rpi4b running a big metal lathe that works as intended, with uptimes in years, this should be the same. It would be nice to have a blanker that actually blanked only the monitor instead of crashing the whole system. Can this be fixed?
  5. New bananapi M5, no net. initial boot and config failed, font missing characters would not allow me to edit networking entries. rebooted it with the power cord, started x by hand, Menu's totally different from 2 previous installs on rock64's. Finally found a terminal, and switched fonts in geany so now the keyboard is generally working. in geany, but not in armbian-config. I have edited the /etc/hosts file to setup my static address network, fixed resolv.conf and chattr +i it so nm can't destroy it. I have edited /etc/hostname but can't get it to to "take". ip a returns that eth0 is up but no ipv4 or ipv6 address can be seen ip r return emptyhanded. I can't even ping machines in the next room by address, no route This is ipv4 country here in northern West Virginia, probably a hundred miles from the nearest net connection that groks ipv6. My router does NAT so everything here is in the 192.168.xx.yy block And it has no dhcp server running. I've 7 other machines here that thanks to the NAT in the router, can tour this ball of rock and water with no hicups. resolv.conf is identical to whats on 7 other machines here, and they all work just fine. So how do I go about setting up a hosts file base local network? Thanks much all. Cheers, Gene
  6. HI I cannot find anywhere option to run compile.sh without GUI/NCurses. I'd like to just run basic command to build image (have configuration done) Can you point me to place where i can look ?
  7. 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
  8. I have a Banana Pi mk1 that I'm trying to add a usb wifi adapter to so it can run klipper wirelessly. I'm still relatively new to linux and I'm having trouble getting it set up. "lsusb" shows that the wifi dongle is connected and is reading, and I copied the appropriate .bin file to /lib/firmware/mediatek. I can't get NetworkManger to show any wireless devices and I'm stuck. I've tried "nmcli device show" and it will only display my ethernet connection.
  9. I have a working BPi M1 with [ 0.000000] Linux version 5.15.25-sunxi (root@d72d155687c7) (arm-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #22.02.1 SMP Sun Feb 27 09:23:25 UTC 2022 Due to inconvenient USB placements, I thought using OTG micro USB (the one right next to the SD slot), but it doesn't seem to be operational. I bought a Micro USB Male To Female OTG Adapter Cable, but the attached devices are not detected neither connected to OTG port, nor to the normal power-in micro USB connector (located between SATA and SATA-pwr). I attached the same Micro USB Male To Female OTG Adapter Cable to my Android phone and devices are recognized and activated. For example an external keyboard worked with the phone. What is the current USB OTG support status and what is necessary to debug its functionality? I quick look at kernel configuration: root@bananapi:~# zcat /proc/config | grep OTG CONFIG_USB_OTG=y # CONFIG_USB_OTG_PRODUCTLIST is not set # CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set # CONFIG_USB_OTG_FSM is not set CONFIG_USB_FOTG210_HCD=m # CONFIG_USB_FOTG210_UDC is not set root@bananapi:~# zcat /proc/config | grep CONFIG_USB_DWC CONFIG_USB_DWC3=y # CONFIG_USB_DWC3_HOST is not set # CONFIG_USB_DWC3_GADGET is not set CONFIG_USB_DWC3_DUAL_ROLE=y CONFIG_USB_DWC3_OF_SIMPLE=m CONFIG_USB_DWC2=y # CONFIG_USB_DWC2_HOST is not set # CONFIG_USB_DWC2_PERIPHERAL is not set CONFIG_USB_DWC2_DUAL_ROLE=y # CONFIG_USB_DWC2_DEBUG is not set # CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set What is necessary to make OTG working?
  10. 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!
  11. Since 23 hours, 23 views, no reply's. So I have ordered a 4 pack of the latest 4gig bananna pi's, and would like to know: 1. if Armbian will work on them, and 2. If octoprint-1.8.6 can be installed in a python venv so I can get back to work on a room full of 3d FDM printers. off topic, I have been running an apt update at about 8 hour intervals on the rock64's but while error msgs are, or were displayed on the hdmi output, no xserver appears to be start-able, the hdmi display has now gone dark without its declaring a loss of signal so I have to assume it is generating a synch signal of some sort. I can ssh -Y into both from this machine 3 rooms away, but the local displays are blanked. Thank you all, take care & stay well.
  12. using latest armbian server Linux bananapim2zero 5.19.15-sunxi #trunk.0071 SMP Sun Oct 16 03:56:45 UTC 2022 armv7l armv7l armv7l GNU/Linux docs from waveshare said to add "dtoverlay=sc16is752-spi1,int_pin=24" to /boot/config.txt for raspbian so i tried adding it to armbianEnv.txt and reboot but on device files or anyrthing, nothing in dmesg and /sys/bus/spi/devices/ is empty what am i doing wrong?
  13. trying to monitor a button press on GPIO19 which has an offset 40, but getting the error in the title. Switched between kernels but made no difference. http://ix.io/4cFr After switching the kernel http://ix.io/4cGd Not sure if this is related, but might help with the troubleshooting https://archlinuxarm.org/forum/viewtopic.php?f=65&t=14423
  14. Hello, I am using armbian on banana pi m2 zero uname -a Linux bananapim2zero 5.16.11-sunxi #22.02.1 SMP Sun Feb 27 09:17:03 UTC 2022 armv7l armv7l armv7l GNU/Linux I want to rebuild kernel, but i cannot find kernel source. Where I can find it? This code from https://wvthoog.nl/nanopi-ov5640-camera/#OV5640_sensor doesn`t work sudo apt update sudo apt upgrade sudo apt install build-essential uname -r # check your current kernel version sudo apt install linux-source-<your current kernel version> In my case: sudo apt install linux-source-5.8.6-current-sunxi cd /usr/src sudo tar xf linux-source-5.8.6-sunxi.tar.xz
  15. Hi, as I would like to replace my old Banana Pi M1, I wonder which SoC I should use. I'd like to spend maximum 100€. What's the newest supported SoC which is right now available? Already orderes a Raspberry Pi 4 Gb 9 month ago....but still no idea when it'll be delivered. As I really like ARMbian and OpenMediaVault, I'd like to stick with it. I'd like to have at least a quadcore, gigabit-lan and 2-4GB ram.
  16. ls /sys/class/udc > UDC ls:write error: Device or resource busy I'm trying to get an armbian device (banana pi m2 zero and/or the orange pi zero LTS) to function as a USB client, but I can't seem to get the above step working. Any suggestions? lsof UDC returns nothing. On the RaspberryPI 4 this worked without issue
  17. I have built an image for BananaPi M3 using build and docker. I can install fine on 16GB cards, but anything larger is failing on the mmcblk0 partition resize and then is going into repeated fsck's and failed boots. I have built armbian debian stretch years before and had it installing and running fine on the BananaPi M3, on 256GB uSD Cards. I tried manually extending the partition from an imaged smaller one running parted followed by resize2fs and it had the same crashing on boot. The boots a bit too fast to ascertain where its crashing but it might be the uDev step. Can anyone offer any help with this
  18. Hello I'm quite new with armbian and Banana Pi, but have some experience with Raspberry PI. I started with Banana PI M2 Zero and armbian because of current unavailibility of Raspberry PI which is needed for some of my DIY pinball projects https://lisy.dev/ With a 5.15.48 Kernel Image I noted that the internal ethernet of M2 Zero is set to disabled, where with a 5.10.60 Kernel from the archive it works. After some investigation I used the "sun8i-h2-plus-bananapi-m2-zero.dtb" overlay from the 5.10 Kernel with a 5.15.43 Kernel and was happy that eth0 was working again. However as I think it is not advisable to mixing Kernel versions I wrote an user overlay which can activate eth0 on newer kernels (see code below) questions to the experts: - is my overlay code correct? - is an user overlay the right method to activate eth0? - if both answers to these questions is yes, is it worth to include that overlay to the armbian source and how to do that? thanks for your help /dts-v1/; /plugin/; / { model = "Banana Pi BPI-M2-Zero"; compatible = "sinovoip,bpi-m2-zero\0allwinner,sun8i-h2-plus"; /* * enable onboard eth0 on Banana PI M2 zero * which is disabled by default * bontango 08.2022 * * compile with * dtc -I dts -O dtb -o m2-zero-eth0.dtbo m2-zero-eth0.dts * move m2-zero-eth0.dtbo to /boot/overlay-user * add line "user-overlays=m2-zero-eth0" to /boot/armbianEnv.txt */ fragment@0 { target-path = "/aliases"; __overlay__ { ethernet0 = "/soc/ethernet@1c30000"; }; }; fragment@1 { target = <&emac>; __overlay__ { status = "okay"; phy-handle = <&int_mii_phy>; phy-mode = "mii"; allwinner,leds-active-low; }; }; };
  19. Hi guys I's possible to convert .bin file to text file. Could someone help me to do that. thank you
  20. Hi guy's urgent help needed, I have banana pi m2 zero and I need the hdmi Waveshare 7inch LCD settings help. I have tried to change the config file also dts file, none of those worked. Tried to build with hdmi lcd (internet help) - none Could any one point out what is need to be done to get it work? thank you
  21. Hi all, I recently bought a Banana BPI M2 Zero for a personal human-machine interaction project as this was the only (cheap) available option w.r.t. my specs (HDMI, entry-level OpenGL GPU, enough CPU power for the task). I got a version with Allwinner H3 (which in my view is good) and also read through the H3 buyer's guide. According to that guide, the CPU should be sourced by 1.3V, but to my (positive) surprise, I measured only 1.15V at the output coil (after the coil and against GND, of course) of the SY8113 regulator. However, there's certainly something not working as expected from the schematics: both, the SY8113 and the SY8089 1.2V regulators (SYSTEM+CPUX) should be connected to the same enable signal PWR-STB, but to my (negative) surprise the board only powers off (executing "poweroff") the SY8113 and all 3 other regulators still keep running. Power consumption in that state is even higher (~0.7-0.8W) compared to running linux idle (~0.5W). My expectation was that 3 of the 4 regulators (with the exception of 3V3) would be powered down. The 1.15V is in line with the schematics I have and possibly it's probably not reported correctly in the buyer's guide. I'm using Armbian_21.08.1_Bananapim2zero_hirsute_edge_5.13.12.img for my tests so far, but may switch to buildroot for deployment. Does anyone see a similar behaviour with the H3 version of the board? Best, Stephan
  22. Flashed the latest Jammy 5.15.48 image and the device went offline After connecting to HDMI I found out that RTL8188EUS is no longer available. Previous Focal image worked fine in headless mode with a `0bda:8179` dongle. Anyone knows why the driver has been removed? Thanks
  23. Hello. I reactivated my old BananaPi M1 to measure some Temperatures by Dalla1820-Sensors. This is working like a charm and I could resolve all the Problems I had. But now I want to use also one GPIO-Pin as an digital Input (via bash) But all manuals I found in the Internet didn't work. Every Time i try to setup a Pin by sudo echo (Pin-number) > /sys/class/gpio/export I get the message, that I don't have the rights to do this. Could it be, that the GPIO are not usable, when I activated 1wire ? (of course I used a different Pin as I use for 1wire) Or must I activate some more options as only "w1-gpio" in the armbian-config-Tool. I have experience with Linux, but not with the GPIO's it self. So maybe someone would be so kind and could explain it to me. Thanks a lot in advance Robert aka MaoDe
  24. Hi all, SPI has been enabled into /boot/armbianEnv.txt with: overlays=spi-spidev param_spidev_spi_bus=0 Nothing works knowing that the wiring between device and BPI has been checked more than 3 time. How can I check that SPI0 works well? where can I check that dtd file is correctly loaded? What are created files on fs when the spi port is correctly enabled? ==> Armbian 21.05.1 Focal with Linux 5.15.48-sunxi Many thanks
  25. After trying different distro for the BPI M2 Zero, I installed Armbian, and it works great with a standard 16:9 screen. Now I would like to use a bar LCD (Waveshare 7.9 inches); but the setup instructions are for RPI, not for Armbian, so I am not sure how you set up a screen that is not default (And I exclude that I can just plug in the screen and it will magically work. I am not using X interface since the BPI is quite slow, so I am in terminal. Thanks
×
×
  • Create New...