X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2F01_Getting_Started%2F03_Build_and_Boot_guide_Profile%2F02_Flutter_Instrument_Cluster_%28qemu-x86%29.md;h=eabaa6e84ab9a296be91ca7d9f4ed46dd107fbce;hb=42b3550f0627400a778a5b1293b915204517ec2c;hp=330d9962e012f2b3b877c3d8d9244b5031743a0b;hpb=54924825fce9e5a738fc46b285da805de53d2293;p=AGL%2Fdocumentation.git diff --git a/docs/01_Getting_Started/03_Build_and_Boot_guide_Profile/02_Flutter_Instrument_Cluster_(qemu-x86).md b/docs/01_Getting_Started/03_Build_and_Boot_guide_Profile/02_Flutter_Instrument_Cluster_(qemu-x86).md index 330d996..eabaa6e 100644 --- a/docs/01_Getting_Started/03_Build_and_Boot_guide_Profile/02_Flutter_Instrument_Cluster_(qemu-x86).md +++ b/docs/01_Getting_Started/03_Build_and_Boot_guide_Profile/02_Flutter_Instrument_Cluster_(qemu-x86).md @@ -6,7 +6,7 @@ title: Flutter Instrument Cluster (qemu-x86) ## 0. Prepare Your Build Host -- Install the required tools to build an AGL Image. For detailed explanation, check [Preparing Your Build host](https://docs.automotivelinux.org/en/master/#01_Getting_Started/02_Building_AGL_Image/02_Preparing_Your_Build_Host/) +- Install the required tools to build an AGL Image. For detailed explanation, check [Preparing Your Build host](https://docs.automotivelinux.org/en/octopus/#01_Getting_Started/02_Building_AGL_Image/02_Preparing_Your_Build_Host/) ## 1. Define Your Top-Level Directory @@ -27,12 +27,12 @@ $ chmod a+x $HOME/bin/repo ``` ## 3. Download the AGL Source Files -To download the latest **master** branch AGL files, use the following commands: +To download the latest **octopus** branch AGL files, use the following commands: ```bash $ cd $AGL_TOP -$ mkdir master -$ cd master -$ repo init -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo +$ mkdir octopus +$ cd octopus +$ repo init -b octopus -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo $ repo sync ``` @@ -40,24 +40,24 @@ $ repo sync To initialize the build environment, we must use the setup script. This script is available here: ```bash -$ $AGL_TOP/master/meta-agl/scripts/aglsetup.sh +$ $AGL_TOP/octopus/meta-agl/scripts/aglsetup.sh ``` Run the script: ```bash $ cd $AGL_TOP -$ source master/meta-agl/scripts/aglsetup.sh -b build-flutter-cluster -m qemux86-64 agl-demo agl-devel +$ source octopus/meta-agl/scripts/aglsetup.sh -b build-flutter-cluster -m qemux86-64 agl-demo agl-devel ``` - Here `-b` is used to specify the build directory and `-m` is used to specify the target platform. -- Running this script, will create a build directory if it does not exist. Default build directory: `$AGL_TOP/master/build-flutter-cluster` +- Running this script, will create a build directory if it does not exist. Default build directory: `$AGL_TOP/octopus/build-flutter-cluster` - Default target paltform: `qemux86-64` ** NOTE: Set the API key in local.conf ** - By default navigation will not work, you need to set your openrouteservie API key to the variable `OPENROUTE_API_KEY` in your local.conf -- It is present at `$AGL_TOP/master/build-flutter-cluster/conf/local.conf` +- It is present at `$AGL_TOP/octopus/build-flutter-cluster/conf/local.conf` - Example: Just add `OPENROUTE_API_KEY = "your_openrouteservice_api_key"` to the end of local.conf @@ -65,7 +65,7 @@ $ source master/meta-agl/scripts/aglsetup.sh -b build-flutter-cluster -m qemux86 ## 5. Using BitBake ```bash -$ cd $AGL_TOP/master/build-flutter-cluster +$ cd $AGL_TOP/octopus/build-flutter-cluster $ source agl-init-build-env $ bitbake agl-cluster-demo-platform-flutter ``` @@ -74,7 +74,7 @@ $ bitbake agl-cluster-demo-platform-flutter Boot the image using QEMU ```bash -$ cd $AGL_TOP/master/build-flutter-cluster +$ cd $AGL_TOP/octopus/build-flutter-cluster $ source agl-init-build-env $ runqemu kvm serialstdio slirp publicvnc ```