Raspberry Pi

Images
https://www.raspberrypi.org/downloads/

# Raspbian (Debian Jessie)
sudo umount /dev/mmcblk0*
wget -q http://director.downloads.raspberrypi.org/raspbian/images/raspbian-2016-02-29/2016-02-26-raspbian-jessie.zip -P /tmp
unzip -p /home/pako/Downloads/2016-02-26-raspbian-jessie.zip | sudo dd of=/dev/mmcblk0
sync

wget -q http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2016-02-29/2016-02-26-raspbian-jessie-lite.zip -P /tmp

View used codecs
for codec in H264 MPG2 WVC1 MPG4 MJPG WMV9 ; do \
echo -e "$codec:\t$(vcgencmd codec_enabled $codec)" ; \
done

Get raspery info
vcgencmd get_config int

# OpenELEC (Kodi) for Raspberry Pi3
http://openelec.tv/get-openelec

# create boot SD-card
URL=http://releases.openelec.tv/OpenELEC-RPi2.arm-6.95.1.img.gz
#wget -q "${URL}" -O - | gzip -d | sudo dd of=/dev/mmcblk0
sudo umount /dev/mmcblk0*
wget -q "${URL}" -P /tmp
zcat /tmp/${URL##*/} | sudo dd of=/dev/mmcblk0
sync

LibreELEC
https://libreelec.tv/
zcat /tmp/LibreELEC-RPi2.arm-7.95.3.img.gz | sudo dd of=/dev/mmcblk0

Enable MPEG decoder
mount -o remount,rw /flash/
LICENSE_KEY=0x12345678
sed -i "s|^#.*decode_MPG2=0x.*$|decode_MPG2=${LICENSE_KEY}|g" /flash/config.txt
reboot

http://elinux.org/R-Pi_Troubleshooting

# Fix HDMI: force HDMI even if unplugged or powered off
mount /flash -o remount,rw
sed -i 's|#hdmi_force_hotplug=1|hdmi_force_hotplug=1|' /flash/config.txt

Links
http://elinux.org/RPiconfig
http://www.elinux.org/RPI_vcgencmd_usage
http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pi
http://cascadia.debian.net/trenza/Documentation/raspberrypi-ltsp-howto/