Skip to content
Archive — this guide belongs to a discontinued product. Details and links may be out of date.

TR3 Installation

By default our Tuxradio is shipped with out-of-the-box Cubieez-Image pre-installed. Default IP Address and Passwords you find at link above. You may connect the TuxRadio directly to a HDMI Monitor and Keyboard for first time configuration.

Use any other NAND image for Cubieboard 2 or similar. Follow the steps below to enable access to special internal features of a TuxRadio3.

mount /dev/nanda /boot wget http://files.busware.de/tuxradio3/tuxradio3.fex fex2bin tuxradio3.fex /boot/script.bin reboot

mount /dev/nanda /boot vi /boot/uEnv.txt

and add: nand_root=/dev/nandb mac_addr=[mac]

/dev/ttyS1 - built-in CSM (38400 Baud) /dev/ttyS2 - PIGATOR expansion slot

apt-get install libdevice-serialport-perl wget http://fhem.de/fhem-5.6.deb dpkg -i fhem-5.6.deb

/etc/init.d/fhem stop

vi /opt/fhem/fhem.cfg

and add: define CSM CUL /dev/ttyS1@38400 0000

/etc/init.d/fhem start

modprobe gpio-sunxi

1 - CSM Boot Select 2 - CSM Reset

3 - PIGATOR Boot Select 4 - PIGATOR Reset

make gpios “visable”

echo 1 > /sys/class/gpio/export echo 2 > /sys/class/gpio/export echo 3 > /sys/class/gpio/export echo 4 > /sys/class/gpio/export

echo 2 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio2_ph3/direction echo 0 > /sys/class/gpio/gpio2_ph3/value echo 1 > /sys/class/gpio/gpio2_ph3/value

echo 4 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio4_ph11/direction echo 0 > /sys/class/gpio/gpio4_ph11/value echo 1 > /sys/class/gpio/gpio4_ph11/value

In case you want to bootload the CSM/PIGATOR: set gpio1 / gpio3 to value to “0” before Reset

add to /etc/rc.local:

modprobe i2c-sunxi echo at24 0x50 > /sys/class/i2c-adapter/i2c-0/new_device sleep 1 hwclock -s

remove fake-stuff:

apt-get remove fake-hwclock rm /etc/cron.hourly/fake-hwclock update-rc.d -f fake-hwclock remove rm /etc/init.d/fake-hwclock update-rc.d hwclock.sh enable