Search the Community
Showing results for tags 'bananapim4zero'.
-
Hi, I just got my BPI-M4 Zero running, however I do not know how to get HDMI Audio output working (if it's possible at all) I installed: - Armbian_25.2.0-trunk.414_Bananapim4zero_trixie_current_6.6.72_minimal.img # uname -r 6.6.72-current-sunxi64 # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Armbian 25.2.0-trunk.414 trixie Release: n/a Codename: trixie # aplay -l aplay: device_list:279: no soundcards found... # aplay -L null Discard all samples (playback) or generate zero samples (capture) pipewire PipeWire Sound Server default Default ALSA Output (currently PipeWire Media Server) # pacmd list-sinks No PulseAudio daemon running, or not running as session daemon. # pactl info Connection failure: Connection refused pa_context_connect() failed: Connection refused Is it possible? And if so, do I need some additional drivers or packages, or what do I need to configure? Edit: More Info: # alsa-info upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.5.3 !!################################ !!Script ran on: Thu Mar 27 14:21:54 UTC 2025 !!Linux Distribution !!------------------ LINUXFAMILY=sunxi64 ARCH=arm64 INITRD_ARCH=arm64 LINUXFAMILY=sunxi64 ARCH=arm64 INITRD_ARCH=arm64 NAME="Debian GNU/Linux" ID=debian !!DMI Information !!--------------- Manufacturer: Product Name: Product Version: Firmware Version: System SKU: Board Vendor: Board Name: !!ACPI Device Status Information !!--------------- !!ACPI SoundWire Device Status Information !!--------------- !!Kernel Information !!------------------ Kernel release: #1 SMP Fri Jan 17 12:36:27 UTC 2025 Operating System: GNU/Linux Architecture: aarch64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k6.6.72-current-sunxi64 Library version: Utilities version: 1.2.13 !!Loaded ALSA modules !!------------------- !!Sound Servers on this system !!---------------------------- PipeWire: Installed - Yes (/usr/bin/pipewire) Running - No No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- --- no soundcards --- !!Modprobe options (Sound related) !!-------------------------------- snd_pcsp: index=-2 snd_atiixp_modem: index=-2 snd_intel8x0m: index=-2 snd_via82xx_modem: index=-2 !!Loaded sound module options !!--------------------------- !!Sysfs card info !!--------------- !!Card: /sys/class/sound/card* Driver: Tree: !!ALSA Device nodes !!----------------- crw-rw---- 1 root audio 116, 1 Mar 27 12:18 /dev/snd/seq crw-rw---- 1 root audio 116, 33 Mar 27 12:18 /dev/snd/timer !!Aplay/Arecord output !!-------------------- APLAY aplay: device_list:279: no soundcards found... ARECORD arecord: device_list:279: no soundcards found... !!Amixer output !!------------- !!Alsactl output !!-------------- --startcollapse-- --endcollapse-- !!All Loaded Modules !!------------------ binfmt_misc bluetooth bnep brcmfmac brcmfmac_wcc brcmutil bridge btbcm btintel btqca btrtl cfg80211 cpufreq_dt display_connector dump_reg dw_hdmi_cec dw_hdmi_i2s_audio ecc ecdh_generic fuse hci_uart lz4 lz4hc mc nf_conntrack nf_conntrack_netlink nf_defrag_ipv4 nf_defrag_ipv6 nf_nat nf_tables nfnetlink nft_chain_nat nft_compat overlay polyval_ce polyval_generic rfkill snd_soc_hdmi_codec sunxi_cedrus v4l2_mem2mem veth videobuf2_common videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev xfrm_algo xfrm_user xt_MASQUERADE xt_addrtype xt_conntrack xt_nat zram !!ALSA/HDA dmesg !!-------------- [ 1.480279] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy regulator [ 1.480506] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY) [ 1.480792] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin [ 1.481012] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.481279] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff800080edc418) -- [ 1.670758] clk: Disabling unused clocks [ 1.670903] ALSA device list: [ 1.670912] No soundcards found. [ 1.680123] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00 -- [ 43.283245] WARNING: CPU: 3 PID: 1123 at fs/namespace.c:1245 cleanup_mnt+0x100/0x128 [ 43.283272] Modules linked in: xt_nat veth nf_conntrack_netlink xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge xfrm_user xfrm_algo xt_addrtype nft_compat nf_tables overlay bnep lz4hc brcmfmac_wcc lz4 hci_uart sunxi_cedrus(C) brcmfmac btqca btrtl brcmutil snd_soc_hdmi_codec btintel v4l2_mem2mem btbcm videobuf2_dma_contig bluetooth polyval_ce videobuf2_memops videobuf2_v4l2 ecdh_generic videodev ecc polyval_generic dw_hdmi_cec dw_hdmi_i2s_audio videobuf2_common mc zram dump_reg display_connector cpufreq_dt cfg80211 rfkill binfmt_misc fuse nfnetlink [ 43.283426] CPU: 3 PID: 1123 Comm: dockerd Tainted: G C 6.6.72-current-sunxi64 #1 !!Packages installed !!-------------------- ii alsa-utils 1.2.13-1 arm64 Utilities for configuring and using ALSA
-
Looking at the new BPI M4 zero to replace a RPI zero. The official build listed does not have gpio turned or maybe just not built into the kernel. If I download the image from the BPI website it has it but it based on bullseye and the image is broke. I built my own image but still no go so I am not sure what is wrong. I have built images for other boards and projects with success so that's not the problem. I have a 3.5" TFT touch screen and some relays that I need to run along with a sensor.
-
Hoping someone can help me out. When I use the desktop images from the following page: https://www.armbian.com/bananapi-m4-zero/, I get my display properly identified (connected via HDMI) and can change resolution, rotation, etc. However, as with noted in other posts, these do not have WiFi. In order to get WiFi working, I use the image from here: https://docs.banana-pi.org/en/BPI-M4_Zero/BananaPi_BPI-M4_Zero. For my needs, this image works fine with the one exception. It does not detect the display and only shows default with no ability to change settings. I have poked around and tried to find a solution but am coming up empty. Is there some trick to get the display propagated properly with the working-wifi build? Thanks!
-
Hi all, i just stumbled upon the Bana Pi M4 Zero while searching for an pi zero 2w alternative that features at least 5ghz network support. My use case is explained quickly, I want to use g_mass_storage to create an smart usb stick device. I can't use libcomposite, since old devices (and it's going to be used with old tech) don't support composite as far as I know. Is g_mass_storage supported by default or would I have to compile my own kernel/image?
-
Dear Community, I'll build a Developer Team specially for Banana Pi Boards!" GPIO Libarys I started updating/modifing the old GPIO-Libarys, so they can be used on the latest builds! I want to build a Team, for GPIO-Libary Development, for porting these Libarys: WiringPi-Node WiringPi-PHP WiringPi-Perl WirinigPi-Ruby gpiozero rpi-gpio Updating and modifying these: RPi.GPIO BPI-WiringPi2-Python BPI-WiringPi2 At the end, all currently working GPIO Libarys are: luma.oled RPi.GPIO BPI-WiringPi BPI-WiringPi2 BPI-WiringPi2-Python Armbian Build System for Banana Pi I started building the build-system for full banana pi support! Anyone who would like to join the developer-team, just pn me, post in this thread, or contact me on github or discord!" I created a GIthub-Organisation for this project and a Discord Server. A Domain & VPS Server is commin Monday!" Goals: Support ONLY for Banana Pi Boards Board Determiner Script which exports Board-Infos, required by gpio-libs (usual located at: /var/lib/bananapi) APT-Mirror Archive Hosted by our project-teams vps-server! ( Mirror stores all latest gpio-libarys we specially build for using on latest builds and other packages we'll develope in future) Added APPGROUPS: Pentesting, TV-Box, Server-Side, Game Desk & Development Revised menu for selecting extensions and other additional items Revised config menu Adding additional build options A Web-Based Project-Server Hosted Build-System will be build and available on the project-page, where you can build images remotely, according to you settings made in the WebInterface, with live progress & build-log + downloading compressed own image-release. A publish option will be added to, where you can upload your builded image to any Cloud/Storage we provide. Revised device trees According to APPGROUPS and Enabled Extensions: I2C, SPI, UART are enabled in the gpio_develope extension, and all requirements for gpio-programming are pre-installed, the gpio libs are pre-installed too. If you have some Ideas, what we could add or which wishes we can make true, just reply in this post, or contact us. Github Organisation Discord greetz, hexzhen3x7
- 5 replies
-
- Banana Pi M4 Zero
- Banana Pi M7
-
(and 18 more)
Tagged with:
- Banana Pi M4 Zero
- Banana Pi M7
- Banana Pi F3
- Banana Pi M5 Pro
- Banana Pi
- Banana Pi BPi-M2+
- Banana Pi BPI-M64
- Banana Pi BPI-M1+
- Banana Pi BPI-M2
- Banana Pi BPI-M2U
- Banana Pi BPI-M2 ZERO
- Banana Pi BPI-M3
- Banana Pi BPI-R2
- Banana Pi BPI-M1
- Banana Pi BPI-M2 Pro
- Banana Pi M5
- Banana Pi BPi-M2S
- Banana Pi BPI-R2 Pro
- Bananapi CM4 io
- Banana Pi Pro
-
Hi, I'm trying to setup the wifi with the image: Armbian 24.8.1 Bookworm Minimal / IOT But there is no wlan0 on the ip a command. Can you please give me a hint on how to setup the wifi with the bananapi M4 zero? I have also tried the server image debian12 but found the same issue. FYI I tried an image from the BPI M4 zero website: 20240819-Bananapi-Armbian_24.8.0-trunk_Bpi-m4zero_Debian12 And there is wlan0 so I successfully configured the wifi ( but there is no bananapi-config to copy the image to the emmc but that's another story... ) Thanks in advance!
-
Hi everyone. Tried stable and experimental builds. Also build my own image. All 6.x kernels don't seem to have a working wifi on this board. Tried modprobe brcmfmac without any luck - module loads but no wlan0 comes up. The board to my understanding has CYW43455 chip (from Cypress). Apparently there are several variations of BPI M4 Zero. The only image that has working wifi is from BPI website but it's a backports build with 5.4 kernel, so fairly old and outdated (running an upgrade makes the board unbootable). Any ideas? Thanks in advance.
-
I set up a new Banana Pi M4 Zero, with an HDMI monitor that had previously been used with a Raspberry Pi, a USB hub with a keyboard and mouse. I downloaded the Armbian Ubuntu Jammy desktop, the activity light flashed a bit but no video. I soldered a header to the debug serial pads and connected to a PC through a serial to USB converter. Using that link I could see the boot process, and communicate. I used armbian-config to set up wifi etc, but still no video. I have tried Jammy minimum, and both Debian downloads but still no video. There appears to be nothing coming across the HDMI connection, the monitor detects that there is a physical connection but no video. The same thing with a second monitor. Looking at the u-boot environment, it shows console=both, disp_mode = 1080p60, fb0_width= 1920,fb0_height= 1080 all of which are within the capabilities of the monitors, but still no video. Am I missing a driver or something?
-
@ag123, @c0rnelius, and anyone else that has interest in sound on these devices. I have been able to put together a patch that enables audio for H161/H618 devices. So far only audio on HDMI works. Analog audio is still generating an error on startup. The patches were taken from a git repository by warpme: https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-6.6/files , and probably came from the Zunlong SDK. A lot of the code was written by Allwinner. @pixdrift generated a version of the patches for Armbian and I continued to work on them. I have a git repository if anyone would like to test, particularly on boards other than orangpizero3, on which I have tested. repository: https://github.com/stephengraf/armbian_build_sg.git There is another repository mentioned in the Armbian Forum: https://github.com/NickAlilovic/build If anyone has interest and skills to debug the analog audio, the dmesg errors are: [ 7.125509] ahub_dam-snd-soc-dummy-dai: substream ahub_dam-snd-soc-dummy-dai has no playback, no capture [ 7.125539] sunxi-snd-mach soc:ahub_dam_mach: ASoC: can't create pcm ahub_dam-snd-soc-dummy-dai :-22 [ 7.125780] sunxi-snd-mach: probe of soc:ahub_dam_mach failed with error -22
- 34 replies
-
1
-
- Banana Pi M4 Zero
- Orange Pi Zero 2
-
(and 1 more)
Tagged with:
-
Good afternoon. I have great respect for your work (I signed up for an Individual subscription and made a small contribution to Funding equipment in April 2023) Question about Bananapi M4 Zero board The board is assigned the status "Standard Support", but there are no links to a stable image (for example Armbian 24.2.1 Bookworm CLI). There are only links to daily/rolling releases. I understand how much time and effort goes into maintaining a large number of boards. Tell me, can we hope for the appearance of stable firmware versions for Bananapi M4 Zero?