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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
206 次查看
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 项奖励
1 解答
133 次查看
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 项奖励
3 回复数
134 次查看
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 项奖励
176 次查看
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 项奖励
179 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

No, Those file are needed to build android BSP.

Regards

0 项奖励