This repository has been archived by the owner on May 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1660 from advancedtelematic/feat/prep-2020.6
Feat/prep 2020.6
- Loading branch information
Showing
16 changed files
with
31 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: ota-client | ||
title: OTA Connect Developer Guide | ||
version: latest | ||
display_version: 2020.5 (latest) | ||
display_version: 2020.6 (latest) | ||
nav: | ||
- modules/ROOT/nav.adoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ We recommend that you link:https://docs.ota.here.com/ota-client/latest/{docname} | |
==== | ||
endif::[] | ||
|
||
include::ota-client::partial$aktualizr-version.adoc[] | ||
|
||
|
||
:page-layout: page | ||
:page-categories: [quickstarts] | ||
|
@@ -22,7 +24,7 @@ endif::[] | |
|
||
// Most of the content here is the same as the Raspberry Pi instructions, so we re-use the chunks we can. | ||
|
||
include::build-raspberry.adoc[tags=prereqs] | ||
include::ota-client::page$build-raspberry.adoc[tags=prereqs] | ||
|
||
== Create your AGL Yocto build environment | ||
|
||
|
@@ -33,7 +35,7 @@ First, use the manifest file for AGL's Itchy Icefish release to download the req | |
---- | ||
mkdir myproject | ||
cd myproject | ||
repo init -b icefish -m icefish_9.0.0.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo | ||
repo init -b icefish -m icefish_9.0.1.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo | ||
repo sync | ||
---- | ||
|
||
|
@@ -55,24 +57,7 @@ source meta-agl/scripts/aglsetup.sh -m <target-architecture> agl-sota <1> | |
|
||
IMPORTANT: Only `raspberrypi3` and `qemux86-64` will work out of the box. If you want to create an {product-name-short}-compatible build for one of the other architectures AGL supports, you may need to write a BSP layer for that board. You can take the link:https://github.com/advancedtelematic/meta-updater-raspberrypi/tree/morty/recipes-bsp[Raspberry Pi BSP] as an example of what's needed. You can also link:mailto:[email protected][contact us directly] to inquire about commercial development of BSP layers for specific boards. | ||
|
||
=== Additional configuration for Raspberry Pi 3 | ||
|
||
As described in the link:https://docs.automotivelinux.org/docs/en/master/getting_started/reference/getting-started/machines/raspberrypi.html#sota[AGL documentation], you will need to edit your `bblayers.conf` to add `meta-updater-raspberrypi`. | ||
|
||
=== Additional configuration for QEMU | ||
|
||
// This has been moved upstream: | ||
// https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/23953 | ||
// But it's only in master at present, not even the initial icefish release. | ||
// See 99c55be1635a8ff30317417093da54fbcd8eb250 in the icefish branch of meta-agl. | ||
|
||
By default, AGL for QEMU boots into an initrd before loading the root filesystem, but as of thud, meta-updater by default uses an initramfs. You will need to force the build to use an initramfs by adding this to your `local.conf`: | ||
|
||
---- | ||
AGL_DEFAULT_INITRAMFS_FSTYPES = "cpio.gz" | ||
---- | ||
|
||
include::build-raspberry.adoc[tags=config] | ||
include::ota-client::page$build-raspberry.adoc[tags=config] | ||
|
||
== Bitbake | ||
|
||
|
@@ -105,4 +90,4 @@ TIP: You can also write the image using `dd`, but since the wrong kind of typo i | |
|
||
You can now run the image in QEMU using the same method as described for a xref:build-qemu.adoc#_run_the_built_image_with_qemu[regular QEMU build]. However, the exact image you'll need will vary depending on the architecture you're building forfootnote:[For example, building the `agl-image-minimal` target for QEMU creates an image at `build/tmp/deploy/images/qemux86-64/agl-image-minimal-qemux86-64.ota-ext4`.], but it will be located in the `/tmp/deploy/images` directory under your build directory. | ||
|
||
include::partial$recommended-steps.adoc[tags=firstbuild-nextstep] | ||
include::ota-client::partial$recommended-steps.adoc[tags=firstbuild-nextstep] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters