diff options
author | 2020-11-25 22:33:01 +0530 | |
---|---|---|
committer | 2020-12-07 19:59:08 +0000 | |
commit | 517af0da3bcc039c90818be340184b34521ebd9c (patch) | |
tree | 8864c8f74072521a9272b1682fa2d98444f07b65 /docs/3_Developer_Guides/1_Setting_Up_AGL_SDK.md | |
parent | 5c17e88d87e3ebee44191e5a05a06bad501d837b (diff) |
Added SDK & Service guides
Revised Developer Guides with tutorials on installing the SDK and
creating a new service from scratch.
v2 : Revised links to jellyfish branch and removed whitespaces.
v3 : Removed duplicated output.
Bug-AGL: [SPEC-3633]
Signed-off-by: Shankho Boron Ghosh <shankhoghosh123@gmail.com>
Change-Id: I5a1854f54f476ac69498956e4dd22fa4b6e85eee
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/25610
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'docs/3_Developer_Guides/1_Setting_Up_AGL_SDK.md')
-rw-r--r-- | docs/3_Developer_Guides/1_Setting_Up_AGL_SDK.md | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/3_Developer_Guides/1_Setting_Up_AGL_SDK.md b/docs/3_Developer_Guides/1_Setting_Up_AGL_SDK.md new file mode 100644 index 0000000..0a08cad --- /dev/null +++ b/docs/3_Developer_Guides/1_Setting_Up_AGL_SDK.md @@ -0,0 +1,52 @@ +--- +title: Setting Up AGL SDK +--- + +AGL provides a pre-built ready-made Software Development Kit (SDK) to help +quickstart the service and application development process. + +1. Download the prebuilt SDK : + + - **x86** : [qemux86-64](https://download.automotivelinux.org/AGL/release/jellyfish/latest/qemux86-64/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.0.0.sh) + + - **ARM 32 bit** : [qemuarm](https://download.automotivelinux.org/AGL/release/jellyfish/latest/qemuarm/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-armv7vet2hf-neon-vfpv4-qemuarm-toolchain-10.0.0.sh) + + - **AARCH64 - ARM 64bit** : [qemuarm64](https://download.automotivelinux.org/AGL/release/jellyfish/latest/qemuarm64/deploy/sdk/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-aarch64-qemuarm64-toolchain-10.0.0.sh) + + *Henceforth,* **qemux86-64** *is used in these guides, unless specified + otherwise.* + +2. Create application developmment directory and copy SDK into them : + + ```sh + $ mkdir ~/agl-app + $ cp ~/Downloads/poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.0.0.sh ~/agl-app/ + $ cd ~/agl-app + ``` + +3. Install the downloaded SDK : + + ```sh + $ chmod 777 poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.0.0.sh + $ mkdir agl-sdk/ + $ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-corei7-64-qemux86-64-toolchain-10.0.0.sh + ``` + Select target directory for SDK : `~/agl-app/agl-sdk` + + ```sh + Automotive Grade Linux SDK installer version 10.0.0 + ============================================================= + Enter target directory for SDK (default: /opt/agl-sdk/10.0.0-corei7-64): ~/agl-app/agl-sdk + You are about to install the SDK to "/home/boron/agl-app/agl-sdk". Proceed [Y/n]? Y + Extracting SDK..........................................................................................................................................done + Setting it up...done + SDK has been successfully set up and is ready to be used. + Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g. + $ . /home/boron/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux + ``` + +4. Source the SDK environment setup, each time you wish to use the SDK in a new shell session : + + ```sh + $ source ~/agl-app/agl-sdk/environment-setup-corei7-64-agl-linux + ```
\ No newline at end of file |