-
Upcoming Events
-
-
Volunteering positions
-
Test Automation Engineer
Position: Software integration test engineerNumber of places: 16Applicants: 8
-
-
Chat | Social Media
#armbian at
irc.libera.chat or irc.oftc.net
Matrix or Discord
Mastodon | 𝕏 -
Popular Now
-
Activity Stream
-
2
No audio output via I²S (PCM5102) on Orange Pi Zero 2W (H618)
Just today I ran into an error "aplay: no soundcards found" I decided to follow the sequence of actions below, log in to root: ### **Symptoms** * `aplay -l` → **no soundcards found** * in `/proc/asound/cards' — empty * there is no "analog-codec" item in `armbian-config` * The sound through the mini jack does not work * the DT output ('dtc -I fs') indicates that the codec is present but not active The reason is always the same: **the kernel/DT does not include AHUB + codec machine-driver**, so ALSA does not create maps. --- > I also created the default alsa config ``` nano /etc/asound.conf ``` Inserted there so far: `` pcm.!default { type hw card 0 device 0 } ctl.!default { type hw card 0 } ``` # **Solution** ## **1. Set the desired audio overlay: `sun50i-h616-audiogpu`** ### 1.1 Cloning the repository ```bash cd /root git clone https://github.com/hviana/orangepizero2w-audio.git cd orangepizero2w-audio ``` ### 1.2 There is already a ready-made file in the repository: ``` sun50i-h616-audiogpu.dtbo ``` You don't need to compile anything. ### 1.3 Copying the overlay to the desired location ```bash mkdir -p /boot/dtb/allwinner/overlay cp sun50i-h616-audiogpu.dtbo /boot/dtb/allwinner/overlay/ ``` --- ## **2. Configure `/boot/armbianEnv.txt `** Open: ```bash nano /boot/armbianEnv.txt ``` And set **two required lines**: ```ini overlay_prefix=sun50i-h616 overlays=audiogpu ``` Delete old attempts like `analog-codec`, `sun8i-h3-codec`, etc. Save → Exit. --- ## **3. Reboot** ```bash reboot ``` --- ## **4. Check the sound after downloading** ```bash aplay -l ``` It should appear: ``` card 0: audiocodec [...] card 1: ahubi2s0 [...] card 2: HDMI [...] ``` If there are cards, the sound is restored. important! WORKING WITH SOUND (for example, playback) SHOULD BE DONE NOT FROM UNDER THE root USER, BUT FROM UNDER THE REGULAR USER! If PulseAudio, for example, is running from the system from root, then the devices may not be available. Also, if you use Home Assistant Supervised, then docker will have a self-healing hassio_audio container that will run Pulse Audio from root on the host machine and thereby block all devices. You won't be able to control the sound in this case. There's an addon that's supposed to kill this container every time it starts, but it doesn't work properly for me. Literally now, I've run out of nerves, and I've taken down my system. I will try installing Proxmox or in Docker -
2
File when downloading via a link Armbian_25.5.1_Orangepizero2w_bookworm_current_6.12.23_minimal damaged
Problem is in Balena decompression of xz files. Use USB imager or something else (or 2 years old version of Balena). It will work. We filed bug when it was discovered, but it was not fixed by this day. We can't fix this app for them ... BTW. Its all here: https://docs.armbian.com/User-Guide_Getting-Started/#flash-to-sd-card -
-
7
RTC running on current Armbian release??
Thanks for the tips. The following overlay works on a c2 /dts-v1/; / { compatible = "amlogic,meson-gxbb"; fragment@0 { target-path = "/aliases"; __overlay__ { i2cA = "/soc/bus@c1100000/i2c@8500"; }; }; fragment@1 { target-path = "/soc/bus@c1100000/i2c@8500"; __overlay__ { #address-cells = <1>; #size-cells = <0>; pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay"; }; }; }; }; -
2
Setup for current Armbian/Ubuntu (25.8.2) for PCF8563 RTC on C2
Turns out the secret was getting the address and symbols right in the device tree. I create the following as meson-pcf8563.dts, compiled into meson-pcf8563.dtbo, moved to /boot/dtb/amlogic/overlay, and added pcf8563 to the "overlays" line in armbianEnv.txt. /dts-v1/; / { compatible = "amlogic,meson-gxbb"; fragment@0 { target-path = "/aliases"; __overlay__ { i2cA = "/soc/bus@c1100000/i2c@8500"; }; }; fragment@1 { target-path = "/soc/bus@c1100000/i2c@8500"; __overlay__ { #address-cells = <1>; #size-cells = <0>; pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; status = "okay"; }; }; }; };
-
-
Member Statistics
