RaspberryPi
Contents
- 1 Comandos basicos do Linux
- 2 Gravando SD Card com imagem
- 3 links de imagem ubuntu ARM para raspberry
- 4 Usando GPIO
- 5 Reduzindo Consumo, Desligando wifi e BT
- 6 Forçando HDMI como saída padrão
- 7 Opções para definir resolução, formato de tela e etc no arquivo config.txt
- 8 Instalar servidor VNC
- 9 Prevent turning off screen or blank the screen
- 10 Raspbian Lite with RPD/LXDE/XFCE/MATE/i3/Openbox/X11 GUI
- 11 Colocando em Modo Quiosque
- 12 Cross-Compiling
- 13 Emulando Arm no QEmu
Comandos basicos do Linux
https://www.raspberrypi.org/documentation/linux/usage/commands.md
Gravando SD Card com imagem
https://learn.sparkfun.com/tutorials/sd-cards-and-writing-images/all
- Gravando SD Card com dcfldd (substituto mais confiável para o dd)
- https://www.tiforense.com.br/dcfldd/
# block size 1MB
sudo dcfldd status=on bs=1M if=/dev/sd<X> of=./arquivo.img
links de imagem ubuntu ARM para raspberry
Nas imagens 32bit, o sistema consome menos memória RAM, bom para RPi2 e 3 (1GB RAM).
Vem descrita nos links do ubuntu como Raspberry Pi Generic (Hard-Float) preinstalled server image.
Ubuntu 24.04 apenas versão 64bit para raspberrypi 3, 4, 5 e Zero2W
- Ubuntu 20.04 (32bit e 64bit) : https://cdimage.ubuntu.com/releases/20.04/release/
- Ubuntu 22.04 (32bit e 64bit): https://cdimage.ubuntu.com/releases/22.04/release/
- Ubuntu 24.04 (apenas 64bit para RPi3,4,5 e Zero2W):https://cdimage.ubuntu.com/releases/24.04/release/
Usando GPIO
https://learn.sparkfun.com/tutorials/raspberry-gpio
Reduzindo Consumo, Desligando wifi e BT
Forçando HDMI como saída padrão
https://howtoraspberrypi.com/raspberry-pi-hdmi-not-working/
Opções para definir resolução, formato de tela e etc no arquivo config.txt
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
https://www.raspberrypi.org/forums/viewtopic.php?t=5851
Instalar servidor VNC
https://www.raspberrypi.org/documentation/remote-access/vnc/
Prevent turning off screen or blank the screen
https://raspberrypi.stackexchange.com/questions/752/how-do-i-prevent-the-screen-from-going-blank
https://stackoverflow.com/questions/29890634/stop-screenly-raspberry-pi-from-turning-off-screen
Raspbian Lite with RPD/LXDE/XFCE/MATE/i3/Openbox/X11 GUI
https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=133691
Colocando em Modo Quiosque
https://clebitos.wordpress.com/2017/08/10/raspberry-pi-modo-quiosque-xdotool/
https://github.com/MobilityLab/TransitScreen/wiki/Raspberry-Pi
Cross-Compiling
https://www.embarcados.com.br/cross-compiling-com-a-raspberry-pi/
https://www.dobitaobyte.com.br/cross-compiling-para-raspberry/
https://medium.com/@au42/the-useful-raspberrypi-cross-compile-guide-ea56054de187
https://www.dobitaobyte.com.br/cross-compiling-para-a-omega/
Emulando Arm no QEmu
https://www.dobitaobyte.com.br/emulacao-de-arm-com-qemu-e-debian/