Skip to content

Commit e6bd55c

Browse files
committed
doc: Document Raspberry pi support
Including touchscreen support.
1 parent c3975f4 commit e6bd55c

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

board/aarch64/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,48 @@ Board Specific Documentation
77
- [Marvell CN9130-CRB](cn9130-crb/)
88
- [Microchip SparX-5i PCB135 (eMMC)](sparx5-pcb135/)
99
- [NanoPi R2S](r2s/)
10+
- [Raspberry Pi 4 b](#raspberry-pi-4-b)
11+
12+
# Raspberry Pi 4 b
13+
14+
## Support level
15+
Full support for base board but not any extension board on the
16+
GPIOs.
17+
18+
### Touch screen
19+
The [Raspberry Pi touch display v1][RPI-TOUCH] is supported, including
20+
touch functionality. There are multiple touchscreens on the market for
21+
Raspberry Pi, but only the official (first version with 800x480
22+
resolution) is currently supported. Infix supplies all drivers
23+
required to utilize the hardware, but you need to add the actual
24+
graphical application in a container.
25+
26+
There are some important considerations you need to know about when
27+
using Infix for graphical applications. The container needs access to
28+
/dev/dri/ to be able to access the graphics card, and it also needs
29+
access to /run/udev to be able to find the input devices.
30+
31+
Example of running Doom in Infix:
32+
33+
```cli
34+
admin@example:/> configure
35+
admin@example:/config/> edit container doom
36+
admin@example:/config/container/doom/> set image docker://mattiaswal/alpine-doom:latest
37+
admin@example:/config/container/doom/> set privileged
38+
admin@example:/config/container/doom/> edit mount udev
39+
admin@example:/config/container/doom/mount/udev/> set type bind
40+
admin@example:/config/container/doom/mount/udev/> set target /run/udev/
41+
admin@example:/config/container/doom/mount/udev/> set source /run/udev/
42+
admin@example:/config/container/doom/mount/udev/> end
43+
admin@example:/config/container/doom/mount/xorg.conf/> set content U2VjdGlvbiAiU2VydmVyTGF5b3V0IgogICAgSWRlbnRpZmllciAiRGVmYXVsdExheW91dCIKICAgIFNjcmVlbiAwICJTY3JlZW4wIiAwIDAKRW5kU2VjdGlvbgpTZWN0aW9uICJEZXZpY2UiCiAgICBJZGVudGlmaWVyICJpTVggTENEIgogICAgRHJpdmVyICJtb2Rlc2V0dGluZyIKICAgIEJ1c0lEICJwbGF0Zm9ybTozMmZjNjAwMC5kaXNwbGF5LWNvbnRyb2xsZXIiCiAgICBPcHRpb24gImttc2RldiIgIi9kZXYvZHJpL2NhcmQxIgpFbmRTZWN0aW9uCgpTZWN0aW9uICJTY3JlZW4iCiAgICBJZGVudGlmaWVyICJTY3JlZW4wIgogICAgRGV2aWNlICJpTVggTENEIgogICAgRGVmYXVsdERlcHRoIDI0CkVuZFNlY3Rpb24KCg==
44+
admin@example:/config/container/doom/mount/xorg.conf/> set target /etc/X11/xorg.conf
45+
admin@example:/config/container/doom/mount/xorg.conf/> end
46+
admin@example:/config/container/doom/> edit volume var
47+
admin@example:/config/container/doom/volume/var/> set target /var
48+
admin@example:/config/container/doom/volume/var/> leave
49+
admin@example:/>
50+
51+
```
52+
53+
54+
[RPI-TOUCH]: https://www.raspberrypi.com/products/raspberry-pi-touch-display/

0 commit comments

Comments
 (0)