MCIMX6SLL-EVK : build kernel in a standalone environment

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCIMX6SLL-EVK : build kernel in a standalone environment

跳至解决方案
1,096 次查看
masafumishimura
Contributor II

Hi,

I would like to build kernel in a standalone envirionment reffering to i.MX Porting Guide.
It seems that toolchains have been set up as 2.1.1 How to build and load Kernel in standalone environment.

I have get the linux source code as following.(p.10 2.Get the Linux source code. i.MX Porting Guide.pdf)
git clone https://source.codeaurora.org/external/imx/linux-imx
But I cannot initialize configuration following.
$ make imx_v7_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm/configs/imx_v7_defconfig"!
***
make[1]: *** [/home/username/imx-yocto-bsp/linux-imx/scripts/kconfig/Makefile:96: imx_v7_defconfig] Error 1
make: *** [Makefile:493: imx_v7_defconfig] Error 2

As is obvious imx_v7_defconfig have not seen on the directory linux-imx/arch/arm/configs.
So make command is faild.

How to get imx_v7_defconfig?

BSP:imx6sllevk

Best Regards, Shimura

0 项奖励
回复
1 解答
1,079 次查看
masafumishimura
Contributor II

Hello Bio_TICFSL

 

Thank you for replying.

It seems that the kernel which has downloaded is old version.

There is imx_v4_v5_deconfig on the directory linux-imx/arch/arm/configs.

Any other imx deconfig is not there.

 

I had downloaded LF5.15.5_1.0.0 as following.

$ git clone https://source.codeaurora.org/external/imx/linux-imx -b lf-5.15.5-1.0.0 --depth 1

And this query has resolved.

 

Best Regards, Shimura

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,086 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello masafumishimura,

You are taking the latest kernel, and latest kernel does not support MCIMX6SLL architecture you should tray the 5.4.24 kernel.

Regards

0 项奖励
回复
1,080 次查看
masafumishimura
Contributor II

Hello Bio_TICFSL

 

Thank you for replying.

It seems that the kernel which has downloaded is old version.

There is imx_v4_v5_deconfig on the directory linux-imx/arch/arm/configs.

Any other imx deconfig is not there.

 

I had downloaded LF5.15.5_1.0.0 as following.

$ git clone https://source.codeaurora.org/external/imx/linux-imx -b lf-5.15.5-1.0.0 --depth 1

And this query has resolved.

 

Best Regards, Shimura

0 项奖励
回复