Ubuntu on MCIMX8M-EVK

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

Ubuntu on MCIMX8M-EVK

Jump to solution
728 Views
GnasUhn
Contributor II
0 Kudos
1 Solution
680 Views
GnasUhn
Contributor II

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

View solution in original post

0 Kudos
6 Replies
701 Views
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 Kudos
652 Views
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?

Tags (1)
0 Kudos
643 Views
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 Kudos
554 Views
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!

Tags (1)
0 Kudos
626 Views
GnasUhn
Contributor II

Hi Chavira,

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

0 Kudos
681 Views
GnasUhn
Contributor II

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

0 Kudos