U-boot for imx8dxl evk

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

U-boot for imx8dxl evk

Jump to solution
1,031 Views
embedded_eng_
Contributor III

Hi,

I'm trying to compile U-boot for imx8dxl evk.

I'm using the following toolchain:

https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7...

 

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?

 

 

Tags (4)
0 Kudos
1 Solution
1,019 Views
igorpadykov
NXP Employee
NXP Employee

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

 

View solution in original post

0 Kudos
1 Reply
1,020 Views
igorpadykov
NXP Employee
NXP Employee

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

 

0 Kudos