Hi,
I'm trying to compile U-boot for imx8dxl evk.
I'm using the following toolchain:
I'm exporting these build variables (for linux kernel as well)
export PATH=<toolchain dir>/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH
export CROSS_COMPILE=aarch64-linux-gnu-
export ARCH=arm64
I'm cloning ATF:
git clone https://source.codeaurora.org/external/imx/imx-atf -b rel_imx_5.4.70_2.3.0
Compiling ATF:
make PLAT=imx8dxl bl31
Cloning U-boot:
git clone https://source.codeaurora.org/external/imx/uboot-imx -b imx_v2020.04_5.4.70_2.3.0
Compiling it:
cp <atf-dir>/bl31.bin .
export ATF_LOAD_ADDR=0x960000
make imx8dxl_evk_defconfig
make flash.bin
And I get the following error:
Unknown CMD_SOC_TYPEmake[1]: *** [arch/arm/mach-imx/Makefile:228: u-boot.cnt] Error 1
make[1]: *** Deleting file 'u-boot.cnt'
make: *** [Makefile:1447: u-boot.cnt] Error 2
How can I fix it?
解決済! 解決策の投稿を見る。
Hi Alvaro
one can try to follow building steps described in AN13275 How to Enable Linux BSP L5.4 on a New iMX8/8X Board
Best regards
igor
Hi Alvaro
one can try to follow building steps described in AN13275 How to Enable Linux BSP L5.4 on a New iMX8/8X Board
Best regards
igor