Ubuntu on MCIMX8M-EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ubuntu on MCIMX8M-EVK

ソリューションへジャンプ
767件の閲覧回数
GnasUhn
Contributor II
ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
719件の閲覧回数
GnasUhn
Contributor II

Thank you for your support, I will try and reply soon.

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
740件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @GnasUhn!

Thank you for contacting NXP Support!

 

You can follow our Yocto Project User guide to install the required packages.

 

Install the repo utility

To get the BSP you need to have repo installed.

$ mkdir ~/bin

 $ curl https://storage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo

 $ chmod a+x ~/bin/repo

 $ PATH=${PATH}:~/bin

Download the Yocto Project BSP for i.MX

$ mkdir desktop

 $ cd desktop

 $ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.71-2.2.0_desktop.xml

 $ repo sync

Create a new build folder

If you want to create a new build folder:

$ DISTRO=imx-desktop-xwayland MACHINE=imx8mpevk source imx-setup-desktop.sh -b build-desktop

Note: The available build MACHINEs for the below boards:

imx8mpevk - i.MX8MP-EVK

 imx8mqevk - i.MX8MQ-EVK

 imx8mmevk - i.MX8MM-EVK

 imx8mnevk - i.MX8MN-EVK

 imx8qmmek - i.MX8QM-MEK

 imx8ulpevk - i.MX8ULP-EVK

 imx8qxpc0mek - i.MX8QXP-MEK with silicon revision C0 chip

Use an existing build folder

If you want to build in an existing build folder:

$ cd desktop

 $ source setup-environment build-desktop

Build the image for i.MX

$ bitbake imx-image-desktop

https://github.com/nxp-imx/meta-nxp-desktop

 

Best Regards!

Chavira

0 件の賞賛
691件の閲覧回数
GnasUhn
Contributor II

Hi, um

followed our Yocto Project User guide, but when I used:

Build the image for i.MX

$ bitbake imx-image-desktop

I got an error:

ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
ar as chrpath diffstat g++ gawk gcc ld make nm objcopy objdump ranlib readelf rpcgen strings strip

Could you help me solve this error?

タグ(1)
0 件の賞賛
682件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @GnasUhn!

A Yocto Project build requires specific packages to be installed for the build that are documented under the Yocto Project. Go to Yocto Project Quick Start and check for the packages that must be installed for your build machine.


Essential Yocto Project host packages are:

$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential \
chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
python3-subunit mesa-common-dev zstd liblz4-tool file locales -y
$ sudo locale-gen en_US.UTF-8
0 件の賞賛
593件の閲覧回数
GnasUhn
Contributor II

Hi, thank you for your support, now I have enough packets for my build machine. But when I run

$ bitbake imx-image-desktop

I got some errors, so I started an NXP support case to solve them.

Thank you very much!

タグ(1)
0 件の賞賛
665件の閲覧回数
GnasUhn
Contributor II

Hi Chavira,

Thank you for your support, I will follow this guide and reply to you soon.

0 件の賞賛
720件の閲覧回数
GnasUhn
Contributor II

Thank you for your support, I will try and reply soon.

0 件の賞賛