I can successfully compile the kernel in a standalone environment, but I cannot build U-Boot imx v2018.03_4.14.98_2.0.0_ga
1、source /opt/fsl-imx-fb/4.14-sumo/environment-setup-aarch64-poky-linux
2、 export ARCH=arm64
3、 cd uboot-imx
4、 make clean
5、make imx8qxp_mek_defconfig
6、 make u-boot.imx
make[2]: “arch/arm/dts/fsl-imx8qxp-mek.dtb”已是最新。
SHIPPED dts/dt.dtb
FDTGREP dts/dt-spl.dtb
CAT u-boot-dtb.bin
COPY u-boot.bin
CFGS .cfgtmp
aarch64-poky-linux-gcc: error: FORCE: No such file or directory
aarch64-poky-linux-gcc: warning: ‘-x c’ after last input file has no effect
aarch64-poky-linux-gcc: fatal error: no input files
compilation terminated.
arch/arm/mach-imx/Makefile:99: recipe for target '.cfgtmp' failed
make[1]: *** [.cfgtmp] Error 1
Makefile:912: recipe for target 'u-boot.imx' failed
make: *** [u-boot.imx] Error 2
see attached:uboot-imx/arch/arm/mach-imx/Makefile
What is the possible cause?
Hello Du lg,
Is the problem still present? The following threads may also be helpful:
https://community.nxp.com/docs/DOC-328584
https://community.nxp.com/thread/452627
I hope this helps!
Regards,
hello gusarambula,
i download the uboot-imx with git clone uboot-imx - i.MX U-Boot and git checkout -b rel_imx_4.14.98.2.3.0
when i "ls configs"
there is no "imx8qxp_mek_defconfig" at all
am i cloning wrong address or something in git operation?
Please use only "make" in step 6. For generating standalone image other imx images, please refer to section 4.5.12 and 4.5.13 from the attached "i.MX Linux User Guide".
Let us know if you face any issue.
Regards,
Radhika