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
Solved! Go to Solution.
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:
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:
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'
this may help you
so how i can download the files step by step?
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
I just want to build an u-boot image for "8MPLUSLPD4-EVK" without YOCTO.
Thanks very much.
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.