summaryrefslogtreecommitdiffstats
path: root/docs/getting-started/machines/raspberrypi.md
diff options
context:
space:
mode:
authorFrederic Marec <frederic.marec@iot.bzh>2019-11-12 10:10:05 +0100
committerFrederic Marec <frederic.marec@iot.bzh>2019-11-14 15:17:18 +0100
commit5362336477ff314b5eeb1aba0c0ed986dc48d843 (patch)
tree0576f9afb173c90857369e67221aef7d04922c1c /docs/getting-started/machines/raspberrypi.md
parent3dd3f28737145c28f57f88f2a3c1afc331bd0e06 (diff)
Update documentation
Add HappyHalibut revision Migrate raspbery 2 & 3 to 3 & 4 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> (cherry picked from commit 913a116e7be5d53961b069e055e5edc7a98b0f5d)
Diffstat (limited to 'docs/getting-started/machines/raspberrypi.md')
-rw-r--r--docs/getting-started/machines/raspberrypi.md30
1 files changed, 15 insertions, 15 deletions
diff --git a/docs/getting-started/machines/raspberrypi.md b/docs/getting-started/machines/raspberrypi.md
index 76e3929..732d311 100644
--- a/docs/getting-started/machines/raspberrypi.md
+++ b/docs/getting-started/machines/raspberrypi.md
@@ -1,17 +1,17 @@
-# Building for Raspberry PI 2 or 3
+# Building for Raspberry PI 3 or 4
The
[Raspberry PI](https://www.raspberrypi.org/help/what-%20is-a-raspberry-pi/) is a small
computer that is ideal for learning computing and computer languages.
The AGL Project supports building images for the
-[Raspberry PI 2](https://www.raspberrypi.org/products/raspberry-pi-2-model-b/) and the
-[Raspberry PI 3](https://www.raspberrypi.org/products/raspberry-pi-3-model-a-plus/) boards.
+[Raspberry PI 3](https://www.raspberrypi.org/products/raspberry-pi-3-model-a-plus/) and the
+[Raspberry PI 4](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/) boards.
Each of these boards comes in a variety of models.
See the
[Raspberry PI Product Page](https://www.raspberrypi.org/products/) for more information.
This section describes the steps you need to take to build the
-AGL demo image for both the Raspberry PI 2 and 3 boards.
+AGL demo image for both the Raspberry PI 3 and 4 boards.
## 1. Making Sure Your Build Environment is Correct
@@ -25,18 +25,18 @@ specific options when you run the script.
Use the following commands to initialize your build environment.
In each case, the "-m" option specifies the machine and the
list of AGL features used with script are appropriate for development of
-the AGL demo image suited for either Raspberry PI 2 or 3:
+the AGL demo image suited for either Raspberry PI 3 or 4:
-**Raspberry PI 2**:
+**Raspberry PI 3**:
```bash
-$ source meta-agl/scripts/aglsetup.sh -m raspberrypi2 agl-demo agl-netboot agl-appfw-smack
+$ source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack
```
-**Raspberry PI 3**:
+**Raspberry PI 4**:
```bash
-$ source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack
+$ source meta-agl/scripts/aglsetup.sh -m raspberrypi4 agl-demo agl-netboot agl-appfw-smack
```
## 2. Configuring the Build to Include Packages Under a Commercial License
@@ -95,13 +95,13 @@ $ bitbake agl-demo-platform
```
By default, the build process puts the resulting image in the Build Directory.
-Here is example for the Raspberry PI 3 board:
+Here is example for the Raspberry PI 4 board:
```
-<build_directory>/tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi3.wic.xz
+<build_directory>/tmp/deploy/images/raspberrypi4/agl-demo-platform-raspberrypi4.wic.xz
```
-If you build for the Raspberry PI 2 board, the location uses "raspberrypi2" in the path.
+If you build for the Raspberry PI 3 board, the location uses "raspberrypi3" in the path.
## 4. Deploying the AGL Demo Image
@@ -109,7 +109,7 @@ Deploying the AGL demo image consists of copying the image on a MicroSD card,
plugging the card into the Raspberry PI board, and then booting the board.
Follow these steps to copy the image to a MicroSD card and boot
-the image on the Raspberry PI 2 or 3 board:
+the image on the Raspberry PI 3 or 4 board:
1. Plug your MicroSD card into your Build Host (i.e. the system that has your build output).
@@ -162,8 +162,8 @@ the image on the Raspberry PI 2 or 3 board:
3. Now that you know the device name, unmount the device and use the
`xzcat` command to copy the image to the MicroSD card.
- **NOTE:** For Raspberry PI 2, the image is at `build/tmp/deploy/images/raspberrypi2/agl-demo-platform-raspberrypi2.wic.xz`.
- For Raspberry PI 3, the image is at `build/tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi3.wic.xz`.
+ **NOTE:** For Raspberry PI 3, the image is at `build/tmp/deploy/images/raspberrypi3/agl-demo-platform-raspberrypi3.wic.xz`.
+ For Raspberry PI 4, the image is at `build/tmp/deploy/images/raspberrypi4/agl-demo-platform-raspberrypi4.wic.xz`.
Be sure you are root, provide the actual device name for *sdcard_device_name*, and the actual
image name for *image_name*: