Armbian Buster and Bionic with 5.7.y

Started by igorpec, June 20, 2018, 12:12:56 pm

Previous topic - Next topic

baffo32

May 13, 2020, 02:13:51 pm #60 Last Edit: May 13, 2020, 10:51:04 pm by baffo32 Reason: solution found
Quote from: igorpec on February 19, 2020, 07:28:25 pmBump. Updated to 5.4.20

(mine seems to have some troubles with a keyboard, so I could not test, but we got reports its working)

igorpec so you know, I've just installed this via sd card and it looks wonderful but there is no desktop.  xfce has no icons or panels.

EDIT: igor resolved my issue on the armbian forums at https://forum.armbian.com/topic/14042-olimex-teres-latest-bionic/

igorpec

linux for ARM development boards
www.armbian.com

d3f

Thanks for the update, any idea how to get the audio working?

Regards,
Lazar

d3f

November 12, 2020, 08:43:22 pm #63 Last Edit: November 13, 2020, 01:06:09 pm by d3f
I managed to get the audio working.

First, asound.state should be updated under /var/lib/alsa. You can get it from here.

Second, on the alsamixer sun50i-a64-card audio card, there is a DAC that needs to be unmuted(if you unmute DAC Reverse, it also works, I don't know the difference).

Third, Line out is the mixer controlling the speakers, and Headphones is the mixer controlling the headphones but by default the audio jack is acting as serial output.

I found that GL9 pin should be 1 in order to get the audio through the jack. I have created bash script to set it up after login because I am not sure how to add it during uboot. 

#!/bin/bash

echo 361 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio361/direction
echo 1 > /sys/class/gpio/gpio361/value
echo 361 > /sys/class/gpio/unexport

I am using DWM and following xorg.conf

Section "Device"
Identifier "Lima"
# MatchDriver "sun4i-drm"
Driver "modesetting"
Option "PrimaryGPU" "true"
Option "HWCursor" "false"
Option "SwapbuffersWait" "true"
EndSection

Section "Monitor"
  Identifier  "Monitor0"
  Option      "DPMS" "false"
EndSection

Section "ServerFlags"
  Option "AutoAddGPU" "off"
  Option "BlankTime" "0"
  Option "StandbyTime" "0"
  Option "SuspendTime" "0"
  Option "OffTime" "0"
EndSection

I manage to get it 600 fps on glxgears. Youtube on 480p doesn't drop frames.

Regards,
Lazar