Raspberry Pi

Lista dei dispositivi di memoria presenti

ls -l /dev/disk/by-uuid/

Disabilitare i logo su console

  • in /boot/cmdline.txt aggiungere logo.nologo

Creazione microSD

dd bs=4M if=2017-02-16-raspbian-jessie.img of=/dev/sdd

Debug port

Raspberry pi 3 has changed things a bit and you might need to add the option enable_uart=1 at the end of /boot/config.txt.

Abilitazione sshd a rispondere e al login del root

File: /etc/sshd/sshd_config


PermitRootLogin yes

Far ripartire sshd:

sudo service ssh restart

Configurazione WiFi

Abilitazione ssh al boot

touch /bootssh

Configurazione WiFi sia come AP che come client

Configurazione tastiera

$ sudo dpkg-reconfigure keyboard-configuration

Creare una microSD su Mac

Debian completa

sudo dd bs=1m if=2016-02-26-raspbian-jessie.img of=/dev/rdisk2

Debian lite

sudo dd bs=1m if=2016-02-26-raspbian-jessie-lite.img of=/dev/rdisk2

Creare una microSD su Linux

Debian completa

sudo dd bs=4m if=2016-02-26-raspbian-jessie.img of=/dev/sdb

Debian lite

sudo dd bs=4m if=2016-02-26-raspbian-jessie-lite.img of=/dev/sdb


Togliere il logo Raspberry e la console al boot da hdmi

logo.nologo dwc_otg.lpm_enable=0 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait


# For more options and information see 
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border

# uncomment to force a console size. By default it will be display's size minus
# overscan.

# uncomment if hdmi display is not detected and composite is being output

# uncomment to force a specific HDMI mode (this will force VGA)

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display

# uncomment for composite PAL

#uncomment to overclock the arm. 700 MHz is the default.



Compilazione ffmpeg su Raspberry

ciao sergio buongiorno... ho installato ffmpeg sulla raspberry ci ha messo una mattinata ma l'ha fatto senza problemi ci ho mecompilato anche tutti i coed viedeo e audio ti passo i comandi se ti devessero servire

cd /usr/src
sudo git clone git://git.videolan.org/x264
cd x264
sudo ./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
sudo make -j4
sudo make install

cd /usr/src
sudo git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
sudo ./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
sudo make -j4
sudo make install