U-boot for imx8dxl evk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

U-boot for imx8dxl evk

ソリューションへジャンプ
1,043件の閲覧回数
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?

 

 

タグ(4)
0 件の賞賛
1 解決策
1,031件の閲覧回数
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 件の賞賛
1 返信
1,032件の閲覧回数
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 件の賞賛