devroot-manual-arm64 manual
high
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Test cross-compilation support for ARM64 architecture using devroot utility
Pre Conditions
- Download the arm64 devroot os pack for the respective image version that your testing
Execution Steps
- Download the ARM64 devroot OSpack for the respective image version that your testing:
- For example, if you want to build for ARM64 with the v2023.6 release, then you can download the OSpack as follows:
- Create a directory for the devroot-64 in the /opt folder
- Extract the downloaded devroot:
- Ensure the package list is up-to-date:
- Download the sources for dlt-daemon:
- Retrieve Build dependencies for dlt-daemon:
- Enter the devroot:
- Change the working directory to the dlt-daemon folder:
- Build the dlt-daemon package:
- The debian packages should be built for ARM64 architecture for dlt-daemon, check to see if these are created in the parent folder
$ wget -O ${HOME}/devroot.tar.gz https://images.apertis.org/release/v2023/v2023.6/arm64/devroot/ospack_v2023-arm64-devroot_v2023.6.tar.gz
$ sudo mkdir -p /opt/devroot-64
$ sudo tar -xvf ${HOME}/devroot.tar.gz -C /opt/devroot-64
$ sudo apt-get update
$ apt-get source dlt-daemon
$ sudo apt-get build-dep dlt-daemon
$ sudo devroot-enter /opt/devroot-64 --bind=${HOME}/dlt-daemon-2.18.6
$ cd dlt-daemon-64
$ dpkg-buildpackage -b -uc
$ ls ../
Expected
The dlt-daemon can be built using the devroot