Dreamcatcher Armbian Code Snippets

Workaround to avoid destroying image when upgrading to 5.30 Armbian (as of 2017-06-16)

“If you want to upgrade but skip upgrading the kernel packages so you can still (re)boot, make sure to execute this prior to running sudo apt upgrade and you should be good:

sudo apt-mark hold linux-dtb-next-sunxi linux-headers-next-sunxi linux-image-next-sunxi linux-firmware-image-next-sunxi 

This will mark those packages as held back and they won't be upgraded until you sudo apt-mark unhold them.”

Many thanks to our forum member unixpunk for the workaround!

http://forums.outernet.is/t/dreamcatcher-dont-upgrade-kernel-to-5-30-starting-today/3652/4


Enabling Audio PA

sudo su

cd /sys/class/gpio

echo 114 > export

cd gpio114

echo out > direction

echo 1 > value

Running “alsamixer”, turn up the volume (navigate with cursors, cursor up volume up) and un-mute all channels (pressing “m” key while cursor on them)

Speaker amplifier output vias near C42, C43:


Selecting LNA_BYPASS SMA (external LNA option)

sudo su

cd /sys/class/leds/rfswitch1/

echo 1 > brightness

cd /sys/class/leds/rfswitch2/

echo 0 > brightness

Selecting LNA_IN SMA (internal LNA)

sudo su

cd /sys/class/leds/rfswitch1/

echo 0 > brightness

cd /sys/class/leds/rfswitch2/

echo 1 > brightness

Turning on bias tee on LNA_BYPASS SMA

(68 mA current limit set by R76/100k)

sudo su

cd /sys/class/gpio

echo 119 > export

cd gpio119

echo out > direction

echo 1 > value