Ubuntu on MCIMX8M-EVK

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

Ubuntu on MCIMX8M-EVK

跳至解决方案
819 次查看
GnasUhn
Contributor II
标签 (1)
标记 (1)
0 项奖励
1 解答
771 次查看
GnasUhn
Contributor II

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

在原帖中查看解决方案

0 项奖励
6 回复数
792 次查看
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 项奖励
743 次查看
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 项奖励
734 次查看
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 项奖励
645 次查看
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 项奖励
717 次查看
GnasUhn
Contributor II

Hi Chavira,

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

0 项奖励
772 次查看
GnasUhn
Contributor II

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

0 项奖励