Jump to content

Search the Community

Showing results for tags 'bananapim2plus'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Categories

  • Official giveaways
  • Community giveaways

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. Hi, I could enable "spidev" support by armbian-config -> system -> hardware (enable spidev) . Everything worked fine. However, the original spidev module supports messages only up to 4096 bytes. I compiled a new version of custom spidev.ko with the 32,768 buffer size. Then, converted it to spidev.ko.xz ( xz -v spidev.ko) and replaced the original file under /lib/modules/5.15.85-sunxi/kernel/drivers/spi/spidev.ko.xz The new module works fine when I install it manually: insmod /lib/modules/5.15.85-sunxi/kernel/drivers/spi/spidev.ko.xz However, after the reboot the original 4096-byte version of "spidev" module is loaded magically. It is loaded even if I remove the /lib/modules/5.15.85-sunxi/kernel/drivers/spi/spidev.ko.xz file. I searched through the whole micro-SD partition and cound not find any copy of spidev.ko.xz or spidev.ko Would you please explaine the mystery ? Thanks in advance
  2. Hello, could be possible to introduce the package with newest available GDB 13.2? The version 13.1 is rather unusable — it segfaults on regular basis.
  3. Hi All, I have a BPI-M2 ZERO, BANANA-PI-ZERO with SERIAL to USB plugged in. It's being detected by lsusb Bus 002 Device 005: ID 1a86:7523 QinHeng Electronics CH340 serial converter but it doesn't appear under /dev/ttyUSB0 The problem is that I can't see it under /dev/ as /dev/ttyUSB0. I haven't tried installing CH340 drivers yet. Should I use the ones for Ubuntu? Here is the tutorial I found but I'm not sure if those are the correct drivers: https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers/all uname -a Linux bananapim2zero 6.2.13-sunxi #1 SMP Wed Apr 26 12:30:09 UTC 2023 armv7l GNU/Linux sudo lsusb Bus 002 Device 006: ID 413c:2110 Dell Computer Corp. Dell Wired Multimedia Keyboard Bus 002 Device 005: ID 1a86:7523 QinHeng Electronics CH340 serial converter Bus 002 Device 004: ID 413c:1010 Dell Computer Corp. USB 2.0 Hub [MTT] Bus 002 Device 003: ID 05c6:f00e Qualcomm, Inc. Android Bus 002 Device 002: ID 0a05:7211 Unknown Manufacturer hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub sudo lsusb -t -v /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M ID 1d6b:0001 Linux Foundation 1.1 root hub |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M ID 0a05:7211 Unknown Manufacturer hub |__ Port 2: Dev 3, If 0, Class=Wireless, Driver=rndis_host, 12M ID 05c6:f00e Qualcomm, Inc. |__ Port 2: Dev 3, If 1, Class=CDC Data, Driver=rndis_host, 12M ID 05c6:f00e Qualcomm, Inc. |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 12M ID 413c:1010 Dell Computer Corp. |__ Port 4: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M ID 413c:2110 Dell Computer Corp. |__ Port 4: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M ID 413c:2110 Dell Computer Corp. /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M ID 1d6b:0002 Linux Foundation 2.0 root hub grep CH34 /boot/config-6.2.13-sunxi CONFIG_USB_SERIAL_CH341=m ls /dev/ | grep -i usb usb ls /dev/ | grep -i tty tty tty0 tty1 tty10 tty11 tty12 tty13 tty14 tty15 tty16 tty17 tty18 tty19 tty2 tty20 tty21 tty22 tty23 tty24 tty25 tty26 tty27 tty28 tty29 tty3 tty30 tty31 tty32 tty33 tty34 tty35 tty36 tty37 tty38 tty39 tty4 tty40 tty41 tty42 tty43 tty44 tty45 tty46 tty47 tty48 tty49 ttty5 tty50 tty51 tty52 tty53 tty54 tty55 tty56 tty57 tty58 tty59 tty6 tty60 tty61 tty62 tty63 tty7 tty8 tty9 ttyS0 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7
  4. https://paste.armbian.com/faquvejaxo works ok for my alternate 2G4 network. Scanning wifi does not show any 5G8 networks. From dmesg: bananapim2plus:brcm:% dmesg |grep -i brcm [ 7.495253] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 7.497405] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.bin failed with error -2 [ 7.497440] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.bin [ 7.871128] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt failed with error -2 [ 7.871159] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt [ 7.993563] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 7.995261] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 7.996183] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Mar 30 2016 11:30:56 version 7.45.77.h8.4 FWID 01-ee8a6268 [ 18.307085] Bluetooth: hci0: BCM43430A1 'brcm/BCM43430A1.hcd' Patch not sure if or how to apply hints from here thank you for all your work
  5. Hello, long time Banana Pi user here. I have a BPI-M2+ and recently decided to write Armbian_23.02.2_Bananapim2plus_bullseye_current_5.15.93_minimal.img to emmc. I am using cat6 over gigabit LAN and am seeing scp and rsync transfers to the device averaging 1.7mb/s. Transfering an 850mb file took unusually several minutes. It starts off at 40mb/s then quickly drops to under 2mb/s. Is this typical? I would think over LAN I would be seeing much faster speeds. Untarring this same 850mb archive also took unusually long. Could the emmc be damaged or on it's way out? How would I check? Please see armbianmonitor output. https://pastebin.com/RCaPzUEz
  6. raw_gadget compile failed make make -C /lib/modules/5.15.93-sunxi/build M=/root/raw-gadget-master/raw_gadget SUBDIRS=/root/raw-gadget-master/raw_gadget modules make[1]: Entering directory '/usr/src/linux-headers-5.15.93-sunxi' MODPOST /root/raw-gadget-master/raw_gadget/Module.symvers make[3]: *** No rule to make target '/root/raw-gadget-master/raw_gadget/raw_gadget.mod.o', needed by '/root/raw-gadget-master/raw_gadget/raw_gadget.ko'. Stop. make[2]: *** [scripts/Makefile.modpost:139: __modpost] Error 2 make[1]: *** [Makefile:1820: modules] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.93-sunxi' I cat Module.sysmvers in /usr/src/linux-headers-5.15.93-sunxi/ 0x00000000 ipu_cpmem_set_burstsize drivers/gpu/ipu-v3/imx-ipu-v3 EXPORT_SYMBOL_GPL 0x00000000 af_alg_free_resources crypto/af_alg EXPORT_SYMBOL_GPL 0x00000000 __traceiter_pnfs_mds_fallback_pg_get_mirror_count fs/nfs/nfsv4 EXPORT_SYMBOL_GPL 0x00000000 cfg80211_bss_flush net/wireless/cfg80211 EXPORT_SYMBOL 0x00000000 nf_nat_pptp_hook_outbound net/netfilter/nf_conntrack_pptp EXPORT_SYMBOL_GPL 0x00000000 adt7x10_remove drivers/hwmon/adt7x10 EXPORT_SYMBOL_GPL 0x00000000 i3c_generic_ibi_get_free_slot drivers/i3c/i3c EXPORT_SYMBOL_GPL 0x00000000 typec_unregister_plug drivers/usb/typec/typec EXPORT_SYMBOL_GPL 0x00000000 free_candev drivers/net/can/dev/can-dev EXPORT_SYMBOL_GPL 0x00000000 ipu_image_convert_sync drivers/gpu/ipu-v3/imx-ipu-v3 EXPORT_SYMBOL_GPL 0x00000000 __SCK__tp_func_bcache_journal_replay_key drivers/md/bcache/bcache EXPORT_SYMBOL_GPL 0x00000000 madera_dev_exit drivers/mfd/madera EXPORT_SYMBOL_GPL 0x00000000 flow_offload_free net/netfilter/nf_flow_table EXPORT_SYMBOL_GPL 0x00000000 nat_t120_hook net/netfilter/nf_conntrack_h323 EXPORT_SYMBOL_GPL 0x00000000 stm_data_write drivers/hwtracing/stm/stm_core EXPORT_SYMBOL_GPL 0x00000000 dm_array_walk drivers/md/persistent-data/dm-persistent-data EXPORT_SYMBOL_GPL 0x00000000 nci_core_reset net/nfc/nci/nci EXPORT_SYMBOL 0x00000000 ceph_cls_set_cookie net/ceph/libceph EXPORT_SYMBOL 0x00000000 inet_sk_diag_fill net/ipv4/inet_diag EXPORT_SYMBOL_GPL 0x00000000 arpt_unregister_table net/ipv4/netfilter/arp_tables EXPORT_SYMBOL 0x00000000 __traceiter_bcache_bypass_sequential drivers/md/bcache/bcache EXPORT_SYMBOL_GPL 0x00000000 rc_map_af9005_table_size drivers/media/usb/dvb-usb/dvb-usb-af9005-remote EXPORT_SYMBOL 0x00000000 stv0367ter_attach drivers/media/dvb-frontends/stv0367 EXPORT_SYMBOL 0x00000000 stv0367ddb_attach drivers/media/dvb-frontends/stv0367 EXPORT_SYMBOL 0x00000000 stv0367cab_attach drivers/media/dvb-frontends/stv0367 EXPORT_SYMBOL 0x00000000 gether_setup_name_default drivers/usb/gadget/function/u_ether EXPORT_SYMBOL_GPL 0x00000000 nvme_host_path_error drivers/nvme/host/nvme-core EXPORT_SYMBOL_GPL root@bananapim2plus:~/raw-gadget-master/raw_gadget/patches# why all 0x00000000?
  7. kernel version Linux bananapim2plus 5.15.93-sunxi #23.02.2 SMP Fri Feb 17 23:49:46 UTC 2023 armv7l GNU/Linux dmesg [ 1065.023248] udc-core: couldn't find an available UDC or it's busy [ 1065.023290] misc raw-gadget: fail, usb_gadget_probe_driver returned -16 [ 1193.665509] udc-core: couldn't find an available UDC or it's busy [ 1193.665534] misc raw-gadget: fail, usb_gadget_probe_driver returned -16 [ 2883.115015] udc-core: couldn't find an available UDC or it's busy [ 2883.115040] misc raw-gadget: fail, usb_gadget_probe_driver returned -16 [ 2908.077549] udc-core: couldn't find an available UDC or it's busy [ 2908.077574] misc raw-gadget: fail, usb_gadget_probe_driver returned -16 [ 2918.836034] udc-core: couldn't find an available UDC or it's busy [ 2918.836060] misc raw-gadget: fail, usb_gadget_probe_driver returned -16 [ 2941.725657] udc-core: couldn't find an available UDC or it's busy [ 2941.725681] misc raw-gadget: fail, usb_gadget_probe_driver returned -16 [ 2968.413688] udc-core: couldn't find an available UDC or it's busy [ 2968.413712] misc raw-gadget: fail, usb_gadget_probe_driver returned -16
  8. Good morning, I am using a version compiled with your script for Banana Pi M2 Berry to build a network HiFi streamer, and I am satisfied with it. I have installed LMS and Squeezelite, and everything is working great. Now I would like to add an Innomaker HAT AMP that has a 12V power connector that powers the Raspberry Pi at 5V via GPIO. The GPIO of the Banana Pi M2 Berry is declared compatible with the Raspberry Pi3, but I would like to be sure before frying the board in case it is not. Can you please confirm the total compatibility of the GPIO connector of the Banana Pi with that of the Raspberry Pi? Thank you for your response.
  9. Hello. Somehow TX on UART 3 is not working. I connected USB-UART converter or the Banana Pi Zero M2 UART 3 Pins (as it shown here https://bananapi.gitbook.io/bpi-m2/en/bpi-m2_gpio_pin_define), set Baud rate, but I can't send anything from the SBC to PC. But I can send messages from PC to Banana pi. The converter is working properly(tested on Arduino). Do you have any ideas why? Physically nothing looks damaged, wires are soldered accurately and correctly.... Some system info $ uname -r 6.1.2-sunxi $ cat /etc/os-release PRETTY_NAME="Armbian 23.02.0-trunk Jammy" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy $ cat /boot/armbianEnv.txt | grep overlay overlay_prefix=sun8i-h3 overlays=uart2 uart3
  10. Hi, We are using trying to use Banana PI M2+ for our application , we mainly use UART and Ethernet on module. uname -a details are below. Linux bananapim2plus 5.15.74-sunxi #22.08.6 SMP Tue Oct 18 07:00:33 UTC 2022 armv7l armv7l armv7l GNU/Linux We Enabled UART 3 by adding below command line on /boot/armbianEnv.txt as overlays=uart3 Pin Number: 8 & 10 We can able to transmit and receive data for uart3. We need to enable one more UART to communicate, We tried overlays=uart2 , We failed to enable, Can anyone guide us to enable one more UART in Banana pi M2+ Regards, K.L.Narayanan
  11. Hello, I have installed ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi on a Banana Pi M2+ and I need to read and write to the GPIO pins from a bash script, does anyone have a workable solution? I tried with an Orange Pi in the past and I compiled a binary to access the gpio values but it did not work and I cannot find that source any more. Thanks in advance.
  12. Is anyone prepared to sell me a 16Gb micro SD card preloaded with Raspbian O/S for Banana Pi BPi-M2 Berry board. I have been trying for some weeks now to install this O/S but I just can't get Phoenix Card to work. I have had lots of advice but none of it works. Can anyone help. Regards, robjim418@gmail.com
  13. Hi Mates, when i check my device with the dmesg command it looks like that my harddrive (connected WD Red Hard Drive via SATA) has an issue: 3.404949] mmc1: new high speed SDIO card at address 0001 [ 7.204630] ata1.00: exception Emask 0x0 SAct 0x2 SErr 0x0 action 0x0 [ 7.204662] ata1.00: irq_stat 0x40000000 [ 7.204676] ata1.00: failed command: READ FPDMA QUEUED [ 7.204686] ata1.00: cmd 60/08:08:00:66:54/00:00:57:00:00/40 tag 1 ncq dma 4096 in res 41/40:00:00:66:54/00:00:57:00:00/40 Emask 0x409 (media error) <F> [ 7.204718] ata1.00: status: { DRDY ERR } [ 7.204728] ata1.00: error: { UNC } [ 7.206016] ata1.00: configured for UDMA/133 [ 7.206081] sd 0:0:0:0: [sda] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=4s [ 7.206097] sd 0:0:0:0: [sda] tag#1 Sense Key : 0x3 [current] [ 7.206109] sd 0:0:0:0: [sda] tag#1 ASC=0x11 ASCQ=0x4 [ 7.206124] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 57 54 66 00 00 00 08 00 [ 7.206134] blk_update_request: I/O error, dev sda, sector 1465148928 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 this is the smartctl test of the Device: === START OF INFORMATION SECTION === Model Family: Western Digital Red Device Model: WDC WD7500BFCX-68N6GN0 Serial Number: WD-WX51E85ASKYJ LU WWN Device Id: 5 0014ee 6b103c0ae Firmware Version: 82.00A82 User Capacity: 750.156.374.016 bytes [750 GB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Mon Apr 18 10:37:22 2022 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (13680) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 155) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x703d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 33 3 Spin_Up_Time 0x0027 188 178 021 Pre-fail Always - 1583 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 86 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 072 072 000 Old_age Always - 20880 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 85 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 62 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 130 194 Temperature_Celsius 0x0022 117 105 000 Old_age Always - 30 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 3 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 20871 - # 2 Short offline Completed without error 00% 20868 - # 3 Short offline Completed without error 00% 20868 - # 4 Conveyance offline Completed without error 00% 20198 - # 5 Conveyance offline Completed without error 00% 20196 - # 6 Conveyance offline Completed without error 00% 20196 - # 7 Conveyance offline Completed without error 00% 20195 - # 8 Short offline Completed without error 00% 20060 - # 9 Short offline Completed without error 00% 19317 - #10 Short offline Completed without error 00% 18575 - #11 Short offline Completed without error 00% 17856 - #12 Short offline Completed without error 00% 17112 - #13 Short offline Completed without error 00% 16392 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. Someone can explain what to do? Will the drive die soon? - Thanks and happy Eastern!
  14. Hi, I had until yesterday an Armbian version from a year ago on the board, until then I never had problems with my network (WiFi). Yesterday I had then made an apt update + upgrate. After that, however, I suddenly had the problem that some access points are no longer found. This is so that my access point (Fritzbox), my mobile hotspot from smartphone (Samsung) and a network of a neighbor is no longer found. Other access points are still found, so there are still WiFi access points available but I can no longer find mine. Now I have installed the latest version today and still the same problem. Manual entry unfortunately brings nothing because the connection does not work. I have no idea what I can do and hope now someone here can help me. Thx and Best Pascal armbianmonitor.log
  15. Hallo, I hope the topic hasn't existed before .. I have an Bananpi M2+ as H5 (64bit). Good Images are OrangePi-PC2 or NanoPi K1 Plus. My problem is, no support of emmc. Are there any known compatible images for the Banana Pi M2 + H5 that work? The NanoPi K1 Plus has problems rebooting and recognizing a keyboard. The OranngeP PC2 works fine, but no emmc support. Thanks and Best wishes, Mahdi2006
  16. Hi guys, I searched for an answer but couldn't find a working one. Most answers from 2017 and it's not possible to answer there. Could someone please explain how to use the wifi and bluetooth module on Armbian 20.08.7 Bionic with Linux 5.8.13-sunxi (minimal without desktop)? ____ ____ _ __ __ ____ | __ )| _ \(_) | \/ |___ \ _ | _ \| |_) | | | |\/| | __) || |_ | |_) | __/| | | | | |/ __/_ _| |____/|_| |_| |_| |_|_____||_| Welcome to Armbian 20.08.7 Bionic with Linux 5.8.13-sunxi System load: 2% Up time: 35 min Memory usage: 8% of 998M IP: 192.168.190.164 10.0.191.1 CPU temp: 38°C Usage of /: 7% of 15G Last login: Fri Oct 9 01:39:57 2020 from 192.168.190.100 root@bananapim2plus:~# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.190.164 netmask 255.255.255.0 broadcast 192.168.190.255 inet6 2003:6:534c:7e44:81:41ff:fe4c:60a3 prefixlen 64 scopeid 0x0<global> inet6 2003:6:534c:7e44:71e3:4bfb:460:8389 prefixlen 64 scopeid 0x0<global> inet6 fe80::81:41ff:fe4c:60a3 prefixlen 64 scopeid 0x20<link> ether 02:81:41:4c:60:a3 txqueuelen 1000 (Ethernet) RX packets 109091 bytes 133851996 (133.8 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 55723 bytes 43126783 (43.1 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 38 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wg0: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1360 inet 10.0.191.1 netmask 255.255.255.255 destination 10.0.191.1 inet6 fdc9:281f:4d7:9ee9::1 prefixlen 64 scopeid 0x0<global> unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) RX packets 67472 bytes 80627672 (80.6 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 37220 bytes 30171772 (30.1 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether b0:f1:ec:fd:03:8d txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@bananapim2plus:~# cat /etc/network/interfaces source /etc/network/interfaces.d/* # Network is managed by Network manager auto eth0 iface eth0 inet static address 192.168.190.164 gateway 192.168.190.2 netmask 255.255.255.0 dns-nameservers 192.168.190.2 192.168.190.100 up ip route add 192.168.178.0/24 via 192.168.190.100 up ip route add 192.168.230.0/24 via 192.168.190.100 up ip route add 192.168.2.0/24 via 192.168.190.100 up ip route add 192.168.170.0/24 via 192.168.190.100 up ip route add 10.0.170.0/24 via 192.168.190.100 ## up ip route del default via 192.168.190.100 dev eth0 iface eth0 inet6 auto root@bananapim2plus:~# With armbian-config there is no chance to find any wifi or bluetooth device. I didn't configure wifi or bluetooth unter /etc/network/interfaces, but I need a static IPv4 adress on eth0.
  17. i just upgrade from jessie to armbian stretch (5.65) i check aplay -l, why only shows audio codec? anybody help? root@bananapim2plus:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0
  18. Is there anything that can be done about it? Something will start(e.g. minisatip, mumudvb) to disproportionately use the cpu and after a short time it will crash completely. A similar configuration works well on an OPI PC(Linux orangepipc 4.10.1-sun8i #1 SMP Sun Mar 5 18:47:02 CET 2017 armv7l GNU/Linux), but with newer versions it behaves just as incorrectly. I've tested other images (ubuntu, debian), but it's the same everywhere.
  19. Hi. For some days I was working to compile a customized live distro based on Armbian and live-boot for my BananaPi M2+ board. Finally, it is ready to use. It boots from the builtin emmc flash and is completely readonly. It uses overlayfs together with squashfs. It also uses zram as swap to enhance memory capacity. A nice effect is that the sd/flash image becomes only 400mb, since it is squashed.. I would share the image and the details of making it, if somebody is interested, send me a message...
  20. Symptoms: Board does not boot Armbian from inserted SD card, but may boot other distributions (based on old/legacy u-boot). Following or similar output can be grabbed from the serial console: U-Boot SPL 2017.01-armbian (Feb 02 2017 - 03:04:04) DRAM: 2048 MiB Trying to boot from MMC1MMC: no card present spl: mmc init failed with error: -123 SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### The key message here is "MMC: no card present" Most likely cause: Malfunctioning microSD slot card detect switch. It can be verified either visually (with a magnifying glass) or electronically (with a multimeter) - at least in the slots used on Orange Pi boards and on Pine64 the pin near the switch should be shorted to the ground (i.e. SD slot casing) when card is inserted. Illustration (example) of a working switch: Verification (with a multimeter): Probe 1 - slot pin near the switch (may be different for different slot types, but at least true for Oranges and Pine64) Probe 2 - microSD slot casing or other parts connected to GND (not shown on the photo) No card - circuit is open Card inserted - circuit is shorted Photos - card is not inseted on the left and is fully inserted on the right: Orange Pi Pine64 (switch is more visible) Can it be fixed? Yes if the switch is not broken completely, by carefully adjusting (bending) the stationary contact (left on the pictures and photos, it usually is a part of the SD slot casing) i.e using a needle so it touches the moving contact (mostly hidden inside the slot on the photos) when card is inserted and not touching it when it is not inserted.
  21. I got a non-booting BPiM2+ after running `apt dist-upgrade`. I started with a fresh installation using the `Armbian_20.05.2_Bananapim2plus_focal_current_5.4.43_desktop.img` image. After log in I get from dpkg: ii linux-image-current-sunxi 20.05.2 armhf Linux kernel, version 5.4.43-sunxi ii armbian-firmware 20.05.2 all Linux firmware Then I updated the system via apt dist-upgrade and now I have ii linux-image-current-sunxi 20.05.3 armhf Linux kernel, version 5.4.45-sunxi ii armbian-firmware 20.05.3 all Linux firmware installed. After reboot, uboot claims a corrupt ramdisk: Found U-Boot script /boot/boot.scr 3789 bytes read in 6 ms (616.2 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 223 bytes read in 5 ms (43 KiB/s) 13649855 bytes read in 651 ms (20 MiB/s) 7163856 bytes read in 344 ms (19.9 MiB/s) Found mainline kernel configuration 30305 bytes read in 19 ms (1.5 MiB/s) 339 bytes read in 13 ms (25.4 KiB/s) Applying kernel provided DT overlay sun8i-h3-analog-codec.dtbo 4185 bytes read in 14 ms (291 KiB/s) Applying kernel provided DT fixup script (sun8i-h3-fixup.scr) ## Executing script at 44000000 ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 13649791 Bytes = 13 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC Ramdisk image is corrupt or invalid SCRIPT FAILED: continuing... I tried it with several SD Cards as well as the internal eMMC and I got the same result in all cases.
  22. Hi all, I've been struggling with the issue in the topic for a few days now. Actually the ideal solution would be a read-only root file system (with a writable overlayfs on top), so that I can just turn the power off, without risking any SD-card/filesystem corruption. There seems to be an easy solution for that according to this page: https://docs.armbian.com/User-Guide_Advanced-Features/ section "How to freeze your filesystem?". But the package "overlayroot" that is mentioned there does not seem to be available for Debian (Armbian Stretch). A quick attempt to adopt the overlayfs-startup scripts to Debian failed, because Debian is using systemd and the script that I found was obviously for sysv-init. Anyway, next best solution that I searched for was using the on-board power button to shut down the system. I found two posts that seemed like a solution: using acpid and adding a udev-rule to detect the onboard power button as acpi-power-button. But neither of the two worked on my BananaPi M2+ board. https://frank-mankel.de/kategorien/10-bananapi/62-bananapibananapro-powerbutton https://stackoverflow.com/questions/53757996/banana-pi-m2-execute-script-when-power-button-was-pressed-via-udev-does-not-wo I've not been able to see any events in acpid (acpi_listen or in the acpi-log files) when pressing the power button. And in the meantime, I doubt, that it can work on the BananaPi M2+, as the power button is connected to one of the GPIO-Pins here. What I did manage to do so far, after inspecting the circuit diagrams of the board and thus finding out which GPIO-pin the power button is connected to, is to write a little python program that estabilshes an interrupt when that GPIO shows a fallig edge (i. e. when the power button is pressed) and then shuts down the system. This python script I have installed as a systemd service. So currently, I managed to shut down the BananaPi by pressing the power button. (For anyone who is interested: I uploaded the source code to GitLab here: https://gitlab.com/cIdde/bananapim2pluspowerbuttonshutdownservice ) Anyway, I am still interested in the readonly-root / overlayfs / overlayroot solution for Debian stretch, as this is safer in the long run. Does anyone have any pointers for me there? Has anyone tried that already or is there a solution for the u-boot / systemd combination that would be easy to adopt?
  23. hello I have a module of teleinformation on my GPIO port which must work on the UART 3 but I do not know at all how to configure it and it does not work, could you help me? I am under armbian 5.90. here is the link to my telinformation module: PiTinfo thank you in advance for your help
  24. Hi all, I wrote this dts to enable a high PG12 pin int the Bananapi M2P H3 can it be okay? /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&pio>; __overlay__ { bt_pins:bt_pins { allwinner,pins = "PG12"; allwinner,function = "gpio_out"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { bt: bt { compatible = "gpio-bt"; gpios = <&pio 6 12 1>; }; }; }; };
  25. Hi all, I'm starting with armbian and Banana pi m2p card. I entered image 4.19.21-sunxi, I can not make BT work. with armbian-config I have enabled the BT, next systemctl start bluetooth. with systemctl status bluetooth: Feb 18 18:01:30 bananapim2plus systemd[1]: Starting Bluetooth service... Feb 18 18:01:30 bananapim2plus bluetoothd[1779]: Bluetooth daemon 5.48 Feb 18 18:01:30 bananapim2plus bluetoothd[1779]: Starting SDP server Feb 18 18:01:30 bananapim2plus systemd[1]: Started Bluetooth service. Feb 18 18:01:30 bananapim2plus bluetoothd[1779]: Bluetooth management interface and root@bananapim2plus:~# bluetoothctl Agent registered [bluetooth]# show No default controller available where am I wrong? Thanks
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines