how to get i.mx8m plus tool chain

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

how to get i.mx8m plus tool chain

Jump to solution
1,670 Views
Dawei
Contributor II

Hello,
How can I get the binary files of the i.MX8M Plus cross-compilation toolchain and related operating instructions(user guide)?
and how to compile to support Qt5/Qt6

How to get the uboot/kernel sourcecode address of the i.MX8M Plus?

thanks

0 Kudos
1 Solution
1,654 Views
jimmychan
NXP TechSupport
NXP TechSupport

Hello,

 

Please refer to Yocto User's guide for installing and building the BSP.

https://www.nxp.com.cn/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

For toolchain and building kernel/u-boot standalone, please refer to the i.MX Linux User’s Guide​ Chapter 4.5.12 "How to build U-Boot and Kernel in standalone environment".

 

FYI. All the BSP documentation could be downloaded from here:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

View solution in original post

0 Kudos
9 Replies
1,655 Views
jimmychan
NXP TechSupport
NXP TechSupport

Hello,

 

Please refer to Yocto User's guide for installing and building the BSP.

https://www.nxp.com.cn/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf

 

For toolchain and building kernel/u-boot standalone, please refer to the i.MX Linux User’s Guide​ Chapter 4.5.12 "How to build U-Boot and Kernel in standalone environment".

 

FYI. All the BSP documentation could be downloaded from here:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

0 Kudos
1,193 Views
justdomyself
Contributor II
I do it as the guide document, but when do this step, it stops here : repo init -u https://source.codeaurora.org/external/imx/imx-manifestimx-4.9.88-2.0.0_ga.xml I confium my net is ok ,and I can open this website in the exploer。 So what is the problem? How can I install the tool chain online? Thank you!
0 Kudos
1,190 Views
kunyichen
Contributor IV
codeaurora server is shutdown
you need change to github

new imx-manifest on https://github.com/nxp-imx/imx-manifest
0 Kudos
1,192 Views
justdomyself
Contributor II

this is  the error messge below:

 

Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: unable to access 'https://gerrit.googlesource.com/git-repo/': Failed to connect to gerrit.googlesource.com port 443: Connection timed out
repo: error: "git" failed with exit status 128
cwd: /home/alientek/Desktop/alientek/imx-yocto-bsp/.repo/repo.tmp
cmd: ['git', 'fetch', '--quiet', '--progress', 'origin', '+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*']
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo/repo'

Tags (1)
0 Kudos
1,179 Views
jimmychan
NXP TechSupport
NXP TechSupport
0 Kudos
1,158 Views
justdomyself
Contributor II

so how i can download  the files  step by  step?

0 Kudos
1,625 Views
Dawei
Contributor II

The instructions in the linked document are incomplete, and an error will be reported if you follow the operation. I just want to compile a u-boot image directly from source without yocto (it's too big), is there a simple example?

 

CC spl/arch/arm/lib/reloc_aarch64_efi.o
WARNING 'ddr4_imem_1d.bin' not found, resulting binary is not-functional

./"arch/arm/mach-imx/mkimage_fit_atf.sh" \
arch/arm/dts/imx8mp-ddr4-evk.dtb > u-boot.its
ERROR: BL31 file bl31.bin NOT found
MKIMAGE u-boot.itb
Error: u-boot.its:0.0 syntax error
FATAL ERROR: Unable to parse input tree
./tools/mkimage: Can't open u-boot.itb.tmp: No such file or directory
make: *** [Makefile:1356:u-boot.itb] 错误 255

0 Kudos
1,618 Views
Dawei
Contributor II

I just want to build an u-boot image for "8MPLUSLPD4-EVK" without YOCTO.

Thanks very much. 

 

0 Kudos
1,605 Views
jimmychan
NXP TechSupport
NXP TechSupport

I would still suggest you to use Yocto because we tested it and support it. If you use other env./tool to compile the source code, you may need to spend a lot of time to configure/debug the source code building.

0 Kudos