LSDK19.09 for linux 5.4

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

LSDK19.09 for linux 5.4

ソリューションへジャンプ
1,791件の閲覧回数
kai_wu
Contributor III

Hi,

I am trying to compile the linux5.4 from LSDK19.09.

I tried to use command.

                     flex-builder -c linux:linux:v5.4 -a arm64    

But I got an error about fsl-ls1043a-rdb-sdk.dtb,  see below. 

make[3]: Entering directory '/home/kaiw/fijowave/fijosat-base/sdk/flexbuild_lsdk1909_update_221019/build/linux/linux/arm64/LS/output/v5.2'
Using /home/kaiw/fijowave/fijosat-base/sdk/flexbuild_lsdk1909_update_221019/packages/linux/linux as source for kernel
make[4]: *** No rule to make target 'arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-sdk.dtb'. Stop.

I found the targets are defined in flexbuild_lsdk1909_update_221019/packages/linux/Makefile, because I am building the Linux kernel for ls1012a processor, so I commented out the UEFI_DTB_LIST in the Makefile.    

UEFI_DTB_LIST = freescale/fsl-ls1043a-rdb-sdk.dtb freescale/fsl-ls1046a-rdb-sdk.dtb freescale/fsl-ls2088a-rdb.dtb freescale/fsl-lx2160a-rdb.dtb

Then I tried to run the flex-builder command again, the build process goes further, but I met the problem with cryptodev_linux, see below.          

ERROR: "crypto_givcipher_type" [/home/kaiw/fijowave/fijosat-base/sdk/flexbuild_lsdk1909_update_221019/packages/linux/cryptodev_linux/cryptodev.ko] undefined!
/home/kaiw/fijowave/fijosat-base/sdk/flexbuild_lsdk1909_update_221019/packages/linux/linux/scripts/Makefile.modpost:91: recipe for target '__modpost' failed

Any help will be much appreciated. Thank you.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,571件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kai Wu ,

In file configs/build_lsdk.cfg, please disable options CONFIG_KERL_GPU_MODULE

and CONFIG_KERL_CRYPTODEV_LINUX, please refer to the following, then rebuild Linux Kernel.

#CONFIG_KERL_GPU_MODULE=y
#CONFIG_KERL_CRYPTODEV_LINUX=y

Thanks,

Yiping

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,572件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kai Wu ,

In file configs/build_lsdk.cfg, please disable options CONFIG_KERL_GPU_MODULE

and CONFIG_KERL_CRYPTODEV_LINUX, please refer to the following, then rebuild Linux Kernel.

#CONFIG_KERL_GPU_MODULE=y
#CONFIG_KERL_CRYPTODEV_LINUX=y

Thanks,

Yiping

0 件の賞賛
返信
1,571件の閲覧回数
kai_wu
Contributor III

Thanks, Yiping, it works.

0 件の賞賛
返信