summaryrefslogtreecommitdiffstats
path: root/getting-started/machines/raspberrypi.md
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-11-07 18:23:01 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2016-11-07 18:23:01 +0100
commit93367bbf66fb0e3c443cf79807f84573505abbba (patch)
tree8db6d09aa9b9cd4c493725fd6888ab9b7108b99b /getting-started/machines/raspberrypi.md
docs subfolder created; moved all MD files in docs
Change-Id: I89e02117c9569354567816ec5ba2a5565b79849b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'getting-started/machines/raspberrypi.md')
-rw-r--r--getting-started/machines/raspberrypi.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/getting-started/machines/raspberrypi.md b/getting-started/machines/raspberrypi.md
new file mode 100644
index 0000000..1fd5f74
--- /dev/null
+++ b/getting-started/machines/raspberrypi.md
@@ -0,0 +1,36 @@
+# Building the AGL Demo Platform for Raspberry Pi
+
+## Raspberry Pi 3
+
+To build AGL demo platform for Raspberry Pi 3 use machine **raspberrypi3** and feature **agl-demo**:
+
+```
+source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack
+bitbake agl-demo-platform
+```
+
+## Raspberry Pi 2
+
+To build AGL demo platform for Raspberry Pi 2 use machine **raspberrypi2** and feature **agl-demo**:
+
+```
+source meta-agl/scripts/aglsetup.sh -m raspberrypi2 agl-demo agl-netboot agl-appfw-smack
+bitbake agl-demo-platform
+```
+
+# Booting AGL Demo Platform on Raspberry Pi
+
+Follow the steps below to copy the image to microSD card and to boot it on Raspberry Pi 2 or 3:
+
+* Connect your sdcard in your linux machine.
+* Copy output image from build machine to linux machine that is connected your sdcard. (Often, those are same machines)
+* Output Image location in build machine for Raspberry Pi 2: *tmp/deploy/images/raspberrypi2/agl-demo-platform-raspberrypi2.rpi-sdimg*
+* Output Image location in build machine for Raspberry Pi 3: *tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi3.rpi-sdimg*
+* Unmount the microSD card and after that flash output image to it card with root user:
+```
+sudo umount [sdcard device]
+sudo dd if=[output image] of=[sdcard device] bs=4M
+sync
+```
+* Plug your microSD card into Raspberry Pi 2 or 3 and boot the board
+