how to get i.mx8m plus tool chain

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

how to get i.mx8m plus tool chain

跳至解决方案
1,718 次查看
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 项奖励
1 解答
1,702 次查看
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 项奖励
9 回复数
1,703 次查看
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 项奖励
1,241 次查看
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 项奖励
1,238 次查看
kunyichen
Contributor IV
codeaurora server is shutdown
you need change to github

new imx-manifest on https://github.com/nxp-imx/imx-manifest
0 项奖励
1,240 次查看
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'

标记 (1)
0 项奖励
1,227 次查看
jimmychan
NXP TechSupport
NXP TechSupport
0 项奖励
1,206 次查看
justdomyself
Contributor II

so how i can download  the files  step by  step?

0 项奖励
1,673 次查看
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 项奖励
1,666 次查看
Dawei
Contributor II

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

Thanks very much. 

 

0 项奖励
1,653 次查看
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 项奖励