Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Mohan Gaikwad <[email protected]>
  • Loading branch information
quic-mohanga authored and quic-khrahul committed Sep 17, 2024
1 parent 05b7796 commit bd3671f
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Sample applications for Qualcomm® Linux repository provide sample applications
## Build Sample Applications
### Generate the eSDK containing the cross-compiler tool chain

Note: qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-qcm6490-toolchain-1.0.sh is required to build sample applications.
Note: qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-<machine>-toolchain-1.0.sh is required to build sample applications.

Follow these [build procedures](https://github.com/quic-yocto/meta-qcom-qim-product-sdk) to build the Qualcomm Intelligent Multimedia Product SDK (QIMP SDK).

Expand All @@ -17,11 +17,11 @@ Run the following command from the build directory to generate the eSDK:
bitbake -c populate_sdk_ext qcom-multimedia-image
```

qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-qcm6490-toolchain-1.0.sh is generated at <WORKSPACE DIR>/build-qcom-wayland/tmp-glibc/deploy/sdk.
qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-<machine>-toolchain-1.0.sh is generated at <WORKSPACE DIR>/build-qcom-wayland/tmp-glibc/deploy/sdk.

Extract the toolchain using
```console
./qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-qcm6490-toolchain-ext-1.0.sh
./qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-<machine>-toolchain-ext-1.0.sh
```

## Build Standalone Sample App using makefile.
Expand All @@ -33,29 +33,19 @@ Prerequisites:
Before you begin developing the Hello QIM sample application, ensure that you [Generate platform
SDK](https://github.com/quic/sample-apps-for-qualcomm-linux) on the host machine.

1. Run the following command to create the platform SDK if not already generated:
bitbake -c populate_sdk_ext qcom-multimedia-image
For example:
/local/mnt/workspace/qcom-6.6.13-QLI.1.0-Ver.1.2_qim-product-sdk/build-qcom-wayland$ bitbake -c populate_sdk_ext qcom-multimedia-image
The platform SDK is created at <WORKSPACE_DIR>/build-qcom-wayland/tmp-glibc/deploy/sdk/.
It is a standalone installer that can be shared with developers interest.

2. Run the following command to extract the platform eSDK:
Create directory and do the following to install platform eSDK,
/# sh /local/mnt/workspace/qcom-6.6.13-QLI.1.0-Ver.1.2_qim-product-sdk/build-qcom-wayland/tmp-glibc/deploy/sdk/qcom-wayland-x86_64-qcom-multimedia-image-armv8-2a-qcm6490-toolchain-ext-1.0.sh
The host is ready for application development. Next, you can develop your first application using the
platform eSDK.

2. Run the following command to go to the directory where the platform SDK was installed.
1. Run the following command to go to the directory where the platform SDK was installed.
cd <installation directory of platfom SDK>
3. Run the following command to set up the source environment:
2. Run the following command to set up the source environment:
source environment-setup-armv8-2a-qcom-linux

4. git clone https://github.com/quic/sample-apps-for-qualcomm-linux
5. cd sample-apps-for-qualcomm-linux/Hello-QIM
6. export SDKTARGETSYSROOT=<path to installation directory of platfom SDK>/tmp/sysroots
3. git clone https://github.com/quic/sample-apps-for-qualcomm-linux
4. cd sample-apps-for-qualcomm-linux/Hello-QIM
5. export SDKTARGETSYSROOT=<path to installation directory of platfom SDK>/tmp/sysroots
Example : export SDKTARGETSYSROOT=/local/mnt/workspace/Platform_eSDK_plus_QIM/tmp/sysroots


export MACHINE=<machine>
Example: export MACHINE=qcs6490-rb3gen2-vision-kit

export GST_APP_NAME=<appname>
Example: export GST_APP_NAME=gst-appsink
7. make
Expand Down

0 comments on commit bd3671f

Please sign in to comment.