Search the Community
Showing results for tags 'bananapim2plus'.
-
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
-
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.
-
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
-
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
-
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
-
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?
-
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
-
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.
-
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
-
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
-
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
-
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!