Dockerfile for Android Auto 13 (AAUG) on i.MX 8QuadXPlus

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dockerfile for Android Auto 13 (AAUG) on i.MX 8QuadXPlus

Jump to solution
145 Views
giampietroghizz
Contributor II

hello everyone,

I need to make a build of android 13 on i.MX 8QuadXPlus

I have available this MEK:
https://www.nxp.com/design/design-center/development-boards-and-designs/i-mx-evaluation-and-developm...

from here:
https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/android-automotive...
I downloaded the file “imx-automotive-13.0.0_2.3.0.tar.bz2

I am following the steps given in the document:
https://www.nxp.com/docs/en/user-guide/Android_Auto_User's_Guide.pdf
which is updated to January 4, 2024.

To do all this I created a Dockerfile (from ubuntu 18.04) that contains gl elements also suggested in :
https://source.android.com/docs/setup/start/requirements

in the Dockerfile I also added the packages indicated in “Android_Auto_User's_Guide.pdf” which are as follows:

uuid uuid-dev \
zlib1g-dev liblz-dev \
liblzo2-2 liblzo2-dev \
lzop \
git curl \
u-boot-tools \
mtd-utils \
android-sdk-libsparse-utils \
device-tree-compiler \
gdisk \
m4 \
bison \
flex make \
libssl-dev \
gcc-multilib \
libghc-gnutls-dev \
swig \
liblz4-tool \
libdw-dev \
dwarves \
bc cpio tar lz4 rsync \
rsync utility \
ninja-build clang \
build-essential \
libncurses5

see pg 3/63 in “Android_Auto_User's_Guide.pdf”

However, I had to remove two items, which are
- lz4
- utility

i removed these because an error was being given with the “docker build” command.

has anyone had the same problem?

 

0 Kudos
1 Solution
72 Views
giampietroghizz
Contributor II

I solved the problem

the "lz4" package is already included liblz4-tool , while i deleted the "utility" package. the build came to the end and the image programmed itself correctly on the board.

View solution in original post

0 Kudos
3 Replies
73 Views
giampietroghizz
Contributor II

I solved the problem

the "lz4" package is already included liblz4-tool , while i deleted the "utility" package. the build came to the end and the image programmed itself correctly on the board.

0 Kudos
115 Views
giampietroghizz
Contributor II

thankyoy, 

but if I try to install lz4 i find this :

sudo apt-get install lz4
[sudo] compandroid password:
Reading package list... Done
Generating dependency tree
Reading status information... Done
The package lz4 has no available versions, but is named by another
package. This could indicate that the package is missing, obsolete
or is only available within another source

E: The package “lz4” has no candidates to install.

 

lz4 package is not available

0 Kudos
118 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

No, Those file are needed to build android BSP.

Regards

0 Kudos