Chiu: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| Line 62: | Line 62: | ||
| == Software == | == Software == | ||
| === Display === | === Display === | ||
| ==== fbtft_device (kernel <5.4) ==== | |||
| in /boot/armbianEnv.txt: | in /boot/armbianEnv.txt: | ||
| Line 72: | Line 74: | ||
| X | X | ||
|   FRAMEBUFFER=/dev/fb0 startx |   FRAMEBUFFER=/dev/fb0 startx | ||
| ==== tinydrm ==== | |||
| https://github.com/torvalds/linux/tree/master/drivers/gpu/drm/tiny | |||
| === GUI === | === GUI === | ||
Revision as of 23:51, 7 February 2020
un elaboratore tascabile
Hardware
Cpu

- Orange Pi Zero Plus2 (schematic)
Display
- Risoluzione: 320x240 ILI9341 (40x30)
- Risoluzione: 480x320 ILI9486
- Bus: SPI
- https://marcosgildavid.blogspot.com/2014/02/getting-ili9341-spi-screen-working-on.html
- https://github.com/juj/fbcp-ili9341
| ili9341 | OPi | Note | 
|---|---|---|
| SCK | 23 | SCLK | 
| MOSI | 19 | |
| CS | 24 | CS0 | 
| RST | 5 | |
| DC | 3 | |
| VCC | 1 | 3.3v | 
| GND | 6 | GND | 
Tasti
- Joystick U/D/L/R + Push
- Sensore di movimento
- Sensore di luce
uC supervisore
- 11 input
- SPI verso schermo
- I2C verso scheda CPU
carica batteria
- candidati: CN3065, STC4054, MCP73811, MCP73831/2
step-up
Software
Display
fbtft_device (kernel <5.4)
in /boot/armbianEnv.txt:
overlays=usbhost2 usbhost3 spi-spidev param_spidev_spi_bus=1
in /etc/modprobe.d/fbtft.conf:
options fbtft_device custom name=fb_ili9341 gpios=dc:12,reset:11,led:18 speed=1600000 fps=5 busnum=1 bgr=1 rotate=90
X
FRAMEBUFFER=/dev/fb0 startx
tinydrm
https://github.com/torvalds/linux/tree/master/drivers/gpu/drm/tiny
GUI
Applicazioni
- alpine
- newsbeuter
- profanity
Risparmio energetico
Idle
ARISC on board
- https://linux-sunxi.org/AR100
- https://forum.armbian.com/topic/6019-openrisc-core-ar100-for-the-real-time-tasks/
- https://github.com/skristiansson/ar100-info